]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_core_wrap.cpp
little tweaks
[wxWidgets.git] / wxPython / src / gtk / _core_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
cc6dd355
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
d14a1e28
RD
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
d14a1e28
RD
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 173
d14a1e28
RD
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
994141e6 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
cc6dd355
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
9d1d5697 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210#define SWIGTYPE_p_wxRealPoint swig_types[1]
211#define SWIGTYPE_p_wxSizerItem swig_types[2]
212#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213#define SWIGTYPE_p_wxScrollEvent swig_types[4]
214#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215#define SWIGTYPE_p_wxSizer swig_types[6]
216#define SWIGTYPE_p_wxBoxSizer swig_types[7]
217#define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218#define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219#define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220#define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221#define SWIGTYPE_p_wxMenu swig_types[12]
222#define SWIGTYPE_p_wxEvent swig_types[13]
223#define SWIGTYPE_p_wxGridSizer swig_types[14]
224#define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225#define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226#define SWIGTYPE_p_wxItemContainer swig_types[17]
227#define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228#define SWIGTYPE_p_wxPaintEvent swig_types[19]
229#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233#define SWIGTYPE_p_wxControl swig_types[24]
234#define SWIGTYPE_p_wxFont swig_types[25]
235#define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236#define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237#define SWIGTYPE_p_wxFSFile swig_types[28]
238#define SWIGTYPE_p_wxCaret swig_types[29]
239#define SWIGTYPE_p_wxRegion swig_types[30]
240#define SWIGTYPE_p_wxPoint2D swig_types[31]
241#define SWIGTYPE_p_int swig_types[32]
242#define SWIGTYPE_p_wxSize swig_types[33]
243#define SWIGTYPE_p_wxDC swig_types[34]
244#define SWIGTYPE_p_wxPySizer swig_types[35]
74a57fcd
RD
245#define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246#define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247#define SWIGTYPE_p_wxPyEvent swig_types[38]
248#define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249#define SWIGTYPE_p_wxAppTraits swig_types[40]
250#define SWIGTYPE_p_wxArrayString swig_types[41]
251#define SWIGTYPE_p_wxShowEvent swig_types[42]
252#define SWIGTYPE_p_wxToolTip swig_types[43]
c0de73ae
RD
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]
257#define SWIGTYPE_p_wxMaximizeEvent swig_types[48]
74a57fcd
RD
258#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259#define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260#define SWIGTYPE_p_wxIdleEvent swig_types[51]
261#define SWIGTYPE_p_wxMenuItem swig_types[52]
262#define SWIGTYPE_p_wxStaticBox swig_types[53]
263#define SWIGTYPE_p_long swig_types[54]
264#define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265#define SWIGTYPE_p_wxXPMHandler swig_types[56]
266#define SWIGTYPE_p_wxPNMHandler swig_types[57]
267#define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268#define SWIGTYPE_p_wxPCXHandler swig_types[59]
269#define SWIGTYPE_p_wxGIFHandler swig_types[60]
270#define SWIGTYPE_p_wxPNGHandler swig_types[61]
271#define SWIGTYPE_p_wxANIHandler swig_types[62]
272#define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273#define SWIGTYPE_p_wxEvtHandler swig_types[64]
274#define SWIGTYPE_p_wxCURHandler swig_types[65]
275#define SWIGTYPE_p_wxICOHandler swig_types[66]
276#define SWIGTYPE_p_wxBMPHandler swig_types[67]
277#define SWIGTYPE_p_wxImageHandler swig_types[68]
278#define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280#define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281#define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282#define SWIGTYPE_p_wxRect swig_types[73]
283#define SWIGTYPE_p_wxGBSpan swig_types[74]
284#define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285#define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286#define SWIGTYPE_p_char swig_types[77]
287#define SWIGTYPE_p_wxGBPosition swig_types[78]
288#define SWIGTYPE_p_wxImage swig_types[79]
289#define SWIGTYPE_p_wxFrame swig_types[80]
290#define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291#define SWIGTYPE_p_wxImageHistogram swig_types[82]
292#define SWIGTYPE_p_byte swig_types[83]
293#define SWIGTYPE_p_wxPoint swig_types[84]
294#define SWIGTYPE_p_wxCursor swig_types[85]
295#define SWIGTYPE_p_wxObject swig_types[86]
296#define SWIGTYPE_p_wxPyInputStream swig_types[87]
297#define SWIGTYPE_p_wxOutputStream swig_types[88]
298#define SWIGTYPE_p_wxInputStream swig_types[89]
299#define SWIGTYPE_p_wxDateTime swig_types[90]
300#define SWIGTYPE_p_wxKeyEvent swig_types[91]
301#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303#define SWIGTYPE_p_wxWindow swig_types[94]
304#define SWIGTYPE_p_wxMenuBar swig_types[95]
305#define SWIGTYPE_p_wxFileSystem swig_types[96]
306#define SWIGTYPE_p_wxBitmap swig_types[97]
307#define SWIGTYPE_p_wxMenuEvent swig_types[98]
308#define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309#define SWIGTYPE_p_unsigned_char swig_types[100]
310#define SWIGTYPE_p_wxCloseEvent swig_types[101]
311#define SWIGTYPE_p_wxEraseEvent swig_types[102]
312#define SWIGTYPE_p_wxMouseEvent swig_types[103]
313#define SWIGTYPE_p_wxPyApp swig_types[104]
314#define SWIGTYPE_p_wxCommandEvent swig_types[105]
315#define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316#define SWIGTYPE_p_wxPyDropTarget swig_types[107]
c0de73ae
RD
317#define SWIGTYPE_p_wxQuantize swig_types[108]
318#define SWIGTYPE_p_wxChildFocusEvent swig_types[109]
319#define SWIGTYPE_p_wxFocusEvent swig_types[110]
320#define SWIGTYPE_p_wxDropFilesEvent swig_types[111]
321#define SWIGTYPE_p_wxControlWithItems swig_types[112]
322#define SWIGTYPE_p_wxColour swig_types[113]
323#define SWIGTYPE_p_wxValidator swig_types[114]
324#define SWIGTYPE_p_wxPyValidator swig_types[115]
325static swig_type_info *swig_types[117];
d14a1e28
RD
326
327/* -------- TYPES TABLE (END) -------- */
328
329
330/*-----------------------------------------------
54f9ee45 331 @(target):= _core_.so
d14a1e28 332 ------------------------------------------------*/
54f9ee45 333#define SWIG_init init_core_
d14a1e28 334
54f9ee45 335#define SWIG_name "_core_"
d14a1e28 336
15afbcd0 337/* Auxiliar swig macros */
994141e6 338
994141e6 339#ifdef __cplusplus
15afbcd0 340#define SWIGSTATICINLINE(a) static inline a
994141e6 341#define SWIGSTATIC(a) static a
15afbcd0
RD
342#define swig_new_array(type, size) (new type[(size)])
343#define swig_delete_array(cptr) delete[] cptr
344#define swig_const_cast(type,a) const_cast<type>(a)
345#define swig_static_cast(type,a) static_cast<type>(a)
346#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
994141e6 347
994141e6 348#ifdef HAVE_NUMERIC_CAST
15afbcd0 349#define swig_numeric_cast(type,a) numeric_cast<type>(a)
994141e6 350#else
15afbcd0 351#define swig_numeric_cast(type,a) static_cast<type>(a)
994141e6
RD
352#endif
353
15afbcd0
RD
354#else /* C case */
355
356#define SWIGSTATICINLINE(a) static a
357#define SWIGSTATIC(a) static a
358#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
359#define swig_delete_array(cptr) free((char*)cptr)
360#define swig_const_cast(type,a) (type)(a)
361#define swig_static_cast(type,a) (type)(a)
362#define swig_reinterpret_cast(type,a) (type)(a)
363#define swig_numeric_cast(type,a) (type)(a)
364
365#endif /* __cplusplus */
994141e6
RD
366
367
15afbcd0
RD
368#define SWIG_FromSignedChar PyInt_FromLong
369#define SWIG_FromUnsignedChar PyInt_FromLong
370#define SWIG_FromShort PyInt_FromLong
371#define SWIG_FromUnsignedShort PyInt_FromLong
372#define SWIG_FromInt PyInt_FromLong
373#define SWIG_FromLong PyInt_FromLong
374#define SWIG_FromFloat PyFloat_FromDouble
375#define SWIG_FromDouble PyFloat_FromDouble
376#define SWIG_FromFloat PyFloat_FromDouble
377#define SWIG_FromDouble PyFloat_FromDouble
994141e6
RD
378
379
d14a1e28
RD
380#include "wx/wxPython/wxPython_int.h"
381#include "wx/wxPython/pyclasses.h"
382
383
384#ifndef wxPyUSE_EXPORT
385// Helper functions for dealing with SWIG objects and such. These are
386// located here so they know about the SWIG types and functions declared
387// in the wrapper code.
388
389#include <wx/hashmap.h>
390WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
391
392
393// Maintains a hashmap of className to swig_type_info pointers. Given the
394// name of a class either looks up the type info in the cache, or scans the
395// SWIG tables for it.
396extern PyObject* wxPyPtrTypeMap;
397static
398swig_type_info* wxPyFindSwigType(const wxChar* className) {
399
400 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
401
402 if (typeInfoCache == NULL)
403 typeInfoCache = new wxPyTypeInfoHashMap;
404
405 wxString name(className);
406 swig_type_info* swigType = (*typeInfoCache)[name];
407
408 if (! swigType) {
409 // it wasn't in the cache, so look it up from SWIG
410 name.Append(wxT(" *"));
411 swigType = SWIG_Python_TypeQuery(name.mb_str());
412
413 // if it still wasn't found, try looking for a mapped name
414 if (!swigType) {
415 PyObject* item;
416 name = className;
417
418 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
419 (char*)(const char*)name.mbc_str())) != NULL) {
420 name = wxString(PyString_AsString(item), *wxConvCurrent);
421 name.Append(wxT(" *"));
422 swigType = SWIG_Python_TypeQuery(name.mb_str());
423 }
424 }
425 if (swigType) {
426 // and add it to the map if found
427 (*typeInfoCache)[className] = swigType;
428 }
429 }
430 return swigType;
431}
432
433
434// Check if a class name is a type known to SWIG
435bool wxPyCheckSwigType(const wxChar* className) {
436
437 swig_type_info* swigType = wxPyFindSwigType(className);
438 return swigType != NULL;
439}
440
441
442// Given a pointer to a C++ object and a class name, construct a Python proxy
443// object for it.
444PyObject* wxPyConstructObject(void* ptr,
445 const wxChar* className,
446 int setThisOwn) {
447
448 swig_type_info* swigType = wxPyFindSwigType(className);
449 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
450
451 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
452}
453
454
455// Extract a pointer to the wrapped C++ object from a Python proxy object.
456// Ensures that the proxy object is of the specified (or derived) type. If
457// not able to perform the conversion then a Python exception is set and the
e811c8ce 458// error should be handled properly in the caller. Returns True on success.
d14a1e28
RD
459bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
460 const wxChar* className) {
461
462 swig_type_info* swigType = wxPyFindSwigType(className);
e811c8ce 463 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
d14a1e28
RD
464
465 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
466}
467
468
469// Make a SWIGified pointer object suitable for a .this attribute
470PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
471
472 PyObject* robj = NULL;
473
474 swig_type_info* swigType = wxPyFindSwigType(className);
475 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
476
477#ifdef SWIG_COBJECT_TYPES
478 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
479#else
480 {
481 char result[1024];
482 char *r = result;
483 *(r++) = '_';
484 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
485 strcpy(r, swigType->name);
486 robj = PyString_FromString(result);
487 }
488#endif
489
490 return robj;
491}
492
493
494
495
496// Export a C API in a struct. Other modules will be able to load this from
121b9a67
RD
497// the wx._core_ module and will then have safe access to these functions,
498// even if they are located in another shared library.
d14a1e28
RD
499static wxPyCoreAPI API = {
500
501 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
502 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
503 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
504 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
505 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
506 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
507 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
508 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
509 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
510 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
511 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
512 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
513 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
514 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
515 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
516 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
517 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
518
519 wxPyCheckSwigType,
520 wxPyConstructObject,
521 wxPyConvertSwigPtr,
522 wxPyMakeSwigPtr,
523
524 wxPyBeginAllowThreads,
525 wxPyEndAllowThreads,
526 wxPyBeginBlockThreads,
527 wxPyEndBlockThreads,
528
529 wxPy_ConvertList,
530
531 wxString_in_helper,
532 Py2wxString,
533 wx2PyString,
534
535 byte_LIST_helper,
536 int_LIST_helper,
537 long_LIST_helper,
538 string_LIST_helper,
539 wxPoint_LIST_helper,
540 wxBitmap_LIST_helper,
541 wxString_LIST_helper,
542 wxAcceleratorEntry_LIST_helper,
543
544 wxSize_helper,
545 wxPoint_helper,
546 wxRealPoint_helper,
547 wxRect_helper,
548 wxColour_helper,
549 wxPoint2D_helper,
550
551 wxPySimple_typecheck,
552 wxColour_typecheck,
553
554 wxPyCBH_setCallbackInfo,
555 wxPyCBH_findCallback,
556 wxPyCBH_callCallback,
557 wxPyCBH_callCallbackObj,
558 wxPyCBH_delete,
559
560 wxPyMake_wxObject,
561 wxPyMake_wxSizer,
562 wxPyPtrTypeMap_Add,
563 wxPy2int_seq_helper,
564 wxPy4int_seq_helper,
565 wxArrayString2PyList_helper,
566 wxArrayInt2PyList_helper,
567
568 wxPyClientData_dtor,
569 wxPyUserData_dtor,
570 wxPyOORClientData_dtor,
571
572 wxPyCBInputStream_create,
573
574 wxPyInstance_Check,
e3b71cb8
RD
575 wxPySwigInstance_Check,
576
577 wxPyCheckForApp
d14a1e28
RD
578
579};
580
581#endif
582
583
d14a1e28
RD
584#if ! wxUSE_HOTKEY
585enum wxHotkeyModifier
586{
587 wxMOD_NONE = 0,
588 wxMOD_ALT = 1,
589 wxMOD_CONTROL = 2,
590 wxMOD_SHIFT = 4,
591 wxMOD_WIN = 8
592};
593#define wxEVT_HOTKEY 9999
594#endif
595
196addbf 596 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
597wxString wxObject_GetClassName(wxObject *self){
598 return self->GetClassInfo()->GetClassName();
599 }
600void wxObject_Destroy(wxObject *self){
601 delete self;
602 }
603
604#ifndef __WXMAC__
605#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
606#endif
607
994141e6 608
15afbcd0
RD
609#include <limits.h>
610
611
612SWIGSTATICINLINE(long)
613SWIG_CheckLongInRange(long value, const char* type,
614 long min_value, long max_value)
615{
616 if (!PyErr_Occurred()) {
617 if (value < min_value) {
618 PyObject *err =
619 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
620 value, type, min_value);
621
622 PyErr_SetObject(PyExc_OverflowError, err);
623 Py_DECREF(err);
624 } else if (value > max_value) {
625 PyObject *err =
626 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
627 value, type, max_value);
628 PyErr_SetObject(PyExc_OverflowError, err);
629 Py_DECREF(err);
630 }
631 }
632 return value;
633}
634
635
636SWIGSTATICINLINE(long)
637SWIG_AsLong(PyObject * obj)
638{
69223c70
RD
639 if (PyNumber_Check(obj))
640 return PyInt_AsLong(obj);
641 else {
642 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
643 obj->ob_type->tp_name);
644 PyErr_SetObject(PyExc_TypeError, errmsg);
645 Py_DECREF(errmsg);
646 return 0;
647 }
15afbcd0
RD
648}
649
650
651#if INT_MAX != LONG_MAX
652SWIGSTATICINLINE(int)
653SWIG_AsInt(PyObject *obj)
994141e6 654{
15afbcd0
RD
655 return swig_numeric_cast(int,
656 SWIG_CheckLongInRange(SWIG_AsLong(obj),
657 "int", INT_MIN, INT_MAX));
658}
659#else
660#define SWIG_AsInt SWIG_AsLong
661#endif
662
663
664SWIGSTATICINLINE(int)
665SWIG_CheckInt(PyObject* obj)
666{
667 SWIG_AsInt(obj);
668 if (PyErr_Occurred()) {
669 PyErr_Clear();
670 return 0;
671 } else {
672 return 1;
673 }
994141e6
RD
674}
675
e811c8ce 676PyObject *wxSize_Get(wxSize *self){
4f89f6a3 677 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
678 PyObject* tup = PyTuple_New(2);
679 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
680 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
4f89f6a3 681 wxPyEndBlockThreads(blocked);
d14a1e28
RD
682 return tup;
683 }
994141e6 684
15afbcd0
RD
685SWIGSTATICINLINE(double)
686SWIG_AsDouble(PyObject *obj)
994141e6 687{
69223c70
RD
688 if (PyNumber_Check(obj))
689 return PyFloat_AsDouble(obj);
690 else {
691 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
692 obj->ob_type->tp_name);
693 PyErr_SetObject(PyExc_TypeError, errmsg);
694 Py_DECREF(errmsg);
695 return 0;
696 }
15afbcd0
RD
697}
698
699
700SWIGSTATICINLINE(int)
701SWIG_CheckDouble(PyObject* obj)
702{
703 SWIG_AsDouble(obj);
704 if (PyErr_Occurred()) {
705 PyErr_Clear();
706 return 0;
707 } else {
708 return 1;
709 }
994141e6
RD
710}
711
d14a1e28
RD
712void wxRealPoint_Set(wxRealPoint *self,double x,double y){
713 self->x = x;
714 self->y = y;
715 }
e811c8ce 716PyObject *wxRealPoint_Get(wxRealPoint *self){
4f89f6a3 717 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
718 PyObject* tup = PyTuple_New(2);
719 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
720 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
4f89f6a3 721 wxPyEndBlockThreads(blocked);
d14a1e28
RD
722 return tup;
723 }
994141e6 724
15afbcd0
RD
725SWIGSTATICINLINE(int)
726SWIG_CheckLong(PyObject* obj)
994141e6 727{
15afbcd0
RD
728 SWIG_AsLong(obj);
729 if (PyErr_Occurred()) {
730 PyErr_Clear();
731 return 0;
732 } else {
733 return 1;
734 }
994141e6
RD
735}
736
d14a1e28
RD
737void wxPoint_Set(wxPoint *self,long x,long y){
738 self->x = x;
739 self->y = y;
740 }
e811c8ce 741PyObject *wxPoint_Get(wxPoint *self){
4f89f6a3 742 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
743 PyObject* tup = PyTuple_New(2);
744 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
745 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
4f89f6a3 746 wxPyEndBlockThreads(blocked);
d14a1e28
RD
747 return tup;
748 }
749void wxRect_Set(wxRect *self,int x,int y,int width,int height){
750 self->x = x;
751 self->y = y;
752 self->width = width;
753 self->height = height;
754 }
e811c8ce 755PyObject *wxRect_Get(wxRect *self){
4f89f6a3 756 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
757 PyObject* tup = PyTuple_New(4);
758 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
759 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
760 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
761 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
4f89f6a3 762 wxPyEndBlockThreads(blocked);
d14a1e28
RD
763 return tup;
764 }
765
766 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
767 wxRegion reg1(*r1);
768 wxRegion reg2(*r2);
769 wxRect dest(0,0,0,0);
770 PyObject* obj;
771
772 reg1.Intersect(reg2);
773 dest = reg1.GetBox();
774
775 if (dest != wxRect(0,0,0,0)) {
4f89f6a3 776 bool blocked = wxPyBeginBlockThreads();
d14a1e28 777 wxRect* newRect = new wxRect(dest);
e811c8ce 778 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
4f89f6a3 779 wxPyEndBlockThreads(blocked);
d14a1e28
RD
780 return obj;
781 }
782 Py_INCREF(Py_None);
783 return Py_None;
784 }
785
786
787static PyObject* t_output_helper(PyObject* target, PyObject* o) {
788 PyObject* o2;
789 PyObject* o3;
790
791 if (!target) {
792 target = o;
793 } else if (target == Py_None) {
794 Py_DECREF(Py_None);
795 target = o;
796 } else {
797 if (!PyTuple_Check(target)) {
798 o2 = target;
799 target = PyTuple_New(1);
800 PyTuple_SetItem(target, 0, o2);
801 }
802 o3 = PyTuple_New(1);
803 PyTuple_SetItem(o3, 0, o);
804
805 o2 = target;
806 target = PySequence_Concat(o2, o3);
807 Py_DECREF(o2);
808 Py_DECREF(o3);
809 }
810 return target;
811}
812
813void wxPoint2D_Set(wxPoint2D *self,double x,double y){
814 self->m_x = x;
815 self->m_y = y;
816 }
e811c8ce 817PyObject *wxPoint2D_Get(wxPoint2D *self){
4f89f6a3 818 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
819 PyObject* tup = PyTuple_New(2);
820 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
821 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
4f89f6a3 822 wxPyEndBlockThreads(blocked);
d14a1e28
RD
823 return tup;
824 }
825
826#include "wx/wxPython/pyistream.h"
827
828wxPyInputStream *new_wxPyInputStream(PyObject *p){
829 wxInputStream* wxis = wxPyCBInputStream::create(p);
830 if (wxis)
831 return new wxPyInputStream(wxis);
832 else
833 return NULL;
834 }
994141e6 835
15afbcd0
RD
836SWIGSTATICINLINE(PyObject*)
837SWIG_FromChar(char c)
994141e6
RD
838{
839 return PyString_FromStringAndSize(&c,1);
840}
841
842
15afbcd0
RD
843SWIGSTATICINLINE(PyObject* )
844SWIG_FromUnsignedLong(unsigned long value)
845{
846 return (value > LONG_MAX) ?
847 PyLong_FromUnsignedLong(value)
848 : PyInt_FromLong(swig_numeric_cast(long,value));
849}
850
851
852/* returns '1' if the input is a raw char*, '0' if is a PyString */
853SWIGSTATIC(int)
854SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
994141e6 855{
15afbcd0
RD
856 static swig_type_info* pchar_info = 0;
857 int psize = 0;
858 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
859
860 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
861 PyErr_Clear();
862 PyString_AsStringAndSize(obj, cptr, &psize);
863 if (PyErr_Occurred()) {
864 PyErr_Clear();
865 PyErr_SetString(PyExc_TypeError,"a string is expected");
866 }
867 if (size) *size = psize;
868 return 0;
869 } else {
870 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
871 return 1;
872 }
994141e6
RD
873}
874
875
15afbcd0
RD
876SWIGSTATIC(void)
877SWIG_AsCharArray(PyObject *obj, char* carray, size_t size)
878{
879 char* cptr; size_t csize;
880 SWIG_AsCharPtrAndSize(obj, &cptr, &csize);
881 if (PyErr_Occurred()) {
882 PyErr_Clear();
883 PyObject *err =
884 PyString_FromFormat("a char array of size %d is expected", size);
885 PyErr_SetObject(PyExc_TypeError, err);
886 Py_DECREF(err);
887 } else {
888 /* in C (but not in C++) you can do:
889
890 char x[5] = "hello";
891
892 ie, assing the array using an extra '0' char.
893 */
894#ifndef __cplusplus
895 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
896#endif
897 if (csize > size) {
898 PyObject *err =
899 PyString_FromFormat("a char array of maximum size %d is expected",
900 size);
901 PyErr_SetObject(PyExc_TypeError, err);
902 Py_DECREF(err);
903 } else {
904 if (csize) memcpy(carray, cptr, csize);
905 if (csize < size) memset(carray + csize, 0, size - csize);
906 }
907 }
908}
909
910
911SWIGSTATICINLINE(char)
912SWIG_AsChar(PyObject *obj)
994141e6
RD
913{
914 char c = 0;
915 if (PyInt_Check(obj) || PyLong_Check(obj)) {
15afbcd0
RD
916 c = swig_numeric_cast(char,
917 SWIG_CheckLongInRange(SWIG_AsLong(obj),
918 "char", CHAR_MIN, CHAR_MAX));
994141e6 919 } else {
15afbcd0
RD
920 SWIG_AsCharArray(obj, &c, 1);
921 if (PyErr_Occurred()) {
922 PyErr_Clear();
994141e6
RD
923 PyErr_SetString(PyExc_TypeError, "a char is expected");
924 }
925 }
926 return c;
927}
928
15afbcd0
RD
929
930SWIGSTATICINLINE(int)
931SWIG_CheckChar(PyObject* obj)
932{
933 SWIG_AsChar(obj);
934 if (PyErr_Occurred()) {
935 PyErr_Clear();
936 return 0;
937 } else {
938 return 1;
939 }
940}
941
d14a1e28
RD
942void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
943 // We use only strings for the streams, not unicode
944 PyObject* str = PyObject_Str(obj);
945 if (! str) {
946 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
947 return;
948 }
949 self->Write(PyString_AS_STRING(str),
950 PyString_GET_SIZE(str));
951 Py_DECREF(str);
952 }
953
954#include "wx/wxPython/pyistream.h"
955
956
957class wxPyFileSystemHandler : public wxFileSystemHandler
958{
959public:
960 wxPyFileSystemHandler() : wxFileSystemHandler() {}
961
962 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
963 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
964 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
965 DEC_PYCALLBACK_STRING__pure(FindNext);
966
967 wxString GetProtocol(const wxString& location) {
968 return wxFileSystemHandler::GetProtocol(location);
969 }
970
971 wxString GetLeftLocation(const wxString& location) {
972 return wxFileSystemHandler::GetLeftLocation(location);
973 }
974
975 wxString GetAnchor(const wxString& location) {
976 return wxFileSystemHandler::GetAnchor(location);
977 }
978
979 wxString GetRightLocation(const wxString& location) {
980 return wxFileSystemHandler::GetRightLocation(location);
981 }
982
983 wxString GetMimeTypeFromExt(const wxString& location) {
984 return wxFileSystemHandler::GetMimeTypeFromExt(location);
985 }
986
987 PYPRIVATE;
988};
989
990
991IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
992IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
993IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
994IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
995
996
15afbcd0
RD
997SWIGSTATICINLINE(bool)
998SWIG_AsBool(PyObject *obj)
994141e6
RD
999{
1000 return PyObject_IsTrue(obj) ? true : false;
1001}
1002
1003
15afbcd0
RD
1004SWIGSTATICINLINE(int)
1005SWIG_CheckBool(PyObject* obj)
1006{
1007 SWIG_AsBool(obj);
1008 if (PyErr_Occurred()) {
1009 PyErr_Clear();
1010 return 0;
1011 } else {
1012 return 1;
1013 }
1014}
1015
1016
d14a1e28
RD
1017 wxString wxFileSystem_URLToFileName(const wxString& url) {
1018 wxFileName fname = wxFileSystem::URLToFileName(url);
1019 return fname.GetFullPath();
1020 }
1021
1022
1023 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
1024 wxImage& image,
1025 long type) {
1026 wxMemoryFSHandler::AddFile(filename, image, type);
1027 }
1028
1029 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
1030 const wxBitmap& bitmap,
1031 long type) {
1032 wxMemoryFSHandler::AddFile(filename, bitmap, type);
1033 }
1034
1035 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
1036 PyObject* data) {
1037 wxMemoryFSHandler::AddFile(filename,
1038 // TODO: Verify data type
1039 (void*)PyString_AsString(data),
1040 (size_t)PyString_Size(data));
1041 }
1042
1043
1044#include "wx/wxPython/pyistream.h"
1045
994141e6 1046
15afbcd0
RD
1047SWIGSTATICINLINE(unsigned long)
1048SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
1049 unsigned long max_value)
1050{
1051 if (!PyErr_Occurred()) {
1052 if (value > max_value) {
1053 PyObject *err =
1054 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1055 value, type, max_value);
1056 PyErr_SetObject(PyExc_OverflowError, err);
1057 Py_DECREF(err);
1058 }
1059 }
1060 return value;
1061}
1062
1063
1064SWIGSTATICINLINE(unsigned long)
1065SWIG_AsUnsignedLong(PyObject * obj)
1066{
1067 if (PyLong_Check(obj)) {
1068 return PyLong_AsUnsignedLong(obj);
1069 } else {
69223c70 1070 long i = SWIG_AsLong(obj);
15afbcd0 1071 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 1072 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
15afbcd0
RD
1073 }
1074 return i;
1075 }
1076}
1077
1078
1079SWIGSTATICINLINE(unsigned char)
1080SWIG_AsUnsignedChar(PyObject *obj)
994141e6 1081{
15afbcd0
RD
1082 return swig_numeric_cast(unsigned char,
1083 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1084 "unsigned char", UCHAR_MAX));
1085}
1086
1087
1088SWIGSTATICINLINE(int)
1089SWIG_CheckUnsignedChar(PyObject* obj)
1090{
1091 SWIG_AsUnsignedChar(obj);
1092 if (PyErr_Occurred()) {
1093 PyErr_Clear();
1094 return 0;
1095 } else {
1096 return 1;
1097 }
994141e6
RD
1098}
1099
66c033b4 1100wxImage *new_wxImage(int width,int height,bool clear){
d14a1e28
RD
1101 if (width > 0 && height > 0)
1102 return new wxImage(width, height, clear);
1103 else
1104 return new wxImage;
1105 }
1106wxImage *new_wxImage(wxBitmap const &bitmap){
1107 return new wxImage(bitmap.ConvertToImage());
1108 }
1109wxImage *new_wxImage(int width,int height,unsigned char *data){
1110 // Copy the source data so the wxImage can clean it up later
1111 unsigned char* copy = (unsigned char*)malloc(width*height*3);
1112 if (copy == NULL) {
1113 PyErr_NoMemory();
1114 return NULL;
1115 }
1116 memcpy(copy, data, width*height*3);
e811c8ce 1117 return new wxImage(width, height, copy, False);
d14a1e28 1118 }
b2df227b
RD
1119wxSize wxImage_GetSize(wxImage *self){
1120 wxSize size(self->GetWidth(), self->GetHeight());
1121 return size;
1122 }
d14a1e28
RD
1123PyObject *wxImage_GetData(wxImage *self){
1124 unsigned char* data = self->GetData();
1125 int len = self->GetWidth() * self->GetHeight() * 3;
1126 PyObject* rv;
1127 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
1128 return rv;
1129 }
1130void wxImage_SetData(wxImage *self,PyObject *data){
1131 unsigned char* dataPtr;
1132
1133 if (! PyString_Check(data)) {
1134 PyErr_SetString(PyExc_TypeError, "Expected string object");
1135 return /* NULL */ ;
1136 }
1137
1138 size_t len = self->GetWidth() * self->GetHeight() * 3;
1139 dataPtr = (unsigned char*) malloc(len);
1140 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1141 self->SetData(dataPtr);
1142 // wxImage takes ownership of dataPtr...
1143 }
1144PyObject *wxImage_GetDataBuffer(wxImage *self){
1145 unsigned char* data = self->GetData();
1146 int len = self->GetWidth() * self->GetHeight() * 3;
1147 PyObject* rv;
1148 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1149 return rv;
1150 }
1151void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
1152 unsigned char* buffer;
1153 int size;
1154
4f89f6a3 1155 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1156 if (!PyArg_Parse(data, "t#", &buffer, &size))
1157 goto done;
1158
1159 if (size != self->GetWidth() * self->GetHeight() * 3) {
1160 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1161 goto done;
1162 }
1163 self->SetData(buffer);
1164 done:
4f89f6a3 1165 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1166 }
1167PyObject *wxImage_GetAlphaData(wxImage *self){
1168 unsigned char* data = self->GetAlpha();
1169 if (! data) {
1170 RETURN_NONE();
1171 } else {
1172 int len = self->GetWidth() * self->GetHeight();
1173 PyObject* rv;
1174 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
1175 return rv;
1176 }
1177 }
1178void wxImage_SetAlphaData(wxImage *self,PyObject *data){
1179 unsigned char* dataPtr;
1180
1181 if (! PyString_Check(data)) {
1182 PyErr_SetString(PyExc_TypeError, "Expected string object");
1183 return /* NULL */ ;
1184 }
1185
1186 size_t len = self->GetWidth() * self->GetHeight();
1187 dataPtr = (unsigned char*) malloc(len);
1188 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1189 self->SetAlpha(dataPtr);
1190 // wxImage takes ownership of dataPtr...
1191 }
1192PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1193 unsigned char* data = self->GetAlpha();
1194 int len = self->GetWidth() * self->GetHeight();
1195 PyObject* rv;
1196 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1197 return rv;
1198 }
1199void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1200 unsigned char* buffer;
1201 int size;
1202
4f89f6a3 1203 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1204 if (!PyArg_Parse(data, "t#", &buffer, &size))
1205 goto done;
1206
1207 if (size != self->GetWidth() * self->GetHeight()) {
1208 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1209 goto done;
1210 }
1211 self->SetAlpha(buffer);
1212 done:
4f89f6a3 1213 wxPyEndBlockThreads(blocked);
d14a1e28 1214 }
15afbcd0
RD
1215
1216SWIGSTATICINLINE(int)
1217SWIG_CheckUnsignedLong(PyObject* obj)
1218{
1219 SWIG_AsUnsignedLong(obj);
1220 if (PyErr_Occurred()) {
1221 PyErr_Clear();
1222 return 0;
1223 } else {
1224 return 1;
1225 }
1226}
1227
d14a1e28
RD
1228wxBitmap wxImage_ConvertToBitmap(wxImage *self){
1229 wxBitmap bitmap(*self);
1230 return bitmap;
1231 }
1232wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1233 wxImage mono = self->ConvertToMono( red, green, blue );
1234 wxBitmap bitmap( mono, 1 );
1235 return bitmap;
1236 }
1237 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1238 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1239 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1240 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1241 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
c0de73ae
RD
1242
1243#include <wx/quantize.h>
1244
1245bool Quantize_Quantize(wxImage const &src,wxImage &dest,int desiredNoColours,int flags){
1246 return wxQuantize::Quantize(src, dest,
1247 //NULL, // palette
1248 desiredNoColours,
1249 NULL, // eightBitData
1250 flags);
1251 }
d14a1e28
RD
1252void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1253 if (PyCallable_Check(func)) {
1254 self->Connect(id, lastId, eventType,
1255 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1256 new wxPyCallback(func));
1257 }
1258 else if (func == Py_None) {
1259 self->Disconnect(id, lastId, eventType,
1260 (wxObjectEventFunction)
1261 &wxPyCallback::EventThunker);
1262 }
1263 else {
a95a7133
RD
1264 wxPyBLOCK_THREADS(
1265 PyErr_SetString(PyExc_TypeError, "Expected callable object or None."));
d14a1e28
RD
1266 }
1267 }
1268bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1269 return self->Disconnect(id, lastId, eventType,
1270 (wxObjectEventFunction)
1271 &wxPyCallback::EventThunker);
1272 }
1273void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1274 if (_self && _self != Py_None) {
1275 self->SetClientObject(new wxPyOORClientData(_self));
1276 }
1277 else {
1278 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1279 if (data) {
1280 self->SetClientObject(NULL); // This will delete it too
1281 }
1282 }
1283 }
19272049 1284int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){
3b7224dc 1285 #if wxUSE_UNICODE
19272049 1286 return self->GetUnicodeKey();
3b7224dc 1287 #else
d14a1e28 1288 return 0;
3b7224dc 1289 #endif
d14a1e28 1290 }
994141e6 1291
15afbcd0
RD
1292#if UINT_MAX < LONG_MAX
1293#define SWIG_FromUnsignedInt SWIG_FromLong
1294#else
1295#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1296#endif
994141e6
RD
1297
1298
15afbcd0
RD
1299#if UINT_MAX != ULONG_MAX
1300SWIGSTATICINLINE(unsigned int)
1301SWIG_AsUnsignedInt(PyObject *obj)
994141e6 1302{
15afbcd0
RD
1303 return swig_numeric_cast(unsigned int,
1304 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1305 "unsigned int", UINT_MAX));
1306}
1307#else
1308#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1309#endif
1310
1311
1312SWIGSTATICINLINE(int)
1313SWIG_CheckUnsignedInt(PyObject* obj)
1314{
1315 SWIG_AsUnsignedInt(obj);
1316 if (PyErr_Occurred()) {
1317 PyErr_Clear();
1318 return 0;
1319 } else {
1320 return 1;
1321 }
994141e6
RD
1322}
1323
d14a1e28
RD
1324void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1325 self->m_size = size;
1326 }
1327void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1328 self->m_pos = pos;
1329 }
1330PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1331 int count = self->GetNumberOfFiles();
1332 wxString* files = self->GetFiles();
1333 PyObject* list = PyList_New(count);
1334
1335 if (!list) {
1336 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1337 return NULL;
1338 }
1339
1340 for (int i=0; i<count; i++) {
1fc9204a 1341 PyList_SetItem(list, i, wx2PyString(files[i]));
d14a1e28
RD
1342 }
1343 return list;
1344 }
1345
1346
1347wxPyApp *new_wxPyApp(){
1348 wxPythonApp = new wxPyApp();
1349 return wxPythonApp;
1350 }
39f61e25 1351int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
d14a1e28
RD
1352
1353 void wxApp_CleanUp() {
1354 __wxPyCleanup();
1355 }
1356
1357
db3e571a 1358 wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; }
d14a1e28
RD
1359
1360
1361
e811c8ce 1362 static const wxString wxPyPanelNameStr(wxPanelNameStr);
74a57fcd 1363wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
22bfe96c 1364void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; }
d14a1e28
RD
1365PyObject *wxWindow_GetChildren(wxWindow *self){
1366 wxWindowList& list = self->GetChildren();
1367 return wxPy_ConvertList(&list);
1368 }
1369bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
74a57fcd
RD
1370 #if wxUSE_HOTKEY
1371 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
1372 #else
e811c8ce 1373 return False;
74a57fcd 1374 #endif
d14a1e28
RD
1375 }
1376bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1377
1378
1379
e811c8ce 1380 return False;
d14a1e28
RD
1381
1382 }
1383long wxWindow_GetHandle(wxWindow *self){
1384 return wxPyGetWinHandle(self);
1385 }
1386
1387wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1388 return wxWindow::FindWindowById(id, parent);
1389}
1390
1391wxWindow* wxFindWindowByName( const wxString& name,
1392 const wxWindow *parent = NULL ) {
1393 return wxWindow::FindWindowByName(name, parent);
1394}
1395
1396wxWindow* wxFindWindowByLabel( const wxString& label,
1397 const wxWindow *parent = NULL ) {
1398 return wxWindow::FindWindowByLabel(label, parent);
1399}
1400
1401
d14a1e28 1402#ifdef __WXMSW__
4276dc52
RD
1403#include <wx/msw/private.h> // to get wxGetWindowId
1404#endif
1405
1406
1407 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
1408#ifdef __WXMSW__
1409 WXHWND hWnd = (WXHWND)_hWnd;
1410 long id = wxGetWindowId(hWnd);
d14a1e28 1411 wxWindow* win = new wxWindow;
4276dc52
RD
1412 parent->AddChild(win);
1413 win->SetEventHandler(win);
1414 win->SetHWND(hWnd);
1415 win->SetId(id);
1416 win->SubclassWin(hWnd);
1417 win->AdoptAttributesFromHWND();
1418 win->SetupColours();
d14a1e28
RD
1419 return win;
1420#else
39f61e25 1421 wxPyRaiseNotImplemented();
d14a1e28
RD
1422 return NULL;
1423#endif
1424 }
1425
1426
1427IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1428IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1429IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1430
1431IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1432
1433void wxMenu_Destroy(wxMenu *self){ delete self; }
1434PyObject *wxMenu_GetMenuItems(wxMenu *self){
1435 wxMenuItemList& list = self->GetMenuItems();
1436 return wxPy_ConvertList(&list);
1437 }
1438int MenuItem_GetDefaultMarginWidth(){ return 0; }
b2dc1044 1439 static const wxString wxPyControlNameStr(wxControlNameStr);
d14a1e28
RD
1440int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1441 if (clientData) {
1442 wxPyClientData* data = new wxPyClientData(clientData);
1443 return self->Append(item, data);
1444 } else
1445 return self->Append(item);
1446 }
1447int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1448 if (clientData) {
1449 wxPyClientData* data = new wxPyClientData(clientData);
1450 return self->Insert(item, pos, data);
1451 } else
1452 return self->Insert(item, pos);
1453 }
1454PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1455 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1456 if (data) {
1457 Py_INCREF(data->m_obj);
1458 return data->m_obj;
1459 } else {
1460 Py_INCREF(Py_None);
1461 return Py_None;
1462 }
1463 }
1464void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1465 wxPyClientData* data = new wxPyClientData(clientData);
1466 self->SetClientObject(n, data);
1467 }
1468
1469
248ed943
RD
1470wxSizerItem *new_wxSizerItem(wxWindow *window,int proportion,int flag,int border,PyObject *userData){
1471 wxPyUserData* data = NULL;
1472 if ( userData ) {
1473 bool blocked = wxPyBeginBlockThreads();
1474 data = new wxPyUserData(userData);
1475 wxPyEndBlockThreads(blocked);
1476 }
1477 return new wxSizerItem(window, proportion, flag, border, data);
1478 }
1479wxSizerItem *new_wxSizerItem(int width,int height,int proportion,int flag,int border,PyObject *userData){
1480 wxPyUserData* data = NULL;
1481 if ( userData ) {
1482 bool blocked = wxPyBeginBlockThreads();
1483 data = new wxPyUserData(userData);
1484 wxPyEndBlockThreads(blocked);
1485 }
1486 return new wxSizerItem(width, height, proportion, flag, border, data);
1487 }
1488wxSizerItem *new_wxSizerItem(wxSizer *sizer,int proportion,int flag,int border,PyObject *userData){
1489 wxPyUserData* data = NULL;
1490 if ( userData ) {
1491 bool blocked = wxPyBeginBlockThreads();
1492 data = new wxPyUserData(userData);
1493 wxPyEndBlockThreads(blocked);
1494 }
1495 return new wxSizerItem(sizer, proportion, flag, border, data);
1496 }
994141e6 1497
15afbcd0
RD
1498#include <float.h>
1499
994141e6 1500SWIGSTATIC(float)
15afbcd0
RD
1501SWIG_FloatCast(double value)
1502{
1503 float f = 0;
1504 if (!PyErr_Occurred()) {
1505 if (value < FLT_MIN) {
1506 PyObject *err =
1507 PyString_FromFormat("value %g is less than float minimum %g",
1508 value, FLT_MIN);
1509 PyErr_SetObject(PyExc_OverflowError, err);
1510 Py_DECREF(err);
1511 } else if (value > FLT_MAX) {
1512 PyObject *err =
1513 PyString_FromFormat("value %g is greater than float maximum %g",
1514 value, FLT_MAX);
1515 PyErr_SetObject(PyExc_OverflowError, err);
1516 Py_DECREF(err);
1517 } else {
1518 f = swig_numeric_cast(float, value);
1519 }
1520 }
1521 return f;
1522}
1523
1524
1525SWIGSTATICINLINE(float)
1526SWIG_AsFloat(PyObject *obj)
994141e6 1527{
15afbcd0
RD
1528 return SWIG_FloatCast(SWIG_AsDouble(obj));
1529}
1530
1531
1532SWIGSTATICINLINE(int)
1533SWIG_CheckFloat(PyObject* obj)
1534{
1535 SWIG_AsFloat(obj);
1536 if (PyErr_Occurred()) {
1537 PyErr_Clear();
1538 return 0;
1539 } else {
1540 return 1;
1541 }
994141e6
RD
1542}
1543
d14a1e28
RD
1544PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1545 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1546 if (data) {
1547 Py_INCREF(data->m_obj);
1548 return data->m_obj;
1549 } else {
1550 Py_INCREF(Py_None);
1551 return Py_None;
1552 }
1553 }
1554
1555// Figure out the type of the sizer item
1556
1557struct wxPySizerItemInfo {
1558 wxPySizerItemInfo()
e811c8ce
RD
1559 : window(NULL), sizer(NULL), gotSize(False),
1560 size(wxDefaultSize), gotPos(False), pos(-1)
d14a1e28
RD
1561 {}
1562
1563 wxWindow* window;
1564 wxSizer* sizer;
1565 bool gotSize;
1566 wxSize size;
1567 bool gotPos;
1568 int pos;
1569};
1570
1571static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1572
1573 wxPySizerItemInfo info;
1574 wxSize size;
1575 wxSize* sizePtr = &size;
1576
1577 // Find out what the type of the item is
1578 // try wxWindow
1579 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1580 PyErr_Clear();
1581 info.window = NULL;
1582
1583 // try wxSizer
1584 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1585 PyErr_Clear();
1586 info.sizer = NULL;
1587
1588 // try wxSize or (w,h)
1589 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1590 info.size = *sizePtr;
e811c8ce 1591 info.gotSize = True;
d14a1e28
RD
1592 }
1593
1594 // or a single int
1595 if (checkIdx && PyInt_Check(item)) {
1596 info.pos = PyInt_AsLong(item);
e811c8ce 1597 info.gotPos = True;
d14a1e28
RD
1598 }
1599 }
1600 }
1601
1602 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1603 // no expected type, figure out what kind of error message to generate
1604 if ( !checkSize && !checkIdx )
1605 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1606 else if ( checkSize && !checkIdx )
1607 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1608 else if ( !checkSize && checkIdx)
1609 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1610 else
1611 // can this one happen?
1612 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1613 }
1614
1615 return info;
1616}
1617
1618void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
b0f7404b
RD
1619 if (!self->GetClientObject())
1620 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
1621 }
1622void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1623
1624 wxPyUserData* data = NULL;
4f89f6a3 1625 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1626 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1627 if ( userData && (info.window || info.sizer || info.gotSize) )
1628 data = new wxPyUserData(userData);
4f89f6a3 1629 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1630
1631 // Now call the real Add method if a valid item type was found
1632 if ( info.window )
1633 self->Add(info.window, proportion, flag, border, data);
1634 else if ( info.sizer )
1635 self->Add(info.sizer, proportion, flag, border, data);
1636 else if (info.gotSize)
1637 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1638 proportion, flag, border, data);
1639 }
1640void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1641
1642 wxPyUserData* data = NULL;
4f89f6a3 1643 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1644 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1645 if ( userData && (info.window || info.sizer || info.gotSize) )
1646 data = new wxPyUserData(userData);
4f89f6a3 1647 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1648
1649 // Now call the real Insert method if a valid item type was found
1650 if ( info.window )
1651 self->Insert(before, info.window, proportion, flag, border, data);
1652 else if ( info.sizer )
1653 self->Insert(before, info.sizer, proportion, flag, border, data);
1654 else if (info.gotSize)
1655 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1656 proportion, flag, border, data);
1657 }
1658void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1659
1660 wxPyUserData* data = NULL;
4f89f6a3 1661 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1662 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1663 if ( userData && (info.window || info.sizer || info.gotSize) )
1664 data = new wxPyUserData(userData);
4f89f6a3 1665 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1666
1667 // Now call the real Prepend method if a valid item type was found
1668 if ( info.window )
1669 self->Prepend(info.window, proportion, flag, border, data);
1670 else if ( info.sizer )
1671 self->Prepend(info.sizer, proportion, flag, border, data);
1672 else if (info.gotSize)
1673 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1674 proportion, flag, border, data);
1675 }
1676bool wxSizer_Remove(wxSizer *self,PyObject *item){
4f89f6a3 1677 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1678 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
4f89f6a3 1679 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1680 if ( info.window )
1681 return self->Remove(info.window);
1682 else if ( info.sizer )
1683 return self->Remove(info.sizer);
1684 else if ( info.gotPos )
1685 return self->Remove(info.pos);
1686 else
e811c8ce 1687 return False;
d14a1e28 1688 }
1c0f361b
RD
1689bool wxSizer_Detach(wxSizer *self,PyObject *item){
1690 bool blocked = wxPyBeginBlockThreads();
1691 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1692 wxPyEndBlockThreads(blocked);
1693 if ( info.window )
1694 return self->Detach(info.window);
1695 else if ( info.sizer )
1696 return self->Detach(info.sizer);
1697 else if ( info.gotPos )
1698 return self->Detach(info.pos);
1699 else
1700 return False;
1701 }
e811c8ce 1702void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
4f89f6a3 1703 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1704 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
4f89f6a3 1705 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1706 if ( info.window )
1707 self->SetItemMinSize(info.window, size);
1708 else if ( info.sizer )
1709 self->SetItemMinSize(info.sizer, size);
1710 else if ( info.gotPos )
1711 self->SetItemMinSize(info.pos, size);
1712 }
1713PyObject *wxSizer_GetChildren(wxSizer *self){
1714 wxSizerItemList& list = self->GetChildren();
1715 return wxPy_ConvertList(&list);
1716 }
1717void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
03e37cd5 1718 bool blocked = wxPyBeginBlockThreads();
248ed943 1719 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
03e37cd5 1720 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1721 if ( info.window )
1722 self->Show(info.window, show);
1723 else if ( info.sizer )
1724 self->Show(info.sizer, show);
248ed943
RD
1725 else if ( info.gotPos )
1726 self->Show(info.pos, show);
d14a1e28
RD
1727 }
1728bool wxSizer_IsShown(wxSizer *self,PyObject *item){
03e37cd5 1729 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1730 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
03e37cd5 1731 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1732 if ( info.window )
1733 return self->IsShown(info.window);
1734 else if ( info.sizer )
1735 return self->IsShown(info.sizer);
248ed943
RD
1736 else if ( info.gotPos )
1737 return self->IsShown(info.pos);
d14a1e28 1738 else
e811c8ce 1739 return False;
d14a1e28
RD
1740 }
1741
1742// See pyclasses.h
1743IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1744IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1745IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1746
1747
1748
1749
1750bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1751{
4f89f6a3
RD
1752 if (source == Py_None) {
1753 **obj = wxGBPosition(-1,-1);
1754 return True;
1755 }
d14a1e28
RD
1756 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1757}
1758
1759bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1760{
4f89f6a3
RD
1761 if (source == Py_None) {
1762 **obj = wxGBSpan(-1,-1);
1763 return True;
1764 }
d14a1e28
RD
1765 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1766}
1767
1768
e811c8ce
RD
1769void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1770 self->SetRow(row);
1771 self->SetCol(col);
1772 }
1773PyObject *wxGBPosition_Get(wxGBPosition *self){
4f89f6a3 1774 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1775 PyObject* tup = PyTuple_New(2);
1776 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1777 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
4f89f6a3 1778 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1779 return tup;
1780 }
e811c8ce
RD
1781void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1782 self->SetRowspan(rowspan);
1783 self->SetColspan(colspan);
1784 }
1785PyObject *wxGBSpan_Get(wxGBSpan *self){
4f89f6a3 1786 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1787 PyObject* tup = PyTuple_New(2);
1788 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1789 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
4f89f6a3 1790 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1791 return tup;
1792 }
248ed943
RD
1793wxGBSizerItem *new_wxGBSizerItem(wxWindow *window,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1794 wxPyUserData* data = NULL;
1795 if ( userData ) {
1796 bool blocked = wxPyBeginBlockThreads();
1797 data = new wxPyUserData(userData);
1798 wxPyEndBlockThreads(blocked);
1799 }
1800 return new wxGBSizerItem(window, pos, span, flag, border, data);
1801 }
1802wxGBSizerItem *new_wxGBSizerItem(wxSizer *sizer,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1803 wxPyUserData* data = NULL;
1804 if ( userData ) {
1805 bool blocked = wxPyBeginBlockThreads();
1806 data = new wxPyUserData(userData);
1807 wxPyEndBlockThreads(blocked);
1808 }
1809 return new wxGBSizerItem(sizer, pos, span, flag, border, data);
1810 }
1811wxGBSizerItem *new_wxGBSizerItem(int width,int height,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1812 wxPyUserData* data = NULL;
1813 if ( userData ) {
1814 bool blocked = wxPyBeginBlockThreads();
1815 data = new wxPyUserData(userData);
1816 wxPyEndBlockThreads(blocked);
1817 }
1818 return new wxGBSizerItem(width, height, pos, span, flag, border, data);
1819 }
1820wxGBPosition wxGBSizerItem_GetEndPos(wxGBSizerItem *self){
1821 int row, col;
1822 self->GetEndPos(row, col);
1823 return wxGBPosition(row, col);
1824 }
d14a1e28
RD
1825bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1826
1827 wxPyUserData* data = NULL;
4f89f6a3 1828 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1829 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1830 if ( userData && (info.window || info.sizer || info.gotSize) )
1831 data = new wxPyUserData(userData);
4f89f6a3 1832 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1833
1834 // Now call the real Add method if a valid item type was found
1835 if ( info.window )
1836 return self->Add(info.window, pos, span, flag, border, data);
1837 else if ( info.sizer )
1838 return self->Add(info.sizer, pos, span, flag, border, data);
1839 else if (info.gotSize)
1840 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1841 pos, span, flag, border, data);
e811c8ce 1842 return False;
d14a1e28
RD
1843 }
1844
1845
1846#ifdef __cplusplus
1847extern "C" {
1848#endif
196addbf
RD
1849static int _wrap_EmptyString_set(PyObject *_val) {
1850 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1851 return 1;
1852}
1853
1854
1855static PyObject *_wrap_EmptyString_get() {
1856 PyObject *pyobj;
1857
1858 {
1859#if wxUSE_UNICODE
1860 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1861#else
1862 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1863#endif
1864 }
1865 return pyobj;
1866}
1867
1868
d14a1e28
RD
1869static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1870 PyObject *resultobj;
1871 wxObject *arg1 = (wxObject *) 0 ;
1872 wxString result;
1873 PyObject * obj0 = 0 ;
1874 char *kwnames[] = {
1875 (char *) "self", NULL
1876 };
1877
1878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
1879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1881 {
1882 PyThreadState* __tstate = wxPyBeginAllowThreads();
1883 result = wxObject_GetClassName(arg1);
1884
1885 wxPyEndAllowThreads(__tstate);
1886 if (PyErr_Occurred()) SWIG_fail;
1887 }
1888 {
1889#if wxUSE_UNICODE
1890 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1891#else
1892 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1893#endif
1894 }
1895 return resultobj;
1896 fail:
1897 return NULL;
1898}
1899
1900
1901static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1902 PyObject *resultobj;
1903 wxObject *arg1 = (wxObject *) 0 ;
1904 PyObject * obj0 = 0 ;
1905 char *kwnames[] = {
1906 (char *) "self", NULL
1907 };
1908
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
1910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1912 {
1913 PyThreadState* __tstate = wxPyBeginAllowThreads();
1914 wxObject_Destroy(arg1);
1915
1916 wxPyEndAllowThreads(__tstate);
1917 if (PyErr_Occurred()) SWIG_fail;
1918 }
1919 Py_INCREF(Py_None); resultobj = Py_None;
1920 return resultobj;
1921 fail:
1922 return NULL;
1923}
1924
1925
1926static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1927 PyObject *obj;
1928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1929 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1930 Py_INCREF(obj);
1931 return Py_BuildValue((char *)"");
1932}
1933static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1934 PyObject *resultobj;
1935 wxSize *arg1 = (wxSize *) 0 ;
1936 int arg2 ;
1937 PyObject * obj0 = 0 ;
994141e6 1938 PyObject * obj1 = 0 ;
d14a1e28
RD
1939 char *kwnames[] = {
1940 (char *) "self",(char *) "x", NULL
1941 };
1942
994141e6 1943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1946 arg2 = (int) SWIG_AsInt(obj1);
1947 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1948 if (arg1) (arg1)->x = arg2;
1949
1950 Py_INCREF(Py_None); resultobj = Py_None;
1951 return resultobj;
1952 fail:
1953 return NULL;
1954}
1955
1956
1957static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1958 PyObject *resultobj;
1959 wxSize *arg1 = (wxSize *) 0 ;
1960 int result;
1961 PyObject * obj0 = 0 ;
1962 char *kwnames[] = {
1963 (char *) "self", NULL
1964 };
1965
1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
1967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1969 result = (int) ((arg1)->x);
1970
15afbcd0 1971 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1972 return resultobj;
1973 fail:
1974 return NULL;
1975}
1976
1977
1978static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1979 PyObject *resultobj;
1980 wxSize *arg1 = (wxSize *) 0 ;
1981 int arg2 ;
1982 PyObject * obj0 = 0 ;
994141e6 1983 PyObject * obj1 = 0 ;
d14a1e28
RD
1984 char *kwnames[] = {
1985 (char *) "self",(char *) "y", NULL
1986 };
1987
994141e6 1988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1991 arg2 = (int) SWIG_AsInt(obj1);
1992 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1993 if (arg1) (arg1)->y = arg2;
1994
1995 Py_INCREF(Py_None); resultobj = Py_None;
1996 return resultobj;
1997 fail:
1998 return NULL;
1999}
2000
2001
2002static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2003 PyObject *resultobj;
2004 wxSize *arg1 = (wxSize *) 0 ;
2005 int result;
2006 PyObject * obj0 = 0 ;
2007 char *kwnames[] = {
2008 (char *) "self", NULL
2009 };
2010
2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2014 result = (int) ((arg1)->y);
2015
15afbcd0 2016 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2017 return resultobj;
2018 fail:
2019 return NULL;
2020}
2021
2022
2023static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
2024 PyObject *resultobj;
2025 int arg1 = (int) 0 ;
2026 int arg2 = (int) 0 ;
2027 wxSize *result;
994141e6
RD
2028 PyObject * obj0 = 0 ;
2029 PyObject * obj1 = 0 ;
d14a1e28
RD
2030 char *kwnames[] = {
2031 (char *) "w",(char *) "h", NULL
2032 };
2033
994141e6
RD
2034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
2035 if (obj0) {
15afbcd0
RD
2036 arg1 = (int) SWIG_AsInt(obj0);
2037 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2038 }
2039 if (obj1) {
15afbcd0
RD
2040 arg2 = (int) SWIG_AsInt(obj1);
2041 if (PyErr_Occurred()) SWIG_fail;
994141e6 2042 }
d14a1e28
RD
2043 {
2044 PyThreadState* __tstate = wxPyBeginAllowThreads();
2045 result = (wxSize *)new wxSize(arg1,arg2);
2046
2047 wxPyEndAllowThreads(__tstate);
2048 if (PyErr_Occurred()) SWIG_fail;
2049 }
15afbcd0 2050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2051 return resultobj;
2052 fail:
2053 return NULL;
2054}
2055
2056
2057static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
2058 PyObject *resultobj;
2059 wxSize *arg1 = (wxSize *) 0 ;
2060 PyObject * obj0 = 0 ;
2061 char *kwnames[] = {
2062 (char *) "self", NULL
2063 };
2064
2065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
15afbcd0
RD
2066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2068 {
2069 PyThreadState* __tstate = wxPyBeginAllowThreads();
2070 delete arg1;
2071
2072 wxPyEndAllowThreads(__tstate);
2073 if (PyErr_Occurred()) SWIG_fail;
2074 }
2075 Py_INCREF(Py_None); resultobj = Py_None;
2076 return resultobj;
2077 fail:
2078 return NULL;
2079}
2080
2081
2082static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2083 PyObject *resultobj;
2084 wxSize *arg1 = (wxSize *) 0 ;
2085 wxSize *arg2 = 0 ;
2086 bool result;
2087 wxSize temp2 ;
2088 PyObject * obj0 = 0 ;
2089 PyObject * obj1 = 0 ;
2090 char *kwnames[] = {
2091 (char *) "self",(char *) "sz", NULL
2092 };
2093
2094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2097 {
2098 arg2 = &temp2;
2099 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2100 }
2101 {
2102 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2103 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
2104
2105 wxPyEndAllowThreads(__tstate);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 }
4f89f6a3
RD
2108 {
2109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2110 }
d14a1e28
RD
2111 return resultobj;
2112 fail:
2113 return NULL;
2114}
2115
2116
2117static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2118 PyObject *resultobj;
2119 wxSize *arg1 = (wxSize *) 0 ;
2120 wxSize *arg2 = 0 ;
2121 bool result;
2122 wxSize temp2 ;
2123 PyObject * obj0 = 0 ;
2124 PyObject * obj1 = 0 ;
2125 char *kwnames[] = {
2126 (char *) "self",(char *) "sz", NULL
2127 };
2128
2129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2132 {
2133 arg2 = &temp2;
2134 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2135 }
2136 {
2137 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2138 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
2139
2140 wxPyEndAllowThreads(__tstate);
2141 if (PyErr_Occurred()) SWIG_fail;
2142 }
4f89f6a3
RD
2143 {
2144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2145 }
d14a1e28
RD
2146 return resultobj;
2147 fail:
2148 return NULL;
2149}
2150
2151
2152static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2153 PyObject *resultobj;
2154 wxSize *arg1 = (wxSize *) 0 ;
2155 wxSize *arg2 = 0 ;
2156 wxSize result;
2157 wxSize temp2 ;
2158 PyObject * obj0 = 0 ;
2159 PyObject * obj1 = 0 ;
2160 char *kwnames[] = {
2161 (char *) "self",(char *) "sz", NULL
2162 };
2163
2164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2167 {
2168 arg2 = &temp2;
2169 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2170 }
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 result = (arg1)->operator +((wxSize const &)*arg2);
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 }
2178 {
2179 wxSize * resultptr;
2180 resultptr = new wxSize((wxSize &) result);
15afbcd0 2181 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2182 }
2183 return resultobj;
2184 fail:
2185 return NULL;
2186}
2187
2188
2189static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2190 PyObject *resultobj;
2191 wxSize *arg1 = (wxSize *) 0 ;
2192 wxSize *arg2 = 0 ;
2193 wxSize result;
2194 wxSize temp2 ;
2195 PyObject * obj0 = 0 ;
2196 PyObject * obj1 = 0 ;
2197 char *kwnames[] = {
2198 (char *) "self",(char *) "sz", NULL
2199 };
2200
2201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2204 {
2205 arg2 = &temp2;
2206 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2207 }
2208 {
2209 PyThreadState* __tstate = wxPyBeginAllowThreads();
2210 result = (arg1)->operator -((wxSize const &)*arg2);
2211
2212 wxPyEndAllowThreads(__tstate);
2213 if (PyErr_Occurred()) SWIG_fail;
2214 }
2215 {
2216 wxSize * resultptr;
2217 resultptr = new wxSize((wxSize &) result);
15afbcd0 2218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2219 }
2220 return resultobj;
2221 fail:
2222 return NULL;
2223}
2224
2225
2226static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2227 PyObject *resultobj;
2228 wxSize *arg1 = (wxSize *) 0 ;
2229 wxSize *arg2 = 0 ;
2230 wxSize temp2 ;
2231 PyObject * obj0 = 0 ;
2232 PyObject * obj1 = 0 ;
2233 char *kwnames[] = {
2234 (char *) "self",(char *) "sz", NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2240 {
2241 arg2 = &temp2;
2242 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2243 }
2244 {
2245 PyThreadState* __tstate = wxPyBeginAllowThreads();
2246 (arg1)->IncTo((wxSize const &)*arg2);
2247
2248 wxPyEndAllowThreads(__tstate);
2249 if (PyErr_Occurred()) SWIG_fail;
2250 }
2251 Py_INCREF(Py_None); resultobj = Py_None;
2252 return resultobj;
2253 fail:
2254 return NULL;
2255}
2256
2257
2258static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2259 PyObject *resultobj;
2260 wxSize *arg1 = (wxSize *) 0 ;
2261 wxSize *arg2 = 0 ;
2262 wxSize temp2 ;
2263 PyObject * obj0 = 0 ;
2264 PyObject * obj1 = 0 ;
2265 char *kwnames[] = {
2266 (char *) "self",(char *) "sz", NULL
2267 };
2268
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2272 {
2273 arg2 = &temp2;
2274 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2275 }
2276 {
2277 PyThreadState* __tstate = wxPyBeginAllowThreads();
2278 (arg1)->DecTo((wxSize const &)*arg2);
2279
2280 wxPyEndAllowThreads(__tstate);
2281 if (PyErr_Occurred()) SWIG_fail;
2282 }
2283 Py_INCREF(Py_None); resultobj = Py_None;
2284 return resultobj;
2285 fail:
2286 return NULL;
2287}
2288
2289
2290static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2291 PyObject *resultobj;
2292 wxSize *arg1 = (wxSize *) 0 ;
2293 int arg2 ;
2294 int arg3 ;
2295 PyObject * obj0 = 0 ;
994141e6
RD
2296 PyObject * obj1 = 0 ;
2297 PyObject * obj2 = 0 ;
d14a1e28 2298 char *kwnames[] = {
e811c8ce 2299 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
2300 };
2301
994141e6 2302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2305 arg2 = (int) SWIG_AsInt(obj1);
2306 if (PyErr_Occurred()) SWIG_fail;
2307 arg3 = (int) SWIG_AsInt(obj2);
2308 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
2311 (arg1)->Set(arg2,arg3);
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 Py_INCREF(Py_None); resultobj = Py_None;
2317 return resultobj;
2318 fail:
2319 return NULL;
2320}
2321
2322
2323static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2324 PyObject *resultobj;
2325 wxSize *arg1 = (wxSize *) 0 ;
2326 int arg2 ;
2327 PyObject * obj0 = 0 ;
994141e6 2328 PyObject * obj1 = 0 ;
d14a1e28
RD
2329 char *kwnames[] = {
2330 (char *) "self",(char *) "w", NULL
2331 };
2332
994141e6 2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2336 arg2 = (int) SWIG_AsInt(obj1);
2337 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2338 {
2339 PyThreadState* __tstate = wxPyBeginAllowThreads();
2340 (arg1)->SetWidth(arg2);
2341
2342 wxPyEndAllowThreads(__tstate);
2343 if (PyErr_Occurred()) SWIG_fail;
2344 }
2345 Py_INCREF(Py_None); resultobj = Py_None;
2346 return resultobj;
2347 fail:
2348 return NULL;
2349}
2350
2351
2352static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2353 PyObject *resultobj;
2354 wxSize *arg1 = (wxSize *) 0 ;
2355 int arg2 ;
2356 PyObject * obj0 = 0 ;
994141e6 2357 PyObject * obj1 = 0 ;
d14a1e28
RD
2358 char *kwnames[] = {
2359 (char *) "self",(char *) "h", NULL
2360 };
2361
994141e6 2362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2365 arg2 = (int) SWIG_AsInt(obj1);
2366 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2367 {
2368 PyThreadState* __tstate = wxPyBeginAllowThreads();
2369 (arg1)->SetHeight(arg2);
2370
2371 wxPyEndAllowThreads(__tstate);
2372 if (PyErr_Occurred()) SWIG_fail;
2373 }
2374 Py_INCREF(Py_None); resultobj = Py_None;
2375 return resultobj;
2376 fail:
2377 return NULL;
2378}
2379
2380
2381static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2382 PyObject *resultobj;
2383 wxSize *arg1 = (wxSize *) 0 ;
2384 int result;
2385 PyObject * obj0 = 0 ;
2386 char *kwnames[] = {
2387 (char *) "self", NULL
2388 };
2389
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2393 {
2394 PyThreadState* __tstate = wxPyBeginAllowThreads();
2395 result = (int)((wxSize const *)arg1)->GetWidth();
2396
2397 wxPyEndAllowThreads(__tstate);
2398 if (PyErr_Occurred()) SWIG_fail;
2399 }
15afbcd0 2400 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2401 return resultobj;
2402 fail:
2403 return NULL;
2404}
2405
2406
2407static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2408 PyObject *resultobj;
2409 wxSize *arg1 = (wxSize *) 0 ;
2410 int result;
2411 PyObject * obj0 = 0 ;
2412 char *kwnames[] = {
2413 (char *) "self", NULL
2414 };
2415
2416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
2417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2419 {
2420 PyThreadState* __tstate = wxPyBeginAllowThreads();
2421 result = (int)((wxSize const *)arg1)->GetHeight();
2422
2423 wxPyEndAllowThreads(__tstate);
2424 if (PyErr_Occurred()) SWIG_fail;
2425 }
15afbcd0 2426 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2427 return resultobj;
2428 fail:
2429 return NULL;
2430}
2431
2432
74a57fcd
RD
2433static PyObject *_wrap_Size_IsFullySpecified(PyObject *self, PyObject *args, PyObject *kwargs) {
2434 PyObject *resultobj;
2435 wxSize *arg1 = (wxSize *) 0 ;
2436 bool result;
2437 PyObject * obj0 = 0 ;
2438 char *kwnames[] = {
2439 (char *) "self", NULL
2440 };
2441
2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail;
2443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2445 {
2446 PyThreadState* __tstate = wxPyBeginAllowThreads();
2447 result = (bool)((wxSize const *)arg1)->IsFullySpecified();
2448
2449 wxPyEndAllowThreads(__tstate);
2450 if (PyErr_Occurred()) SWIG_fail;
2451 }
2452 {
2453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2454 }
2455 return resultobj;
2456 fail:
2457 return NULL;
2458}
2459
2460
2461static PyObject *_wrap_Size_SetDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
2462 PyObject *resultobj;
2463 wxSize *arg1 = (wxSize *) 0 ;
2464 wxSize *arg2 = 0 ;
2465 wxSize temp2 ;
2466 PyObject * obj0 = 0 ;
2467 PyObject * obj1 = 0 ;
2468 char *kwnames[] = {
2469 (char *) "self",(char *) "size", NULL
2470 };
2471
2472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail;
2473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2475 {
2476 arg2 = &temp2;
2477 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2478 }
2479 {
2480 PyThreadState* __tstate = wxPyBeginAllowThreads();
2481 (arg1)->SetDefaults((wxSize const &)*arg2);
2482
2483 wxPyEndAllowThreads(__tstate);
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 Py_INCREF(Py_None); resultobj = Py_None;
2487 return resultobj;
2488 fail:
2489 return NULL;
2490}
2491
2492
e811c8ce 2493static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2494 PyObject *resultobj;
2495 wxSize *arg1 = (wxSize *) 0 ;
2496 PyObject *result;
2497 PyObject * obj0 = 0 ;
2498 char *kwnames[] = {
2499 (char *) "self", NULL
2500 };
2501
e811c8ce 2502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2505 {
2506 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2507 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
2508
2509 wxPyEndAllowThreads(__tstate);
2510 if (PyErr_Occurred()) SWIG_fail;
2511 }
2512 resultobj = result;
2513 return resultobj;
2514 fail:
2515 return NULL;
2516}
2517
2518
2519static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
2520 PyObject *obj;
2521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2522 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2523 Py_INCREF(obj);
2524 return Py_BuildValue((char *)"");
2525}
2526static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2527 PyObject *resultobj;
2528 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2529 double arg2 ;
2530 PyObject * obj0 = 0 ;
994141e6 2531 PyObject * obj1 = 0 ;
d14a1e28
RD
2532 char *kwnames[] = {
2533 (char *) "self",(char *) "x", NULL
2534 };
2535
994141e6 2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2539 arg2 = (double) SWIG_AsDouble(obj1);
2540 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2541 if (arg1) (arg1)->x = arg2;
2542
2543 Py_INCREF(Py_None); resultobj = Py_None;
2544 return resultobj;
2545 fail:
2546 return NULL;
2547}
2548
2549
2550static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2551 PyObject *resultobj;
2552 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2553 double result;
2554 PyObject * obj0 = 0 ;
2555 char *kwnames[] = {
2556 (char *) "self", NULL
2557 };
2558
2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2562 result = (double) ((arg1)->x);
2563
15afbcd0 2564 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2565 return resultobj;
2566 fail:
2567 return NULL;
2568}
2569
2570
2571static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2572 PyObject *resultobj;
2573 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2574 double arg2 ;
2575 PyObject * obj0 = 0 ;
994141e6 2576 PyObject * obj1 = 0 ;
d14a1e28
RD
2577 char *kwnames[] = {
2578 (char *) "self",(char *) "y", NULL
2579 };
2580
994141e6 2581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2584 arg2 = (double) SWIG_AsDouble(obj1);
2585 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2586 if (arg1) (arg1)->y = arg2;
2587
2588 Py_INCREF(Py_None); resultobj = Py_None;
2589 return resultobj;
2590 fail:
2591 return NULL;
2592}
2593
2594
2595static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2596 PyObject *resultobj;
2597 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2598 double result;
2599 PyObject * obj0 = 0 ;
2600 char *kwnames[] = {
2601 (char *) "self", NULL
2602 };
2603
2604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2607 result = (double) ((arg1)->y);
2608
15afbcd0 2609 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2610 return resultobj;
2611 fail:
2612 return NULL;
2613}
2614
2615
2616static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2617 PyObject *resultobj;
2618 double arg1 = (double) 0.0 ;
2619 double arg2 = (double) 0.0 ;
2620 wxRealPoint *result;
994141e6
RD
2621 PyObject * obj0 = 0 ;
2622 PyObject * obj1 = 0 ;
d14a1e28
RD
2623 char *kwnames[] = {
2624 (char *) "x",(char *) "y", NULL
2625 };
2626
994141e6
RD
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2628 if (obj0) {
15afbcd0
RD
2629 arg1 = (double) SWIG_AsDouble(obj0);
2630 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2631 }
2632 if (obj1) {
15afbcd0
RD
2633 arg2 = (double) SWIG_AsDouble(obj1);
2634 if (PyErr_Occurred()) SWIG_fail;
994141e6 2635 }
d14a1e28
RD
2636 {
2637 PyThreadState* __tstate = wxPyBeginAllowThreads();
2638 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2639
2640 wxPyEndAllowThreads(__tstate);
2641 if (PyErr_Occurred()) SWIG_fail;
2642 }
15afbcd0 2643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
d14a1e28
RD
2644 return resultobj;
2645 fail:
2646 return NULL;
2647}
2648
2649
2650static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2651 PyObject *resultobj;
2652 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2653 PyObject * obj0 = 0 ;
2654 char *kwnames[] = {
2655 (char *) "self", NULL
2656 };
2657
2658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
2659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2661 {
2662 PyThreadState* __tstate = wxPyBeginAllowThreads();
2663 delete arg1;
2664
2665 wxPyEndAllowThreads(__tstate);
2666 if (PyErr_Occurred()) SWIG_fail;
2667 }
2668 Py_INCREF(Py_None); resultobj = Py_None;
2669 return resultobj;
2670 fail:
2671 return NULL;
2672}
2673
2674
e811c8ce 2675static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2676 PyObject *resultobj;
2677 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2678 wxRealPoint *arg2 = 0 ;
e811c8ce 2679 bool result;
d14a1e28
RD
2680 wxRealPoint temp2 ;
2681 PyObject * obj0 = 0 ;
2682 PyObject * obj1 = 0 ;
2683 char *kwnames[] = {
2684 (char *) "self",(char *) "pt", NULL
2685 };
2686
e811c8ce 2687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2690 {
2691 arg2 = &temp2;
2692 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2693 }
2694 {
2695 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2696 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
2697
2698 wxPyEndAllowThreads(__tstate);
2699 if (PyErr_Occurred()) SWIG_fail;
2700 }
4f89f6a3
RD
2701 {
2702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2703 }
d14a1e28
RD
2704 return resultobj;
2705 fail:
2706 return NULL;
2707}
2708
2709
e811c8ce 2710static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2711 PyObject *resultobj;
2712 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2713 wxRealPoint *arg2 = 0 ;
e811c8ce 2714 bool result;
d14a1e28
RD
2715 wxRealPoint temp2 ;
2716 PyObject * obj0 = 0 ;
2717 PyObject * obj1 = 0 ;
2718 char *kwnames[] = {
2719 (char *) "self",(char *) "pt", NULL
2720 };
2721
e811c8ce 2722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2725 {
2726 arg2 = &temp2;
2727 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2728 }
2729 {
2730 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2731 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
2732
2733 wxPyEndAllowThreads(__tstate);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 }
4f89f6a3
RD
2736 {
2737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2738 }
d14a1e28
RD
2739 return resultobj;
2740 fail:
2741 return NULL;
2742}
2743
2744
e811c8ce 2745static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2746 PyObject *resultobj;
2747 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2748 wxRealPoint *arg2 = 0 ;
e811c8ce 2749 wxRealPoint result;
d14a1e28
RD
2750 wxRealPoint temp2 ;
2751 PyObject * obj0 = 0 ;
2752 PyObject * obj1 = 0 ;
2753 char *kwnames[] = {
2754 (char *) "self",(char *) "pt", NULL
2755 };
2756
e811c8ce 2757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2760 {
2761 arg2 = &temp2;
2762 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2763 }
2764 {
2765 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2766 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
2767
2768 wxPyEndAllowThreads(__tstate);
2769 if (PyErr_Occurred()) SWIG_fail;
2770 }
e811c8ce
RD
2771 {
2772 wxRealPoint * resultptr;
2773 resultptr = new wxRealPoint((wxRealPoint &) result);
15afbcd0 2774 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 2775 }
d14a1e28
RD
2776 return resultobj;
2777 fail:
2778 return NULL;
2779}
2780
2781
e811c8ce 2782static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2783 PyObject *resultobj;
2784 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2785 wxRealPoint *arg2 = 0 ;
e811c8ce 2786 wxRealPoint result;
d14a1e28
RD
2787 wxRealPoint temp2 ;
2788 PyObject * obj0 = 0 ;
2789 PyObject * obj1 = 0 ;
2790 char *kwnames[] = {
2791 (char *) "self",(char *) "pt", NULL
2792 };
2793
e811c8ce 2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2797 {
2798 arg2 = &temp2;
2799 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2800 }
2801 {
2802 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2803 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
2804
2805 wxPyEndAllowThreads(__tstate);
2806 if (PyErr_Occurred()) SWIG_fail;
2807 }
e811c8ce
RD
2808 {
2809 wxRealPoint * resultptr;
2810 resultptr = new wxRealPoint((wxRealPoint &) result);
15afbcd0 2811 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 2812 }
d14a1e28
RD
2813 return resultobj;
2814 fail:
2815 return NULL;
2816}
2817
2818
2819static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2820 PyObject *resultobj;
2821 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2822 double arg2 ;
2823 double arg3 ;
2824 PyObject * obj0 = 0 ;
994141e6
RD
2825 PyObject * obj1 = 0 ;
2826 PyObject * obj2 = 0 ;
d14a1e28
RD
2827 char *kwnames[] = {
2828 (char *) "self",(char *) "x",(char *) "y", NULL
2829 };
2830
994141e6 2831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2834 arg2 = (double) SWIG_AsDouble(obj1);
2835 if (PyErr_Occurred()) SWIG_fail;
2836 arg3 = (double) SWIG_AsDouble(obj2);
2837 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2838 {
2839 PyThreadState* __tstate = wxPyBeginAllowThreads();
2840 wxRealPoint_Set(arg1,arg2,arg3);
2841
2842 wxPyEndAllowThreads(__tstate);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 }
2845 Py_INCREF(Py_None); resultobj = Py_None;
2846 return resultobj;
2847 fail:
2848 return NULL;
2849}
2850
2851
e811c8ce 2852static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2853 PyObject *resultobj;
2854 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2855 PyObject *result;
2856 PyObject * obj0 = 0 ;
2857 char *kwnames[] = {
2858 (char *) "self", NULL
2859 };
2860
e811c8ce 2861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2864 {
2865 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2866 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
2867
2868 wxPyEndAllowThreads(__tstate);
2869 if (PyErr_Occurred()) SWIG_fail;
2870 }
2871 resultobj = result;
2872 return resultobj;
2873 fail:
2874 return NULL;
2875}
2876
2877
2878static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2879 PyObject *obj;
2880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2881 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2882 Py_INCREF(obj);
2883 return Py_BuildValue((char *)"");
2884}
2885static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2886 PyObject *resultobj;
2887 wxPoint *arg1 = (wxPoint *) 0 ;
2888 int arg2 ;
2889 PyObject * obj0 = 0 ;
994141e6 2890 PyObject * obj1 = 0 ;
d14a1e28
RD
2891 char *kwnames[] = {
2892 (char *) "self",(char *) "x", NULL
2893 };
2894
994141e6 2895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2898 arg2 = (int) SWIG_AsInt(obj1);
2899 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2900 if (arg1) (arg1)->x = arg2;
2901
2902 Py_INCREF(Py_None); resultobj = Py_None;
2903 return resultobj;
2904 fail:
2905 return NULL;
2906}
2907
2908
2909static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2910 PyObject *resultobj;
2911 wxPoint *arg1 = (wxPoint *) 0 ;
2912 int result;
2913 PyObject * obj0 = 0 ;
2914 char *kwnames[] = {
2915 (char *) "self", NULL
2916 };
2917
2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2921 result = (int) ((arg1)->x);
2922
15afbcd0 2923 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2924 return resultobj;
2925 fail:
2926 return NULL;
2927}
2928
2929
2930static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2931 PyObject *resultobj;
2932 wxPoint *arg1 = (wxPoint *) 0 ;
2933 int arg2 ;
2934 PyObject * obj0 = 0 ;
994141e6 2935 PyObject * obj1 = 0 ;
d14a1e28
RD
2936 char *kwnames[] = {
2937 (char *) "self",(char *) "y", NULL
2938 };
2939
994141e6 2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2943 arg2 = (int) SWIG_AsInt(obj1);
2944 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2945 if (arg1) (arg1)->y = arg2;
2946
2947 Py_INCREF(Py_None); resultobj = Py_None;
2948 return resultobj;
2949 fail:
2950 return NULL;
2951}
2952
2953
2954static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2955 PyObject *resultobj;
2956 wxPoint *arg1 = (wxPoint *) 0 ;
2957 int result;
2958 PyObject * obj0 = 0 ;
2959 char *kwnames[] = {
2960 (char *) "self", NULL
2961 };
2962
2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2966 result = (int) ((arg1)->y);
2967
15afbcd0 2968 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2969 return resultobj;
2970 fail:
2971 return NULL;
2972}
2973
2974
2975static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2976 PyObject *resultobj;
2977 int arg1 = (int) 0 ;
2978 int arg2 = (int) 0 ;
2979 wxPoint *result;
994141e6
RD
2980 PyObject * obj0 = 0 ;
2981 PyObject * obj1 = 0 ;
d14a1e28
RD
2982 char *kwnames[] = {
2983 (char *) "x",(char *) "y", NULL
2984 };
2985
994141e6
RD
2986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2987 if (obj0) {
15afbcd0
RD
2988 arg1 = (int) SWIG_AsInt(obj0);
2989 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2990 }
2991 if (obj1) {
15afbcd0
RD
2992 arg2 = (int) SWIG_AsInt(obj1);
2993 if (PyErr_Occurred()) SWIG_fail;
994141e6 2994 }
d14a1e28
RD
2995 {
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2997 result = (wxPoint *)new wxPoint(arg1,arg2);
2998
2999 wxPyEndAllowThreads(__tstate);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
15afbcd0 3002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3003 return resultobj;
3004 fail:
3005 return NULL;
3006}
3007
3008
3009static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
3010 PyObject *resultobj;
3011 wxPoint *arg1 = (wxPoint *) 0 ;
3012 PyObject * obj0 = 0 ;
3013 char *kwnames[] = {
3014 (char *) "self", NULL
3015 };
3016
3017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
15afbcd0
RD
3018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
3022 delete arg1;
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 Py_INCREF(Py_None); resultobj = Py_None;
3028 return resultobj;
3029 fail:
3030 return NULL;
3031}
3032
3033
3034static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3035 PyObject *resultobj;
3036 wxPoint *arg1 = (wxPoint *) 0 ;
3037 wxPoint *arg2 = 0 ;
3038 bool result;
3039 wxPoint temp2 ;
3040 PyObject * obj0 = 0 ;
3041 PyObject * obj1 = 0 ;
3042 char *kwnames[] = {
e811c8ce 3043 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3044 };
3045
3046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3049 {
3050 arg2 = &temp2;
3051 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3052 }
3053 {
3054 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3055 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
3056
3057 wxPyEndAllowThreads(__tstate);
3058 if (PyErr_Occurred()) SWIG_fail;
3059 }
4f89f6a3
RD
3060 {
3061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3062 }
d14a1e28
RD
3063 return resultobj;
3064 fail:
3065 return NULL;
3066}
3067
3068
3069static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3070 PyObject *resultobj;
3071 wxPoint *arg1 = (wxPoint *) 0 ;
3072 wxPoint *arg2 = 0 ;
3073 bool result;
3074 wxPoint temp2 ;
3075 PyObject * obj0 = 0 ;
3076 PyObject * obj1 = 0 ;
3077 char *kwnames[] = {
e811c8ce 3078 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3079 };
3080
3081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3084 {
3085 arg2 = &temp2;
3086 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3087 }
3088 {
3089 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3090 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
3091
3092 wxPyEndAllowThreads(__tstate);
3093 if (PyErr_Occurred()) SWIG_fail;
3094 }
4f89f6a3
RD
3095 {
3096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3097 }
d14a1e28
RD
3098 return resultobj;
3099 fail:
3100 return NULL;
3101}
3102
3103
3104static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3105 PyObject *resultobj;
3106 wxPoint *arg1 = (wxPoint *) 0 ;
3107 wxPoint *arg2 = 0 ;
3108 wxPoint result;
3109 wxPoint temp2 ;
3110 PyObject * obj0 = 0 ;
3111 PyObject * obj1 = 0 ;
3112 char *kwnames[] = {
e811c8ce 3113 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3114 };
3115
3116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3119 {
3120 arg2 = &temp2;
3121 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3122 }
3123 {
3124 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3125 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
3126
3127 wxPyEndAllowThreads(__tstate);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 {
3131 wxPoint * resultptr;
3132 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3133 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3134 }
3135 return resultobj;
3136 fail:
3137 return NULL;
3138}
3139
3140
3141static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3142 PyObject *resultobj;
3143 wxPoint *arg1 = (wxPoint *) 0 ;
3144 wxPoint *arg2 = 0 ;
3145 wxPoint result;
3146 wxPoint temp2 ;
3147 PyObject * obj0 = 0 ;
3148 PyObject * obj1 = 0 ;
3149 char *kwnames[] = {
e811c8ce 3150 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3151 };
3152
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3156 {
3157 arg2 = &temp2;
3158 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3159 }
3160 {
3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3162 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
3163
3164 wxPyEndAllowThreads(__tstate);
3165 if (PyErr_Occurred()) SWIG_fail;
3166 }
3167 {
3168 wxPoint * resultptr;
3169 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3171 }
3172 return resultobj;
3173 fail:
3174 return NULL;
3175}
3176
3177
3178static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3179 PyObject *resultobj;
3180 wxPoint *arg1 = (wxPoint *) 0 ;
3181 wxPoint *arg2 = 0 ;
3182 wxPoint *result;
3183 wxPoint temp2 ;
3184 PyObject * obj0 = 0 ;
3185 PyObject * obj1 = 0 ;
3186 char *kwnames[] = {
e811c8ce 3187 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3188 };
3189
3190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3193 {
3194 arg2 = &temp2;
3195 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3196 }
3197 {
3198 PyThreadState* __tstate = wxPyBeginAllowThreads();
3199 {
3200 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3201 result = (wxPoint *) &_result_ref;
3202 }
3203
3204 wxPyEndAllowThreads(__tstate);
3205 if (PyErr_Occurred()) SWIG_fail;
3206 }
15afbcd0 3207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3208 return resultobj;
3209 fail:
3210 return NULL;
3211}
3212
3213
3214static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3215 PyObject *resultobj;
3216 wxPoint *arg1 = (wxPoint *) 0 ;
3217 wxPoint *arg2 = 0 ;
3218 wxPoint *result;
3219 wxPoint temp2 ;
3220 PyObject * obj0 = 0 ;
3221 PyObject * obj1 = 0 ;
3222 char *kwnames[] = {
e811c8ce 3223 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3224 };
3225
3226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3229 {
3230 arg2 = &temp2;
3231 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3232 }
3233 {
3234 PyThreadState* __tstate = wxPyBeginAllowThreads();
3235 {
3236 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3237 result = (wxPoint *) &_result_ref;
3238 }
3239
3240 wxPyEndAllowThreads(__tstate);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
15afbcd0 3243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3244 return resultobj;
3245 fail:
3246 return NULL;
3247}
3248
3249
3250static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3251 PyObject *resultobj;
3252 wxPoint *arg1 = (wxPoint *) 0 ;
3253 long arg2 ;
3254 long arg3 ;
3255 PyObject * obj0 = 0 ;
994141e6
RD
3256 PyObject * obj1 = 0 ;
3257 PyObject * obj2 = 0 ;
d14a1e28
RD
3258 char *kwnames[] = {
3259 (char *) "self",(char *) "x",(char *) "y", NULL
3260 };
3261
994141e6 3262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3265 arg2 = (long) SWIG_AsLong(obj1);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 arg3 = (long) SWIG_AsLong(obj2);
3268 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3269 {
3270 PyThreadState* __tstate = wxPyBeginAllowThreads();
3271 wxPoint_Set(arg1,arg2,arg3);
3272
3273 wxPyEndAllowThreads(__tstate);
3274 if (PyErr_Occurred()) SWIG_fail;
3275 }
3276 Py_INCREF(Py_None); resultobj = Py_None;
3277 return resultobj;
3278 fail:
3279 return NULL;
3280}
3281
3282
e811c8ce 3283static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3284 PyObject *resultobj;
3285 wxPoint *arg1 = (wxPoint *) 0 ;
3286 PyObject *result;
3287 PyObject * obj0 = 0 ;
3288 char *kwnames[] = {
3289 (char *) "self", NULL
3290 };
3291
e811c8ce 3292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
3293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3295 {
3296 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3297 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
3298
3299 wxPyEndAllowThreads(__tstate);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 }
3302 resultobj = result;
3303 return resultobj;
3304 fail:
3305 return NULL;
3306}
3307
3308
3309static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
3310 PyObject *obj;
3311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3312 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3313 Py_INCREF(obj);
3314 return Py_BuildValue((char *)"");
3315}
3316static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3317 PyObject *resultobj;
3318 int arg1 = (int) 0 ;
3319 int arg2 = (int) 0 ;
3320 int arg3 = (int) 0 ;
3321 int arg4 = (int) 0 ;
3322 wxRect *result;
994141e6
RD
3323 PyObject * obj0 = 0 ;
3324 PyObject * obj1 = 0 ;
3325 PyObject * obj2 = 0 ;
3326 PyObject * obj3 = 0 ;
d14a1e28
RD
3327 char *kwnames[] = {
3328 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3329 };
3330
994141e6
RD
3331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3332 if (obj0) {
15afbcd0
RD
3333 arg1 = (int) SWIG_AsInt(obj0);
3334 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3335 }
3336 if (obj1) {
15afbcd0
RD
3337 arg2 = (int) SWIG_AsInt(obj1);
3338 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3339 }
3340 if (obj2) {
15afbcd0
RD
3341 arg3 = (int) SWIG_AsInt(obj2);
3342 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3343 }
3344 if (obj3) {
15afbcd0
RD
3345 arg4 = (int) SWIG_AsInt(obj3);
3346 if (PyErr_Occurred()) SWIG_fail;
994141e6 3347 }
d14a1e28
RD
3348 {
3349 PyThreadState* __tstate = wxPyBeginAllowThreads();
3350 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3351
3352 wxPyEndAllowThreads(__tstate);
3353 if (PyErr_Occurred()) SWIG_fail;
3354 }
15afbcd0 3355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3356 return resultobj;
3357 fail:
3358 return NULL;
3359}
3360
3361
3362static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
3363 PyObject *resultobj;
3364 wxPoint *arg1 = 0 ;
3365 wxPoint *arg2 = 0 ;
3366 wxRect *result;
3367 wxPoint temp1 ;
3368 wxPoint temp2 ;
3369 PyObject * obj0 = 0 ;
3370 PyObject * obj1 = 0 ;
3371 char *kwnames[] = {
3372 (char *) "topLeft",(char *) "bottomRight", NULL
3373 };
3374
3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3376 {
3377 arg1 = &temp1;
3378 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3379 }
3380 {
3381 arg2 = &temp2;
3382 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3383 }
3384 {
3385 PyThreadState* __tstate = wxPyBeginAllowThreads();
3386 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3387
3388 wxPyEndAllowThreads(__tstate);
3389 if (PyErr_Occurred()) SWIG_fail;
3390 }
15afbcd0 3391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3392 return resultobj;
3393 fail:
3394 return NULL;
3395}
3396
3397
3398static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj;
3400 wxPoint *arg1 = 0 ;
3401 wxSize *arg2 = 0 ;
3402 wxRect *result;
3403 wxPoint temp1 ;
3404 wxSize temp2 ;
3405 PyObject * obj0 = 0 ;
3406 PyObject * obj1 = 0 ;
3407 char *kwnames[] = {
3408 (char *) "pos",(char *) "size", NULL
3409 };
3410
3411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3412 {
3413 arg1 = &temp1;
3414 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3415 }
3416 {
3417 arg2 = &temp2;
3418 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3419 }
3420 {
3421 PyThreadState* __tstate = wxPyBeginAllowThreads();
3422 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3423
3424 wxPyEndAllowThreads(__tstate);
3425 if (PyErr_Occurred()) SWIG_fail;
3426 }
15afbcd0 3427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3428 return resultobj;
3429 fail:
3430 return NULL;
3431}
3432
3433
3434static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3435 PyObject *resultobj;
3436 wxRect *arg1 = (wxRect *) 0 ;
3437 PyObject * obj0 = 0 ;
3438 char *kwnames[] = {
3439 (char *) "self", NULL
3440 };
3441
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
15afbcd0
RD
3443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3445 {
3446 PyThreadState* __tstate = wxPyBeginAllowThreads();
3447 delete arg1;
3448
3449 wxPyEndAllowThreads(__tstate);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 Py_INCREF(Py_None); resultobj = Py_None;
3453 return resultobj;
3454 fail:
3455 return NULL;
3456}
3457
3458
3459static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3460 PyObject *resultobj;
3461 wxRect *arg1 = (wxRect *) 0 ;
3462 int result;
3463 PyObject * obj0 = 0 ;
3464 char *kwnames[] = {
3465 (char *) "self", NULL
3466 };
3467
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
3469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3471 {
3472 PyThreadState* __tstate = wxPyBeginAllowThreads();
3473 result = (int)((wxRect const *)arg1)->GetX();
3474
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
15afbcd0 3478 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3479 return resultobj;
3480 fail:
3481 return NULL;
3482}
3483
3484
3485static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3486 PyObject *resultobj;
3487 wxRect *arg1 = (wxRect *) 0 ;
3488 int arg2 ;
3489 PyObject * obj0 = 0 ;
994141e6 3490 PyObject * obj1 = 0 ;
d14a1e28
RD
3491 char *kwnames[] = {
3492 (char *) "self",(char *) "x", NULL
3493 };
3494
994141e6 3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3498 arg2 = (int) SWIG_AsInt(obj1);
3499 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3500 {
3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
3502 (arg1)->SetX(arg2);
3503
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 Py_INCREF(Py_None); resultobj = Py_None;
3508 return resultobj;
3509 fail:
3510 return NULL;
3511}
3512
3513
3514static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3515 PyObject *resultobj;
3516 wxRect *arg1 = (wxRect *) 0 ;
3517 int result;
3518 PyObject * obj0 = 0 ;
3519 char *kwnames[] = {
3520 (char *) "self", NULL
3521 };
3522
3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
3524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3526 {
3527 PyThreadState* __tstate = wxPyBeginAllowThreads();
3528 result = (int)(arg1)->GetY();
3529
3530 wxPyEndAllowThreads(__tstate);
3531 if (PyErr_Occurred()) SWIG_fail;
3532 }
15afbcd0 3533 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3534 return resultobj;
3535 fail:
3536 return NULL;
3537}
3538
3539
3540static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3541 PyObject *resultobj;
3542 wxRect *arg1 = (wxRect *) 0 ;
3543 int arg2 ;
3544 PyObject * obj0 = 0 ;
994141e6 3545 PyObject * obj1 = 0 ;
d14a1e28
RD
3546 char *kwnames[] = {
3547 (char *) "self",(char *) "y", NULL
3548 };
3549
994141e6 3550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3553 arg2 = (int) SWIG_AsInt(obj1);
3554 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3555 {
3556 PyThreadState* __tstate = wxPyBeginAllowThreads();
3557 (arg1)->SetY(arg2);
3558
3559 wxPyEndAllowThreads(__tstate);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
3562 Py_INCREF(Py_None); resultobj = Py_None;
3563 return resultobj;
3564 fail:
3565 return NULL;
3566}
3567
3568
3569static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3570 PyObject *resultobj;
3571 wxRect *arg1 = (wxRect *) 0 ;
3572 int result;
3573 PyObject * obj0 = 0 ;
3574 char *kwnames[] = {
3575 (char *) "self", NULL
3576 };
3577
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 result = (int)((wxRect const *)arg1)->GetWidth();
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
15afbcd0 3588 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3589 return resultobj;
3590 fail:
3591 return NULL;
3592}
3593
3594
3595static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3596 PyObject *resultobj;
3597 wxRect *arg1 = (wxRect *) 0 ;
3598 int arg2 ;
3599 PyObject * obj0 = 0 ;
994141e6 3600 PyObject * obj1 = 0 ;
d14a1e28
RD
3601 char *kwnames[] = {
3602 (char *) "self",(char *) "w", NULL
3603 };
3604
994141e6 3605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3608 arg2 = (int) SWIG_AsInt(obj1);
3609 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3610 {
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 (arg1)->SetWidth(arg2);
3613
3614 wxPyEndAllowThreads(__tstate);
3615 if (PyErr_Occurred()) SWIG_fail;
3616 }
3617 Py_INCREF(Py_None); resultobj = Py_None;
3618 return resultobj;
3619 fail:
3620 return NULL;
3621}
3622
3623
3624static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3625 PyObject *resultobj;
3626 wxRect *arg1 = (wxRect *) 0 ;
3627 int result;
3628 PyObject * obj0 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "self", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3636 {
3637 PyThreadState* __tstate = wxPyBeginAllowThreads();
3638 result = (int)((wxRect const *)arg1)->GetHeight();
3639
3640 wxPyEndAllowThreads(__tstate);
3641 if (PyErr_Occurred()) SWIG_fail;
3642 }
15afbcd0 3643 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3644 return resultobj;
3645 fail:
3646 return NULL;
3647}
3648
3649
3650static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3651 PyObject *resultobj;
3652 wxRect *arg1 = (wxRect *) 0 ;
3653 int arg2 ;
3654 PyObject * obj0 = 0 ;
994141e6 3655 PyObject * obj1 = 0 ;
d14a1e28
RD
3656 char *kwnames[] = {
3657 (char *) "self",(char *) "h", NULL
3658 };
3659
994141e6 3660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3663 arg2 = (int) SWIG_AsInt(obj1);
3664 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3665 {
3666 PyThreadState* __tstate = wxPyBeginAllowThreads();
3667 (arg1)->SetHeight(arg2);
3668
3669 wxPyEndAllowThreads(__tstate);
3670 if (PyErr_Occurred()) SWIG_fail;
3671 }
3672 Py_INCREF(Py_None); resultobj = Py_None;
3673 return resultobj;
3674 fail:
3675 return NULL;
3676}
3677
3678
3679static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3680 PyObject *resultobj;
3681 wxRect *arg1 = (wxRect *) 0 ;
3682 wxPoint result;
3683 PyObject * obj0 = 0 ;
3684 char *kwnames[] = {
3685 (char *) "self", NULL
3686 };
3687
3688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
3689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3691 {
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 result = ((wxRect const *)arg1)->GetPosition();
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 {
3699 wxPoint * resultptr;
3700 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3702 }
3703 return resultobj;
3704 fail:
3705 return NULL;
3706}
3707
3708
3709static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3710 PyObject *resultobj;
3711 wxRect *arg1 = (wxRect *) 0 ;
3712 wxPoint *arg2 = 0 ;
3713 wxPoint temp2 ;
3714 PyObject * obj0 = 0 ;
3715 PyObject * obj1 = 0 ;
3716 char *kwnames[] = {
3717 (char *) "self",(char *) "p", NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3723 {
3724 arg2 = &temp2;
3725 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3726 }
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 (arg1)->SetPosition((wxPoint const &)*arg2);
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
3734 Py_INCREF(Py_None); resultobj = Py_None;
3735 return resultobj;
3736 fail:
3737 return NULL;
3738}
3739
3740
3741static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3742 PyObject *resultobj;
3743 wxRect *arg1 = (wxRect *) 0 ;
3744 wxSize result;
3745 PyObject * obj0 = 0 ;
3746 char *kwnames[] = {
3747 (char *) "self", NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
3751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 result = ((wxRect const *)arg1)->GetSize();
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 {
3761 wxSize * resultptr;
3762 resultptr = new wxSize((wxSize &) result);
15afbcd0 3763 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3764 }
3765 return resultobj;
3766 fail:
3767 return NULL;
3768}
3769
3770
3771static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3772 PyObject *resultobj;
3773 wxRect *arg1 = (wxRect *) 0 ;
3774 wxSize *arg2 = 0 ;
3775 wxSize temp2 ;
3776 PyObject * obj0 = 0 ;
3777 PyObject * obj1 = 0 ;
3778 char *kwnames[] = {
3779 (char *) "self",(char *) "s", NULL
3780 };
3781
3782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3785 {
3786 arg2 = &temp2;
3787 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3788 }
3789 {
3790 PyThreadState* __tstate = wxPyBeginAllowThreads();
3791 (arg1)->SetSize((wxSize const &)*arg2);
3792
3793 wxPyEndAllowThreads(__tstate);
3794 if (PyErr_Occurred()) SWIG_fail;
3795 }
3796 Py_INCREF(Py_None); resultobj = Py_None;
3797 return resultobj;
3798 fail:
3799 return NULL;
3800}
3801
3802
c9c7117a
RD
3803static PyObject *_wrap_Rect_GetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3804 PyObject *resultobj;
3805 wxRect *arg1 = (wxRect *) 0 ;
3806 wxPoint result;
3807 PyObject * obj0 = 0 ;
3808 char *kwnames[] = {
3809 (char *) "self", NULL
3810 };
3811
3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
3813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3815 {
3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
3817 result = ((wxRect const *)arg1)->GetTopLeft();
3818
3819 wxPyEndAllowThreads(__tstate);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 }
3822 {
3823 wxPoint * resultptr;
3824 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3825 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
3826 }
3827 return resultobj;
3828 fail:
3829 return NULL;
3830}
3831
3832
3833static PyObject *_wrap_Rect_SetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3834 PyObject *resultobj;
3835 wxRect *arg1 = (wxRect *) 0 ;
3836 wxPoint *arg2 = 0 ;
3837 wxPoint temp2 ;
3838 PyObject * obj0 = 0 ;
3839 PyObject * obj1 = 0 ;
3840 char *kwnames[] = {
3841 (char *) "self",(char *) "p", NULL
3842 };
3843
3844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3847 {
3848 arg2 = &temp2;
3849 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3850 }
3851 {
3852 PyThreadState* __tstate = wxPyBeginAllowThreads();
3853 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3854
3855 wxPyEndAllowThreads(__tstate);
3856 if (PyErr_Occurred()) SWIG_fail;
3857 }
3858 Py_INCREF(Py_None); resultobj = Py_None;
3859 return resultobj;
3860 fail:
3861 return NULL;
3862}
3863
3864
3865static PyObject *_wrap_Rect_GetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3866 PyObject *resultobj;
3867 wxRect *arg1 = (wxRect *) 0 ;
3868 wxPoint result;
3869 PyObject * obj0 = 0 ;
3870 char *kwnames[] = {
3871 (char *) "self", NULL
3872 };
3873
3874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3877 {
3878 PyThreadState* __tstate = wxPyBeginAllowThreads();
3879 result = ((wxRect const *)arg1)->GetBottomRight();
3880
3881 wxPyEndAllowThreads(__tstate);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 {
3885 wxPoint * resultptr;
3886 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3887 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
3888 }
3889 return resultobj;
3890 fail:
3891 return NULL;
3892}
3893
3894
3895static PyObject *_wrap_Rect_SetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3896 PyObject *resultobj;
3897 wxRect *arg1 = (wxRect *) 0 ;
3898 wxPoint *arg2 = 0 ;
3899 wxPoint temp2 ;
3900 PyObject * obj0 = 0 ;
3901 PyObject * obj1 = 0 ;
3902 char *kwnames[] = {
3903 (char *) "self",(char *) "p", NULL
3904 };
3905
3906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3909 {
3910 arg2 = &temp2;
3911 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3912 }
3913 {
3914 PyThreadState* __tstate = wxPyBeginAllowThreads();
3915 (arg1)->SetBottomRight((wxPoint const &)*arg2);
3916
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) SWIG_fail;
3919 }
3920 Py_INCREF(Py_None); resultobj = Py_None;
3921 return resultobj;
3922 fail:
3923 return NULL;
3924}
3925
3926
d14a1e28
RD
3927static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3928 PyObject *resultobj;
3929 wxRect *arg1 = (wxRect *) 0 ;
3930 int result;
3931 PyObject * obj0 = 0 ;
3932 char *kwnames[] = {
3933 (char *) "self", NULL
3934 };
3935
3936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
3937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3939 {
3940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3941 result = (int)((wxRect const *)arg1)->GetLeft();
3942
3943 wxPyEndAllowThreads(__tstate);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 }
15afbcd0 3946 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3947 return resultobj;
3948 fail:
3949 return NULL;
3950}
3951
3952
3953static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3954 PyObject *resultobj;
3955 wxRect *arg1 = (wxRect *) 0 ;
3956 int result;
3957 PyObject * obj0 = 0 ;
3958 char *kwnames[] = {
3959 (char *) "self", NULL
3960 };
3961
3962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
15afbcd0
RD
3963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3965 {
3966 PyThreadState* __tstate = wxPyBeginAllowThreads();
3967 result = (int)((wxRect const *)arg1)->GetTop();
3968
3969 wxPyEndAllowThreads(__tstate);
3970 if (PyErr_Occurred()) SWIG_fail;
3971 }
15afbcd0 3972 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3973 return resultobj;
3974 fail:
3975 return NULL;
3976}
3977
3978
3979static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3980 PyObject *resultobj;
3981 wxRect *arg1 = (wxRect *) 0 ;
3982 int result;
3983 PyObject * obj0 = 0 ;
3984 char *kwnames[] = {
3985 (char *) "self", NULL
3986 };
3987
3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
15afbcd0
RD
3989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3991 {
3992 PyThreadState* __tstate = wxPyBeginAllowThreads();
3993 result = (int)((wxRect const *)arg1)->GetBottom();
3994
3995 wxPyEndAllowThreads(__tstate);
3996 if (PyErr_Occurred()) SWIG_fail;
3997 }
15afbcd0 3998 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3999 return resultobj;
4000 fail:
4001 return NULL;
4002}
4003
4004
4005static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4006 PyObject *resultobj;
4007 wxRect *arg1 = (wxRect *) 0 ;
4008 int result;
4009 PyObject * obj0 = 0 ;
4010 char *kwnames[] = {
4011 (char *) "self", NULL
4012 };
4013
4014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
4015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4017 {
4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
4019 result = (int)((wxRect const *)arg1)->GetRight();
4020
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
15afbcd0 4024 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4025 return resultobj;
4026 fail:
4027 return NULL;
4028}
4029
4030
4031static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4032 PyObject *resultobj;
4033 wxRect *arg1 = (wxRect *) 0 ;
4034 int arg2 ;
4035 PyObject * obj0 = 0 ;
994141e6 4036 PyObject * obj1 = 0 ;
d14a1e28
RD
4037 char *kwnames[] = {
4038 (char *) "self",(char *) "left", NULL
4039 };
4040
994141e6 4041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4044 arg2 = (int) SWIG_AsInt(obj1);
4045 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4046 {
4047 PyThreadState* __tstate = wxPyBeginAllowThreads();
4048 (arg1)->SetLeft(arg2);
4049
4050 wxPyEndAllowThreads(__tstate);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 }
4053 Py_INCREF(Py_None); resultobj = Py_None;
4054 return resultobj;
4055 fail:
4056 return NULL;
4057}
4058
4059
4060static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4061 PyObject *resultobj;
4062 wxRect *arg1 = (wxRect *) 0 ;
4063 int arg2 ;
4064 PyObject * obj0 = 0 ;
994141e6 4065 PyObject * obj1 = 0 ;
d14a1e28
RD
4066 char *kwnames[] = {
4067 (char *) "self",(char *) "right", NULL
4068 };
4069
994141e6 4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4073 arg2 = (int) SWIG_AsInt(obj1);
4074 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4075 {
4076 PyThreadState* __tstate = wxPyBeginAllowThreads();
4077 (arg1)->SetRight(arg2);
4078
4079 wxPyEndAllowThreads(__tstate);
4080 if (PyErr_Occurred()) SWIG_fail;
4081 }
4082 Py_INCREF(Py_None); resultobj = Py_None;
4083 return resultobj;
4084 fail:
4085 return NULL;
4086}
4087
4088
4089static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
4090 PyObject *resultobj;
4091 wxRect *arg1 = (wxRect *) 0 ;
4092 int arg2 ;
4093 PyObject * obj0 = 0 ;
994141e6 4094 PyObject * obj1 = 0 ;
d14a1e28
RD
4095 char *kwnames[] = {
4096 (char *) "self",(char *) "top", NULL
4097 };
4098
994141e6 4099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4102 arg2 = (int) SWIG_AsInt(obj1);
4103 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4104 {
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 (arg1)->SetTop(arg2);
4107
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 Py_INCREF(Py_None); resultobj = Py_None;
4112 return resultobj;
4113 fail:
4114 return NULL;
4115}
4116
4117
4118static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
4119 PyObject *resultobj;
4120 wxRect *arg1 = (wxRect *) 0 ;
4121 int arg2 ;
4122 PyObject * obj0 = 0 ;
994141e6 4123 PyObject * obj1 = 0 ;
d14a1e28
RD
4124 char *kwnames[] = {
4125 (char *) "self",(char *) "bottom", NULL
4126 };
4127
994141e6 4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4131 arg2 = (int) SWIG_AsInt(obj1);
4132 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4133 {
4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
4135 (arg1)->SetBottom(arg2);
4136
4137 wxPyEndAllowThreads(__tstate);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 Py_INCREF(Py_None); resultobj = Py_None;
4141 return resultobj;
4142 fail:
4143 return NULL;
4144}
4145
4146
4147static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj;
4149 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4150 int arg2 ;
4151 int arg3 ;
d14a1e28
RD
4152 wxRect *result;
4153 PyObject * obj0 = 0 ;
994141e6
RD
4154 PyObject * obj1 = 0 ;
4155 PyObject * obj2 = 0 ;
d14a1e28
RD
4156 char *kwnames[] = {
4157 (char *) "self",(char *) "dx",(char *) "dy", NULL
4158 };
4159
994141e6 4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4163 arg2 = (int) SWIG_AsInt(obj1);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 arg3 = (int) SWIG_AsInt(obj2);
4166 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4167 {
4168 PyThreadState* __tstate = wxPyBeginAllowThreads();
4169 {
4170 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
4171 result = (wxRect *) &_result_ref;
4172 }
4173
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
15afbcd0 4177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4178 return resultobj;
4179 fail:
4180 return NULL;
4181}
4182
4183
4184static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4187 int arg2 ;
4188 int arg3 ;
d14a1e28
RD
4189 wxRect *result;
4190 PyObject * obj0 = 0 ;
994141e6
RD
4191 PyObject * obj1 = 0 ;
4192 PyObject * obj2 = 0 ;
d14a1e28
RD
4193 char *kwnames[] = {
4194 (char *) "self",(char *) "dx",(char *) "dy", NULL
4195 };
4196
994141e6 4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4200 arg2 = (int) SWIG_AsInt(obj1);
4201 if (PyErr_Occurred()) SWIG_fail;
4202 arg3 = (int) SWIG_AsInt(obj2);
4203 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4204 {
4205 PyThreadState* __tstate = wxPyBeginAllowThreads();
4206 {
4207 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4208 result = (wxRect *) &_result_ref;
4209 }
4210
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
15afbcd0 4214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4215 return resultobj;
4216 fail:
4217 return NULL;
4218}
4219
4220
4221static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4222 PyObject *resultobj;
4223 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4224 int arg2 ;
4225 int arg3 ;
d14a1e28 4226 PyObject * obj0 = 0 ;
994141e6
RD
4227 PyObject * obj1 = 0 ;
4228 PyObject * obj2 = 0 ;
d14a1e28
RD
4229 char *kwnames[] = {
4230 (char *) "self",(char *) "dx",(char *) "dy", NULL
4231 };
4232
994141e6 4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4236 arg2 = (int) SWIG_AsInt(obj1);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 arg3 = (int) SWIG_AsInt(obj2);
4239 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4240 {
4241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4242 (arg1)->Offset(arg2,arg3);
4243
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) SWIG_fail;
4246 }
4247 Py_INCREF(Py_None); resultobj = Py_None;
4248 return resultobj;
4249 fail:
4250 return NULL;
4251}
4252
4253
4254static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
4255 PyObject *resultobj;
4256 wxRect *arg1 = (wxRect *) 0 ;
4257 wxPoint *arg2 = 0 ;
4258 wxPoint temp2 ;
4259 PyObject * obj0 = 0 ;
4260 PyObject * obj1 = 0 ;
4261 char *kwnames[] = {
4262 (char *) "self",(char *) "pt", NULL
4263 };
4264
4265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4268 {
4269 arg2 = &temp2;
4270 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4271 }
4272 {
4273 PyThreadState* __tstate = wxPyBeginAllowThreads();
4274 (arg1)->Offset((wxPoint const &)*arg2);
4275
4276 wxPyEndAllowThreads(__tstate);
4277 if (PyErr_Occurred()) SWIG_fail;
4278 }
4279 Py_INCREF(Py_None); resultobj = Py_None;
4280 return resultobj;
4281 fail:
4282 return NULL;
4283}
4284
4285
4286static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
4287 PyObject *resultobj;
4288 wxRect *arg1 = (wxRect *) 0 ;
4289 wxRect *arg2 = 0 ;
4290 wxRect *result;
4291 wxRect temp2 ;
4292 PyObject * obj0 = 0 ;
4293 PyObject * obj1 = 0 ;
4294 char *kwnames[] = {
4295 (char *) "self",(char *) "rect", NULL
4296 };
4297
4298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4301 {
4302 arg2 = &temp2;
4303 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4304 }
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 {
4308 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4309 result = (wxRect *) &_result_ref;
4310 }
4311
4312 wxPyEndAllowThreads(__tstate);
4313 if (PyErr_Occurred()) SWIG_fail;
4314 }
15afbcd0 4315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4316 return resultobj;
4317 fail:
4318 return NULL;
4319}
4320
4321
4322static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
4323 PyObject *resultobj;
4324 wxRect *arg1 = (wxRect *) 0 ;
4325 wxRect *arg2 = 0 ;
4326 wxRect result;
4327 wxRect temp2 ;
4328 PyObject * obj0 = 0 ;
4329 PyObject * obj1 = 0 ;
4330 char *kwnames[] = {
4331 (char *) "self",(char *) "rect", NULL
4332 };
4333
4334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4337 {
4338 arg2 = &temp2;
4339 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4340 }
4341 {
4342 PyThreadState* __tstate = wxPyBeginAllowThreads();
4343 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4344
4345 wxPyEndAllowThreads(__tstate);
4346 if (PyErr_Occurred()) SWIG_fail;
4347 }
4348 {
4349 wxRect * resultptr;
4350 resultptr = new wxRect((wxRect &) result);
15afbcd0 4351 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4352 }
4353 return resultobj;
4354 fail:
4355 return NULL;
4356}
4357
4358
4359static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4360 PyObject *resultobj;
4361 wxRect *arg1 = (wxRect *) 0 ;
4362 wxRect *arg2 = 0 ;
4363 wxRect *result;
4364 wxRect temp2 ;
4365 PyObject * obj0 = 0 ;
4366 PyObject * obj1 = 0 ;
4367 char *kwnames[] = {
4368 (char *) "self",(char *) "rect", NULL
4369 };
4370
4371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4374 {
4375 arg2 = &temp2;
4376 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4377 }
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 {
4381 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
4382 result = (wxRect *) &_result_ref;
4383 }
4384
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
15afbcd0 4388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4389 return resultobj;
4390 fail:
4391 return NULL;
4392}
4393
4394
4395static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4396 PyObject *resultobj;
4397 wxRect *arg1 = (wxRect *) 0 ;
4398 wxRect *arg2 = 0 ;
4399 bool result;
4400 wxRect temp2 ;
4401 PyObject * obj0 = 0 ;
4402 PyObject * obj1 = 0 ;
4403 char *kwnames[] = {
4404 (char *) "self",(char *) "rect", NULL
4405 };
4406
4407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4410 {
4411 arg2 = &temp2;
4412 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4413 }
4414 {
4415 PyThreadState* __tstate = wxPyBeginAllowThreads();
4416 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4417
4418 wxPyEndAllowThreads(__tstate);
4419 if (PyErr_Occurred()) SWIG_fail;
4420 }
4f89f6a3
RD
4421 {
4422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4423 }
d14a1e28
RD
4424 return resultobj;
4425 fail:
4426 return NULL;
4427}
4428
4429
4430static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4431 PyObject *resultobj;
4432 wxRect *arg1 = (wxRect *) 0 ;
4433 wxRect *arg2 = 0 ;
4434 bool result;
4435 wxRect temp2 ;
4436 PyObject * obj0 = 0 ;
4437 PyObject * obj1 = 0 ;
4438 char *kwnames[] = {
4439 (char *) "self",(char *) "rect", NULL
4440 };
4441
4442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4445 {
4446 arg2 = &temp2;
4447 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4448 }
4449 {
4450 PyThreadState* __tstate = wxPyBeginAllowThreads();
4451 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4452
4453 wxPyEndAllowThreads(__tstate);
4454 if (PyErr_Occurred()) SWIG_fail;
4455 }
4f89f6a3
RD
4456 {
4457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4458 }
d14a1e28
RD
4459 return resultobj;
4460 fail:
4461 return NULL;
4462}
4463
4464
4465static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4466 PyObject *resultobj;
4467 wxRect *arg1 = (wxRect *) 0 ;
4468 int arg2 ;
4469 int arg3 ;
4470 bool result;
4471 PyObject * obj0 = 0 ;
994141e6
RD
4472 PyObject * obj1 = 0 ;
4473 PyObject * obj2 = 0 ;
d14a1e28
RD
4474 char *kwnames[] = {
4475 (char *) "self",(char *) "x",(char *) "y", NULL
4476 };
4477
994141e6 4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4481 arg2 = (int) SWIG_AsInt(obj1);
4482 if (PyErr_Occurred()) SWIG_fail;
4483 arg3 = (int) SWIG_AsInt(obj2);
4484 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4485 {
4486 PyThreadState* __tstate = wxPyBeginAllowThreads();
4487 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4488
4489 wxPyEndAllowThreads(__tstate);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
4f89f6a3
RD
4492 {
4493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4494 }
d14a1e28
RD
4495 return resultobj;
4496 fail:
4497 return NULL;
4498}
4499
4500
4501static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxRect *arg1 = (wxRect *) 0 ;
4504 wxPoint *arg2 = 0 ;
4505 bool result;
4506 wxPoint temp2 ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 char *kwnames[] = {
4510 (char *) "self",(char *) "pt", NULL
4511 };
4512
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4516 {
4517 arg2 = &temp2;
4518 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4519 }
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4f89f6a3
RD
4527 {
4528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4529 }
d14a1e28
RD
4530 return resultobj;
4531 fail:
4532 return NULL;
4533}
4534
4535
4536static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
4537 PyObject *resultobj;
4538 wxRect *arg1 = (wxRect *) 0 ;
4539 wxRect *arg2 = 0 ;
4540 bool result;
4541 wxRect temp2 ;
4542 PyObject * obj0 = 0 ;
4543 PyObject * obj1 = 0 ;
4544 char *kwnames[] = {
4545 (char *) "self",(char *) "rect", NULL
4546 };
4547
4548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4551 {
4552 arg2 = &temp2;
4553 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4554 }
4555 {
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4558
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4f89f6a3
RD
4562 {
4563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4564 }
d14a1e28
RD
4565 return resultobj;
4566 fail:
4567 return NULL;
4568}
4569
4570
4571static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4572 PyObject *resultobj;
4573 wxRect *arg1 = (wxRect *) 0 ;
4574 int arg2 ;
4575 PyObject * obj0 = 0 ;
994141e6 4576 PyObject * obj1 = 0 ;
d14a1e28
RD
4577 char *kwnames[] = {
4578 (char *) "self",(char *) "x", NULL
4579 };
4580
994141e6 4581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4584 arg2 = (int) SWIG_AsInt(obj1);
4585 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4586 if (arg1) (arg1)->x = arg2;
4587
4588 Py_INCREF(Py_None); resultobj = Py_None;
4589 return resultobj;
4590 fail:
4591 return NULL;
4592}
4593
4594
4595static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4596 PyObject *resultobj;
4597 wxRect *arg1 = (wxRect *) 0 ;
4598 int result;
4599 PyObject * obj0 = 0 ;
4600 char *kwnames[] = {
4601 (char *) "self", NULL
4602 };
4603
4604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4607 result = (int) ((arg1)->x);
4608
15afbcd0 4609 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4610 return resultobj;
4611 fail:
4612 return NULL;
4613}
4614
4615
4616static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4617 PyObject *resultobj;
4618 wxRect *arg1 = (wxRect *) 0 ;
4619 int arg2 ;
4620 PyObject * obj0 = 0 ;
994141e6 4621 PyObject * obj1 = 0 ;
d14a1e28
RD
4622 char *kwnames[] = {
4623 (char *) "self",(char *) "y", NULL
4624 };
4625
994141e6 4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4629 arg2 = (int) SWIG_AsInt(obj1);
4630 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4631 if (arg1) (arg1)->y = arg2;
4632
4633 Py_INCREF(Py_None); resultobj = Py_None;
4634 return resultobj;
4635 fail:
4636 return NULL;
4637}
4638
4639
4640static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4641 PyObject *resultobj;
4642 wxRect *arg1 = (wxRect *) 0 ;
4643 int result;
4644 PyObject * obj0 = 0 ;
4645 char *kwnames[] = {
4646 (char *) "self", NULL
4647 };
4648
4649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4652 result = (int) ((arg1)->y);
4653
15afbcd0 4654 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4655 return resultobj;
4656 fail:
4657 return NULL;
4658}
4659
4660
4661static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4662 PyObject *resultobj;
4663 wxRect *arg1 = (wxRect *) 0 ;
4664 int arg2 ;
4665 PyObject * obj0 = 0 ;
994141e6 4666 PyObject * obj1 = 0 ;
d14a1e28
RD
4667 char *kwnames[] = {
4668 (char *) "self",(char *) "width", NULL
4669 };
4670
994141e6 4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4674 arg2 = (int) SWIG_AsInt(obj1);
4675 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4676 if (arg1) (arg1)->width = arg2;
4677
4678 Py_INCREF(Py_None); resultobj = Py_None;
4679 return resultobj;
4680 fail:
4681 return NULL;
4682}
4683
4684
4685static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4686 PyObject *resultobj;
4687 wxRect *arg1 = (wxRect *) 0 ;
4688 int result;
4689 PyObject * obj0 = 0 ;
4690 char *kwnames[] = {
4691 (char *) "self", NULL
4692 };
4693
4694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4697 result = (int) ((arg1)->width);
4698
15afbcd0 4699 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4700 return resultobj;
4701 fail:
4702 return NULL;
4703}
4704
4705
4706static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4707 PyObject *resultobj;
4708 wxRect *arg1 = (wxRect *) 0 ;
4709 int arg2 ;
4710 PyObject * obj0 = 0 ;
994141e6 4711 PyObject * obj1 = 0 ;
d14a1e28
RD
4712 char *kwnames[] = {
4713 (char *) "self",(char *) "height", NULL
4714 };
4715
994141e6 4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4719 arg2 = (int) SWIG_AsInt(obj1);
4720 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4721 if (arg1) (arg1)->height = arg2;
4722
4723 Py_INCREF(Py_None); resultobj = Py_None;
4724 return resultobj;
4725 fail:
4726 return NULL;
4727}
4728
4729
4730static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4731 PyObject *resultobj;
4732 wxRect *arg1 = (wxRect *) 0 ;
4733 int result;
4734 PyObject * obj0 = 0 ;
4735 char *kwnames[] = {
4736 (char *) "self", NULL
4737 };
4738
4739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4742 result = (int) ((arg1)->height);
4743
15afbcd0 4744 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4745 return resultobj;
4746 fail:
4747 return NULL;
4748}
4749
4750
4751static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4752 PyObject *resultobj;
4753 wxRect *arg1 = (wxRect *) 0 ;
4754 int arg2 = (int) 0 ;
4755 int arg3 = (int) 0 ;
4756 int arg4 = (int) 0 ;
4757 int arg5 = (int) 0 ;
4758 PyObject * obj0 = 0 ;
994141e6
RD
4759 PyObject * obj1 = 0 ;
4760 PyObject * obj2 = 0 ;
4761 PyObject * obj3 = 0 ;
4762 PyObject * obj4 = 0 ;
d14a1e28
RD
4763 char *kwnames[] = {
4764 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4765 };
4766
994141e6 4767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
4768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 4770 if (obj1) {
15afbcd0
RD
4771 arg2 = (int) SWIG_AsInt(obj1);
4772 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4773 }
4774 if (obj2) {
15afbcd0
RD
4775 arg3 = (int) SWIG_AsInt(obj2);
4776 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4777 }
4778 if (obj3) {
15afbcd0
RD
4779 arg4 = (int) SWIG_AsInt(obj3);
4780 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4781 }
4782 if (obj4) {
15afbcd0
RD
4783 arg5 = (int) SWIG_AsInt(obj4);
4784 if (PyErr_Occurred()) SWIG_fail;
994141e6 4785 }
d14a1e28
RD
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
4789
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 Py_INCREF(Py_None); resultobj = Py_None;
4794 return resultobj;
4795 fail:
4796 return NULL;
4797}
4798
4799
e811c8ce 4800static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4801 PyObject *resultobj;
4802 wxRect *arg1 = (wxRect *) 0 ;
4803 PyObject *result;
4804 PyObject * obj0 = 0 ;
4805 char *kwnames[] = {
4806 (char *) "self", NULL
4807 };
4808
e811c8ce 4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4812 {
4813 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4814 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
4815
4816 wxPyEndAllowThreads(__tstate);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 }
4819 resultobj = result;
4820 return resultobj;
4821 fail:
4822 return NULL;
4823}
4824
4825
4826static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
4827 PyObject *obj;
4828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4829 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
4830 Py_INCREF(obj);
4831 return Py_BuildValue((char *)"");
4832}
4833static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4834 PyObject *resultobj;
4835 wxRect *arg1 = (wxRect *) 0 ;
4836 wxRect *arg2 = (wxRect *) 0 ;
4837 PyObject *result;
4838 PyObject * obj0 = 0 ;
4839 PyObject * obj1 = 0 ;
4840 char *kwnames[] = {
4841 (char *) "r1",(char *) "r2", NULL
4842 };
4843
4844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
4848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4849 {
e3b71cb8 4850 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
4852 result = (PyObject *)wxIntersectRect(arg1,arg2);
4853
4854 wxPyEndAllowThreads(__tstate);
110da5b0 4855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4856 }
4857 resultobj = result;
4858 return resultobj;
4859 fail:
4860 return NULL;
4861}
4862
4863
4864static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
4865 PyObject *resultobj;
4866 double arg1 = (double) 0.0 ;
4867 double arg2 = (double) 0.0 ;
4868 wxPoint2D *result;
994141e6
RD
4869 PyObject * obj0 = 0 ;
4870 PyObject * obj1 = 0 ;
d14a1e28
RD
4871 char *kwnames[] = {
4872 (char *) "x",(char *) "y", NULL
4873 };
4874
994141e6
RD
4875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4876 if (obj0) {
15afbcd0
RD
4877 arg1 = (double) SWIG_AsDouble(obj0);
4878 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4879 }
4880 if (obj1) {
15afbcd0
RD
4881 arg2 = (double) SWIG_AsDouble(obj1);
4882 if (PyErr_Occurred()) SWIG_fail;
994141e6 4883 }
d14a1e28
RD
4884 {
4885 PyThreadState* __tstate = wxPyBeginAllowThreads();
4886 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
4887
4888 wxPyEndAllowThreads(__tstate);
4889 if (PyErr_Occurred()) SWIG_fail;
4890 }
15afbcd0 4891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4892 return resultobj;
4893 fail:
4894 return NULL;
4895}
4896
4897
4898static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
4899 PyObject *resultobj;
4900 wxPoint2D *arg1 = 0 ;
4901 wxPoint2D *result;
4902 wxPoint2D temp1 ;
4903 PyObject * obj0 = 0 ;
4904 char *kwnames[] = {
4905 (char *) "pt", NULL
4906 };
4907
4908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4909 {
4910 arg1 = &temp1;
4911 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4912 }
4913 {
4914 PyThreadState* __tstate = wxPyBeginAllowThreads();
4915 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4916
4917 wxPyEndAllowThreads(__tstate);
4918 if (PyErr_Occurred()) SWIG_fail;
4919 }
15afbcd0 4920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4921 return resultobj;
4922 fail:
4923 return NULL;
4924}
4925
4926
4927static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4928 PyObject *resultobj;
4929 wxPoint *arg1 = 0 ;
4930 wxPoint2D *result;
4931 wxPoint temp1 ;
4932 PyObject * obj0 = 0 ;
4933 char *kwnames[] = {
4934 (char *) "pt", NULL
4935 };
4936
4937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4938 {
4939 arg1 = &temp1;
4940 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4941 }
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
15afbcd0 4949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4950 return resultobj;
4951 fail:
4952 return NULL;
4953}
4954
4955
4956static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
4957 PyObject *resultobj;
4958 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4959 int *arg2 = (int *) 0 ;
4960 int *arg3 = (int *) 0 ;
4961 int temp2 ;
4962 int temp3 ;
4963 PyObject * obj0 = 0 ;
4964 char *kwnames[] = {
4965 (char *) "self", NULL
4966 };
4967
4968 arg2 = &temp2;
4969 arg3 = &temp3;
4970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4973 {
4974 PyThreadState* __tstate = wxPyBeginAllowThreads();
4975 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4976
4977 wxPyEndAllowThreads(__tstate);
4978 if (PyErr_Occurred()) SWIG_fail;
4979 }
4980 Py_INCREF(Py_None); resultobj = Py_None;
4981 {
4982 PyObject *o = PyInt_FromLong((long) (*arg2));
4983 resultobj = t_output_helper(resultobj,o);
4984 }
4985 {
4986 PyObject *o = PyInt_FromLong((long) (*arg3));
4987 resultobj = t_output_helper(resultobj,o);
4988 }
4989 return resultobj;
4990 fail:
4991 return NULL;
4992}
4993
4994
4995static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
4996 PyObject *resultobj;
4997 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4998 int *arg2 = (int *) 0 ;
4999 int *arg3 = (int *) 0 ;
5000 int temp2 ;
5001 int temp3 ;
5002 PyObject * obj0 = 0 ;
5003 char *kwnames[] = {
5004 (char *) "self", NULL
5005 };
5006
5007 arg2 = &temp2;
5008 arg3 = &temp3;
5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
15afbcd0
RD
5010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
5015
5016 wxPyEndAllowThreads(__tstate);
5017 if (PyErr_Occurred()) SWIG_fail;
5018 }
5019 Py_INCREF(Py_None); resultobj = Py_None;
5020 {
5021 PyObject *o = PyInt_FromLong((long) (*arg2));
5022 resultobj = t_output_helper(resultobj,o);
5023 }
5024 {
5025 PyObject *o = PyInt_FromLong((long) (*arg3));
5026 resultobj = t_output_helper(resultobj,o);
5027 }
5028 return resultobj;
5029 fail:
5030 return NULL;
5031}
5032
5033
5034static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5035 PyObject *resultobj;
5036 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5037 double result;
5038 PyObject * obj0 = 0 ;
5039 char *kwnames[] = {
5040 (char *) "self", NULL
5041 };
5042
5043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
5044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5046 {
5047 PyThreadState* __tstate = wxPyBeginAllowThreads();
5048 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
5049
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 }
15afbcd0 5053 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5054 return resultobj;
5055 fail:
5056 return NULL;
5057}
5058
5059
5060static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5061 PyObject *resultobj;
5062 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5063 double result;
5064 PyObject * obj0 = 0 ;
5065 char *kwnames[] = {
5066 (char *) "self", NULL
5067 };
5068
5069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
15afbcd0
RD
5070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5072 {
5073 PyThreadState* __tstate = wxPyBeginAllowThreads();
5074 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
5075
5076 wxPyEndAllowThreads(__tstate);
5077 if (PyErr_Occurred()) SWIG_fail;
5078 }
15afbcd0 5079 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5080 return resultobj;
5081 fail:
5082 return NULL;
5083}
5084
5085
5086static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5087 PyObject *resultobj;
5088 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5089 double arg2 ;
5090 PyObject * obj0 = 0 ;
994141e6 5091 PyObject * obj1 = 0 ;
d14a1e28
RD
5092 char *kwnames[] = {
5093 (char *) "self",(char *) "length", NULL
5094 };
5095
994141e6 5096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5099 arg2 = (double) SWIG_AsDouble(obj1);
5100 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5101 {
5102 PyThreadState* __tstate = wxPyBeginAllowThreads();
5103 (arg1)->SetVectorLength(arg2);
5104
5105 wxPyEndAllowThreads(__tstate);
5106 if (PyErr_Occurred()) SWIG_fail;
5107 }
5108 Py_INCREF(Py_None); resultobj = Py_None;
5109 return resultobj;
5110 fail:
5111 return NULL;
5112}
5113
5114
5115static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5116 PyObject *resultobj;
5117 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5118 double arg2 ;
5119 PyObject * obj0 = 0 ;
994141e6 5120 PyObject * obj1 = 0 ;
d14a1e28
RD
5121 char *kwnames[] = {
5122 (char *) "self",(char *) "degrees", NULL
5123 };
5124
994141e6 5125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5128 arg2 = (double) SWIG_AsDouble(obj1);
5129 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 (arg1)->SetVectorAngle(arg2);
5133
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 Py_INCREF(Py_None); resultobj = Py_None;
5138 return resultobj;
5139 fail:
5140 return NULL;
5141}
5142
5143
5144static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
5145 PyObject *resultobj;
5146 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5147 wxPoint2D *arg2 = 0 ;
5148 double result;
5149 wxPoint2D temp2 ;
5150 PyObject * obj0 = 0 ;
5151 PyObject * obj1 = 0 ;
5152 char *kwnames[] = {
5153 (char *) "self",(char *) "pt", NULL
5154 };
5155
5156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5159 {
5160 arg2 = &temp2;
5161 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5162 }
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
5166
5167 wxPyEndAllowThreads(__tstate);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
15afbcd0 5170 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5171 return resultobj;
5172 fail:
5173 return NULL;
5174}
5175
5176
5177static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
5178 PyObject *resultobj;
5179 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5180 wxPoint2D *arg2 = 0 ;
5181 double result;
5182 wxPoint2D temp2 ;
5183 PyObject * obj0 = 0 ;
5184 PyObject * obj1 = 0 ;
5185 char *kwnames[] = {
5186 (char *) "self",(char *) "pt", NULL
5187 };
5188
5189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5192 {
5193 arg2 = &temp2;
5194 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5195 }
5196 {
5197 PyThreadState* __tstate = wxPyBeginAllowThreads();
5198 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5199
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
15afbcd0 5203 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5204 return resultobj;
5205 fail:
5206 return NULL;
5207}
5208
5209
5210static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5211 PyObject *resultobj;
5212 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5213 wxPoint2D *arg2 = 0 ;
5214 double result;
5215 wxPoint2D temp2 ;
5216 PyObject * obj0 = 0 ;
5217 PyObject * obj1 = 0 ;
5218 char *kwnames[] = {
5219 (char *) "self",(char *) "vec", NULL
5220 };
5221
5222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5225 {
5226 arg2 = &temp2;
5227 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5228 }
5229 {
5230 PyThreadState* __tstate = wxPyBeginAllowThreads();
5231 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5232
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
15afbcd0 5236 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5237 return resultobj;
5238 fail:
5239 return NULL;
5240}
5241
5242
5243static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5244 PyObject *resultobj;
5245 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5246 wxPoint2D *arg2 = 0 ;
5247 double result;
5248 wxPoint2D temp2 ;
5249 PyObject * obj0 = 0 ;
5250 PyObject * obj1 = 0 ;
5251 char *kwnames[] = {
5252 (char *) "self",(char *) "vec", NULL
5253 };
5254
5255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5258 {
5259 arg2 = &temp2;
5260 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5261 }
5262 {
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5265
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
15afbcd0 5269 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5270 return resultobj;
5271 fail:
5272 return NULL;
5273}
5274
5275
5276static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
5277 PyObject *resultobj;
5278 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5279 wxPoint2D result;
5280 PyObject * obj0 = 0 ;
5281 char *kwnames[] = {
5282 (char *) "self", NULL
5283 };
5284
5285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
15afbcd0
RD
5286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5288 {
5289 PyThreadState* __tstate = wxPyBeginAllowThreads();
5290 result = (arg1)->operator -();
5291
5292 wxPyEndAllowThreads(__tstate);
5293 if (PyErr_Occurred()) SWIG_fail;
5294 }
5295 {
5296 wxPoint2D * resultptr;
5297 resultptr = new wxPoint2D((wxPoint2D &) result);
15afbcd0 5298 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5299 }
5300 return resultobj;
5301 fail:
5302 return NULL;
5303}
5304
5305
5306static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
5307 PyObject *resultobj;
5308 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5309 wxPoint2D *arg2 = 0 ;
5310 wxPoint2D *result;
5311 wxPoint2D temp2 ;
5312 PyObject * obj0 = 0 ;
5313 PyObject * obj1 = 0 ;
5314 char *kwnames[] = {
5315 (char *) "self",(char *) "pt", NULL
5316 };
5317
5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5321 {
5322 arg2 = &temp2;
5323 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5324 }
5325 {
5326 PyThreadState* __tstate = wxPyBeginAllowThreads();
5327 {
5328 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5329 result = (wxPoint2D *) &_result_ref;
5330 }
5331
5332 wxPyEndAllowThreads(__tstate);
5333 if (PyErr_Occurred()) SWIG_fail;
5334 }
15afbcd0 5335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5336 return resultobj;
5337 fail:
5338 return NULL;
5339}
5340
5341
5342static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
5343 PyObject *resultobj;
5344 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5345 wxPoint2D *arg2 = 0 ;
5346 wxPoint2D *result;
5347 wxPoint2D temp2 ;
5348 PyObject * obj0 = 0 ;
5349 PyObject * obj1 = 0 ;
5350 char *kwnames[] = {
5351 (char *) "self",(char *) "pt", NULL
5352 };
5353
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5357 {
5358 arg2 = &temp2;
5359 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5360 }
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 {
5364 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5365 result = (wxPoint2D *) &_result_ref;
5366 }
5367
5368 wxPyEndAllowThreads(__tstate);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
15afbcd0 5371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5372 return resultobj;
5373 fail:
5374 return NULL;
5375}
5376
5377
5378static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
5379 PyObject *resultobj;
5380 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5381 wxPoint2D *arg2 = 0 ;
5382 wxPoint2D *result;
5383 wxPoint2D temp2 ;
5384 PyObject * obj0 = 0 ;
5385 PyObject * obj1 = 0 ;
5386 char *kwnames[] = {
5387 (char *) "self",(char *) "pt", NULL
5388 };
5389
5390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5393 {
5394 arg2 = &temp2;
5395 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5396 }
5397 {
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 {
5400 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5401 result = (wxPoint2D *) &_result_ref;
5402 }
5403
5404 wxPyEndAllowThreads(__tstate);
5405 if (PyErr_Occurred()) SWIG_fail;
5406 }
15afbcd0 5407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5408 return resultobj;
5409 fail:
5410 return NULL;
5411}
5412
5413
5414static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
5415 PyObject *resultobj;
5416 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5417 wxPoint2D *arg2 = 0 ;
5418 wxPoint2D *result;
5419 wxPoint2D temp2 ;
5420 PyObject * obj0 = 0 ;
5421 PyObject * obj1 = 0 ;
5422 char *kwnames[] = {
5423 (char *) "self",(char *) "pt", NULL
5424 };
5425
5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5429 {
5430 arg2 = &temp2;
5431 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5432 }
5433 {
5434 PyThreadState* __tstate = wxPyBeginAllowThreads();
5435 {
5436 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5437 result = (wxPoint2D *) &_result_ref;
5438 }
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
15afbcd0 5443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5444 return resultobj;
5445 fail:
5446 return NULL;
5447}
5448
5449
5450static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj;
5452 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5453 wxPoint2D *arg2 = 0 ;
5454 bool result;
5455 wxPoint2D temp2 ;
5456 PyObject * obj0 = 0 ;
5457 PyObject * obj1 = 0 ;
5458 char *kwnames[] = {
5459 (char *) "self",(char *) "pt", NULL
5460 };
5461
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5465 {
5466 arg2 = &temp2;
5467 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5468 }
5469 {
5470 PyThreadState* __tstate = wxPyBeginAllowThreads();
5471 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5472
5473 wxPyEndAllowThreads(__tstate);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 }
4f89f6a3
RD
5476 {
5477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5478 }
d14a1e28
RD
5479 return resultobj;
5480 fail:
5481 return NULL;
5482}
5483
5484
5485static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
5486 PyObject *resultobj;
5487 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5488 wxPoint2D *arg2 = 0 ;
5489 bool result;
5490 wxPoint2D temp2 ;
5491 PyObject * obj0 = 0 ;
5492 PyObject * obj1 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self",(char *) "pt", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5500 {
5501 arg2 = &temp2;
5502 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5503 }
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5507
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
4f89f6a3
RD
5511 {
5512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5513 }
d14a1e28
RD
5514 return resultobj;
5515 fail:
5516 return NULL;
5517}
5518
5519
d14a1e28
RD
5520static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5521 PyObject *resultobj;
5522 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5523 double arg2 ;
5524 PyObject * obj0 = 0 ;
994141e6 5525 PyObject * obj1 = 0 ;
d14a1e28
RD
5526 char *kwnames[] = {
5527 (char *) "self",(char *) "m_x", NULL
5528 };
5529
994141e6 5530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5533 arg2 = (double) SWIG_AsDouble(obj1);
5534 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5535 if (arg1) (arg1)->m_x = arg2;
5536
5537 Py_INCREF(Py_None); resultobj = Py_None;
5538 return resultobj;
5539 fail:
5540 return NULL;
5541}
5542
5543
5544static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5545 PyObject *resultobj;
5546 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5547 double result;
5548 PyObject * obj0 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5556 result = (double) ((arg1)->m_x);
5557
15afbcd0 5558 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5559 return resultobj;
5560 fail:
5561 return NULL;
5562}
5563
5564
5565static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5566 PyObject *resultobj;
5567 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5568 double arg2 ;
5569 PyObject * obj0 = 0 ;
994141e6 5570 PyObject * obj1 = 0 ;
d14a1e28
RD
5571 char *kwnames[] = {
5572 (char *) "self",(char *) "m_y", NULL
5573 };
5574
994141e6 5575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5578 arg2 = (double) SWIG_AsDouble(obj1);
5579 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5580 if (arg1) (arg1)->m_y = arg2;
5581
5582 Py_INCREF(Py_None); resultobj = Py_None;
5583 return resultobj;
5584 fail:
5585 return NULL;
5586}
5587
5588
5589static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5590 PyObject *resultobj;
5591 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5592 double result;
5593 PyObject * obj0 = 0 ;
5594 char *kwnames[] = {
5595 (char *) "self", NULL
5596 };
5597
5598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5601 result = (double) ((arg1)->m_y);
5602
15afbcd0 5603 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5604 return resultobj;
5605 fail:
5606 return NULL;
5607}
5608
5609
5610static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5611 PyObject *resultobj;
5612 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5613 double arg2 = (double) 0 ;
5614 double arg3 = (double) 0 ;
5615 PyObject * obj0 = 0 ;
994141e6
RD
5616 PyObject * obj1 = 0 ;
5617 PyObject * obj2 = 0 ;
d14a1e28
RD
5618 char *kwnames[] = {
5619 (char *) "self",(char *) "x",(char *) "y", NULL
5620 };
5621
994141e6 5622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5625 if (obj1) {
15afbcd0
RD
5626 arg2 = (double) SWIG_AsDouble(obj1);
5627 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
5628 }
5629 if (obj2) {
15afbcd0
RD
5630 arg3 = (double) SWIG_AsDouble(obj2);
5631 if (PyErr_Occurred()) SWIG_fail;
994141e6 5632 }
d14a1e28
RD
5633 {
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 wxPoint2D_Set(arg1,arg2,arg3);
5636
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 Py_INCREF(Py_None); resultobj = Py_None;
5641 return resultobj;
5642 fail:
5643 return NULL;
5644}
5645
5646
e811c8ce 5647static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5648 PyObject *resultobj;
5649 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5650 PyObject *result;
5651 PyObject * obj0 = 0 ;
5652 char *kwnames[] = {
5653 (char *) "self", NULL
5654 };
5655
e811c8ce 5656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5659 {
5660 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5661 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
5662
5663 wxPyEndAllowThreads(__tstate);
5664 if (PyErr_Occurred()) SWIG_fail;
5665 }
5666 resultobj = result;
5667 return resultobj;
5668 fail:
5669 return NULL;
5670}
5671
5672
5673static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
5674 PyObject *obj;
5675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5676 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5677 Py_INCREF(obj);
5678 return Py_BuildValue((char *)"");
5679}
5680static int _wrap_DefaultPosition_set(PyObject *_val) {
5681 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5682 return 1;
5683}
5684
5685
5686static PyObject *_wrap_DefaultPosition_get() {
5687 PyObject *pyobj;
5688
15afbcd0 5689 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
5690 return pyobj;
5691}
5692
5693
5694static int _wrap_DefaultSize_set(PyObject *_val) {
5695 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5696 return 1;
5697}
5698
5699
5700static PyObject *_wrap_DefaultSize_get() {
5701 PyObject *pyobj;
5702
15afbcd0 5703 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
5704 return pyobj;
5705}
5706
5707
5708static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5709 PyObject *resultobj;
5710 PyObject *arg1 = (PyObject *) 0 ;
5711 wxPyInputStream *result;
5712 PyObject * obj0 = 0 ;
5713 char *kwnames[] = {
5714 (char *) "p", NULL
5715 };
5716
5717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5718 arg1 = obj0;
5719 {
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5722
5723 wxPyEndAllowThreads(__tstate);
5724 if (PyErr_Occurred()) SWIG_fail;
5725 }
15afbcd0 5726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
d14a1e28
RD
5727 return resultobj;
5728 fail:
5729 return NULL;
5730}
5731
5732
5733static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
5734 PyObject *resultobj;
5735 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5736 PyObject * obj0 = 0 ;
5737 char *kwnames[] = {
5738 (char *) "self", NULL
5739 };
5740
5741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
15afbcd0
RD
5742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5744 {
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
5746 (arg1)->close();
5747
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 Py_INCREF(Py_None); resultobj = Py_None;
5752 return resultobj;
5753 fail:
5754 return NULL;
5755}
5756
5757
5758static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
5759 PyObject *resultobj;
5760 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5761 PyObject * obj0 = 0 ;
5762 char *kwnames[] = {
5763 (char *) "self", NULL
5764 };
5765
5766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
15afbcd0
RD
5767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5769 {
5770 PyThreadState* __tstate = wxPyBeginAllowThreads();
5771 (arg1)->flush();
5772
5773 wxPyEndAllowThreads(__tstate);
5774 if (PyErr_Occurred()) SWIG_fail;
5775 }
5776 Py_INCREF(Py_None); resultobj = Py_None;
5777 return resultobj;
5778 fail:
5779 return NULL;
5780}
5781
5782
5783static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5784 PyObject *resultobj;
5785 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5786 bool result;
5787 PyObject * obj0 = 0 ;
5788 char *kwnames[] = {
5789 (char *) "self", NULL
5790 };
5791
5792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
5793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5795 {
5796 PyThreadState* __tstate = wxPyBeginAllowThreads();
5797 result = (bool)(arg1)->eof();
5798
5799 wxPyEndAllowThreads(__tstate);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
4f89f6a3
RD
5802 {
5803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5804 }
d14a1e28
RD
5805 return resultobj;
5806 fail:
5807 return NULL;
5808}
5809
5810
5811static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
5812 PyObject *resultobj;
5813 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5814 int arg2 = (int) -1 ;
5815 PyObject *result;
5816 PyObject * obj0 = 0 ;
994141e6 5817 PyObject * obj1 = 0 ;
d14a1e28
RD
5818 char *kwnames[] = {
5819 (char *) "self",(char *) "size", NULL
5820 };
5821
994141e6 5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5825 if (obj1) {
15afbcd0
RD
5826 arg2 = (int) SWIG_AsInt(obj1);
5827 if (PyErr_Occurred()) SWIG_fail;
994141e6 5828 }
d14a1e28
RD
5829 {
5830 PyThreadState* __tstate = wxPyBeginAllowThreads();
5831 result = (PyObject *)(arg1)->read(arg2);
5832
5833 wxPyEndAllowThreads(__tstate);
5834 if (PyErr_Occurred()) SWIG_fail;
5835 }
5836 resultobj = result;
5837 return resultobj;
5838 fail:
5839 return NULL;
5840}
5841
5842
5843static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
5844 PyObject *resultobj;
5845 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5846 int arg2 = (int) -1 ;
5847 PyObject *result;
5848 PyObject * obj0 = 0 ;
994141e6 5849 PyObject * obj1 = 0 ;
d14a1e28
RD
5850 char *kwnames[] = {
5851 (char *) "self",(char *) "size", NULL
5852 };
5853
994141e6 5854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5857 if (obj1) {
15afbcd0
RD
5858 arg2 = (int) SWIG_AsInt(obj1);
5859 if (PyErr_Occurred()) SWIG_fail;
994141e6 5860 }
d14a1e28
RD
5861 {
5862 PyThreadState* __tstate = wxPyBeginAllowThreads();
5863 result = (PyObject *)(arg1)->readline(arg2);
5864
5865 wxPyEndAllowThreads(__tstate);
5866 if (PyErr_Occurred()) SWIG_fail;
5867 }
5868 resultobj = result;
5869 return resultobj;
5870 fail:
5871 return NULL;
5872}
5873
5874
5875static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
5876 PyObject *resultobj;
5877 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5878 int arg2 = (int) -1 ;
5879 PyObject *result;
5880 PyObject * obj0 = 0 ;
994141e6 5881 PyObject * obj1 = 0 ;
d14a1e28
RD
5882 char *kwnames[] = {
5883 (char *) "self",(char *) "sizehint", NULL
5884 };
5885
994141e6 5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5889 if (obj1) {
15afbcd0
RD
5890 arg2 = (int) SWIG_AsInt(obj1);
5891 if (PyErr_Occurred()) SWIG_fail;
994141e6 5892 }
d14a1e28
RD
5893 {
5894 PyThreadState* __tstate = wxPyBeginAllowThreads();
5895 result = (PyObject *)(arg1)->readlines(arg2);
5896
5897 wxPyEndAllowThreads(__tstate);
5898 if (PyErr_Occurred()) SWIG_fail;
5899 }
5900 resultobj = result;
5901 return resultobj;
5902 fail:
5903 return NULL;
5904}
5905
5906
5907static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
5908 PyObject *resultobj;
5909 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5910 int arg2 ;
5911 int arg3 = (int) 0 ;
5912 PyObject * obj0 = 0 ;
994141e6
RD
5913 PyObject * obj1 = 0 ;
5914 PyObject * obj2 = 0 ;
d14a1e28
RD
5915 char *kwnames[] = {
5916 (char *) "self",(char *) "offset",(char *) "whence", NULL
5917 };
5918
994141e6 5919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5922 arg2 = (int) SWIG_AsInt(obj1);
5923 if (PyErr_Occurred()) SWIG_fail;
994141e6 5924 if (obj2) {
15afbcd0
RD
5925 arg3 = (int) SWIG_AsInt(obj2);
5926 if (PyErr_Occurred()) SWIG_fail;
994141e6 5927 }
d14a1e28
RD
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 (arg1)->seek(arg2,arg3);
5931
5932 wxPyEndAllowThreads(__tstate);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
5935 Py_INCREF(Py_None); resultobj = Py_None;
5936 return resultobj;
5937 fail:
5938 return NULL;
5939}
5940
5941
5942static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
5943 PyObject *resultobj;
5944 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5945 int result;
5946 PyObject * obj0 = 0 ;
5947 char *kwnames[] = {
5948 (char *) "self", NULL
5949 };
5950
5951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
15afbcd0
RD
5952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5954 {
5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5956 result = (int)(arg1)->tell();
5957
5958 wxPyEndAllowThreads(__tstate);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
15afbcd0 5961 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5962 return resultobj;
5963 fail:
5964 return NULL;
5965}
5966
5967
5968static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
5969 PyObject *resultobj;
5970 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5971 char result;
5972 PyObject * obj0 = 0 ;
5973 char *kwnames[] = {
5974 (char *) "self", NULL
5975 };
5976
5977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
15afbcd0
RD
5978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5980 {
5981 PyThreadState* __tstate = wxPyBeginAllowThreads();
5982 result = (char)(arg1)->Peek();
5983
5984 wxPyEndAllowThreads(__tstate);
5985 if (PyErr_Occurred()) SWIG_fail;
5986 }
15afbcd0 5987 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5988 return resultobj;
5989 fail:
5990 return NULL;
5991}
5992
5993
5994static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
5995 PyObject *resultobj;
5996 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5997 char result;
5998 PyObject * obj0 = 0 ;
5999 char *kwnames[] = {
6000 (char *) "self", NULL
6001 };
6002
6003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
15afbcd0
RD
6004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 result = (char)(arg1)->GetC();
6009
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) SWIG_fail;
6012 }
15afbcd0 6013 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
6014 return resultobj;
6015 fail:
6016 return NULL;
6017}
6018
6019
6020static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
6021 PyObject *resultobj;
6022 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6023 size_t result;
6024 PyObject * obj0 = 0 ;
6025 char *kwnames[] = {
6026 (char *) "self", NULL
6027 };
6028
6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
6030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6032 {
6033 PyThreadState* __tstate = wxPyBeginAllowThreads();
6034 result = (size_t)(arg1)->LastRead();
6035
6036 wxPyEndAllowThreads(__tstate);
6037 if (PyErr_Occurred()) SWIG_fail;
6038 }
15afbcd0 6039 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
6040 return resultobj;
6041 fail:
6042 return NULL;
6043}
6044
6045
6046static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
6047 PyObject *resultobj;
6048 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6049 bool result;
6050 PyObject * obj0 = 0 ;
6051 char *kwnames[] = {
6052 (char *) "self", NULL
6053 };
6054
6055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
6056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6058 {
6059 PyThreadState* __tstate = wxPyBeginAllowThreads();
6060 result = (bool)(arg1)->CanRead();
6061
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
4f89f6a3
RD
6065 {
6066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6067 }
d14a1e28
RD
6068 return resultobj;
6069 fail:
6070 return NULL;
6071}
6072
6073
6074static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
6075 PyObject *resultobj;
6076 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6077 bool result;
6078 PyObject * obj0 = 0 ;
6079 char *kwnames[] = {
6080 (char *) "self", NULL
6081 };
6082
6083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
6084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 result = (bool)(arg1)->Eof();
6089
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
4f89f6a3
RD
6093 {
6094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6095 }
d14a1e28
RD
6096 return resultobj;
6097 fail:
6098 return NULL;
6099}
6100
6101
6102static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
6103 PyObject *resultobj;
6104 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6105 char arg2 ;
6106 bool result;
6107 PyObject * obj0 = 0 ;
994141e6 6108 PyObject * obj1 = 0 ;
d14a1e28
RD
6109 char *kwnames[] = {
6110 (char *) "self",(char *) "c", NULL
6111 };
6112
994141e6 6113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6116 arg2 = (char) SWIG_AsChar(obj1);
6117 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6118 {
6119 PyThreadState* __tstate = wxPyBeginAllowThreads();
6120 result = (bool)(arg1)->Ungetch(arg2);
6121
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
4f89f6a3
RD
6125 {
6126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6127 }
d14a1e28
RD
6128 return resultobj;
6129 fail:
6130 return NULL;
6131}
6132
6133
6134static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
6135 PyObject *resultobj;
6136 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6137 long arg2 ;
6138 int arg3 = (int) wxFromStart ;
6139 long result;
6140 PyObject * obj0 = 0 ;
994141e6
RD
6141 PyObject * obj1 = 0 ;
6142 PyObject * obj2 = 0 ;
d14a1e28
RD
6143 char *kwnames[] = {
6144 (char *) "self",(char *) "pos",(char *) "mode", NULL
6145 };
6146
994141e6 6147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6150 arg2 = (long) SWIG_AsLong(obj1);
6151 if (PyErr_Occurred()) SWIG_fail;
994141e6 6152 if (obj2) {
15afbcd0
RD
6153 arg3 = (wxSeekMode) SWIG_AsInt(obj2);
6154 if (PyErr_Occurred()) SWIG_fail;
994141e6 6155 }
d14a1e28
RD
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
6159
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
15afbcd0 6163 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
6164 return resultobj;
6165 fail:
6166 return NULL;
6167}
6168
6169
6170static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
6171 PyObject *resultobj;
6172 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6173 long result;
6174 PyObject * obj0 = 0 ;
6175 char *kwnames[] = {
6176 (char *) "self", NULL
6177 };
6178
6179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
15afbcd0
RD
6180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6182 {
6183 PyThreadState* __tstate = wxPyBeginAllowThreads();
6184 result = (long)(arg1)->TellI();
6185
6186 wxPyEndAllowThreads(__tstate);
6187 if (PyErr_Occurred()) SWIG_fail;
6188 }
15afbcd0 6189 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
6190 return resultobj;
6191 fail:
6192 return NULL;
6193}
6194
6195
6196static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
6197 PyObject *obj;
6198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6199 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6200 Py_INCREF(obj);
6201 return Py_BuildValue((char *)"");
6202}
6203static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
6204 PyObject *resultobj;
6205 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6206 PyObject *arg2 = (PyObject *) 0 ;
6207 PyObject * obj0 = 0 ;
6208 PyObject * obj1 = 0 ;
6209 char *kwnames[] = {
6210 (char *) "self",(char *) "obj", NULL
6211 };
6212
6213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6216 arg2 = obj1;
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 wxOutputStream_write(arg1,arg2);
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 Py_INCREF(Py_None); resultobj = Py_None;
6225 return resultobj;
6226 fail:
6227 return NULL;
6228}
6229
6230
6231static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
6232 PyObject *obj;
6233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6234 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6235 Py_INCREF(obj);
6236 return Py_BuildValue((char *)"");
6237}
6238static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6239 PyObject *resultobj;
6240 wxInputStream *arg1 = (wxInputStream *) 0 ;
6241 wxString *arg2 = 0 ;
6242 wxString *arg3 = 0 ;
6243 wxString *arg4 = 0 ;
6244 wxDateTime arg5 ;
6245 wxFSFile *result;
6246 wxPyInputStream *temp1 ;
6247 bool created1 ;
e811c8ce
RD
6248 bool temp2 = False ;
6249 bool temp3 = False ;
6250 bool temp4 = False ;
d14a1e28
RD
6251 wxDateTime *argp5 ;
6252 PyObject * obj0 = 0 ;
6253 PyObject * obj1 = 0 ;
6254 PyObject * obj2 = 0 ;
6255 PyObject * obj3 = 0 ;
6256 PyObject * obj4 = 0 ;
6257 char *kwnames[] = {
6258 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6259 };
6260
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6262 {
6263 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6264 arg1 = temp1->m_wxis;
e811c8ce 6265 created1 = False;
d14a1e28
RD
6266 } else {
6267 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 6268 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
6269 if (arg1 == NULL) {
6270 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6271 SWIG_fail;
6272 }
e811c8ce 6273 created1 = True;
d14a1e28
RD
6274 }
6275 }
6276 {
6277 arg2 = wxString_in_helper(obj1);
6278 if (arg2 == NULL) SWIG_fail;
e811c8ce 6279 temp2 = True;
d14a1e28
RD
6280 }
6281 {
6282 arg3 = wxString_in_helper(obj2);
6283 if (arg3 == NULL) SWIG_fail;
e811c8ce 6284 temp3 = True;
d14a1e28
RD
6285 }
6286 {
6287 arg4 = wxString_in_helper(obj3);
6288 if (arg4 == NULL) SWIG_fail;
e811c8ce 6289 temp4 = True;
d14a1e28 6290 }
15afbcd0
RD
6291 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6292 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6293 arg5 = *argp5;
d14a1e28
RD
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
6301 {
412d302d 6302 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
6303 }
6304 {
6305 if (created1)
6306 delete arg1;
6307 }
6308 {
6309 if (temp2)
6310 delete arg2;
6311 }
6312 {
6313 if (temp3)
6314 delete arg3;
6315 }
6316 {
6317 if (temp4)
6318 delete arg4;
6319 }
6320 return resultobj;
6321 fail:
6322 {
6323 if (created1)
6324 delete arg1;
6325 }
6326 {
6327 if (temp2)
6328 delete arg2;
6329 }
6330 {
6331 if (temp3)
6332 delete arg3;
6333 }
6334 {
6335 if (temp4)
6336 delete arg4;
6337 }
6338 return NULL;
6339}
6340
6341
6342static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6343 PyObject *resultobj;
6344 wxFSFile *arg1 = (wxFSFile *) 0 ;
6345 PyObject * obj0 = 0 ;
6346 char *kwnames[] = {
6347 (char *) "self", NULL
6348 };
6349
6350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
6351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6353 {
6354 PyThreadState* __tstate = wxPyBeginAllowThreads();
6355 delete arg1;
6356
6357 wxPyEndAllowThreads(__tstate);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 Py_INCREF(Py_None); resultobj = Py_None;
6361 return resultobj;
6362 fail:
6363 return NULL;
6364}
6365
6366
6367static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj;
6369 wxFSFile *arg1 = (wxFSFile *) 0 ;
6370 wxInputStream *result;
6371 PyObject * obj0 = 0 ;
6372 char *kwnames[] = {
6373 (char *) "self", NULL
6374 };
6375
6376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
6377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6379 {
6380 PyThreadState* __tstate = wxPyBeginAllowThreads();
6381 result = (wxInputStream *)(arg1)->GetStream();
6382
6383 wxPyEndAllowThreads(__tstate);
6384 if (PyErr_Occurred()) SWIG_fail;
6385 }
6386 {
6387 wxPyInputStream * _ptr = NULL;
6388
6389 if (result) {
6390 _ptr = new wxPyInputStream(result);
6391 }
e811c8ce 6392 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
6393 }
6394 return resultobj;
6395 fail:
6396 return NULL;
6397}
6398
6399
6400static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
6401 PyObject *resultobj;
6402 wxFSFile *arg1 = (wxFSFile *) 0 ;
6403 wxString *result;
6404 PyObject * obj0 = 0 ;
6405 char *kwnames[] = {
6406 (char *) "self", NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
6410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6412 {
6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
6414 {
6415 wxString const &_result_ref = (arg1)->GetMimeType();
6416 result = (wxString *) &_result_ref;
6417 }
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
cc6dd355
RD
6422 {
6423#if wxUSE_UNICODE
6424 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6425#else
6426 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6427#endif
6428 }
d14a1e28
RD
6429 return resultobj;
6430 fail:
6431 return NULL;
6432}
6433
6434
6435static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6436 PyObject *resultobj;
6437 wxFSFile *arg1 = (wxFSFile *) 0 ;
6438 wxString *result;
6439 PyObject * obj0 = 0 ;
6440 char *kwnames[] = {
6441 (char *) "self", NULL
6442 };
6443
6444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
6445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6447 {
6448 PyThreadState* __tstate = wxPyBeginAllowThreads();
6449 {
6450 wxString const &_result_ref = (arg1)->GetLocation();
6451 result = (wxString *) &_result_ref;
6452 }
6453
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
cc6dd355
RD
6457 {
6458#if wxUSE_UNICODE
6459 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6460#else
6461 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6462#endif
6463 }
d14a1e28
RD
6464 return resultobj;
6465 fail:
6466 return NULL;
6467}
6468
6469
6470static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6471 PyObject *resultobj;
6472 wxFSFile *arg1 = (wxFSFile *) 0 ;
6473 wxString *result;
6474 PyObject * obj0 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "self", NULL
6477 };
6478
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
15afbcd0
RD
6480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 {
6485 wxString const &_result_ref = (arg1)->GetAnchor();
6486 result = (wxString *) &_result_ref;
6487 }
6488
6489 wxPyEndAllowThreads(__tstate);
6490 if (PyErr_Occurred()) SWIG_fail;
6491 }
cc6dd355
RD
6492 {
6493#if wxUSE_UNICODE
6494 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6495#else
6496 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6497#endif
6498 }
d14a1e28
RD
6499 return resultobj;
6500 fail:
6501 return NULL;
6502}
6503
6504
6505static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6506 PyObject *resultobj;
6507 wxFSFile *arg1 = (wxFSFile *) 0 ;
6508 wxDateTime result;
6509 PyObject * obj0 = 0 ;
6510 char *kwnames[] = {
6511 (char *) "self", NULL
6512 };
6513
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
6515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 result = (arg1)->GetModificationTime();
6520
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 {
6525 wxDateTime * resultptr;
6526 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 6527 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
6528 }
6529 return resultobj;
6530 fail:
6531 return NULL;
6532}
6533
6534
6535static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
6536 PyObject *obj;
6537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6538 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6539 Py_INCREF(obj);
6540 return Py_BuildValue((char *)"");
6541}
6542static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6543 PyObject *obj;
6544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6545 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6546 Py_INCREF(obj);
6547 return Py_BuildValue((char *)"");
6548}
6549static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6550 PyObject *resultobj;
6551 wxPyFileSystemHandler *result;
6552 char *kwnames[] = {
6553 NULL
6554 };
6555
6556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6557 {
6558 PyThreadState* __tstate = wxPyBeginAllowThreads();
6559 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6560
6561 wxPyEndAllowThreads(__tstate);
6562 if (PyErr_Occurred()) SWIG_fail;
6563 }
15afbcd0 6564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
d14a1e28
RD
6565 return resultobj;
6566 fail:
6567 return NULL;
6568}
6569
6570
6571static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6572 PyObject *resultobj;
6573 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6574 PyObject *arg2 = (PyObject *) 0 ;
6575 PyObject *arg3 = (PyObject *) 0 ;
6576 PyObject * obj0 = 0 ;
6577 PyObject * obj1 = 0 ;
6578 PyObject * obj2 = 0 ;
6579 char *kwnames[] = {
6580 (char *) "self",(char *) "self",(char *) "_class", NULL
6581 };
6582
6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6586 arg2 = obj1;
6587 arg3 = obj2;
6588 {
6589 PyThreadState* __tstate = wxPyBeginAllowThreads();
6590 (arg1)->_setCallbackInfo(arg2,arg3);
6591
6592 wxPyEndAllowThreads(__tstate);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 }
6595 Py_INCREF(Py_None); resultobj = Py_None;
6596 return resultobj;
6597 fail:
6598 return NULL;
6599}
6600
6601
6602static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6603 PyObject *resultobj;
6604 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6605 wxString *arg2 = 0 ;
6606 bool result;
e811c8ce 6607 bool temp2 = False ;
d14a1e28
RD
6608 PyObject * obj0 = 0 ;
6609 PyObject * obj1 = 0 ;
6610 char *kwnames[] = {
6611 (char *) "self",(char *) "location", NULL
6612 };
6613
6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6617 {
6618 arg2 = wxString_in_helper(obj1);
6619 if (arg2 == NULL) SWIG_fail;
e811c8ce 6620 temp2 = True;
d14a1e28
RD
6621 }
6622 {
6623 PyThreadState* __tstate = wxPyBeginAllowThreads();
6624 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6625
6626 wxPyEndAllowThreads(__tstate);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
4f89f6a3
RD
6629 {
6630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6631 }
d14a1e28
RD
6632 {
6633 if (temp2)
6634 delete arg2;
6635 }
6636 return resultobj;
6637 fail:
6638 {
6639 if (temp2)
6640 delete arg2;
6641 }
6642 return NULL;
6643}
6644
6645
6646static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6647 PyObject *resultobj;
6648 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6649 wxFileSystem *arg2 = 0 ;
6650 wxString *arg3 = 0 ;
6651 wxFSFile *result;
e811c8ce 6652 bool temp3 = False ;
d14a1e28
RD
6653 PyObject * obj0 = 0 ;
6654 PyObject * obj1 = 0 ;
6655 PyObject * obj2 = 0 ;
6656 char *kwnames[] = {
6657 (char *) "self",(char *) "fs",(char *) "location", NULL
6658 };
6659
6660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6664 SWIG_POINTER_EXCEPTION | 0)) == -1)
6665 SWIG_fail;
d14a1e28 6666 if (arg2 == NULL) {
15afbcd0
RD
6667 PyErr_SetString(PyExc_TypeError,"null reference");
6668 SWIG_fail;
d14a1e28
RD
6669 }
6670 {
6671 arg3 = wxString_in_helper(obj2);
6672 if (arg3 == NULL) SWIG_fail;
e811c8ce 6673 temp3 = True;
d14a1e28
RD
6674 }
6675 {
6676 PyThreadState* __tstate = wxPyBeginAllowThreads();
6677 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6678
6679 wxPyEndAllowThreads(__tstate);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 }
6682 {
412d302d 6683 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6684 }
6685 {
6686 if (temp3)
6687 delete arg3;
6688 }
6689 return resultobj;
6690 fail:
6691 {
6692 if (temp3)
6693 delete arg3;
6694 }
6695 return NULL;
6696}
6697
6698
6699static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6700 PyObject *resultobj;
6701 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6702 wxString *arg2 = 0 ;
6703 int arg3 = (int) 0 ;
6704 wxString result;
e811c8ce 6705 bool temp2 = False ;
d14a1e28
RD
6706 PyObject * obj0 = 0 ;
6707 PyObject * obj1 = 0 ;
994141e6 6708 PyObject * obj2 = 0 ;
d14a1e28
RD
6709 char *kwnames[] = {
6710 (char *) "self",(char *) "spec",(char *) "flags", NULL
6711 };
6712
994141e6 6713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6716 {
6717 arg2 = wxString_in_helper(obj1);
6718 if (arg2 == NULL) SWIG_fail;
e811c8ce 6719 temp2 = True;
d14a1e28 6720 }
994141e6 6721 if (obj2) {
15afbcd0
RD
6722 arg3 = (int) SWIG_AsInt(obj2);
6723 if (PyErr_Occurred()) SWIG_fail;
994141e6 6724 }
d14a1e28
RD
6725 {
6726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6727 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6728
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 {
6733#if wxUSE_UNICODE
6734 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6735#else
6736 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6737#endif
6738 }
6739 {
6740 if (temp2)
6741 delete arg2;
6742 }
6743 return resultobj;
6744 fail:
6745 {
6746 if (temp2)
6747 delete arg2;
6748 }
6749 return NULL;
6750}
6751
6752
6753static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6754 PyObject *resultobj;
6755 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6756 wxString result;
6757 PyObject * obj0 = 0 ;
6758 char *kwnames[] = {
6759 (char *) "self", NULL
6760 };
6761
6762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
6763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6765 {
6766 PyThreadState* __tstate = wxPyBeginAllowThreads();
6767 result = (arg1)->FindNext();
6768
6769 wxPyEndAllowThreads(__tstate);
6770 if (PyErr_Occurred()) SWIG_fail;
6771 }
6772 {
6773#if wxUSE_UNICODE
6774 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6775#else
6776 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6777#endif
6778 }
6779 return resultobj;
6780 fail:
6781 return NULL;
6782}
6783
6784
6785static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
6786 PyObject *resultobj;
6787 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6788 wxString *arg2 = 0 ;
6789 wxString result;
e811c8ce 6790 bool temp2 = False ;
d14a1e28
RD
6791 PyObject * obj0 = 0 ;
6792 PyObject * obj1 = 0 ;
6793 char *kwnames[] = {
6794 (char *) "self",(char *) "location", NULL
6795 };
6796
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6800 {
6801 arg2 = wxString_in_helper(obj1);
6802 if (arg2 == NULL) SWIG_fail;
e811c8ce 6803 temp2 = True;
d14a1e28
RD
6804 }
6805 {
6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
6807 result = (arg1)->GetProtocol((wxString const &)*arg2);
6808
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 {
6813#if wxUSE_UNICODE
6814 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6815#else
6816 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6817#endif
6818 }
6819 {
6820 if (temp2)
6821 delete arg2;
6822 }
6823 return resultobj;
6824 fail:
6825 {
6826 if (temp2)
6827 delete arg2;
6828 }
6829 return NULL;
6830}
6831
6832
6833static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6834 PyObject *resultobj;
6835 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6836 wxString *arg2 = 0 ;
6837 wxString result;
e811c8ce 6838 bool temp2 = False ;
d14a1e28
RD
6839 PyObject * obj0 = 0 ;
6840 PyObject * obj1 = 0 ;
6841 char *kwnames[] = {
6842 (char *) "self",(char *) "location", NULL
6843 };
6844
6845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6848 {
6849 arg2 = wxString_in_helper(obj1);
6850 if (arg2 == NULL) SWIG_fail;
e811c8ce 6851 temp2 = True;
d14a1e28
RD
6852 }
6853 {
6854 PyThreadState* __tstate = wxPyBeginAllowThreads();
6855 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
6856
6857 wxPyEndAllowThreads(__tstate);
6858 if (PyErr_Occurred()) SWIG_fail;
6859 }
6860 {
6861#if wxUSE_UNICODE
6862 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6863#else
6864 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6865#endif
6866 }
6867 {
6868 if (temp2)
6869 delete arg2;
6870 }
6871 return resultobj;
6872 fail:
6873 {
6874 if (temp2)
6875 delete arg2;
6876 }
6877 return NULL;
6878}
6879
6880
6881static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6882 PyObject *resultobj;
6883 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6884 wxString *arg2 = 0 ;
6885 wxString result;
e811c8ce 6886 bool temp2 = False ;
d14a1e28
RD
6887 PyObject * obj0 = 0 ;
6888 PyObject * obj1 = 0 ;
6889 char *kwnames[] = {
6890 (char *) "self",(char *) "location", NULL
6891 };
6892
6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6896 {
6897 arg2 = wxString_in_helper(obj1);
6898 if (arg2 == NULL) SWIG_fail;
e811c8ce 6899 temp2 = True;
d14a1e28
RD
6900 }
6901 {
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 result = (arg1)->GetAnchor((wxString const &)*arg2);
6904
6905 wxPyEndAllowThreads(__tstate);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 {
6909#if wxUSE_UNICODE
6910 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6911#else
6912 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6913#endif
6914 }
6915 {
6916 if (temp2)
6917 delete arg2;
6918 }
6919 return resultobj;
6920 fail:
6921 {
6922 if (temp2)
6923 delete arg2;
6924 }
6925 return NULL;
6926}
6927
6928
6929static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6930 PyObject *resultobj;
6931 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6932 wxString *arg2 = 0 ;
6933 wxString result;
e811c8ce 6934 bool temp2 = False ;
d14a1e28
RD
6935 PyObject * obj0 = 0 ;
6936 PyObject * obj1 = 0 ;
6937 char *kwnames[] = {
6938 (char *) "self",(char *) "location", NULL
6939 };
6940
6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6944 {
6945 arg2 = wxString_in_helper(obj1);
6946 if (arg2 == NULL) SWIG_fail;
e811c8ce 6947 temp2 = True;
d14a1e28
RD
6948 }
6949 {
6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
6951 result = (arg1)->GetRightLocation((wxString const &)*arg2);
6952
6953 wxPyEndAllowThreads(__tstate);
6954 if (PyErr_Occurred()) SWIG_fail;
6955 }
6956 {
6957#if wxUSE_UNICODE
6958 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6959#else
6960 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6961#endif
6962 }
6963 {
6964 if (temp2)
6965 delete arg2;
6966 }
6967 return resultobj;
6968 fail:
6969 {
6970 if (temp2)
6971 delete arg2;
6972 }
6973 return NULL;
6974}
6975
6976
6977static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
6978 PyObject *resultobj;
6979 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6980 wxString *arg2 = 0 ;
6981 wxString result;
e811c8ce 6982 bool temp2 = False ;
d14a1e28
RD
6983 PyObject * obj0 = 0 ;
6984 PyObject * obj1 = 0 ;
6985 char *kwnames[] = {
6986 (char *) "self",(char *) "location", NULL
6987 };
6988
6989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6992 {
6993 arg2 = wxString_in_helper(obj1);
6994 if (arg2 == NULL) SWIG_fail;
e811c8ce 6995 temp2 = True;
d14a1e28
RD
6996 }
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 {
7005#if wxUSE_UNICODE
7006 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7007#else
7008 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7009#endif
7010 }
7011 {
7012 if (temp2)
7013 delete arg2;
7014 }
7015 return resultobj;
7016 fail:
7017 {
7018 if (temp2)
7019 delete arg2;
7020 }
7021 return NULL;
7022}
7023
7024
7025static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
7026 PyObject *obj;
7027 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7028 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
7029 Py_INCREF(obj);
7030 return Py_BuildValue((char *)"");
7031}
7032static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
7033 PyObject *resultobj;
7034 wxFileSystem *result;
7035 char *kwnames[] = {
7036 NULL
7037 };
7038
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 result = (wxFileSystem *)new wxFileSystem();
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 {
412d302d 7048 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
7049 }
7050 return resultobj;
7051 fail:
7052 return NULL;
7053}
7054
7055
7056static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj;
7058 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7059 PyObject * obj0 = 0 ;
7060 char *kwnames[] = {
7061 (char *) "self", NULL
7062 };
7063
7064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
15afbcd0
RD
7065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7067 {
7068 PyThreadState* __tstate = wxPyBeginAllowThreads();
7069 delete arg1;
7070
7071 wxPyEndAllowThreads(__tstate);
7072 if (PyErr_Occurred()) SWIG_fail;
7073 }
7074 Py_INCREF(Py_None); resultobj = Py_None;
7075 return resultobj;
7076 fail:
7077 return NULL;
7078}
7079
7080
7081static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
7082 PyObject *resultobj;
7083 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7084 wxString *arg2 = 0 ;
e811c8ce
RD
7085 bool arg3 = (bool) False ;
7086 bool temp2 = False ;
d14a1e28
RD
7087 PyObject * obj0 = 0 ;
7088 PyObject * obj1 = 0 ;
7089 PyObject * obj2 = 0 ;
7090 char *kwnames[] = {
7091 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7092 };
7093
7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7097 {
7098 arg2 = wxString_in_helper(obj1);
7099 if (arg2 == NULL) SWIG_fail;
e811c8ce 7100 temp2 = True;
d14a1e28
RD
7101 }
7102 if (obj2) {
15afbcd0
RD
7103 arg3 = (bool) SWIG_AsBool(obj2);
7104 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7105 }
7106 {
7107 PyThreadState* __tstate = wxPyBeginAllowThreads();
7108 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
7109
7110 wxPyEndAllowThreads(__tstate);
7111 if (PyErr_Occurred()) SWIG_fail;
7112 }
7113 Py_INCREF(Py_None); resultobj = Py_None;
7114 {
7115 if (temp2)
7116 delete arg2;
7117 }
7118 return resultobj;
7119 fail:
7120 {
7121 if (temp2)
7122 delete arg2;
7123 }
7124 return NULL;
7125}
7126
7127
7128static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
7129 PyObject *resultobj;
7130 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7131 wxString result;
7132 PyObject * obj0 = 0 ;
7133 char *kwnames[] = {
7134 (char *) "self", NULL
7135 };
7136
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
7138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7140 {
7141 PyThreadState* __tstate = wxPyBeginAllowThreads();
7142 result = (arg1)->GetPath();
7143
7144 wxPyEndAllowThreads(__tstate);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 }
7147 {
7148#if wxUSE_UNICODE
7149 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7150#else
7151 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7152#endif
7153 }
7154 return resultobj;
7155 fail:
7156 return NULL;
7157}
7158
7159
7160static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7161 PyObject *resultobj;
7162 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7163 wxString *arg2 = 0 ;
7164 wxFSFile *result;
e811c8ce 7165 bool temp2 = False ;
d14a1e28
RD
7166 PyObject * obj0 = 0 ;
7167 PyObject * obj1 = 0 ;
7168 char *kwnames[] = {
7169 (char *) "self",(char *) "location", NULL
7170 };
7171
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7175 {
7176 arg2 = wxString_in_helper(obj1);
7177 if (arg2 == NULL) SWIG_fail;
e811c8ce 7178 temp2 = True;
d14a1e28
RD
7179 }
7180 {
7181 PyThreadState* __tstate = wxPyBeginAllowThreads();
7182 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
7183
7184 wxPyEndAllowThreads(__tstate);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 }
7187 {
412d302d 7188 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7189 }
7190 {
7191 if (temp2)
7192 delete arg2;
7193 }
7194 return resultobj;
7195 fail:
7196 {
7197 if (temp2)
7198 delete arg2;
7199 }
7200 return NULL;
7201}
7202
7203
7204static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7205 PyObject *resultobj;
7206 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7207 wxString *arg2 = 0 ;
7208 int arg3 = (int) 0 ;
7209 wxString result;
e811c8ce 7210 bool temp2 = False ;
d14a1e28
RD
7211 PyObject * obj0 = 0 ;
7212 PyObject * obj1 = 0 ;
994141e6 7213 PyObject * obj2 = 0 ;
d14a1e28
RD
7214 char *kwnames[] = {
7215 (char *) "self",(char *) "spec",(char *) "flags", NULL
7216 };
7217
994141e6 7218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7221 {
7222 arg2 = wxString_in_helper(obj1);
7223 if (arg2 == NULL) SWIG_fail;
e811c8ce 7224 temp2 = True;
d14a1e28 7225 }
994141e6 7226 if (obj2) {
15afbcd0
RD
7227 arg3 = (int) SWIG_AsInt(obj2);
7228 if (PyErr_Occurred()) SWIG_fail;
994141e6 7229 }
d14a1e28
RD
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 {
7238#if wxUSE_UNICODE
7239 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7240#else
7241 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7242#endif
7243 }
7244 {
7245 if (temp2)
7246 delete arg2;
7247 }
7248 return resultobj;
7249 fail:
7250 {
7251 if (temp2)
7252 delete arg2;
7253 }
7254 return NULL;
7255}
7256
7257
7258static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7259 PyObject *resultobj;
7260 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7261 wxString result;
7262 PyObject * obj0 = 0 ;
7263 char *kwnames[] = {
7264 (char *) "self", NULL
7265 };
7266
7267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7270 {
7271 PyThreadState* __tstate = wxPyBeginAllowThreads();
7272 result = (arg1)->FindNext();
7273
7274 wxPyEndAllowThreads(__tstate);
7275 if (PyErr_Occurred()) SWIG_fail;
7276 }
7277 {
7278#if wxUSE_UNICODE
7279 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7280#else
7281 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7282#endif
7283 }
7284 return resultobj;
7285 fail:
7286 return NULL;
7287}
7288
7289
7290static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7291 PyObject *resultobj;
7292 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7293 PyObject * obj0 = 0 ;
7294 char *kwnames[] = {
7295 (char *) "handler", NULL
7296 };
7297
7298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
7299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7301 {
7302 PyThreadState* __tstate = wxPyBeginAllowThreads();
7303 wxFileSystem::AddHandler(arg1);
7304
7305 wxPyEndAllowThreads(__tstate);
7306 if (PyErr_Occurred()) SWIG_fail;
7307 }
7308 Py_INCREF(Py_None); resultobj = Py_None;
7309 return resultobj;
7310 fail:
7311 return NULL;
7312}
7313
7314
7315static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
7316 PyObject *resultobj;
7317 char *kwnames[] = {
7318 NULL
7319 };
7320
7321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 wxFileSystem::CleanUpHandlers();
7325
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 Py_INCREF(Py_None); resultobj = Py_None;
7330 return resultobj;
7331 fail:
7332 return NULL;
7333}
7334
7335
7336static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
7337 PyObject *resultobj;
7338 wxString *arg1 = 0 ;
7339 wxString result;
e811c8ce 7340 bool temp1 = False ;
d14a1e28
RD
7341 PyObject * obj0 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "filename", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7347 {
7348 arg1 = wxString_in_helper(obj0);
7349 if (arg1 == NULL) SWIG_fail;
e811c8ce 7350 temp1 = True;
d14a1e28
RD
7351 }
7352 {
7353 PyThreadState* __tstate = wxPyBeginAllowThreads();
7354 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7355
7356 wxPyEndAllowThreads(__tstate);
7357 if (PyErr_Occurred()) SWIG_fail;
7358 }
7359 {
7360#if wxUSE_UNICODE
7361 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7362#else
7363 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7364#endif
7365 }
7366 {
7367 if (temp1)
7368 delete arg1;
7369 }
7370 return resultobj;
7371 fail:
7372 {
7373 if (temp1)
7374 delete arg1;
7375 }
7376 return NULL;
7377}
7378
7379
7380static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
7381 PyObject *obj;
7382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7383 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7384 Py_INCREF(obj);
7385 return Py_BuildValue((char *)"");
7386}
7387static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
7388 PyObject *resultobj;
7389 wxString *arg1 = 0 ;
7390 wxString result;
e811c8ce 7391 bool temp1 = False ;
d14a1e28
RD
7392 PyObject * obj0 = 0 ;
7393 char *kwnames[] = {
7394 (char *) "url", NULL
7395 };
7396
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7398 {
7399 arg1 = wxString_in_helper(obj0);
7400 if (arg1 == NULL) SWIG_fail;
e811c8ce 7401 temp1 = True;
d14a1e28
RD
7402 }
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
7406
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 {
7411#if wxUSE_UNICODE
7412 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7413#else
7414 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7415#endif
7416 }
7417 {
7418 if (temp1)
7419 delete arg1;
7420 }
7421 return resultobj;
7422 fail:
7423 {
7424 if (temp1)
7425 delete arg1;
7426 }
7427 return NULL;
7428}
7429
7430
7431static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7432 PyObject *resultobj;
7433 wxInternetFSHandler *result;
7434 char *kwnames[] = {
7435 NULL
7436 };
7437
7438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7439 {
7440 PyThreadState* __tstate = wxPyBeginAllowThreads();
7441 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7442
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
15afbcd0 7446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
d14a1e28
RD
7447 return resultobj;
7448 fail:
7449 return NULL;
7450}
7451
7452
7453static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj;
7455 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7456 wxString *arg2 = 0 ;
7457 bool result;
e811c8ce 7458 bool temp2 = False ;
d14a1e28
RD
7459 PyObject * obj0 = 0 ;
7460 PyObject * obj1 = 0 ;
7461 char *kwnames[] = {
7462 (char *) "self",(char *) "location", NULL
7463 };
7464
7465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7468 {
7469 arg2 = wxString_in_helper(obj1);
7470 if (arg2 == NULL) SWIG_fail;
e811c8ce 7471 temp2 = True;
d14a1e28
RD
7472 }
7473 {
7474 PyThreadState* __tstate = wxPyBeginAllowThreads();
7475 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7476
7477 wxPyEndAllowThreads(__tstate);
7478 if (PyErr_Occurred()) SWIG_fail;
7479 }
4f89f6a3
RD
7480 {
7481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7482 }
d14a1e28
RD
7483 {
7484 if (temp2)
7485 delete arg2;
7486 }
7487 return resultobj;
7488 fail:
7489 {
7490 if (temp2)
7491 delete arg2;
7492 }
7493 return NULL;
7494}
7495
7496
7497static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7498 PyObject *resultobj;
7499 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7500 wxFileSystem *arg2 = 0 ;
7501 wxString *arg3 = 0 ;
7502 wxFSFile *result;
e811c8ce 7503 bool temp3 = False ;
d14a1e28
RD
7504 PyObject * obj0 = 0 ;
7505 PyObject * obj1 = 0 ;
7506 PyObject * obj2 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "self",(char *) "fs",(char *) "location", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7515 SWIG_POINTER_EXCEPTION | 0)) == -1)
7516 SWIG_fail;
d14a1e28 7517 if (arg2 == NULL) {
15afbcd0
RD
7518 PyErr_SetString(PyExc_TypeError,"null reference");
7519 SWIG_fail;
d14a1e28
RD
7520 }
7521 {
7522 arg3 = wxString_in_helper(obj2);
7523 if (arg3 == NULL) SWIG_fail;
e811c8ce 7524 temp3 = True;
d14a1e28
RD
7525 }
7526 {
7527 PyThreadState* __tstate = wxPyBeginAllowThreads();
7528 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7529
7530 wxPyEndAllowThreads(__tstate);
7531 if (PyErr_Occurred()) SWIG_fail;
7532 }
7533 {
412d302d 7534 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7535 }
7536 {
7537 if (temp3)
7538 delete arg3;
7539 }
7540 return resultobj;
7541 fail:
7542 {
7543 if (temp3)
7544 delete arg3;
7545 }
7546 return NULL;
7547}
7548
7549
7550static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
7551 PyObject *obj;
7552 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7553 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7554 Py_INCREF(obj);
7555 return Py_BuildValue((char *)"");
7556}
7557static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7558 PyObject *resultobj;
7559 wxZipFSHandler *result;
7560 char *kwnames[] = {
7561 NULL
7562 };
7563
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7565 {
7566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7567 result = (wxZipFSHandler *)new wxZipFSHandler();
7568
7569 wxPyEndAllowThreads(__tstate);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 }
15afbcd0 7572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
d14a1e28
RD
7573 return resultobj;
7574 fail:
7575 return NULL;
7576}
7577
7578
7579static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7580 PyObject *resultobj;
7581 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7582 wxString *arg2 = 0 ;
7583 bool result;
e811c8ce 7584 bool temp2 = False ;
d14a1e28
RD
7585 PyObject * obj0 = 0 ;
7586 PyObject * obj1 = 0 ;
7587 char *kwnames[] = {
7588 (char *) "self",(char *) "location", NULL
7589 };
7590
7591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7594 {
7595 arg2 = wxString_in_helper(obj1);
7596 if (arg2 == NULL) SWIG_fail;
e811c8ce 7597 temp2 = True;
d14a1e28
RD
7598 }
7599 {
7600 PyThreadState* __tstate = wxPyBeginAllowThreads();
7601 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7602
7603 wxPyEndAllowThreads(__tstate);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
4f89f6a3
RD
7606 {
7607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7608 }
d14a1e28
RD
7609 {
7610 if (temp2)
7611 delete arg2;
7612 }
7613 return resultobj;
7614 fail:
7615 {
7616 if (temp2)
7617 delete arg2;
7618 }
7619 return NULL;
7620}
7621
7622
7623static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7624 PyObject *resultobj;
7625 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7626 wxFileSystem *arg2 = 0 ;
7627 wxString *arg3 = 0 ;
7628 wxFSFile *result;
e811c8ce 7629 bool temp3 = False ;
d14a1e28
RD
7630 PyObject * obj0 = 0 ;
7631 PyObject * obj1 = 0 ;
7632 PyObject * obj2 = 0 ;
7633 char *kwnames[] = {
7634 (char *) "self",(char *) "fs",(char *) "location", NULL
7635 };
7636
7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7641 SWIG_POINTER_EXCEPTION | 0)) == -1)
7642 SWIG_fail;
d14a1e28 7643 if (arg2 == NULL) {
15afbcd0
RD
7644 PyErr_SetString(PyExc_TypeError,"null reference");
7645 SWIG_fail;
d14a1e28
RD
7646 }
7647 {
7648 arg3 = wxString_in_helper(obj2);
7649 if (arg3 == NULL) SWIG_fail;
e811c8ce 7650 temp3 = True;
d14a1e28
RD
7651 }
7652 {
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 {
412d302d 7660 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7661 }
7662 {
7663 if (temp3)
7664 delete arg3;
7665 }
7666 return resultobj;
7667 fail:
7668 {
7669 if (temp3)
7670 delete arg3;
7671 }
7672 return NULL;
7673}
7674
7675
7676static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj;
7678 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7679 wxString *arg2 = 0 ;
7680 int arg3 = (int) 0 ;
7681 wxString result;
e811c8ce 7682 bool temp2 = False ;
d14a1e28
RD
7683 PyObject * obj0 = 0 ;
7684 PyObject * obj1 = 0 ;
994141e6 7685 PyObject * obj2 = 0 ;
d14a1e28
RD
7686 char *kwnames[] = {
7687 (char *) "self",(char *) "spec",(char *) "flags", NULL
7688 };
7689
994141e6 7690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7693 {
7694 arg2 = wxString_in_helper(obj1);
7695 if (arg2 == NULL) SWIG_fail;
e811c8ce 7696 temp2 = True;
d14a1e28 7697 }
994141e6 7698 if (obj2) {
15afbcd0
RD
7699 arg3 = (int) SWIG_AsInt(obj2);
7700 if (PyErr_Occurred()) SWIG_fail;
994141e6 7701 }
d14a1e28
RD
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 {
7710#if wxUSE_UNICODE
7711 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7712#else
7713 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7714#endif
7715 }
7716 {
7717 if (temp2)
7718 delete arg2;
7719 }
7720 return resultobj;
7721 fail:
7722 {
7723 if (temp2)
7724 delete arg2;
7725 }
7726 return NULL;
7727}
7728
7729
7730static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7731 PyObject *resultobj;
7732 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7733 wxString result;
7734 PyObject * obj0 = 0 ;
7735 char *kwnames[] = {
7736 (char *) "self", NULL
7737 };
7738
7739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 result = (arg1)->FindNext();
7745
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 {
7750#if wxUSE_UNICODE
7751 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7752#else
7753 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7754#endif
7755 }
7756 return resultobj;
7757 fail:
7758 return NULL;
7759}
7760
7761
7762static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
7763 PyObject *obj;
7764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7765 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7766 Py_INCREF(obj);
7767 return Py_BuildValue((char *)"");
7768}
7769static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7770 PyObject *resultobj;
7771 wxString *arg1 = 0 ;
7772 wxImage *arg2 = 0 ;
7773 long arg3 ;
e811c8ce 7774 bool temp1 = False ;
d14a1e28
RD
7775 PyObject * obj0 = 0 ;
7776 PyObject * obj1 = 0 ;
994141e6 7777 PyObject * obj2 = 0 ;
d14a1e28
RD
7778 char *kwnames[] = {
7779 (char *) "filename",(char *) "image",(char *) "type", NULL
7780 };
7781
994141e6 7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7783 {
7784 arg1 = wxString_in_helper(obj0);
7785 if (arg1 == NULL) SWIG_fail;
e811c8ce 7786 temp1 = True;
d14a1e28 7787 }
15afbcd0
RD
7788 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
7789 SWIG_POINTER_EXCEPTION | 0)) == -1)
7790 SWIG_fail;
d14a1e28 7791 if (arg2 == NULL) {
15afbcd0
RD
7792 PyErr_SetString(PyExc_TypeError,"null reference");
7793 SWIG_fail;
994141e6 7794 }
15afbcd0
RD
7795 arg3 = (long) SWIG_AsLong(obj2);
7796 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7797 {
7798 PyThreadState* __tstate = wxPyBeginAllowThreads();
7799 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
7800
7801 wxPyEndAllowThreads(__tstate);
7802 if (PyErr_Occurred()) SWIG_fail;
7803 }
7804 Py_INCREF(Py_None); resultobj = Py_None;
7805 {
7806 if (temp1)
7807 delete arg1;
7808 }
7809 return resultobj;
7810 fail:
7811 {
7812 if (temp1)
7813 delete arg1;
7814 }
7815 return NULL;
7816}
7817
7818
7819static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7820 PyObject *resultobj;
7821 wxString *arg1 = 0 ;
7822 wxBitmap *arg2 = 0 ;
7823 long arg3 ;
e811c8ce 7824 bool temp1 = False ;
d14a1e28
RD
7825 PyObject * obj0 = 0 ;
7826 PyObject * obj1 = 0 ;
994141e6 7827 PyObject * obj2 = 0 ;
d14a1e28
RD
7828 char *kwnames[] = {
7829 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7830 };
7831
994141e6 7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7833 {
7834 arg1 = wxString_in_helper(obj0);
7835 if (arg1 == NULL) SWIG_fail;
e811c8ce 7836 temp1 = True;
d14a1e28 7837 }
15afbcd0
RD
7838 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
7839 SWIG_POINTER_EXCEPTION | 0)) == -1)
7840 SWIG_fail;
d14a1e28 7841 if (arg2 == NULL) {
15afbcd0
RD
7842 PyErr_SetString(PyExc_TypeError,"null reference");
7843 SWIG_fail;
994141e6 7844 }
15afbcd0
RD
7845 arg3 = (long) SWIG_AsLong(obj2);
7846 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7847 {
7848 PyThreadState* __tstate = wxPyBeginAllowThreads();
7849 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
7850
7851 wxPyEndAllowThreads(__tstate);
7852 if (PyErr_Occurred()) SWIG_fail;
7853 }
7854 Py_INCREF(Py_None); resultobj = Py_None;
7855 {
7856 if (temp1)
7857 delete arg1;
7858 }
7859 return resultobj;
7860 fail:
7861 {
7862 if (temp1)
7863 delete arg1;
7864 }
7865 return NULL;
7866}
7867
7868
7869static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
7870 PyObject *resultobj;
7871 wxString *arg1 = 0 ;
7872 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 7873 bool temp1 = False ;
d14a1e28
RD
7874 PyObject * obj0 = 0 ;
7875 PyObject * obj1 = 0 ;
7876 char *kwnames[] = {
7877 (char *) "filename",(char *) "data", NULL
7878 };
7879
7880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
7881 {
7882 arg1 = wxString_in_helper(obj0);
7883 if (arg1 == NULL) SWIG_fail;
e811c8ce 7884 temp1 = True;
d14a1e28
RD
7885 }
7886 arg2 = obj1;
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 Py_INCREF(Py_None); resultobj = Py_None;
7895 {
7896 if (temp1)
7897 delete arg1;
7898 }
7899 return resultobj;
7900 fail:
7901 {
7902 if (temp1)
7903 delete arg1;
7904 }
7905 return NULL;
7906}
7907
7908
7909static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7910 PyObject *resultobj;
7911 wxMemoryFSHandler *result;
7912 char *kwnames[] = {
7913 NULL
7914 };
7915
7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
7920
7921 wxPyEndAllowThreads(__tstate);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 }
15afbcd0 7924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
d14a1e28
RD
7925 return resultobj;
7926 fail:
7927 return NULL;
7928}
7929
7930
7931static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7932 PyObject *resultobj;
7933 wxString *arg1 = 0 ;
e811c8ce 7934 bool temp1 = False ;
d14a1e28
RD
7935 PyObject * obj0 = 0 ;
7936 char *kwnames[] = {
7937 (char *) "filename", NULL
7938 };
7939
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
7941 {
7942 arg1 = wxString_in_helper(obj0);
7943 if (arg1 == NULL) SWIG_fail;
e811c8ce 7944 temp1 = True;
d14a1e28
RD
7945 }
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 Py_INCREF(Py_None); resultobj = Py_None;
7954 {
7955 if (temp1)
7956 delete arg1;
7957 }
7958 return resultobj;
7959 fail:
7960 {
7961 if (temp1)
7962 delete arg1;
7963 }
7964 return NULL;
7965}
7966
7967
7968static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7969 PyObject *resultobj;
7970 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7971 wxString *arg2 = 0 ;
7972 bool result;
e811c8ce 7973 bool temp2 = False ;
d14a1e28
RD
7974 PyObject * obj0 = 0 ;
7975 PyObject * obj1 = 0 ;
7976 char *kwnames[] = {
7977 (char *) "self",(char *) "location", NULL
7978 };
7979
7980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7983 {
7984 arg2 = wxString_in_helper(obj1);
7985 if (arg2 == NULL) SWIG_fail;
e811c8ce 7986 temp2 = True;
d14a1e28
RD
7987 }
7988 {
7989 PyThreadState* __tstate = wxPyBeginAllowThreads();
7990 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7991
7992 wxPyEndAllowThreads(__tstate);
7993 if (PyErr_Occurred()) SWIG_fail;
7994 }
4f89f6a3
RD
7995 {
7996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7997 }
d14a1e28
RD
7998 {
7999 if (temp2)
8000 delete arg2;
8001 }
8002 return resultobj;
8003 fail:
8004 {
8005 if (temp2)
8006 delete arg2;
8007 }
8008 return NULL;
8009}
8010
8011
8012static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8013 PyObject *resultobj;
8014 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8015 wxFileSystem *arg2 = 0 ;
8016 wxString *arg3 = 0 ;
8017 wxFSFile *result;
e811c8ce 8018 bool temp3 = False ;
d14a1e28
RD
8019 PyObject * obj0 = 0 ;
8020 PyObject * obj1 = 0 ;
8021 PyObject * obj2 = 0 ;
8022 char *kwnames[] = {
8023 (char *) "self",(char *) "fs",(char *) "location", NULL
8024 };
8025
8026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8029 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
8030 SWIG_POINTER_EXCEPTION | 0)) == -1)
8031 SWIG_fail;
d14a1e28 8032 if (arg2 == NULL) {
15afbcd0
RD
8033 PyErr_SetString(PyExc_TypeError,"null reference");
8034 SWIG_fail;
d14a1e28
RD
8035 }
8036 {
8037 arg3 = wxString_in_helper(obj2);
8038 if (arg3 == NULL) SWIG_fail;
e811c8ce 8039 temp3 = True;
d14a1e28
RD
8040 }
8041 {
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
8044
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
8048 {
412d302d 8049 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
8050 }
8051 {
8052 if (temp3)
8053 delete arg3;
8054 }
8055 return resultobj;
8056 fail:
8057 {
8058 if (temp3)
8059 delete arg3;
8060 }
8061 return NULL;
8062}
8063
8064
8065static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
8066 PyObject *resultobj;
8067 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8068 wxString *arg2 = 0 ;
8069 int arg3 = (int) 0 ;
8070 wxString result;
e811c8ce 8071 bool temp2 = False ;
d14a1e28
RD
8072 PyObject * obj0 = 0 ;
8073 PyObject * obj1 = 0 ;
994141e6 8074 PyObject * obj2 = 0 ;
d14a1e28
RD
8075 char *kwnames[] = {
8076 (char *) "self",(char *) "spec",(char *) "flags", NULL
8077 };
8078
994141e6 8079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8082 {
8083 arg2 = wxString_in_helper(obj1);
8084 if (arg2 == NULL) SWIG_fail;
e811c8ce 8085 temp2 = True;
d14a1e28 8086 }
994141e6 8087 if (obj2) {
15afbcd0
RD
8088 arg3 = (int) SWIG_AsInt(obj2);
8089 if (PyErr_Occurred()) SWIG_fail;
994141e6 8090 }
d14a1e28
RD
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8094
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 {
8099#if wxUSE_UNICODE
8100 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8101#else
8102 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8103#endif
8104 }
8105 {
8106 if (temp2)
8107 delete arg2;
8108 }
8109 return resultobj;
8110 fail:
8111 {
8112 if (temp2)
8113 delete arg2;
8114 }
8115 return NULL;
8116}
8117
8118
8119static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
8120 PyObject *resultobj;
8121 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8122 wxString result;
8123 PyObject * obj0 = 0 ;
8124 char *kwnames[] = {
8125 (char *) "self", NULL
8126 };
8127
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
8129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8131 {
8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
8133 result = (arg1)->FindNext();
8134
8135 wxPyEndAllowThreads(__tstate);
8136 if (PyErr_Occurred()) SWIG_fail;
8137 }
8138 {
8139#if wxUSE_UNICODE
8140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8141#else
8142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8143#endif
8144 }
8145 return resultobj;
8146 fail:
8147 return NULL;
8148}
8149
8150
8151static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
8152 PyObject *obj;
8153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8154 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
8155 Py_INCREF(obj);
8156 return Py_BuildValue((char *)"");
8157}
8158static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8159 PyObject *resultobj;
8160 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8161 wxString result;
8162 PyObject * obj0 = 0 ;
8163 char *kwnames[] = {
8164 (char *) "self", NULL
8165 };
8166
8167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
8168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8170 {
8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
8172 result = (arg1)->GetName();
8173
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 {
8178#if wxUSE_UNICODE
8179 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8180#else
8181 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8182#endif
8183 }
8184 return resultobj;
8185 fail:
8186 return NULL;
8187}
8188
8189
8190static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8191 PyObject *resultobj;
8192 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8193 wxString result;
8194 PyObject * obj0 = 0 ;
8195 char *kwnames[] = {
8196 (char *) "self", NULL
8197 };
8198
8199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
15afbcd0
RD
8200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8202 {
8203 PyThreadState* __tstate = wxPyBeginAllowThreads();
8204 result = (arg1)->GetExtension();
8205
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 {
8210#if wxUSE_UNICODE
8211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8212#else
8213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8214#endif
8215 }
8216 return resultobj;
8217 fail:
8218 return NULL;
8219}
8220
8221
8222static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8223 PyObject *resultobj;
8224 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8225 long result;
8226 PyObject * obj0 = 0 ;
8227 char *kwnames[] = {
8228 (char *) "self", NULL
8229 };
8230
8231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8234 {
8235 PyThreadState* __tstate = wxPyBeginAllowThreads();
8236 result = (long)(arg1)->GetType();
8237
8238 wxPyEndAllowThreads(__tstate);
8239 if (PyErr_Occurred()) SWIG_fail;
8240 }
15afbcd0 8241 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
8242 return resultobj;
8243 fail:
8244 return NULL;
8245}
8246
8247
8248static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8249 PyObject *resultobj;
8250 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8251 wxString result;
8252 PyObject * obj0 = 0 ;
8253 char *kwnames[] = {
8254 (char *) "self", NULL
8255 };
8256
8257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8260 {
8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
8262 result = (arg1)->GetMimeType();
8263
8264 wxPyEndAllowThreads(__tstate);
8265 if (PyErr_Occurred()) SWIG_fail;
8266 }
8267 {
8268#if wxUSE_UNICODE
8269 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8270#else
8271 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8272#endif
8273 }
8274 return resultobj;
8275 fail:
8276 return NULL;
8277}
8278
8279
8280static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8281 PyObject *resultobj;
8282 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8283 wxString *arg2 = 0 ;
8284 bool result;
e811c8ce 8285 bool temp2 = False ;
d14a1e28
RD
8286 PyObject * obj0 = 0 ;
8287 PyObject * obj1 = 0 ;
8288 char *kwnames[] = {
8289 (char *) "self",(char *) "name", NULL
8290 };
8291
8292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8295 {
8296 arg2 = wxString_in_helper(obj1);
8297 if (arg2 == NULL) SWIG_fail;
e811c8ce 8298 temp2 = True;
d14a1e28
RD
8299 }
8300 {
8301 PyThreadState* __tstate = wxPyBeginAllowThreads();
8302 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8303
8304 wxPyEndAllowThreads(__tstate);
8305 if (PyErr_Occurred()) SWIG_fail;
8306 }
4f89f6a3
RD
8307 {
8308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8309 }
d14a1e28
RD
8310 {
8311 if (temp2)
8312 delete arg2;
8313 }
8314 return resultobj;
8315 fail:
8316 {
8317 if (temp2)
8318 delete arg2;
8319 }
8320 return NULL;
8321}
8322
8323
8324static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8325 PyObject *resultobj;
8326 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8327 wxString *arg2 = 0 ;
e811c8ce 8328 bool temp2 = False ;
d14a1e28
RD
8329 PyObject * obj0 = 0 ;
8330 PyObject * obj1 = 0 ;
8331 char *kwnames[] = {
8332 (char *) "self",(char *) "name", NULL
8333 };
8334
8335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8338 {
8339 arg2 = wxString_in_helper(obj1);
8340 if (arg2 == NULL) SWIG_fail;
e811c8ce 8341 temp2 = True;
d14a1e28
RD
8342 }
8343 {
8344 PyThreadState* __tstate = wxPyBeginAllowThreads();
8345 (arg1)->SetName((wxString const &)*arg2);
8346
8347 wxPyEndAllowThreads(__tstate);
8348 if (PyErr_Occurred()) SWIG_fail;
8349 }
8350 Py_INCREF(Py_None); resultobj = Py_None;
8351 {
8352 if (temp2)
8353 delete arg2;
8354 }
8355 return resultobj;
8356 fail:
8357 {
8358 if (temp2)
8359 delete arg2;
8360 }
8361 return NULL;
8362}
8363
8364
8365static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8366 PyObject *resultobj;
8367 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8368 wxString *arg2 = 0 ;
e811c8ce 8369 bool temp2 = False ;
d14a1e28
RD
8370 PyObject * obj0 = 0 ;
8371 PyObject * obj1 = 0 ;
8372 char *kwnames[] = {
8373 (char *) "self",(char *) "extension", NULL
8374 };
8375
8376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8379 {
8380 arg2 = wxString_in_helper(obj1);
8381 if (arg2 == NULL) SWIG_fail;
e811c8ce 8382 temp2 = True;
d14a1e28
RD
8383 }
8384 {
8385 PyThreadState* __tstate = wxPyBeginAllowThreads();
8386 (arg1)->SetExtension((wxString const &)*arg2);
8387
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 }
8391 Py_INCREF(Py_None); resultobj = Py_None;
8392 {
8393 if (temp2)
8394 delete arg2;
8395 }
8396 return resultobj;
8397 fail:
8398 {
8399 if (temp2)
8400 delete arg2;
8401 }
8402 return NULL;
8403}
8404
8405
8406static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8407 PyObject *resultobj;
8408 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8409 long arg2 ;
8410 PyObject * obj0 = 0 ;
994141e6 8411 PyObject * obj1 = 0 ;
d14a1e28
RD
8412 char *kwnames[] = {
8413 (char *) "self",(char *) "type", NULL
8414 };
8415
994141e6 8416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8419 arg2 = (long) SWIG_AsLong(obj1);
8420 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 (arg1)->SetType(arg2);
8424
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 Py_INCREF(Py_None); resultobj = Py_None;
8429 return resultobj;
8430 fail:
8431 return NULL;
8432}
8433
8434
8435static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8436 PyObject *resultobj;
8437 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8438 wxString *arg2 = 0 ;
e811c8ce 8439 bool temp2 = False ;
d14a1e28
RD
8440 PyObject * obj0 = 0 ;
8441 PyObject * obj1 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self",(char *) "mimetype", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8449 {
8450 arg2 = wxString_in_helper(obj1);
8451 if (arg2 == NULL) SWIG_fail;
e811c8ce 8452 temp2 = True;
d14a1e28
RD
8453 }
8454 {
8455 PyThreadState* __tstate = wxPyBeginAllowThreads();
8456 (arg1)->SetMimeType((wxString const &)*arg2);
8457
8458 wxPyEndAllowThreads(__tstate);
8459 if (PyErr_Occurred()) SWIG_fail;
8460 }
8461 Py_INCREF(Py_None); resultobj = Py_None;
8462 {
8463 if (temp2)
8464 delete arg2;
8465 }
8466 return resultobj;
8467 fail:
8468 {
8469 if (temp2)
8470 delete arg2;
8471 }
8472 return NULL;
8473}
8474
8475
8476static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
8477 PyObject *obj;
8478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8479 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8480 Py_INCREF(obj);
8481 return Py_BuildValue((char *)"");
8482}
8483static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
8484 PyObject *resultobj;
8485 wxImageHistogram *result;
8486 char *kwnames[] = {
8487 NULL
8488 };
8489
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 result = (wxImageHistogram *)new wxImageHistogram();
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
15afbcd0 8498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
d14a1e28
RD
8499 return resultobj;
8500 fail:
8501 return NULL;
8502}
8503
8504
8505static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
8506 PyObject *resultobj;
8507 unsigned char arg1 ;
8508 unsigned char arg2 ;
8509 unsigned char arg3 ;
8510 unsigned long result;
8511 PyObject * obj0 = 0 ;
8512 PyObject * obj1 = 0 ;
8513 PyObject * obj2 = 0 ;
8514 char *kwnames[] = {
8515 (char *) "r",(char *) "g",(char *) "b", NULL
8516 };
8517
8518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8519 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8524 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8525 {
8526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8527 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8528
8529 wxPyEndAllowThreads(__tstate);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
15afbcd0 8532 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
8533 return resultobj;
8534 fail:
8535 return NULL;
8536}
8537
8538
8539static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8540 PyObject *resultobj;
8541 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8542 unsigned char *arg2 = (unsigned char *) 0 ;
8543 unsigned char *arg3 = (unsigned char *) 0 ;
8544 unsigned char *arg4 = (unsigned char *) 0 ;
8545 unsigned char arg5 = (unsigned char) 1 ;
8546 unsigned char arg6 = (unsigned char) 0 ;
8547 unsigned char arg7 = (unsigned char) 0 ;
8548 bool result;
8549 unsigned char temp2 ;
8550 unsigned char temp3 ;
8551 unsigned char temp4 ;
8552 PyObject * obj0 = 0 ;
8553 PyObject * obj1 = 0 ;
8554 PyObject * obj2 = 0 ;
8555 PyObject * obj3 = 0 ;
8556 char *kwnames[] = {
8557 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8558 };
8559
8560 arg2 = &temp2;
8561 arg3 = &temp3;
8562 arg4 = &temp4;
8563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8566 if (obj1) {
15afbcd0
RD
8567 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8568 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8569 }
8570 if (obj2) {
15afbcd0
RD
8571 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8572 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8573 }
8574 if (obj3) {
15afbcd0
RD
8575 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8577 }
8578 {
8579 PyThreadState* __tstate = wxPyBeginAllowThreads();
8580 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8581
8582 wxPyEndAllowThreads(__tstate);
8583 if (PyErr_Occurred()) SWIG_fail;
8584 }
4f89f6a3
RD
8585 {
8586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8587 }
d14a1e28
RD
8588 {
8589 PyObject *o = PyInt_FromLong((long) (*arg2));
8590 resultobj = t_output_helper(resultobj,o);
8591 }
8592 {
8593 PyObject *o = PyInt_FromLong((long) (*arg3));
8594 resultobj = t_output_helper(resultobj,o);
8595 }
8596 {
8597 PyObject *o = PyInt_FromLong((long) (*arg4));
8598 resultobj = t_output_helper(resultobj,o);
8599 }
8600 return resultobj;
8601 fail:
8602 return NULL;
8603}
8604
8605
8606static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
8607 PyObject *obj;
8608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8609 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8610 Py_INCREF(obj);
8611 return Py_BuildValue((char *)"");
8612}
8613static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8614 PyObject *resultobj;
8615 wxString *arg1 = 0 ;
8616 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8617 int arg3 = (int) -1 ;
8618 wxImage *result;
e811c8ce 8619 bool temp1 = False ;
d14a1e28 8620 PyObject * obj0 = 0 ;
994141e6
RD
8621 PyObject * obj1 = 0 ;
8622 PyObject * obj2 = 0 ;
d14a1e28
RD
8623 char *kwnames[] = {
8624 (char *) "name",(char *) "type",(char *) "index", NULL
8625 };
8626
994141e6 8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8628 {
8629 arg1 = wxString_in_helper(obj0);
8630 if (arg1 == NULL) SWIG_fail;
e811c8ce 8631 temp1 = True;
d14a1e28 8632 }
994141e6 8633 if (obj1) {
15afbcd0
RD
8634 arg2 = (long) SWIG_AsLong(obj1);
8635 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8636 }
8637 if (obj2) {
15afbcd0
RD
8638 arg3 = (int) SWIG_AsInt(obj2);
8639 if (PyErr_Occurred()) SWIG_fail;
994141e6 8640 }
d14a1e28
RD
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
15afbcd0 8648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8649 {
8650 if (temp1)
8651 delete arg1;
8652 }
8653 return resultobj;
8654 fail:
8655 {
8656 if (temp1)
8657 delete arg1;
8658 }
8659 return NULL;
8660}
8661
8662
8663static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8664 PyObject *resultobj;
8665 wxImage *arg1 = (wxImage *) 0 ;
8666 PyObject * obj0 = 0 ;
8667 char *kwnames[] = {
8668 (char *) "self", NULL
8669 };
8670
8671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
15afbcd0
RD
8672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8674 {
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 delete arg1;
8677
8678 wxPyEndAllowThreads(__tstate);
8679 if (PyErr_Occurred()) SWIG_fail;
8680 }
8681 Py_INCREF(Py_None); resultobj = Py_None;
8682 return resultobj;
8683 fail:
8684 return NULL;
8685}
8686
8687
8688static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8689 PyObject *resultobj;
8690 wxString *arg1 = 0 ;
8691 wxString *arg2 = 0 ;
8692 int arg3 = (int) -1 ;
8693 wxImage *result;
e811c8ce
RD
8694 bool temp1 = False ;
8695 bool temp2 = False ;
d14a1e28
RD
8696 PyObject * obj0 = 0 ;
8697 PyObject * obj1 = 0 ;
994141e6 8698 PyObject * obj2 = 0 ;
d14a1e28
RD
8699 char *kwnames[] = {
8700 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8701 };
8702
994141e6 8703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8704 {
8705 arg1 = wxString_in_helper(obj0);
8706 if (arg1 == NULL) SWIG_fail;
e811c8ce 8707 temp1 = True;
d14a1e28
RD
8708 }
8709 {
8710 arg2 = wxString_in_helper(obj1);
8711 if (arg2 == NULL) SWIG_fail;
e811c8ce 8712 temp2 = True;
d14a1e28 8713 }
994141e6 8714 if (obj2) {
15afbcd0
RD
8715 arg3 = (int) SWIG_AsInt(obj2);
8716 if (PyErr_Occurred()) SWIG_fail;
994141e6 8717 }
d14a1e28
RD
8718 {
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
15afbcd0 8725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8726 {
8727 if (temp1)
8728 delete arg1;
8729 }
8730 {
8731 if (temp2)
8732 delete arg2;
8733 }
8734 return resultobj;
8735 fail:
8736 {
8737 if (temp1)
8738 delete arg1;
8739 }
8740 {
8741 if (temp2)
8742 delete arg2;
8743 }
8744 return NULL;
8745}
8746
8747
8748static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8749 PyObject *resultobj;
8750 wxInputStream *arg1 = 0 ;
8751 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8752 int arg3 = (int) -1 ;
8753 wxImage *result;
8754 wxPyInputStream *temp1 ;
8755 bool created1 ;
8756 PyObject * obj0 = 0 ;
994141e6
RD
8757 PyObject * obj1 = 0 ;
8758 PyObject * obj2 = 0 ;
d14a1e28
RD
8759 char *kwnames[] = {
8760 (char *) "stream",(char *) "type",(char *) "index", NULL
8761 };
8762
994141e6 8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8764 {
8765 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8766 arg1 = temp1->m_wxis;
e811c8ce 8767 created1 = False;
d14a1e28
RD
8768 } else {
8769 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8770 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8771 if (arg1 == NULL) {
8772 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8773 SWIG_fail;
8774 }
e811c8ce 8775 created1 = True;
d14a1e28
RD
8776 }
8777 }
994141e6 8778 if (obj1) {
15afbcd0
RD
8779 arg2 = (long) SWIG_AsLong(obj1);
8780 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8781 }
8782 if (obj2) {
15afbcd0
RD
8783 arg3 = (int) SWIG_AsInt(obj2);
8784 if (PyErr_Occurred()) SWIG_fail;
994141e6 8785 }
d14a1e28
RD
8786 {
8787 PyThreadState* __tstate = wxPyBeginAllowThreads();
8788 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
8789
8790 wxPyEndAllowThreads(__tstate);
8791 if (PyErr_Occurred()) SWIG_fail;
8792 }
15afbcd0 8793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8794 {
8795 if (created1)
8796 delete arg1;
8797 }
8798 return resultobj;
8799 fail:
8800 {
8801 if (created1)
8802 delete arg1;
8803 }
8804 return NULL;
8805}
8806
8807
8808static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8809 PyObject *resultobj;
8810 wxInputStream *arg1 = 0 ;
8811 wxString *arg2 = 0 ;
8812 int arg3 = (int) -1 ;
8813 wxImage *result;
8814 wxPyInputStream *temp1 ;
8815 bool created1 ;
e811c8ce 8816 bool temp2 = False ;
d14a1e28
RD
8817 PyObject * obj0 = 0 ;
8818 PyObject * obj1 = 0 ;
994141e6 8819 PyObject * obj2 = 0 ;
d14a1e28
RD
8820 char *kwnames[] = {
8821 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8822 };
8823
994141e6 8824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8825 {
8826 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8827 arg1 = temp1->m_wxis;
e811c8ce 8828 created1 = False;
d14a1e28
RD
8829 } else {
8830 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8831 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8832 if (arg1 == NULL) {
8833 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8834 SWIG_fail;
8835 }
e811c8ce 8836 created1 = True;
d14a1e28
RD
8837 }
8838 }
8839 {
8840 arg2 = wxString_in_helper(obj1);
8841 if (arg2 == NULL) SWIG_fail;
e811c8ce 8842 temp2 = True;
d14a1e28 8843 }
994141e6 8844 if (obj2) {
15afbcd0
RD
8845 arg3 = (int) SWIG_AsInt(obj2);
8846 if (PyErr_Occurred()) SWIG_fail;
994141e6 8847 }
d14a1e28
RD
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
15afbcd0 8855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8856 {
8857 if (created1)
8858 delete arg1;
8859 }
8860 {
8861 if (temp2)
8862 delete arg2;
8863 }
8864 return resultobj;
8865 fail:
8866 {
8867 if (created1)
8868 delete arg1;
8869 }
8870 {
8871 if (temp2)
8872 delete arg2;
8873 }
8874 return NULL;
8875}
8876
8877
66c033b4 8878static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8879 PyObject *resultobj;
8880 int arg1 = (int) 0 ;
8881 int arg2 = (int) 0 ;
e811c8ce 8882 bool arg3 = (bool) True ;
d14a1e28 8883 wxImage *result;
994141e6
RD
8884 PyObject * obj0 = 0 ;
8885 PyObject * obj1 = 0 ;
d14a1e28 8886 PyObject * obj2 = 0 ;
66c033b4
RD
8887 char *kwnames[] = {
8888 (char *) "width",(char *) "height",(char *) "clear", NULL
8889 };
d14a1e28 8890
66c033b4 8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 8892 if (obj0) {
15afbcd0
RD
8893 arg1 = (int) SWIG_AsInt(obj0);
8894 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8895 }
8896 if (obj1) {
15afbcd0
RD
8897 arg2 = (int) SWIG_AsInt(obj1);
8898 if (PyErr_Occurred()) SWIG_fail;
994141e6 8899 }
d14a1e28 8900 if (obj2) {
15afbcd0
RD
8901 arg3 = (bool) SWIG_AsBool(obj2);
8902 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8903 }
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 8906 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
d14a1e28
RD
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
15afbcd0 8911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8912 return resultobj;
8913 fail:
8914 return NULL;
8915}
8916
8917
8918static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8919 PyObject *resultobj;
8920 wxBitmap *arg1 = 0 ;
8921 wxImage *result;
8922 PyObject * obj0 = 0 ;
8923 char *kwnames[] = {
8924 (char *) "bitmap", NULL
8925 };
8926
8927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
8928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
8929 SWIG_POINTER_EXCEPTION | 0)) == -1)
8930 SWIG_fail;
d14a1e28 8931 if (arg1 == NULL) {
15afbcd0
RD
8932 PyErr_SetString(PyExc_TypeError,"null reference");
8933 SWIG_fail;
d14a1e28
RD
8934 }
8935 {
e3b71cb8 8936 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8939
8940 wxPyEndAllowThreads(__tstate);
110da5b0 8941 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8942 }
15afbcd0 8943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8944 return resultobj;
8945 fail:
8946 return NULL;
8947}
8948
8949
8950static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
8951 PyObject *resultobj;
8952 int arg1 ;
8953 int arg2 ;
8954 unsigned char *arg3 = (unsigned char *) 0 ;
8955 wxImage *result;
994141e6
RD
8956 PyObject * obj0 = 0 ;
8957 PyObject * obj1 = 0 ;
d14a1e28
RD
8958 PyObject * obj2 = 0 ;
8959 char *kwnames[] = {
8960 (char *) "width",(char *) "height",(char *) "data", NULL
8961 };
8962
994141e6 8963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8964 arg1 = (int) SWIG_AsInt(obj0);
8965 if (PyErr_Occurred()) SWIG_fail;
8966 arg2 = (int) SWIG_AsInt(obj1);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
8969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
15afbcd0 8977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8978 return resultobj;
8979 fail:
8980 return NULL;
8981}
8982
8983
8984static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj;
8986 wxImage *arg1 = (wxImage *) 0 ;
8987 int arg2 ;
8988 int arg3 ;
8989 PyObject * obj0 = 0 ;
994141e6
RD
8990 PyObject * obj1 = 0 ;
8991 PyObject * obj2 = 0 ;
d14a1e28
RD
8992 char *kwnames[] = {
8993 (char *) "self",(char *) "width",(char *) "height", NULL
8994 };
8995
994141e6 8996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8999 arg2 = (int) SWIG_AsInt(obj1);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 arg3 = (int) SWIG_AsInt(obj2);
9002 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9003 {
9004 PyThreadState* __tstate = wxPyBeginAllowThreads();
9005 (arg1)->Create(arg2,arg3);
9006
9007 wxPyEndAllowThreads(__tstate);
9008 if (PyErr_Occurred()) SWIG_fail;
9009 }
9010 Py_INCREF(Py_None); resultobj = Py_None;
9011 return resultobj;
9012 fail:
9013 return NULL;
9014}
9015
9016
9017static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
9018 PyObject *resultobj;
9019 wxImage *arg1 = (wxImage *) 0 ;
9020 PyObject * obj0 = 0 ;
9021 char *kwnames[] = {
9022 (char *) "self", NULL
9023 };
9024
9025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
9026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9028 {
9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
9030 (arg1)->Destroy();
9031
9032 wxPyEndAllowThreads(__tstate);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 Py_INCREF(Py_None); resultobj = Py_None;
9036 return resultobj;
9037 fail:
9038 return NULL;
9039}
9040
9041
9042static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
9043 PyObject *resultobj;
9044 wxImage *arg1 = (wxImage *) 0 ;
9045 int arg2 ;
9046 int arg3 ;
9047 SwigValueWrapper< wxImage > result;
9048 PyObject * obj0 = 0 ;
994141e6
RD
9049 PyObject * obj1 = 0 ;
9050 PyObject * obj2 = 0 ;
d14a1e28
RD
9051 char *kwnames[] = {
9052 (char *) "self",(char *) "width",(char *) "height", NULL
9053 };
9054
994141e6 9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9058 arg2 = (int) SWIG_AsInt(obj1);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 arg3 = (int) SWIG_AsInt(obj2);
9061 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9062 {
9063 PyThreadState* __tstate = wxPyBeginAllowThreads();
9064 result = (arg1)->Scale(arg2,arg3);
9065
9066 wxPyEndAllowThreads(__tstate);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 {
9070 wxImage * resultptr;
9071 resultptr = new wxImage((wxImage &) result);
15afbcd0 9072 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9073 }
9074 return resultobj;
9075 fail:
9076 return NULL;
9077}
9078
9079
9080static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
9081 PyObject *resultobj;
9082 wxImage *arg1 = (wxImage *) 0 ;
9083 int arg2 ;
9084 int arg3 ;
9085 SwigValueWrapper< wxImage > result;
9086 PyObject * obj0 = 0 ;
994141e6
RD
9087 PyObject * obj1 = 0 ;
9088 PyObject * obj2 = 0 ;
d14a1e28
RD
9089 char *kwnames[] = {
9090 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9091 };
9092
994141e6 9093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9096 arg2 = (int) SWIG_AsInt(obj1);
9097 if (PyErr_Occurred()) SWIG_fail;
9098 arg3 = (int) SWIG_AsInt(obj2);
9099 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9100 {
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
9102 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
9103
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
9107 {
9108 wxImage * resultptr;
9109 resultptr = new wxImage((wxImage &) result);
15afbcd0 9110 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9111 }
9112 return resultobj;
9113 fail:
9114 return NULL;
9115}
9116
9117
9118static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
9119 PyObject *resultobj;
9120 wxImage *arg1 = (wxImage *) 0 ;
9121 int arg2 ;
9122 int arg3 ;
9123 wxImage *result;
9124 PyObject * obj0 = 0 ;
994141e6
RD
9125 PyObject * obj1 = 0 ;
9126 PyObject * obj2 = 0 ;
d14a1e28
RD
9127 char *kwnames[] = {
9128 (char *) "self",(char *) "width",(char *) "height", NULL
9129 };
9130
994141e6 9131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9134 arg2 = (int) SWIG_AsInt(obj1);
9135 if (PyErr_Occurred()) SWIG_fail;
9136 arg3 = (int) SWIG_AsInt(obj2);
9137 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 {
9141 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
9142 result = (wxImage *) &_result_ref;
9143 }
9144
9145 wxPyEndAllowThreads(__tstate);
9146 if (PyErr_Occurred()) SWIG_fail;
9147 }
15afbcd0 9148 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
9149 return resultobj;
9150 fail:
9151 return NULL;
9152}
9153
9154
9155static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
9156 PyObject *resultobj;
9157 wxImage *arg1 = (wxImage *) 0 ;
9158 int arg2 ;
9159 int arg3 ;
9160 unsigned char arg4 ;
9161 unsigned char arg5 ;
9162 unsigned char arg6 ;
9163 PyObject * obj0 = 0 ;
994141e6
RD
9164 PyObject * obj1 = 0 ;
9165 PyObject * obj2 = 0 ;
d14a1e28
RD
9166 PyObject * obj3 = 0 ;
9167 PyObject * obj4 = 0 ;
9168 PyObject * obj5 = 0 ;
9169 char *kwnames[] = {
9170 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9171 };
9172
994141e6 9173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9176 arg2 = (int) SWIG_AsInt(obj1);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 arg3 = (int) SWIG_AsInt(obj2);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9181 if (PyErr_Occurred()) SWIG_fail;
9182 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
9183 if (PyErr_Occurred()) SWIG_fail;
9184 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
9185 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9186 {
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9189
9190 wxPyEndAllowThreads(__tstate);
9191 if (PyErr_Occurred()) SWIG_fail;
9192 }
9193 Py_INCREF(Py_None); resultobj = Py_None;
9194 return resultobj;
9195 fail:
9196 return NULL;
9197}
9198
9199
9200static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9201 PyObject *resultobj;
9202 wxImage *arg1 = (wxImage *) 0 ;
9203 int arg2 ;
9204 int arg3 ;
9205 unsigned char result;
9206 PyObject * obj0 = 0 ;
994141e6
RD
9207 PyObject * obj1 = 0 ;
9208 PyObject * obj2 = 0 ;
d14a1e28
RD
9209 char *kwnames[] = {
9210 (char *) "self",(char *) "x",(char *) "y", NULL
9211 };
9212
994141e6 9213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9216 arg2 = (int) SWIG_AsInt(obj1);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 arg3 = (int) SWIG_AsInt(obj2);
9219 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
15afbcd0 9227 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9228 return resultobj;
9229 fail:
9230 return NULL;
9231}
9232
9233
9234static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 wxImage *arg1 = (wxImage *) 0 ;
9237 int arg2 ;
9238 int arg3 ;
9239 unsigned char result;
9240 PyObject * obj0 = 0 ;
994141e6
RD
9241 PyObject * obj1 = 0 ;
9242 PyObject * obj2 = 0 ;
d14a1e28
RD
9243 char *kwnames[] = {
9244 (char *) "self",(char *) "x",(char *) "y", NULL
9245 };
9246
994141e6 9247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9250 arg2 = (int) SWIG_AsInt(obj1);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 arg3 = (int) SWIG_AsInt(obj2);
9253 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9257
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
15afbcd0 9261 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9262 return resultobj;
9263 fail:
9264 return NULL;
9265}
9266
9267
9268static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9269 PyObject *resultobj;
9270 wxImage *arg1 = (wxImage *) 0 ;
9271 int arg2 ;
9272 int arg3 ;
9273 unsigned char result;
9274 PyObject * obj0 = 0 ;
994141e6
RD
9275 PyObject * obj1 = 0 ;
9276 PyObject * obj2 = 0 ;
d14a1e28
RD
9277 char *kwnames[] = {
9278 (char *) "self",(char *) "x",(char *) "y", NULL
9279 };
9280
994141e6 9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9284 arg2 = (int) SWIG_AsInt(obj1);
9285 if (PyErr_Occurred()) SWIG_fail;
9286 arg3 = (int) SWIG_AsInt(obj2);
9287 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
15afbcd0 9295 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9296 return resultobj;
9297 fail:
9298 return NULL;
9299}
9300
9301
9302static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9303 PyObject *resultobj;
9304 wxImage *arg1 = (wxImage *) 0 ;
9305 int arg2 ;
9306 int arg3 ;
9307 unsigned char arg4 ;
9308 PyObject * obj0 = 0 ;
994141e6
RD
9309 PyObject * obj1 = 0 ;
9310 PyObject * obj2 = 0 ;
d14a1e28
RD
9311 PyObject * obj3 = 0 ;
9312 char *kwnames[] = {
9313 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9314 };
9315
994141e6 9316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9319 arg2 = (int) SWIG_AsInt(obj1);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 arg3 = (int) SWIG_AsInt(obj2);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9324 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 (arg1)->SetAlpha(arg2,arg3,arg4);
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 Py_INCREF(Py_None); resultobj = Py_None;
9333 return resultobj;
9334 fail:
9335 return NULL;
9336}
9337
9338
9339static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9340 PyObject *resultobj;
9341 wxImage *arg1 = (wxImage *) 0 ;
9342 int arg2 ;
9343 int arg3 ;
9344 unsigned char result;
9345 PyObject * obj0 = 0 ;
994141e6
RD
9346 PyObject * obj1 = 0 ;
9347 PyObject * obj2 = 0 ;
d14a1e28
RD
9348 char *kwnames[] = {
9349 (char *) "self",(char *) "x",(char *) "y", NULL
9350 };
9351
994141e6 9352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9355 arg2 = (int) SWIG_AsInt(obj1);
9356 if (PyErr_Occurred()) SWIG_fail;
9357 arg3 = (int) SWIG_AsInt(obj2);
9358 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9359 {
9360 PyThreadState* __tstate = wxPyBeginAllowThreads();
9361 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9362
9363 wxPyEndAllowThreads(__tstate);
9364 if (PyErr_Occurred()) SWIG_fail;
9365 }
15afbcd0 9366 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9367 return resultobj;
9368 fail:
9369 return NULL;
9370}
9371
9372
9373static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9374 PyObject *resultobj;
9375 wxImage *arg1 = (wxImage *) 0 ;
9376 bool result;
9377 PyObject * obj0 = 0 ;
9378 char *kwnames[] = {
9379 (char *) "self", NULL
9380 };
9381
9382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
15afbcd0
RD
9383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9385 {
9386 PyThreadState* __tstate = wxPyBeginAllowThreads();
9387 result = (bool)(arg1)->HasAlpha();
9388
9389 wxPyEndAllowThreads(__tstate);
9390 if (PyErr_Occurred()) SWIG_fail;
9391 }
4f89f6a3
RD
9392 {
9393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9394 }
d14a1e28
RD
9395 return resultobj;
9396 fail:
9397 return NULL;
9398}
9399
9400
9401static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9402 PyObject *resultobj;
9403 wxImage *arg1 = (wxImage *) 0 ;
9404 byte *arg2 = (byte *) 0 ;
9405 byte *arg3 = (byte *) 0 ;
9406 byte *arg4 = (byte *) 0 ;
9407 byte arg5 = (byte) 0 ;
9408 byte arg6 = (byte) 0 ;
9409 byte arg7 = (byte) 0 ;
9410 bool result;
9411 byte temp2 ;
9412 byte temp3 ;
9413 byte temp4 ;
9414 PyObject * obj0 = 0 ;
9415 PyObject * obj1 = 0 ;
9416 PyObject * obj2 = 0 ;
9417 PyObject * obj3 = 0 ;
9418 char *kwnames[] = {
9419 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9420 };
9421
9422 arg2 = &temp2;
9423 arg3 = &temp3;
9424 arg4 = &temp4;
9425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9428 if (obj1) {
15afbcd0
RD
9429 arg5 = (byte) SWIG_AsUnsignedChar(obj1);
9430 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9431 }
9432 if (obj2) {
15afbcd0
RD
9433 arg6 = (byte) SWIG_AsUnsignedChar(obj2);
9434 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9435 }
9436 if (obj3) {
15afbcd0
RD
9437 arg7 = (byte) SWIG_AsUnsignedChar(obj3);
9438 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9439 }
9440 {
9441 PyThreadState* __tstate = wxPyBeginAllowThreads();
9442 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9443
9444 wxPyEndAllowThreads(__tstate);
9445 if (PyErr_Occurred()) SWIG_fail;
9446 }
4f89f6a3
RD
9447 {
9448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9449 }
d14a1e28
RD
9450 {
9451 PyObject *o = PyInt_FromLong((long) (*arg2));
9452 resultobj = t_output_helper(resultobj,o);
9453 }
9454 {
9455 PyObject *o = PyInt_FromLong((long) (*arg3));
9456 resultobj = t_output_helper(resultobj,o);
9457 }
9458 {
9459 PyObject *o = PyInt_FromLong((long) (*arg4));
9460 resultobj = t_output_helper(resultobj,o);
9461 }
9462 return resultobj;
9463 fail:
9464 return NULL;
9465}
9466
9467
9468static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9469 PyObject *resultobj;
9470 wxImage *arg1 = (wxImage *) 0 ;
9471 wxImage *arg2 = 0 ;
9472 byte arg3 ;
9473 byte arg4 ;
9474 byte arg5 ;
9475 bool result;
9476 PyObject * obj0 = 0 ;
9477 PyObject * obj1 = 0 ;
9478 PyObject * obj2 = 0 ;
9479 PyObject * obj3 = 0 ;
9480 PyObject * obj4 = 0 ;
9481 char *kwnames[] = {
9482 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9483 };
9484
9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
9486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9488 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9489 SWIG_POINTER_EXCEPTION | 0)) == -1)
9490 SWIG_fail;
d14a1e28 9491 if (arg2 == NULL) {
15afbcd0
RD
9492 PyErr_SetString(PyExc_TypeError,"null reference");
9493 SWIG_fail;
a41e16b6 9494 }
15afbcd0
RD
9495 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
9496 if (PyErr_Occurred()) SWIG_fail;
9497 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
9498 if (PyErr_Occurred()) SWIG_fail;
9499 arg5 = (byte) SWIG_AsUnsignedChar(obj4);
9500 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9501 {
9502 PyThreadState* __tstate = wxPyBeginAllowThreads();
9503 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9504
9505 wxPyEndAllowThreads(__tstate);
9506 if (PyErr_Occurred()) SWIG_fail;
9507 }
4f89f6a3
RD
9508 {
9509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9510 }
d14a1e28
RD
9511 return resultobj;
9512 fail:
9513 return NULL;
9514}
9515
9516
9517static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxString *arg1 = 0 ;
9520 bool result;
e811c8ce 9521 bool temp1 = False ;
d14a1e28
RD
9522 PyObject * obj0 = 0 ;
9523 char *kwnames[] = {
9524 (char *) "name", NULL
9525 };
9526
9527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9528 {
9529 arg1 = wxString_in_helper(obj0);
9530 if (arg1 == NULL) SWIG_fail;
e811c8ce 9531 temp1 = True;
d14a1e28
RD
9532 }
9533 {
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9536
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
4f89f6a3
RD
9540 {
9541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9542 }
d14a1e28
RD
9543 {
9544 if (temp1)
9545 delete arg1;
9546 }
9547 return resultobj;
9548 fail:
9549 {
9550 if (temp1)
9551 delete arg1;
9552 }
9553 return NULL;
9554}
9555
9556
9557static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9558 PyObject *resultobj;
9559 wxString *arg1 = 0 ;
9560 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9561 int result;
e811c8ce 9562 bool temp1 = False ;
d14a1e28 9563 PyObject * obj0 = 0 ;
994141e6 9564 PyObject * obj1 = 0 ;
d14a1e28
RD
9565 char *kwnames[] = {
9566 (char *) "name",(char *) "type", NULL
9567 };
9568
994141e6 9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
9570 {
9571 arg1 = wxString_in_helper(obj0);
9572 if (arg1 == NULL) SWIG_fail;
e811c8ce 9573 temp1 = True;
d14a1e28 9574 }
994141e6 9575 if (obj1) {
15afbcd0
RD
9576 arg2 = (long) SWIG_AsLong(obj1);
9577 if (PyErr_Occurred()) SWIG_fail;
994141e6 9578 }
d14a1e28
RD
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9582
9583 wxPyEndAllowThreads(__tstate);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 }
15afbcd0 9586 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9587 {
9588 if (temp1)
9589 delete arg1;
9590 }
9591 return resultobj;
9592 fail:
9593 {
9594 if (temp1)
9595 delete arg1;
9596 }
9597 return NULL;
9598}
9599
9600
9601static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9602 PyObject *resultobj;
9603 wxImage *arg1 = (wxImage *) 0 ;
9604 wxString *arg2 = 0 ;
9605 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9606 int arg4 = (int) -1 ;
9607 bool result;
e811c8ce 9608 bool temp2 = False ;
d14a1e28
RD
9609 PyObject * obj0 = 0 ;
9610 PyObject * obj1 = 0 ;
994141e6
RD
9611 PyObject * obj2 = 0 ;
9612 PyObject * obj3 = 0 ;
d14a1e28
RD
9613 char *kwnames[] = {
9614 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9615 };
9616
994141e6 9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9620 {
9621 arg2 = wxString_in_helper(obj1);
9622 if (arg2 == NULL) SWIG_fail;
e811c8ce 9623 temp2 = True;
d14a1e28 9624 }
994141e6 9625 if (obj2) {
15afbcd0
RD
9626 arg3 = (long) SWIG_AsLong(obj2);
9627 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9628 }
9629 if (obj3) {
15afbcd0
RD
9630 arg4 = (int) SWIG_AsInt(obj3);
9631 if (PyErr_Occurred()) SWIG_fail;
994141e6 9632 }
d14a1e28
RD
9633 {
9634 PyThreadState* __tstate = wxPyBeginAllowThreads();
9635 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9636
9637 wxPyEndAllowThreads(__tstate);
9638 if (PyErr_Occurred()) SWIG_fail;
9639 }
4f89f6a3
RD
9640 {
9641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9642 }
d14a1e28
RD
9643 {
9644 if (temp2)
9645 delete arg2;
9646 }
9647 return resultobj;
9648 fail:
9649 {
9650 if (temp2)
9651 delete arg2;
9652 }
9653 return NULL;
9654}
9655
9656
9657static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9658 PyObject *resultobj;
9659 wxImage *arg1 = (wxImage *) 0 ;
9660 wxString *arg2 = 0 ;
9661 wxString *arg3 = 0 ;
9662 int arg4 = (int) -1 ;
9663 bool result;
e811c8ce
RD
9664 bool temp2 = False ;
9665 bool temp3 = False ;
d14a1e28
RD
9666 PyObject * obj0 = 0 ;
9667 PyObject * obj1 = 0 ;
9668 PyObject * obj2 = 0 ;
994141e6 9669 PyObject * obj3 = 0 ;
d14a1e28
RD
9670 char *kwnames[] = {
9671 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9672 };
9673
994141e6 9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9677 {
9678 arg2 = wxString_in_helper(obj1);
9679 if (arg2 == NULL) SWIG_fail;
e811c8ce 9680 temp2 = True;
d14a1e28
RD
9681 }
9682 {
9683 arg3 = wxString_in_helper(obj2);
9684 if (arg3 == NULL) SWIG_fail;
e811c8ce 9685 temp3 = True;
d14a1e28 9686 }
994141e6 9687 if (obj3) {
15afbcd0
RD
9688 arg4 = (int) SWIG_AsInt(obj3);
9689 if (PyErr_Occurred()) SWIG_fail;
994141e6 9690 }
d14a1e28
RD
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
4f89f6a3
RD
9698 {
9699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9700 }
d14a1e28
RD
9701 {
9702 if (temp2)
9703 delete arg2;
9704 }
9705 {
9706 if (temp3)
9707 delete arg3;
9708 }
9709 return resultobj;
9710 fail:
9711 {
9712 if (temp2)
9713 delete arg2;
9714 }
9715 {
9716 if (temp3)
9717 delete arg3;
9718 }
9719 return NULL;
9720}
9721
9722
9723static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9724 PyObject *resultobj;
9725 wxImage *arg1 = (wxImage *) 0 ;
9726 wxString *arg2 = 0 ;
9727 int arg3 ;
9728 bool result;
e811c8ce 9729 bool temp2 = False ;
d14a1e28
RD
9730 PyObject * obj0 = 0 ;
9731 PyObject * obj1 = 0 ;
994141e6 9732 PyObject * obj2 = 0 ;
d14a1e28
RD
9733 char *kwnames[] = {
9734 (char *) "self",(char *) "name",(char *) "type", NULL
9735 };
9736
994141e6 9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9740 {
9741 arg2 = wxString_in_helper(obj1);
9742 if (arg2 == NULL) SWIG_fail;
e811c8ce 9743 temp2 = True;
d14a1e28 9744 }
15afbcd0
RD
9745 arg3 = (int) SWIG_AsInt(obj2);
9746 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9747 {
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
4f89f6a3
RD
9754 {
9755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9756 }
d14a1e28
RD
9757 {
9758 if (temp2)
9759 delete arg2;
9760 }
9761 return resultobj;
9762 fail:
9763 {
9764 if (temp2)
9765 delete arg2;
9766 }
9767 return NULL;
9768}
9769
9770
9771static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9772 PyObject *resultobj;
9773 wxImage *arg1 = (wxImage *) 0 ;
9774 wxString *arg2 = 0 ;
9775 wxString *arg3 = 0 ;
9776 bool result;
e811c8ce
RD
9777 bool temp2 = False ;
9778 bool temp3 = False ;
d14a1e28
RD
9779 PyObject * obj0 = 0 ;
9780 PyObject * obj1 = 0 ;
9781 PyObject * obj2 = 0 ;
9782 char *kwnames[] = {
9783 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9784 };
9785
9786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9789 {
9790 arg2 = wxString_in_helper(obj1);
9791 if (arg2 == NULL) SWIG_fail;
e811c8ce 9792 temp2 = True;
d14a1e28
RD
9793 }
9794 {
9795 arg3 = wxString_in_helper(obj2);
9796 if (arg3 == NULL) SWIG_fail;
e811c8ce 9797 temp3 = True;
d14a1e28
RD
9798 }
9799 {
9800 PyThreadState* __tstate = wxPyBeginAllowThreads();
9801 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9802
9803 wxPyEndAllowThreads(__tstate);
9804 if (PyErr_Occurred()) SWIG_fail;
9805 }
4f89f6a3
RD
9806 {
9807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9808 }
d14a1e28
RD
9809 {
9810 if (temp2)
9811 delete arg2;
9812 }
9813 {
9814 if (temp3)
9815 delete arg3;
9816 }
9817 return resultobj;
9818 fail:
9819 {
9820 if (temp2)
9821 delete arg2;
9822 }
9823 {
9824 if (temp3)
9825 delete arg3;
9826 }
9827 return NULL;
9828}
9829
9830
9831static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9832 PyObject *resultobj;
9833 wxInputStream *arg1 = 0 ;
9834 bool result;
9835 wxPyInputStream *temp1 ;
9836 bool created1 ;
9837 PyObject * obj0 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "stream", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9843 {
9844 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9845 arg1 = temp1->m_wxis;
e811c8ce 9846 created1 = False;
d14a1e28
RD
9847 } else {
9848 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9849 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
9850 if (arg1 == NULL) {
9851 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9852 SWIG_fail;
9853 }
e811c8ce 9854 created1 = True;
d14a1e28
RD
9855 }
9856 }
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
9859 result = (bool)wxImage::CanRead(*arg1);
9860
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 }
4f89f6a3
RD
9864 {
9865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9866 }
d14a1e28
RD
9867 {
9868 if (created1)
9869 delete arg1;
9870 }
9871 return resultobj;
9872 fail:
9873 {
9874 if (created1)
9875 delete arg1;
9876 }
9877 return NULL;
9878}
9879
9880
9881static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9882 PyObject *resultobj;
9883 wxImage *arg1 = (wxImage *) 0 ;
9884 wxInputStream *arg2 = 0 ;
9885 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9886 int arg4 = (int) -1 ;
9887 bool result;
9888 wxPyInputStream *temp2 ;
9889 bool created2 ;
9890 PyObject * obj0 = 0 ;
9891 PyObject * obj1 = 0 ;
994141e6
RD
9892 PyObject * obj2 = 0 ;
9893 PyObject * obj3 = 0 ;
d14a1e28
RD
9894 char *kwnames[] = {
9895 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9896 };
9897
994141e6 9898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9901 {
9902 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9903 arg2 = temp2->m_wxis;
e811c8ce 9904 created2 = False;
d14a1e28
RD
9905 } else {
9906 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9907 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9908 if (arg2 == NULL) {
9909 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9910 SWIG_fail;
9911 }
e811c8ce 9912 created2 = True;
d14a1e28
RD
9913 }
9914 }
994141e6 9915 if (obj2) {
15afbcd0
RD
9916 arg3 = (long) SWIG_AsLong(obj2);
9917 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9918 }
9919 if (obj3) {
15afbcd0
RD
9920 arg4 = (int) SWIG_AsInt(obj3);
9921 if (PyErr_Occurred()) SWIG_fail;
994141e6 9922 }
d14a1e28
RD
9923 {
9924 PyThreadState* __tstate = wxPyBeginAllowThreads();
9925 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9926
9927 wxPyEndAllowThreads(__tstate);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
4f89f6a3
RD
9930 {
9931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9932 }
d14a1e28
RD
9933 {
9934 if (created2)
9935 delete arg2;
9936 }
9937 return resultobj;
9938 fail:
9939 {
9940 if (created2)
9941 delete arg2;
9942 }
9943 return NULL;
9944}
9945
9946
9947static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9948 PyObject *resultobj;
9949 wxImage *arg1 = (wxImage *) 0 ;
9950 wxInputStream *arg2 = 0 ;
9951 wxString *arg3 = 0 ;
9952 int arg4 = (int) -1 ;
9953 bool result;
9954 wxPyInputStream *temp2 ;
9955 bool created2 ;
e811c8ce 9956 bool temp3 = False ;
d14a1e28
RD
9957 PyObject * obj0 = 0 ;
9958 PyObject * obj1 = 0 ;
9959 PyObject * obj2 = 0 ;
994141e6 9960 PyObject * obj3 = 0 ;
d14a1e28
RD
9961 char *kwnames[] = {
9962 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9963 };
9964
994141e6 9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9968 {
9969 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9970 arg2 = temp2->m_wxis;
e811c8ce 9971 created2 = False;
d14a1e28
RD
9972 } else {
9973 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9974 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9975 if (arg2 == NULL) {
9976 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9977 SWIG_fail;
9978 }
e811c8ce 9979 created2 = True;
d14a1e28
RD
9980 }
9981 }
9982 {
9983 arg3 = wxString_in_helper(obj2);
9984 if (arg3 == NULL) SWIG_fail;
e811c8ce 9985 temp3 = True;
d14a1e28 9986 }
994141e6 9987 if (obj3) {
15afbcd0
RD
9988 arg4 = (int) SWIG_AsInt(obj3);
9989 if (PyErr_Occurred()) SWIG_fail;
994141e6 9990 }
d14a1e28
RD
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9994
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
4f89f6a3
RD
9998 {
9999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10000 }
d14a1e28
RD
10001 {
10002 if (created2)
10003 delete arg2;
10004 }
10005 {
10006 if (temp3)
10007 delete arg3;
10008 }
10009 return resultobj;
10010 fail:
10011 {
10012 if (created2)
10013 delete arg2;
10014 }
10015 {
10016 if (temp3)
10017 delete arg3;
10018 }
10019 return NULL;
10020}
10021
10022
10023static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
10024 PyObject *resultobj;
10025 wxImage *arg1 = (wxImage *) 0 ;
10026 bool result;
10027 PyObject * obj0 = 0 ;
10028 char *kwnames[] = {
10029 (char *) "self", NULL
10030 };
10031
10032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
10033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 result = (bool)(arg1)->Ok();
10038
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
4f89f6a3
RD
10042 {
10043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10044 }
d14a1e28
RD
10045 return resultobj;
10046 fail:
10047 return NULL;
10048}
10049
10050
10051static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10052 PyObject *resultobj;
10053 wxImage *arg1 = (wxImage *) 0 ;
10054 int result;
10055 PyObject * obj0 = 0 ;
10056 char *kwnames[] = {
10057 (char *) "self", NULL
10058 };
10059
10060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
10061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10063 {
10064 PyThreadState* __tstate = wxPyBeginAllowThreads();
10065 result = (int)(arg1)->GetWidth();
10066
10067 wxPyEndAllowThreads(__tstate);
10068 if (PyErr_Occurred()) SWIG_fail;
10069 }
15afbcd0 10070 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10071 return resultobj;
10072 fail:
10073 return NULL;
10074}
10075
10076
10077static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10078 PyObject *resultobj;
10079 wxImage *arg1 = (wxImage *) 0 ;
10080 int result;
10081 PyObject * obj0 = 0 ;
10082 char *kwnames[] = {
10083 (char *) "self", NULL
10084 };
10085
10086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
10087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10089 {
10090 PyThreadState* __tstate = wxPyBeginAllowThreads();
10091 result = (int)(arg1)->GetHeight();
10092
10093 wxPyEndAllowThreads(__tstate);
10094 if (PyErr_Occurred()) SWIG_fail;
10095 }
15afbcd0 10096 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10097 return resultobj;
10098 fail:
10099 return NULL;
10100}
10101
10102
b2df227b
RD
10103static PyObject *_wrap_Image_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10104 PyObject *resultobj;
10105 wxImage *arg1 = (wxImage *) 0 ;
10106 wxSize result;
10107 PyObject * obj0 = 0 ;
10108 char *kwnames[] = {
10109 (char *) "self", NULL
10110 };
10111
10112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
10113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10115 {
10116 PyThreadState* __tstate = wxPyBeginAllowThreads();
10117 result = wxImage_GetSize(arg1);
10118
10119 wxPyEndAllowThreads(__tstate);
10120 if (PyErr_Occurred()) SWIG_fail;
10121 }
10122 {
10123 wxSize * resultptr;
10124 resultptr = new wxSize((wxSize &) result);
10125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10126 }
10127 return resultobj;
10128 fail:
10129 return NULL;
10130}
10131
10132
d14a1e28
RD
10133static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
10134 PyObject *resultobj;
10135 wxImage *arg1 = (wxImage *) 0 ;
10136 wxRect *arg2 = 0 ;
10137 SwigValueWrapper< wxImage > result;
10138 wxRect temp2 ;
10139 PyObject * obj0 = 0 ;
10140 PyObject * obj1 = 0 ;
10141 char *kwnames[] = {
10142 (char *) "self",(char *) "rect", NULL
10143 };
10144
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10148 {
10149 arg2 = &temp2;
10150 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10151 }
10152 {
10153 PyThreadState* __tstate = wxPyBeginAllowThreads();
10154 result = (arg1)->GetSubImage((wxRect const &)*arg2);
10155
10156 wxPyEndAllowThreads(__tstate);
10157 if (PyErr_Occurred()) SWIG_fail;
10158 }
10159 {
10160 wxImage * resultptr;
10161 resultptr = new wxImage((wxImage &) result);
15afbcd0 10162 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10163 }
10164 return resultobj;
10165 fail:
10166 return NULL;
10167}
10168
10169
10170static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
10171 PyObject *resultobj;
10172 wxImage *arg1 = (wxImage *) 0 ;
10173 SwigValueWrapper< wxImage > result;
10174 PyObject * obj0 = 0 ;
10175 char *kwnames[] = {
10176 (char *) "self", NULL
10177 };
10178
10179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
10180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10182 {
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
10184 result = (arg1)->Copy();
10185
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 {
10190 wxImage * resultptr;
10191 resultptr = new wxImage((wxImage &) result);
15afbcd0 10192 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10193 }
10194 return resultobj;
10195 fail:
10196 return NULL;
10197}
10198
10199
10200static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
10201 PyObject *resultobj;
10202 wxImage *arg1 = (wxImage *) 0 ;
10203 wxImage *arg2 = 0 ;
10204 int arg3 ;
10205 int arg4 ;
10206 PyObject * obj0 = 0 ;
10207 PyObject * obj1 = 0 ;
994141e6
RD
10208 PyObject * obj2 = 0 ;
10209 PyObject * obj3 = 0 ;
d14a1e28
RD
10210 char *kwnames[] = {
10211 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10212 };
10213
994141e6 10214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10217 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10218 SWIG_POINTER_EXCEPTION | 0)) == -1)
10219 SWIG_fail;
d14a1e28 10220 if (arg2 == NULL) {
15afbcd0
RD
10221 PyErr_SetString(PyExc_TypeError,"null reference");
10222 SWIG_fail;
994141e6 10223 }
15afbcd0
RD
10224 arg3 = (int) SWIG_AsInt(obj2);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 arg4 = (int) SWIG_AsInt(obj3);
10227 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10231
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
10235 Py_INCREF(Py_None); resultobj = Py_None;
10236 return resultobj;
10237 fail:
10238 return NULL;
10239}
10240
10241
10242static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10243 PyObject *resultobj;
10244 wxImage *arg1 = (wxImage *) 0 ;
10245 PyObject *result;
10246 PyObject * obj0 = 0 ;
10247 char *kwnames[] = {
10248 (char *) "self", NULL
10249 };
10250
10251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10254 {
10255 PyThreadState* __tstate = wxPyBeginAllowThreads();
10256 result = (PyObject *)wxImage_GetData(arg1);
10257
10258 wxPyEndAllowThreads(__tstate);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
10261 resultobj = result;
10262 return resultobj;
10263 fail:
10264 return NULL;
10265}
10266
10267
10268static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10269 PyObject *resultobj;
10270 wxImage *arg1 = (wxImage *) 0 ;
10271 PyObject *arg2 = (PyObject *) 0 ;
10272 PyObject * obj0 = 0 ;
10273 PyObject * obj1 = 0 ;
10274 char *kwnames[] = {
10275 (char *) "self",(char *) "data", NULL
10276 };
10277
10278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10281 arg2 = obj1;
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 wxImage_SetData(arg1,arg2);
10285
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 Py_INCREF(Py_None); resultobj = Py_None;
10290 return resultobj;
10291 fail:
10292 return NULL;
10293}
10294
10295
10296static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject *resultobj;
10298 wxImage *arg1 = (wxImage *) 0 ;
10299 PyObject *result;
10300 PyObject * obj0 = 0 ;
10301 char *kwnames[] = {
10302 (char *) "self", NULL
10303 };
10304
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10308 {
10309 PyThreadState* __tstate = wxPyBeginAllowThreads();
10310 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10311
10312 wxPyEndAllowThreads(__tstate);
10313 if (PyErr_Occurred()) SWIG_fail;
10314 }
10315 resultobj = result;
10316 return resultobj;
10317 fail:
10318 return NULL;
10319}
10320
10321
10322static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10323 PyObject *resultobj;
10324 wxImage *arg1 = (wxImage *) 0 ;
10325 PyObject *arg2 = (PyObject *) 0 ;
10326 PyObject * obj0 = 0 ;
10327 PyObject * obj1 = 0 ;
10328 char *kwnames[] = {
10329 (char *) "self",(char *) "data", NULL
10330 };
10331
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10335 arg2 = obj1;
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
10338 wxImage_SetDataBuffer(arg1,arg2);
10339
10340 wxPyEndAllowThreads(__tstate);
10341 if (PyErr_Occurred()) SWIG_fail;
10342 }
10343 Py_INCREF(Py_None); resultobj = Py_None;
10344 return resultobj;
10345 fail:
10346 return NULL;
10347}
10348
10349
10350static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj;
10352 wxImage *arg1 = (wxImage *) 0 ;
10353 PyObject *result;
10354 PyObject * obj0 = 0 ;
10355 char *kwnames[] = {
10356 (char *) "self", NULL
10357 };
10358
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10362 {
10363 PyThreadState* __tstate = wxPyBeginAllowThreads();
10364 result = (PyObject *)wxImage_GetAlphaData(arg1);
10365
10366 wxPyEndAllowThreads(__tstate);
10367 if (PyErr_Occurred()) SWIG_fail;
10368 }
10369 resultobj = result;
10370 return resultobj;
10371 fail:
10372 return NULL;
10373}
10374
10375
10376static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10377 PyObject *resultobj;
10378 wxImage *arg1 = (wxImage *) 0 ;
10379 PyObject *arg2 = (PyObject *) 0 ;
10380 PyObject * obj0 = 0 ;
10381 PyObject * obj1 = 0 ;
10382 char *kwnames[] = {
10383 (char *) "self",(char *) "data", NULL
10384 };
10385
10386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10389 arg2 = obj1;
10390 {
10391 PyThreadState* __tstate = wxPyBeginAllowThreads();
10392 wxImage_SetAlphaData(arg1,arg2);
10393
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 Py_INCREF(Py_None); resultobj = Py_None;
10398 return resultobj;
10399 fail:
10400 return NULL;
10401}
10402
10403
10404static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10405 PyObject *resultobj;
10406 wxImage *arg1 = (wxImage *) 0 ;
10407 PyObject *result;
10408 PyObject * obj0 = 0 ;
10409 char *kwnames[] = {
10410 (char *) "self", NULL
10411 };
10412
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 resultobj = result;
10424 return resultobj;
10425 fail:
10426 return NULL;
10427}
10428
10429
10430static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10431 PyObject *resultobj;
10432 wxImage *arg1 = (wxImage *) 0 ;
10433 PyObject *arg2 = (PyObject *) 0 ;
10434 PyObject * obj0 = 0 ;
10435 PyObject * obj1 = 0 ;
10436 char *kwnames[] = {
10437 (char *) "self",(char *) "data", NULL
10438 };
10439
10440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10443 arg2 = obj1;
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 wxImage_SetAlphaBuffer(arg1,arg2);
10447
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 Py_INCREF(Py_None); resultobj = Py_None;
10452 return resultobj;
10453 fail:
10454 return NULL;
10455}
10456
10457
10458static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj;
10460 wxImage *arg1 = (wxImage *) 0 ;
10461 unsigned char arg2 ;
10462 unsigned char arg3 ;
10463 unsigned char arg4 ;
10464 PyObject * obj0 = 0 ;
10465 PyObject * obj1 = 0 ;
10466 PyObject * obj2 = 0 ;
10467 PyObject * obj3 = 0 ;
10468 char *kwnames[] = {
10469 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10470 };
10471
10472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10475 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10478 if (PyErr_Occurred()) SWIG_fail;
10479 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10480 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10481 {
10482 PyThreadState* __tstate = wxPyBeginAllowThreads();
10483 (arg1)->SetMaskColour(arg2,arg3,arg4);
10484
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 Py_INCREF(Py_None); resultobj = Py_None;
10489 return resultobj;
10490 fail:
10491 return NULL;
10492}
10493
10494
10495static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
10496 PyObject *resultobj;
10497 wxImage *arg1 = (wxImage *) 0 ;
10498 unsigned char result;
10499 PyObject * obj0 = 0 ;
10500 char *kwnames[] = {
10501 (char *) "self", NULL
10502 };
10503
10504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
15afbcd0
RD
10505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10507 {
10508 PyThreadState* __tstate = wxPyBeginAllowThreads();
10509 result = (unsigned char)(arg1)->GetMaskRed();
10510
10511 wxPyEndAllowThreads(__tstate);
10512 if (PyErr_Occurred()) SWIG_fail;
10513 }
15afbcd0 10514 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10515 return resultobj;
10516 fail:
10517 return NULL;
10518}
10519
10520
10521static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10522 PyObject *resultobj;
10523 wxImage *arg1 = (wxImage *) 0 ;
10524 unsigned char result;
10525 PyObject * obj0 = 0 ;
10526 char *kwnames[] = {
10527 (char *) "self", NULL
10528 };
10529
10530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
10531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10533 {
10534 PyThreadState* __tstate = wxPyBeginAllowThreads();
10535 result = (unsigned char)(arg1)->GetMaskGreen();
10536
10537 wxPyEndAllowThreads(__tstate);
10538 if (PyErr_Occurred()) SWIG_fail;
10539 }
15afbcd0 10540 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10541 return resultobj;
10542 fail:
10543 return NULL;
10544}
10545
10546
10547static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
10548 PyObject *resultobj;
10549 wxImage *arg1 = (wxImage *) 0 ;
10550 unsigned char result;
10551 PyObject * obj0 = 0 ;
10552 char *kwnames[] = {
10553 (char *) "self", NULL
10554 };
10555
10556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 result = (unsigned char)(arg1)->GetMaskBlue();
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
15afbcd0 10566 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10567 return resultobj;
10568 fail:
10569 return NULL;
10570}
10571
10572
10573static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj;
10575 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10576 bool arg2 = (bool) True ;
d14a1e28
RD
10577 PyObject * obj0 = 0 ;
10578 PyObject * obj1 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "self",(char *) "mask", NULL
10581 };
10582
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10586 if (obj1) {
15afbcd0
RD
10587 arg2 = (bool) SWIG_AsBool(obj1);
10588 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10589 }
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 (arg1)->SetMask(arg2);
10593
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 Py_INCREF(Py_None); resultobj = Py_None;
10598 return resultobj;
10599 fail:
10600 return NULL;
10601}
10602
10603
10604static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10605 PyObject *resultobj;
10606 wxImage *arg1 = (wxImage *) 0 ;
10607 bool result;
10608 PyObject * obj0 = 0 ;
10609 char *kwnames[] = {
10610 (char *) "self", NULL
10611 };
10612
10613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
10614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10616 {
10617 PyThreadState* __tstate = wxPyBeginAllowThreads();
10618 result = (bool)(arg1)->HasMask();
10619
10620 wxPyEndAllowThreads(__tstate);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 }
4f89f6a3
RD
10623 {
10624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10625 }
d14a1e28
RD
10626 return resultobj;
10627 fail:
10628 return NULL;
10629}
10630
10631
10632static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
10633 PyObject *resultobj;
10634 wxImage *arg1 = (wxImage *) 0 ;
10635 double arg2 ;
10636 wxPoint *arg3 = 0 ;
e811c8ce 10637 bool arg4 = (bool) True ;
d14a1e28
RD
10638 wxPoint *arg5 = (wxPoint *) NULL ;
10639 SwigValueWrapper< wxImage > result;
10640 wxPoint temp3 ;
10641 PyObject * obj0 = 0 ;
994141e6 10642 PyObject * obj1 = 0 ;
d14a1e28
RD
10643 PyObject * obj2 = 0 ;
10644 PyObject * obj3 = 0 ;
10645 PyObject * obj4 = 0 ;
10646 char *kwnames[] = {
10647 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10648 };
10649
994141e6 10650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10653 arg2 = (double) SWIG_AsDouble(obj1);
10654 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10655 {
10656 arg3 = &temp3;
10657 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10658 }
10659 if (obj3) {
15afbcd0
RD
10660 arg4 = (bool) SWIG_AsBool(obj3);
10661 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10662 }
10663 if (obj4) {
15afbcd0
RD
10664 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10666 }
10667 {
10668 PyThreadState* __tstate = wxPyBeginAllowThreads();
10669 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10670
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 {
10675 wxImage * resultptr;
10676 resultptr = new wxImage((wxImage &) result);
15afbcd0 10677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10678 }
10679 return resultobj;
10680 fail:
10681 return NULL;
10682}
10683
10684
10685static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
10686 PyObject *resultobj;
10687 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10688 bool arg2 = (bool) True ;
d14a1e28
RD
10689 SwigValueWrapper< wxImage > result;
10690 PyObject * obj0 = 0 ;
10691 PyObject * obj1 = 0 ;
10692 char *kwnames[] = {
10693 (char *) "self",(char *) "clockwise", NULL
10694 };
10695
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10699 if (obj1) {
15afbcd0
RD
10700 arg2 = (bool) SWIG_AsBool(obj1);
10701 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10702 }
10703 {
10704 PyThreadState* __tstate = wxPyBeginAllowThreads();
10705 result = (arg1)->Rotate90(arg2);
10706
10707 wxPyEndAllowThreads(__tstate);
10708 if (PyErr_Occurred()) SWIG_fail;
10709 }
10710 {
10711 wxImage * resultptr;
10712 resultptr = new wxImage((wxImage &) result);
15afbcd0 10713 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10714 }
10715 return resultobj;
10716 fail:
10717 return NULL;
10718}
10719
10720
10721static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
10722 PyObject *resultobj;
10723 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10724 bool arg2 = (bool) True ;
d14a1e28
RD
10725 SwigValueWrapper< wxImage > result;
10726 PyObject * obj0 = 0 ;
10727 PyObject * obj1 = 0 ;
10728 char *kwnames[] = {
10729 (char *) "self",(char *) "horizontally", NULL
10730 };
10731
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10735 if (obj1) {
15afbcd0
RD
10736 arg2 = (bool) SWIG_AsBool(obj1);
10737 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10738 }
10739 {
10740 PyThreadState* __tstate = wxPyBeginAllowThreads();
10741 result = (arg1)->Mirror(arg2);
10742
10743 wxPyEndAllowThreads(__tstate);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
10746 {
10747 wxImage * resultptr;
10748 resultptr = new wxImage((wxImage &) result);
15afbcd0 10749 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10750 }
10751 return resultobj;
10752 fail:
10753 return NULL;
10754}
10755
10756
10757static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
10758 PyObject *resultobj;
10759 wxImage *arg1 = (wxImage *) 0 ;
10760 unsigned char arg2 ;
10761 unsigned char arg3 ;
10762 unsigned char arg4 ;
10763 unsigned char arg5 ;
10764 unsigned char arg6 ;
10765 unsigned char arg7 ;
10766 PyObject * obj0 = 0 ;
10767 PyObject * obj1 = 0 ;
10768 PyObject * obj2 = 0 ;
10769 PyObject * obj3 = 0 ;
10770 PyObject * obj4 = 0 ;
10771 PyObject * obj5 = 0 ;
10772 PyObject * obj6 = 0 ;
10773 char *kwnames[] = {
10774 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10775 };
10776
10777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10780 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10783 if (PyErr_Occurred()) SWIG_fail;
10784 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
10787 if (PyErr_Occurred()) SWIG_fail;
10788 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
10789 if (PyErr_Occurred()) SWIG_fail;
10790 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj6);
10791 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10792 {
10793 PyThreadState* __tstate = wxPyBeginAllowThreads();
10794 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10795
10796 wxPyEndAllowThreads(__tstate);
10797 if (PyErr_Occurred()) SWIG_fail;
10798 }
10799 Py_INCREF(Py_None); resultobj = Py_None;
10800 return resultobj;
10801 fail:
10802 return NULL;
10803}
10804
10805
10806static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
10807 PyObject *resultobj;
10808 wxImage *arg1 = (wxImage *) 0 ;
10809 unsigned char arg2 ;
10810 unsigned char arg3 ;
10811 unsigned char arg4 ;
10812 SwigValueWrapper< wxImage > result;
10813 PyObject * obj0 = 0 ;
10814 PyObject * obj1 = 0 ;
10815 PyObject * obj2 = 0 ;
10816 PyObject * obj3 = 0 ;
10817 char *kwnames[] = {
10818 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10819 };
10820
10821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10824 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10825 if (PyErr_Occurred()) SWIG_fail;
10826 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10829 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10830 {
10831 PyThreadState* __tstate = wxPyBeginAllowThreads();
10832 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10833
10834 wxPyEndAllowThreads(__tstate);
10835 if (PyErr_Occurred()) SWIG_fail;
10836 }
10837 {
10838 wxImage * resultptr;
10839 resultptr = new wxImage((wxImage &) result);
15afbcd0 10840 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10841 }
10842 return resultobj;
10843 fail:
10844 return NULL;
10845}
10846
10847
10848static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10849 PyObject *resultobj;
10850 wxImage *arg1 = (wxImage *) 0 ;
10851 wxString *arg2 = 0 ;
10852 wxString *arg3 = 0 ;
e811c8ce
RD
10853 bool temp2 = False ;
10854 bool temp3 = False ;
d14a1e28
RD
10855 PyObject * obj0 = 0 ;
10856 PyObject * obj1 = 0 ;
10857 PyObject * obj2 = 0 ;
10858 char *kwnames[] = {
10859 (char *) "self",(char *) "name",(char *) "value", NULL
10860 };
10861
10862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10865 {
10866 arg2 = wxString_in_helper(obj1);
10867 if (arg2 == NULL) SWIG_fail;
e811c8ce 10868 temp2 = True;
d14a1e28
RD
10869 }
10870 {
10871 arg3 = wxString_in_helper(obj2);
10872 if (arg3 == NULL) SWIG_fail;
e811c8ce 10873 temp3 = True;
d14a1e28
RD
10874 }
10875 {
10876 PyThreadState* __tstate = wxPyBeginAllowThreads();
10877 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10878
10879 wxPyEndAllowThreads(__tstate);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 }
10882 Py_INCREF(Py_None); resultobj = Py_None;
10883 {
10884 if (temp2)
10885 delete arg2;
10886 }
10887 {
10888 if (temp3)
10889 delete arg3;
10890 }
10891 return resultobj;
10892 fail:
10893 {
10894 if (temp2)
10895 delete arg2;
10896 }
10897 {
10898 if (temp3)
10899 delete arg3;
10900 }
10901 return NULL;
10902}
10903
10904
10905static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10906 PyObject *resultobj;
10907 wxImage *arg1 = (wxImage *) 0 ;
10908 wxString *arg2 = 0 ;
10909 int arg3 ;
e811c8ce 10910 bool temp2 = False ;
d14a1e28
RD
10911 PyObject * obj0 = 0 ;
10912 PyObject * obj1 = 0 ;
994141e6 10913 PyObject * obj2 = 0 ;
d14a1e28
RD
10914 char *kwnames[] = {
10915 (char *) "self",(char *) "name",(char *) "value", NULL
10916 };
10917
994141e6 10918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10921 {
10922 arg2 = wxString_in_helper(obj1);
10923 if (arg2 == NULL) SWIG_fail;
e811c8ce 10924 temp2 = True;
d14a1e28 10925 }
15afbcd0
RD
10926 arg3 = (int) SWIG_AsInt(obj2);
10927 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10928 {
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 (arg1)->SetOption((wxString const &)*arg2,arg3);
10931
10932 wxPyEndAllowThreads(__tstate);
10933 if (PyErr_Occurred()) SWIG_fail;
10934 }
10935 Py_INCREF(Py_None); resultobj = Py_None;
10936 {
10937 if (temp2)
10938 delete arg2;
10939 }
10940 return resultobj;
10941 fail:
10942 {
10943 if (temp2)
10944 delete arg2;
10945 }
10946 return NULL;
10947}
10948
10949
10950static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10951 PyObject *resultobj;
10952 wxImage *arg1 = (wxImage *) 0 ;
10953 wxString *arg2 = 0 ;
10954 wxString result;
e811c8ce 10955 bool temp2 = False ;
d14a1e28
RD
10956 PyObject * obj0 = 0 ;
10957 PyObject * obj1 = 0 ;
10958 char *kwnames[] = {
10959 (char *) "self",(char *) "name", NULL
10960 };
10961
10962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10965 {
10966 arg2 = wxString_in_helper(obj1);
10967 if (arg2 == NULL) SWIG_fail;
e811c8ce 10968 temp2 = True;
d14a1e28
RD
10969 }
10970 {
10971 PyThreadState* __tstate = wxPyBeginAllowThreads();
10972 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10973
10974 wxPyEndAllowThreads(__tstate);
10975 if (PyErr_Occurred()) SWIG_fail;
10976 }
10977 {
10978#if wxUSE_UNICODE
10979 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10980#else
10981 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10982#endif
10983 }
10984 {
10985 if (temp2)
10986 delete arg2;
10987 }
10988 return resultobj;
10989 fail:
10990 {
10991 if (temp2)
10992 delete arg2;
10993 }
10994 return NULL;
10995}
10996
10997
10998static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10999 PyObject *resultobj;
11000 wxImage *arg1 = (wxImage *) 0 ;
11001 wxString *arg2 = 0 ;
11002 int result;
e811c8ce 11003 bool temp2 = False ;
d14a1e28
RD
11004 PyObject * obj0 = 0 ;
11005 PyObject * obj1 = 0 ;
11006 char *kwnames[] = {
11007 (char *) "self",(char *) "name", NULL
11008 };
11009
11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11013 {
11014 arg2 = wxString_in_helper(obj1);
11015 if (arg2 == NULL) SWIG_fail;
e811c8ce 11016 temp2 = True;
d14a1e28
RD
11017 }
11018 {
11019 PyThreadState* __tstate = wxPyBeginAllowThreads();
11020 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
11021
11022 wxPyEndAllowThreads(__tstate);
11023 if (PyErr_Occurred()) SWIG_fail;
11024 }
15afbcd0 11025 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11026 {
11027 if (temp2)
11028 delete arg2;
11029 }
11030 return resultobj;
11031 fail:
11032 {
11033 if (temp2)
11034 delete arg2;
11035 }
11036 return NULL;
11037}
11038
11039
11040static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
11041 PyObject *resultobj;
11042 wxImage *arg1 = (wxImage *) 0 ;
11043 wxString *arg2 = 0 ;
11044 bool result;
e811c8ce 11045 bool temp2 = False ;
d14a1e28
RD
11046 PyObject * obj0 = 0 ;
11047 PyObject * obj1 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "self",(char *) "name", NULL
11050 };
11051
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11055 {
11056 arg2 = wxString_in_helper(obj1);
11057 if (arg2 == NULL) SWIG_fail;
e811c8ce 11058 temp2 = True;
d14a1e28
RD
11059 }
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
11062 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
11063
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
4f89f6a3
RD
11067 {
11068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11069 }
d14a1e28
RD
11070 {
11071 if (temp2)
11072 delete arg2;
11073 }
11074 return resultobj;
11075 fail:
11076 {
11077 if (temp2)
11078 delete arg2;
11079 }
11080 return NULL;
11081}
11082
11083
11084static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
11085 PyObject *resultobj;
11086 wxImage *arg1 = (wxImage *) 0 ;
11087 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
11088 unsigned long result;
11089 PyObject * obj0 = 0 ;
11090 PyObject * obj1 = 0 ;
11091 char *kwnames[] = {
11092 (char *) "self",(char *) "stopafter", NULL
11093 };
11094
11095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11098 if (obj1) {
15afbcd0
RD
11099 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
11100 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11101 }
11102 {
11103 PyThreadState* __tstate = wxPyBeginAllowThreads();
11104 result = (unsigned long)(arg1)->CountColours(arg2);
11105
11106 wxPyEndAllowThreads(__tstate);
11107 if (PyErr_Occurred()) SWIG_fail;
11108 }
15afbcd0 11109 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
11110 return resultobj;
11111 fail:
11112 return NULL;
11113}
11114
11115
11116static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
11117 PyObject *resultobj;
11118 wxImage *arg1 = (wxImage *) 0 ;
11119 wxImageHistogram *arg2 = 0 ;
11120 unsigned long result;
11121 PyObject * obj0 = 0 ;
11122 PyObject * obj1 = 0 ;
11123 char *kwnames[] = {
11124 (char *) "self",(char *) "h", NULL
11125 };
11126
11127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
11131 SWIG_POINTER_EXCEPTION | 0)) == -1)
11132 SWIG_fail;
d14a1e28 11133 if (arg2 == NULL) {
15afbcd0
RD
11134 PyErr_SetString(PyExc_TypeError,"null reference");
11135 SWIG_fail;
d14a1e28
RD
11136 }
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
11140
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
15afbcd0 11144 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
11145 return resultobj;
11146 fail:
11147 return NULL;
11148}
11149
11150
11151static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11152 PyObject *resultobj;
11153 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11154 PyObject * obj0 = 0 ;
11155 char *kwnames[] = {
11156 (char *) "handler", NULL
11157 };
11158
11159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11162 {
11163 PyThreadState* __tstate = wxPyBeginAllowThreads();
11164 wxImage::AddHandler(arg1);
11165
11166 wxPyEndAllowThreads(__tstate);
11167 if (PyErr_Occurred()) SWIG_fail;
11168 }
11169 Py_INCREF(Py_None); resultobj = Py_None;
11170 return resultobj;
11171 fail:
11172 return NULL;
11173}
11174
11175
11176static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11177 PyObject *resultobj;
11178 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11179 PyObject * obj0 = 0 ;
11180 char *kwnames[] = {
11181 (char *) "handler", NULL
11182 };
11183
11184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 wxImage::InsertHandler(arg1);
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 Py_INCREF(Py_None); resultobj = Py_None;
11195 return resultobj;
11196 fail:
11197 return NULL;
11198}
11199
11200
11201static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11202 PyObject *resultobj;
11203 wxString *arg1 = 0 ;
11204 bool result;
e811c8ce 11205 bool temp1 = False ;
d14a1e28
RD
11206 PyObject * obj0 = 0 ;
11207 char *kwnames[] = {
11208 (char *) "name", NULL
11209 };
11210
11211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11212 {
11213 arg1 = wxString_in_helper(obj0);
11214 if (arg1 == NULL) SWIG_fail;
e811c8ce 11215 temp1 = True;
d14a1e28
RD
11216 }
11217 {
11218 PyThreadState* __tstate = wxPyBeginAllowThreads();
11219 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11220
11221 wxPyEndAllowThreads(__tstate);
11222 if (PyErr_Occurred()) SWIG_fail;
11223 }
4f89f6a3
RD
11224 {
11225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11226 }
d14a1e28
RD
11227 {
11228 if (temp1)
11229 delete arg1;
11230 }
11231 return resultobj;
11232 fail:
11233 {
11234 if (temp1)
11235 delete arg1;
11236 }
11237 return NULL;
11238}
11239
11240
11241static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11242 PyObject *resultobj;
11243 wxString result;
11244 char *kwnames[] = {
11245 NULL
11246 };
11247
11248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
11251 result = wxImage::GetImageExtWildcard();
11252
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
11256 {
11257#if wxUSE_UNICODE
11258 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11259#else
11260 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11261#endif
11262 }
11263 return resultobj;
11264 fail:
11265 return NULL;
11266}
11267
11268
11269static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11270 PyObject *resultobj;
11271 wxImage *arg1 = (wxImage *) 0 ;
11272 wxBitmap result;
11273 PyObject * obj0 = 0 ;
11274 char *kwnames[] = {
11275 (char *) "self", NULL
11276 };
11277
11278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
11279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11281 {
e3b71cb8 11282 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 result = wxImage_ConvertToBitmap(arg1);
11285
11286 wxPyEndAllowThreads(__tstate);
110da5b0 11287 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11288 }
11289 {
11290 wxBitmap * resultptr;
11291 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11292 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11293 }
11294 return resultobj;
11295 fail:
11296 return NULL;
11297}
11298
11299
11300static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11301 PyObject *resultobj;
11302 wxImage *arg1 = (wxImage *) 0 ;
11303 unsigned char arg2 ;
11304 unsigned char arg3 ;
11305 unsigned char arg4 ;
11306 wxBitmap result;
11307 PyObject * obj0 = 0 ;
11308 PyObject * obj1 = 0 ;
11309 PyObject * obj2 = 0 ;
11310 PyObject * obj3 = 0 ;
11311 char *kwnames[] = {
11312 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11313 };
11314
11315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11318 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
11323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11324 {
e3b71cb8 11325 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11326 PyThreadState* __tstate = wxPyBeginAllowThreads();
11327 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11328
11329 wxPyEndAllowThreads(__tstate);
110da5b0 11330 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11331 }
11332 {
11333 wxBitmap * resultptr;
11334 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11335 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11336 }
11337 return resultobj;
11338 fail:
11339 return NULL;
11340}
11341
11342
11343static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
11344 PyObject *obj;
11345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11346 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11347 Py_INCREF(obj);
11348 return Py_BuildValue((char *)"");
11349}
d14a1e28
RD
11350static int _wrap_NullImage_set(PyObject *_val) {
11351 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11352 return 1;
11353}
11354
11355
11356static PyObject *_wrap_NullImage_get() {
11357 PyObject *pyobj;
11358
15afbcd0 11359 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
11360 return pyobj;
11361}
11362
11363
11364static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
11365 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11366 return 1;
11367}
11368
11369
11370static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11371 PyObject *pyobj;
11372
11373 {
11374#if wxUSE_UNICODE
11375 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11376#else
11377 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11378#endif
11379 }
11380 return pyobj;
11381}
11382
11383
11384static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
11385 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11386 return 1;
11387}
11388
11389
11390static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11391 PyObject *pyobj;
11392
11393 {
11394#if wxUSE_UNICODE
11395 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11396#else
11397 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11398#endif
11399 }
11400 return pyobj;
11401}
11402
11403
11404static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
11405 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11406 return 1;
11407}
11408
11409
11410static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11411 PyObject *pyobj;
11412
11413 {
11414#if wxUSE_UNICODE
11415 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11416#else
11417 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11418#endif
11419 }
11420 return pyobj;
11421}
11422
11423
11424static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
11425 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11426 return 1;
11427}
11428
11429
11430static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11431 PyObject *pyobj;
11432
11433 {
11434#if wxUSE_UNICODE
11435 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11436#else
11437 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11438#endif
11439 }
11440 return pyobj;
11441}
11442
11443
11444static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
11445 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11446 return 1;
11447}
11448
11449
11450static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11451 PyObject *pyobj;
11452
11453 {
11454#if wxUSE_UNICODE
11455 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11456#else
11457 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11458#endif
11459 }
11460 return pyobj;
11461}
11462
11463
11464static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11465 PyObject *resultobj;
11466 wxBMPHandler *result;
11467 char *kwnames[] = {
11468 NULL
11469 };
11470
11471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11472 {
11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
11474 result = (wxBMPHandler *)new wxBMPHandler();
11475
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
15afbcd0 11479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
d14a1e28
RD
11480 return resultobj;
11481 fail:
11482 return NULL;
11483}
11484
11485
11486static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
11487 PyObject *obj;
11488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11489 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11490 Py_INCREF(obj);
11491 return Py_BuildValue((char *)"");
11492}
11493static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11494 PyObject *resultobj;
11495 wxICOHandler *result;
11496 char *kwnames[] = {
11497 NULL
11498 };
11499
11500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 result = (wxICOHandler *)new wxICOHandler();
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
15afbcd0 11508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
d14a1e28
RD
11509 return resultobj;
11510 fail:
11511 return NULL;
11512}
11513
11514
11515static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
11516 PyObject *obj;
11517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11518 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11519 Py_INCREF(obj);
11520 return Py_BuildValue((char *)"");
11521}
11522static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11523 PyObject *resultobj;
11524 wxCURHandler *result;
11525 char *kwnames[] = {
11526 NULL
11527 };
11528
11529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11530 {
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 result = (wxCURHandler *)new wxCURHandler();
11533
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
15afbcd0 11537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
d14a1e28
RD
11538 return resultobj;
11539 fail:
11540 return NULL;
11541}
11542
11543
11544static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
11545 PyObject *obj;
11546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11547 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11548 Py_INCREF(obj);
11549 return Py_BuildValue((char *)"");
11550}
11551static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11552 PyObject *resultobj;
11553 wxANIHandler *result;
11554 char *kwnames[] = {
11555 NULL
11556 };
11557
11558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
11561 result = (wxANIHandler *)new wxANIHandler();
11562
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
15afbcd0 11566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
d14a1e28
RD
11567 return resultobj;
11568 fail:
11569 return NULL;
11570}
11571
11572
11573static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
11574 PyObject *obj;
11575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11576 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11577 Py_INCREF(obj);
11578 return Py_BuildValue((char *)"");
11579}
11580static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11581 PyObject *resultobj;
11582 wxPNGHandler *result;
11583 char *kwnames[] = {
11584 NULL
11585 };
11586
11587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11588 {
11589 PyThreadState* __tstate = wxPyBeginAllowThreads();
11590 result = (wxPNGHandler *)new wxPNGHandler();
11591
11592 wxPyEndAllowThreads(__tstate);
11593 if (PyErr_Occurred()) SWIG_fail;
11594 }
15afbcd0 11595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
d14a1e28
RD
11596 return resultobj;
11597 fail:
11598 return NULL;
11599}
11600
11601
11602static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
11603 PyObject *obj;
11604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11605 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11606 Py_INCREF(obj);
11607 return Py_BuildValue((char *)"");
11608}
11609static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11610 PyObject *resultobj;
11611 wxGIFHandler *result;
11612 char *kwnames[] = {
11613 NULL
11614 };
11615
11616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11617 {
11618 PyThreadState* __tstate = wxPyBeginAllowThreads();
11619 result = (wxGIFHandler *)new wxGIFHandler();
11620
11621 wxPyEndAllowThreads(__tstate);
11622 if (PyErr_Occurred()) SWIG_fail;
11623 }
15afbcd0 11624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
d14a1e28
RD
11625 return resultobj;
11626 fail:
11627 return NULL;
11628}
11629
11630
11631static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
11632 PyObject *obj;
11633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11634 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11635 Py_INCREF(obj);
11636 return Py_BuildValue((char *)"");
11637}
11638static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11639 PyObject *resultobj;
11640 wxPCXHandler *result;
11641 char *kwnames[] = {
11642 NULL
11643 };
11644
11645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11646 {
11647 PyThreadState* __tstate = wxPyBeginAllowThreads();
11648 result = (wxPCXHandler *)new wxPCXHandler();
11649
11650 wxPyEndAllowThreads(__tstate);
11651 if (PyErr_Occurred()) SWIG_fail;
11652 }
15afbcd0 11653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
d14a1e28
RD
11654 return resultobj;
11655 fail:
11656 return NULL;
11657}
11658
11659
11660static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
11661 PyObject *obj;
11662 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11663 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11664 Py_INCREF(obj);
11665 return Py_BuildValue((char *)"");
11666}
11667static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11668 PyObject *resultobj;
11669 wxJPEGHandler *result;
11670 char *kwnames[] = {
11671 NULL
11672 };
11673
11674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11675 {
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 result = (wxJPEGHandler *)new wxJPEGHandler();
11678
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
15afbcd0 11682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
d14a1e28
RD
11683 return resultobj;
11684 fail:
11685 return NULL;
11686}
11687
11688
11689static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
11690 PyObject *obj;
11691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11692 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11693 Py_INCREF(obj);
11694 return Py_BuildValue((char *)"");
11695}
11696static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11697 PyObject *resultobj;
11698 wxPNMHandler *result;
11699 char *kwnames[] = {
11700 NULL
11701 };
11702
11703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11704 {
11705 PyThreadState* __tstate = wxPyBeginAllowThreads();
11706 result = (wxPNMHandler *)new wxPNMHandler();
11707
11708 wxPyEndAllowThreads(__tstate);
11709 if (PyErr_Occurred()) SWIG_fail;
11710 }
15afbcd0 11711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
d14a1e28
RD
11712 return resultobj;
11713 fail:
11714 return NULL;
11715}
11716
11717
11718static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
11719 PyObject *obj;
11720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11721 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11722 Py_INCREF(obj);
11723 return Py_BuildValue((char *)"");
11724}
11725static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11726 PyObject *resultobj;
11727 wxXPMHandler *result;
11728 char *kwnames[] = {
11729 NULL
11730 };
11731
11732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 result = (wxXPMHandler *)new wxXPMHandler();
11736
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
15afbcd0 11740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
d14a1e28
RD
11741 return resultobj;
11742 fail:
11743 return NULL;
11744}
11745
11746
11747static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
11748 PyObject *obj;
11749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11750 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11751 Py_INCREF(obj);
11752 return Py_BuildValue((char *)"");
11753}
11754static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11755 PyObject *resultobj;
11756 wxTIFFHandler *result;
11757 char *kwnames[] = {
11758 NULL
11759 };
11760
11761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11762 {
11763 PyThreadState* __tstate = wxPyBeginAllowThreads();
11764 result = (wxTIFFHandler *)new wxTIFFHandler();
11765
11766 wxPyEndAllowThreads(__tstate);
11767 if (PyErr_Occurred()) SWIG_fail;
11768 }
15afbcd0 11769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
d14a1e28
RD
11770 return resultobj;
11771 fail:
11772 return NULL;
11773}
11774
11775
11776static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
11777 PyObject *obj;
11778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11779 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11780 Py_INCREF(obj);
11781 return Py_BuildValue((char *)"");
11782}
c0de73ae
RD
11783static PyObject *_wrap_Quantize_Quantize(PyObject *self, PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj;
11785 wxImage *arg1 = 0 ;
11786 wxImage *arg2 = 0 ;
11787 int arg3 = (int) 236 ;
11788 int arg4 = (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE ;
11789 bool result;
11790 PyObject * obj0 = 0 ;
11791 PyObject * obj1 = 0 ;
11792 PyObject * obj2 = 0 ;
11793 PyObject * obj3 = 0 ;
11794 char *kwnames[] = {
11795 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
11796 };
11797
11798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Quantize_Quantize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11800 SWIG_POINTER_EXCEPTION | 0)) == -1)
11801 SWIG_fail;
11802 if (arg1 == NULL) {
11803 PyErr_SetString(PyExc_TypeError,"null reference");
11804 SWIG_fail;
11805 }
11806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
11807 SWIG_POINTER_EXCEPTION | 0)) == -1)
11808 SWIG_fail;
11809 if (arg2 == NULL) {
11810 PyErr_SetString(PyExc_TypeError,"null reference");
11811 SWIG_fail;
11812 }
11813 if (obj2) {
11814 arg3 = (int) SWIG_AsInt(obj2);
11815 if (PyErr_Occurred()) SWIG_fail;
11816 }
11817 if (obj3) {
11818 arg4 = (int) SWIG_AsInt(obj3);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 {
11822 PyThreadState* __tstate = wxPyBeginAllowThreads();
11823 result = (bool)Quantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4);
11824
11825 wxPyEndAllowThreads(__tstate);
11826 if (PyErr_Occurred()) SWIG_fail;
11827 }
11828 {
11829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11830 }
11831 return resultobj;
11832 fail:
11833 return NULL;
11834}
11835
11836
11837static PyObject * Quantize_swigregister(PyObject *self, PyObject *args) {
11838 PyObject *obj;
11839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11840 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize, obj);
11841 Py_INCREF(obj);
11842 return Py_BuildValue((char *)"");
11843}
d14a1e28
RD
11844static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11845 PyObject *resultobj;
11846 wxEvtHandler *result;
11847 char *kwnames[] = {
11848 NULL
11849 };
11850
11851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11852 {
11853 PyThreadState* __tstate = wxPyBeginAllowThreads();
11854 result = (wxEvtHandler *)new wxEvtHandler();
11855
11856 wxPyEndAllowThreads(__tstate);
11857 if (PyErr_Occurred()) SWIG_fail;
11858 }
b0f7404b 11859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvtHandler, 1);
d14a1e28
RD
11860 return resultobj;
11861 fail:
11862 return NULL;
11863}
11864
11865
11866static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11867 PyObject *resultobj;
11868 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11869 wxEvtHandler *result;
11870 PyObject * obj0 = 0 ;
11871 char *kwnames[] = {
11872 (char *) "self", NULL
11873 };
11874
11875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11878 {
11879 PyThreadState* __tstate = wxPyBeginAllowThreads();
11880 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11881
11882 wxPyEndAllowThreads(__tstate);
11883 if (PyErr_Occurred()) SWIG_fail;
11884 }
11885 {
412d302d 11886 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
11887 }
11888 return resultobj;
11889 fail:
11890 return NULL;
11891}
11892
11893
11894static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11895 PyObject *resultobj;
11896 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11897 wxEvtHandler *result;
11898 PyObject * obj0 = 0 ;
11899 char *kwnames[] = {
11900 (char *) "self", NULL
11901 };
11902
11903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11906 {
11907 PyThreadState* __tstate = wxPyBeginAllowThreads();
11908 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11909
11910 wxPyEndAllowThreads(__tstate);
11911 if (PyErr_Occurred()) SWIG_fail;
11912 }
11913 {
412d302d 11914 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
11915 }
11916 return resultobj;
11917 fail:
11918 return NULL;
11919}
11920
11921
11922static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11923 PyObject *resultobj;
11924 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11925 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11926 PyObject * obj0 = 0 ;
11927 PyObject * obj1 = 0 ;
11928 char *kwnames[] = {
11929 (char *) "self",(char *) "handler", NULL
11930 };
11931
11932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11937 {
11938 PyThreadState* __tstate = wxPyBeginAllowThreads();
11939 (arg1)->SetNextHandler(arg2);
11940
11941 wxPyEndAllowThreads(__tstate);
11942 if (PyErr_Occurred()) SWIG_fail;
11943 }
11944 Py_INCREF(Py_None); resultobj = Py_None;
11945 return resultobj;
11946 fail:
11947 return NULL;
11948}
11949
11950
11951static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11952 PyObject *resultobj;
11953 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11954 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11955 PyObject * obj0 = 0 ;
11956 PyObject * obj1 = 0 ;
11957 char *kwnames[] = {
11958 (char *) "self",(char *) "handler", NULL
11959 };
11960
11961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11964 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11966 {
11967 PyThreadState* __tstate = wxPyBeginAllowThreads();
11968 (arg1)->SetPreviousHandler(arg2);
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_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11981 PyObject *resultobj;
11982 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11983 bool result;
11984 PyObject * obj0 = 0 ;
11985 char *kwnames[] = {
11986 (char *) "self", NULL
11987 };
11988
11989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
11990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11992 {
11993 PyThreadState* __tstate = wxPyBeginAllowThreads();
11994 result = (bool)(arg1)->GetEvtHandlerEnabled();
11995
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
4f89f6a3
RD
11999 {
12000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12001 }
d14a1e28
RD
12002 return resultobj;
12003 fail:
12004 return NULL;
12005}
12006
12007
12008static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12009 PyObject *resultobj;
12010 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12011 bool arg2 ;
12012 PyObject * obj0 = 0 ;
12013 PyObject * obj1 = 0 ;
12014 char *kwnames[] = {
12015 (char *) "self",(char *) "enabled", NULL
12016 };
12017
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12021 arg2 = (bool) SWIG_AsBool(obj1);
12022 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12023 {
12024 PyThreadState* __tstate = wxPyBeginAllowThreads();
12025 (arg1)->SetEvtHandlerEnabled(arg2);
12026
12027 wxPyEndAllowThreads(__tstate);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 }
12030 Py_INCREF(Py_None); resultobj = Py_None;
12031 return resultobj;
12032 fail:
12033 return NULL;
12034}
12035
12036
12037static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12038 PyObject *resultobj;
12039 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12040 wxEvent *arg2 = 0 ;
12041 bool result;
12042 PyObject * obj0 = 0 ;
12043 PyObject * obj1 = 0 ;
12044 char *kwnames[] = {
12045 (char *) "self",(char *) "event", NULL
12046 };
12047
12048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12052 SWIG_POINTER_EXCEPTION | 0)) == -1)
12053 SWIG_fail;
d14a1e28 12054 if (arg2 == NULL) {
15afbcd0
RD
12055 PyErr_SetString(PyExc_TypeError,"null reference");
12056 SWIG_fail;
d14a1e28
RD
12057 }
12058 {
12059 PyThreadState* __tstate = wxPyBeginAllowThreads();
12060 result = (bool)(arg1)->ProcessEvent(*arg2);
12061
12062 wxPyEndAllowThreads(__tstate);
12063 if (PyErr_Occurred()) SWIG_fail;
12064 }
4f89f6a3
RD
12065 {
12066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12067 }
d14a1e28
RD
12068 return resultobj;
12069 fail:
12070 return NULL;
12071}
12072
12073
12074static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12075 PyObject *resultobj;
12076 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12077 wxEvent *arg2 = 0 ;
12078 PyObject * obj0 = 0 ;
12079 PyObject * obj1 = 0 ;
12080 char *kwnames[] = {
12081 (char *) "self",(char *) "event", NULL
12082 };
12083
12084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12088 SWIG_POINTER_EXCEPTION | 0)) == -1)
12089 SWIG_fail;
d14a1e28 12090 if (arg2 == NULL) {
15afbcd0
RD
12091 PyErr_SetString(PyExc_TypeError,"null reference");
12092 SWIG_fail;
d14a1e28
RD
12093 }
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 (arg1)->AddPendingEvent(*arg2);
12097
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
12101 Py_INCREF(Py_None); resultobj = Py_None;
12102 return resultobj;
12103 fail:
12104 return NULL;
12105}
12106
12107
12108static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
12109 PyObject *resultobj;
12110 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12111 PyObject * obj0 = 0 ;
12112 char *kwnames[] = {
12113 (char *) "self", NULL
12114 };
12115
12116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
12117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 (arg1)->ProcessPendingEvents();
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 Py_INCREF(Py_None); resultobj = Py_None;
12127 return resultobj;
12128 fail:
12129 return NULL;
12130}
12131
12132
12133static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
12134 PyObject *resultobj;
12135 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12136 int arg2 ;
12137 int arg3 ;
12138 int arg4 ;
12139 PyObject *arg5 = (PyObject *) 0 ;
12140 PyObject * obj0 = 0 ;
994141e6
RD
12141 PyObject * obj1 = 0 ;
12142 PyObject * obj2 = 0 ;
12143 PyObject * obj3 = 0 ;
d14a1e28
RD
12144 PyObject * obj4 = 0 ;
12145 char *kwnames[] = {
12146 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12147 };
12148
994141e6 12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12152 arg2 = (int) SWIG_AsInt(obj1);
12153 if (PyErr_Occurred()) SWIG_fail;
12154 arg3 = (int) SWIG_AsInt(obj2);
12155 if (PyErr_Occurred()) SWIG_fail;
12156 arg4 = (int) SWIG_AsInt(obj3);
12157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12158 arg5 = obj4;
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
12162
12163 wxPyEndAllowThreads(__tstate);
12164 if (PyErr_Occurred()) SWIG_fail;
12165 }
12166 Py_INCREF(Py_None); resultobj = Py_None;
12167 return resultobj;
12168 fail:
12169 return NULL;
12170}
12171
12172
12173static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
12174 PyObject *resultobj;
12175 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12176 int arg2 ;
12177 int arg3 = (int) -1 ;
12178 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
12179 bool result;
12180 PyObject * obj0 = 0 ;
994141e6
RD
12181 PyObject * obj1 = 0 ;
12182 PyObject * obj2 = 0 ;
12183 PyObject * obj3 = 0 ;
d14a1e28
RD
12184 char *kwnames[] = {
12185 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12186 };
12187
994141e6 12188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12191 arg2 = (int) SWIG_AsInt(obj1);
12192 if (PyErr_Occurred()) SWIG_fail;
994141e6 12193 if (obj2) {
15afbcd0
RD
12194 arg3 = (int) SWIG_AsInt(obj2);
12195 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12196 }
12197 if (obj3) {
15afbcd0
RD
12198 arg4 = (wxEventType) SWIG_AsInt(obj3);
12199 if (PyErr_Occurred()) SWIG_fail;
994141e6 12200 }
d14a1e28
RD
12201 {
12202 PyThreadState* __tstate = wxPyBeginAllowThreads();
12203 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
12204
12205 wxPyEndAllowThreads(__tstate);
12206 if (PyErr_Occurred()) SWIG_fail;
12207 }
4f89f6a3
RD
12208 {
12209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12210 }
d14a1e28
RD
12211 return resultobj;
12212 fail:
12213 return NULL;
12214}
12215
12216
12217static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12218 PyObject *resultobj;
12219 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12220 PyObject *arg2 = (PyObject *) 0 ;
12221 PyObject * obj0 = 0 ;
12222 PyObject * obj1 = 0 ;
12223 char *kwnames[] = {
12224 (char *) "self",(char *) "_self", NULL
12225 };
12226
12227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12230 arg2 = obj1;
12231 {
12232 PyThreadState* __tstate = wxPyBeginAllowThreads();
12233 wxEvtHandler__setOORInfo(arg1,arg2);
12234
12235 wxPyEndAllowThreads(__tstate);
12236 if (PyErr_Occurred()) SWIG_fail;
12237 }
12238 Py_INCREF(Py_None); resultobj = Py_None;
12239 return resultobj;
12240 fail:
12241 return NULL;
12242}
12243
12244
12245static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
12246 PyObject *obj;
12247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12248 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12249 Py_INCREF(obj);
12250 return Py_BuildValue((char *)"");
12251}
12252static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12253 PyObject *resultobj;
12254 wxEventType result;
12255 char *kwnames[] = {
12256 NULL
12257 };
12258
12259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12260 {
12261 PyThreadState* __tstate = wxPyBeginAllowThreads();
12262 result = (wxEventType)wxNewEventType();
12263
12264 wxPyEndAllowThreads(__tstate);
12265 if (PyErr_Occurred()) SWIG_fail;
12266 }
15afbcd0 12267 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12268 return resultobj;
12269 fail:
12270 return NULL;
12271}
12272
12273
12274static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
12275 PyObject *resultobj;
12276 wxEvent *arg1 = (wxEvent *) 0 ;
12277 PyObject * obj0 = 0 ;
12278 char *kwnames[] = {
12279 (char *) "self", NULL
12280 };
12281
12282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
15afbcd0
RD
12283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12285 {
12286 PyThreadState* __tstate = wxPyBeginAllowThreads();
12287 delete arg1;
12288
12289 wxPyEndAllowThreads(__tstate);
12290 if (PyErr_Occurred()) SWIG_fail;
12291 }
12292 Py_INCREF(Py_None); resultobj = Py_None;
12293 return resultobj;
12294 fail:
12295 return NULL;
12296}
12297
12298
12299static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12300 PyObject *resultobj;
12301 wxEvent *arg1 = (wxEvent *) 0 ;
12302 wxEventType arg2 ;
12303 PyObject * obj0 = 0 ;
994141e6 12304 PyObject * obj1 = 0 ;
d14a1e28
RD
12305 char *kwnames[] = {
12306 (char *) "self",(char *) "typ", NULL
12307 };
12308
994141e6 12309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12312 arg2 = (wxEventType) SWIG_AsInt(obj1);
12313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
12316 (arg1)->SetEventType(arg2);
12317
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 Py_INCREF(Py_None); resultobj = Py_None;
12322 return resultobj;
12323 fail:
12324 return NULL;
12325}
12326
12327
12328static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12329 PyObject *resultobj;
12330 wxEvent *arg1 = (wxEvent *) 0 ;
12331 wxEventType result;
12332 PyObject * obj0 = 0 ;
12333 char *kwnames[] = {
12334 (char *) "self", NULL
12335 };
12336
12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
15afbcd0
RD
12338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12340 {
12341 PyThreadState* __tstate = wxPyBeginAllowThreads();
12342 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12343
12344 wxPyEndAllowThreads(__tstate);
12345 if (PyErr_Occurred()) SWIG_fail;
12346 }
15afbcd0 12347 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12348 return resultobj;
12349 fail:
12350 return NULL;
12351}
12352
12353
12354static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12355 PyObject *resultobj;
12356 wxEvent *arg1 = (wxEvent *) 0 ;
12357 wxObject *result;
12358 PyObject * obj0 = 0 ;
12359 char *kwnames[] = {
12360 (char *) "self", NULL
12361 };
12362
12363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
12364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12366 {
12367 PyThreadState* __tstate = wxPyBeginAllowThreads();
12368 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12369
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
12373 {
412d302d 12374 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
12375 }
12376 return resultobj;
12377 fail:
12378 return NULL;
12379}
12380
12381
12382static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12383 PyObject *resultobj;
12384 wxEvent *arg1 = (wxEvent *) 0 ;
12385 wxObject *arg2 = (wxObject *) 0 ;
12386 PyObject * obj0 = 0 ;
12387 PyObject * obj1 = 0 ;
12388 char *kwnames[] = {
12389 (char *) "self",(char *) "obj", NULL
12390 };
12391
12392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12397 {
12398 PyThreadState* __tstate = wxPyBeginAllowThreads();
12399 (arg1)->SetEventObject(arg2);
12400
12401 wxPyEndAllowThreads(__tstate);
12402 if (PyErr_Occurred()) SWIG_fail;
12403 }
12404 Py_INCREF(Py_None); resultobj = Py_None;
12405 return resultobj;
12406 fail:
12407 return NULL;
12408}
12409
12410
12411static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12412 PyObject *resultobj;
12413 wxEvent *arg1 = (wxEvent *) 0 ;
12414 long result;
12415 PyObject * obj0 = 0 ;
12416 char *kwnames[] = {
12417 (char *) "self", NULL
12418 };
12419
12420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
15afbcd0
RD
12421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12423 {
12424 PyThreadState* __tstate = wxPyBeginAllowThreads();
12425 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12426
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
15afbcd0 12430 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12431 return resultobj;
12432 fail:
12433 return NULL;
12434}
12435
12436
12437static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12438 PyObject *resultobj;
12439 wxEvent *arg1 = (wxEvent *) 0 ;
12440 long arg2 = (long) 0 ;
12441 PyObject * obj0 = 0 ;
994141e6 12442 PyObject * obj1 = 0 ;
d14a1e28
RD
12443 char *kwnames[] = {
12444 (char *) "self",(char *) "ts", NULL
12445 };
12446
994141e6 12447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 12450 if (obj1) {
15afbcd0
RD
12451 arg2 = (long) SWIG_AsLong(obj1);
12452 if (PyErr_Occurred()) SWIG_fail;
994141e6 12453 }
d14a1e28
RD
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 (arg1)->SetTimestamp(arg2);
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 Py_INCREF(Py_None); resultobj = Py_None;
12462 return resultobj;
12463 fail:
12464 return NULL;
12465}
12466
12467
12468static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12469 PyObject *resultobj;
12470 wxEvent *arg1 = (wxEvent *) 0 ;
12471 int result;
12472 PyObject * obj0 = 0 ;
12473 char *kwnames[] = {
12474 (char *) "self", NULL
12475 };
12476
12477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
12478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12480 {
12481 PyThreadState* __tstate = wxPyBeginAllowThreads();
12482 result = (int)((wxEvent const *)arg1)->GetId();
12483
12484 wxPyEndAllowThreads(__tstate);
12485 if (PyErr_Occurred()) SWIG_fail;
12486 }
15afbcd0 12487 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12488 return resultobj;
12489 fail:
12490 return NULL;
12491}
12492
12493
12494static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12495 PyObject *resultobj;
12496 wxEvent *arg1 = (wxEvent *) 0 ;
12497 int arg2 ;
12498 PyObject * obj0 = 0 ;
994141e6 12499 PyObject * obj1 = 0 ;
d14a1e28
RD
12500 char *kwnames[] = {
12501 (char *) "self",(char *) "Id", NULL
12502 };
12503
994141e6 12504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12507 arg2 = (int) SWIG_AsInt(obj1);
12508 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12509 {
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 (arg1)->SetId(arg2);
12512
12513 wxPyEndAllowThreads(__tstate);
12514 if (PyErr_Occurred()) SWIG_fail;
12515 }
12516 Py_INCREF(Py_None); resultobj = Py_None;
12517 return resultobj;
12518 fail:
12519 return NULL;
12520}
12521
12522
12523static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 wxEvent *arg1 = (wxEvent *) 0 ;
12526 bool result;
12527 PyObject * obj0 = 0 ;
12528 char *kwnames[] = {
12529 (char *) "self", NULL
12530 };
12531
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
12533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12535 {
12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
12537 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12538
12539 wxPyEndAllowThreads(__tstate);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
4f89f6a3
RD
12542 {
12543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12544 }
d14a1e28
RD
12545 return resultobj;
12546 fail:
12547 return NULL;
12548}
12549
12550
12551static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
12552 PyObject *resultobj;
12553 wxEvent *arg1 = (wxEvent *) 0 ;
e811c8ce 12554 bool arg2 = (bool) True ;
d14a1e28
RD
12555 PyObject * obj0 = 0 ;
12556 PyObject * obj1 = 0 ;
12557 char *kwnames[] = {
12558 (char *) "self",(char *) "skip", NULL
12559 };
12560
12561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12564 if (obj1) {
15afbcd0
RD
12565 arg2 = (bool) SWIG_AsBool(obj1);
12566 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12567 }
12568 {
12569 PyThreadState* __tstate = wxPyBeginAllowThreads();
12570 (arg1)->Skip(arg2);
12571
12572 wxPyEndAllowThreads(__tstate);
12573 if (PyErr_Occurred()) SWIG_fail;
12574 }
12575 Py_INCREF(Py_None); resultobj = Py_None;
12576 return resultobj;
12577 fail:
12578 return NULL;
12579}
12580
12581
12582static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
12583 PyObject *resultobj;
12584 wxEvent *arg1 = (wxEvent *) 0 ;
12585 bool result;
12586 PyObject * obj0 = 0 ;
12587 char *kwnames[] = {
12588 (char *) "self", NULL
12589 };
12590
12591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
15afbcd0
RD
12592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12594 {
12595 PyThreadState* __tstate = wxPyBeginAllowThreads();
12596 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12597
12598 wxPyEndAllowThreads(__tstate);
12599 if (PyErr_Occurred()) SWIG_fail;
12600 }
4f89f6a3
RD
12601 {
12602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12603 }
d14a1e28
RD
12604 return resultobj;
12605 fail:
12606 return NULL;
12607}
12608
12609
12610static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj;
12612 wxEvent *arg1 = (wxEvent *) 0 ;
12613 bool result;
12614 PyObject * obj0 = 0 ;
12615 char *kwnames[] = {
12616 (char *) "self", NULL
12617 };
12618
12619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
15afbcd0
RD
12620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
4f89f6a3
RD
12629 {
12630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12631 }
d14a1e28
RD
12632 return resultobj;
12633 fail:
12634 return NULL;
12635}
12636
12637
12638static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12639 PyObject *resultobj;
12640 wxEvent *arg1 = (wxEvent *) 0 ;
12641 int result;
12642 PyObject * obj0 = 0 ;
12643 char *kwnames[] = {
12644 (char *) "self", NULL
12645 };
12646
12647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
15afbcd0
RD
12648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12650 {
12651 PyThreadState* __tstate = wxPyBeginAllowThreads();
12652 result = (int)(arg1)->StopPropagation();
12653
12654 wxPyEndAllowThreads(__tstate);
12655 if (PyErr_Occurred()) SWIG_fail;
12656 }
15afbcd0 12657 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12658 return resultobj;
12659 fail:
12660 return NULL;
12661}
12662
12663
12664static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12665 PyObject *resultobj;
12666 wxEvent *arg1 = (wxEvent *) 0 ;
12667 int arg2 ;
12668 PyObject * obj0 = 0 ;
994141e6 12669 PyObject * obj1 = 0 ;
d14a1e28
RD
12670 char *kwnames[] = {
12671 (char *) "self",(char *) "propagationLevel", NULL
12672 };
12673
994141e6 12674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12677 arg2 = (int) SWIG_AsInt(obj1);
12678 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 (arg1)->ResumePropagation(arg2);
12682
12683 wxPyEndAllowThreads(__tstate);
12684 if (PyErr_Occurred()) SWIG_fail;
12685 }
12686 Py_INCREF(Py_None); resultobj = Py_None;
12687 return resultobj;
12688 fail:
12689 return NULL;
12690}
12691
12692
12693static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj;
12695 wxEvent *arg1 = (wxEvent *) 0 ;
12696 wxEvent *result;
12697 PyObject * obj0 = 0 ;
12698 char *kwnames[] = {
12699 (char *) "self", NULL
12700 };
12701
12702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
12703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12705 {
12706 PyThreadState* __tstate = wxPyBeginAllowThreads();
12707 result = (wxEvent *)(arg1)->Clone();
12708
12709 wxPyEndAllowThreads(__tstate);
12710 if (PyErr_Occurred()) SWIG_fail;
12711 }
15afbcd0 12712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
12713 return resultobj;
12714 fail:
12715 return NULL;
12716}
12717
12718
12719static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
12720 PyObject *obj;
12721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12722 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12723 Py_INCREF(obj);
12724 return Py_BuildValue((char *)"");
12725}
12726static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12727 PyObject *resultobj;
12728 wxEvent *arg1 = 0 ;
12729 wxPropagationDisabler *result;
12730 PyObject * obj0 = 0 ;
12731 char *kwnames[] = {
12732 (char *) "event", NULL
12733 };
12734
12735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12737 SWIG_POINTER_EXCEPTION | 0)) == -1)
12738 SWIG_fail;
d14a1e28 12739 if (arg1 == NULL) {
15afbcd0
RD
12740 PyErr_SetString(PyExc_TypeError,"null reference");
12741 SWIG_fail;
d14a1e28
RD
12742 }
12743 {
12744 PyThreadState* __tstate = wxPyBeginAllowThreads();
12745 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12746
12747 wxPyEndAllowThreads(__tstate);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
15afbcd0 12750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
d14a1e28
RD
12751 return resultobj;
12752 fail:
12753 return NULL;
12754}
12755
12756
12757static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12758 PyObject *resultobj;
12759 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12760 PyObject * obj0 = 0 ;
12761 char *kwnames[] = {
12762 (char *) "self", NULL
12763 };
12764
12765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
12767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12768 {
12769 PyThreadState* __tstate = wxPyBeginAllowThreads();
12770 delete arg1;
12771
12772 wxPyEndAllowThreads(__tstate);
12773 if (PyErr_Occurred()) SWIG_fail;
12774 }
12775 Py_INCREF(Py_None); resultobj = Py_None;
12776 return resultobj;
12777 fail:
12778 return NULL;
12779}
12780
12781
12782static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
12783 PyObject *obj;
12784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12785 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12786 Py_INCREF(obj);
12787 return Py_BuildValue((char *)"");
12788}
12789static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12790 PyObject *resultobj;
12791 wxEvent *arg1 = 0 ;
12792 wxPropagateOnce *result;
12793 PyObject * obj0 = 0 ;
12794 char *kwnames[] = {
12795 (char *) "event", NULL
12796 };
12797
12798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
12799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12800 SWIG_POINTER_EXCEPTION | 0)) == -1)
12801 SWIG_fail;
d14a1e28 12802 if (arg1 == NULL) {
15afbcd0
RD
12803 PyErr_SetString(PyExc_TypeError,"null reference");
12804 SWIG_fail;
d14a1e28
RD
12805 }
12806 {
12807 PyThreadState* __tstate = wxPyBeginAllowThreads();
12808 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12809
12810 wxPyEndAllowThreads(__tstate);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 }
15afbcd0 12813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
d14a1e28
RD
12814 return resultobj;
12815 fail:
12816 return NULL;
12817}
12818
12819
12820static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12821 PyObject *resultobj;
12822 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12823 PyObject * obj0 = 0 ;
12824 char *kwnames[] = {
12825 (char *) "self", NULL
12826 };
12827
12828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
12829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
12830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12831 {
12832 PyThreadState* __tstate = wxPyBeginAllowThreads();
12833 delete arg1;
12834
12835 wxPyEndAllowThreads(__tstate);
12836 if (PyErr_Occurred()) SWIG_fail;
12837 }
12838 Py_INCREF(Py_None); resultobj = Py_None;
12839 return resultobj;
12840 fail:
12841 return NULL;
12842}
12843
12844
12845static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
12846 PyObject *obj;
12847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12848 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12849 Py_INCREF(obj);
12850 return Py_BuildValue((char *)"");
12851}
12852static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12853 PyObject *resultobj;
12854 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12855 int arg2 = (int) 0 ;
12856 wxCommandEvent *result;
994141e6
RD
12857 PyObject * obj0 = 0 ;
12858 PyObject * obj1 = 0 ;
d14a1e28
RD
12859 char *kwnames[] = {
12860 (char *) "commandType",(char *) "winid", NULL
12861 };
12862
994141e6
RD
12863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12864 if (obj0) {
15afbcd0
RD
12865 arg1 = (wxEventType) SWIG_AsInt(obj0);
12866 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12867 }
12868 if (obj1) {
15afbcd0
RD
12869 arg2 = (int) SWIG_AsInt(obj1);
12870 if (PyErr_Occurred()) SWIG_fail;
994141e6 12871 }
d14a1e28
RD
12872 {
12873 PyThreadState* __tstate = wxPyBeginAllowThreads();
12874 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12875
12876 wxPyEndAllowThreads(__tstate);
12877 if (PyErr_Occurred()) SWIG_fail;
12878 }
15afbcd0 12879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
d14a1e28
RD
12880 return resultobj;
12881 fail:
12882 return NULL;
12883}
12884
12885
12886static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12887 PyObject *resultobj;
12888 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12889 int result;
12890 PyObject * obj0 = 0 ;
12891 char *kwnames[] = {
12892 (char *) "self", NULL
12893 };
12894
12895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12898 {
12899 PyThreadState* __tstate = wxPyBeginAllowThreads();
12900 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12901
12902 wxPyEndAllowThreads(__tstate);
12903 if (PyErr_Occurred()) SWIG_fail;
12904 }
15afbcd0 12905 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12906 return resultobj;
12907 fail:
12908 return NULL;
12909}
12910
12911
12912static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12913 PyObject *resultobj;
12914 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12915 wxString *arg2 = 0 ;
e811c8ce 12916 bool temp2 = False ;
d14a1e28
RD
12917 PyObject * obj0 = 0 ;
12918 PyObject * obj1 = 0 ;
12919 char *kwnames[] = {
12920 (char *) "self",(char *) "s", NULL
12921 };
12922
12923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12926 {
12927 arg2 = wxString_in_helper(obj1);
12928 if (arg2 == NULL) SWIG_fail;
e811c8ce 12929 temp2 = True;
d14a1e28
RD
12930 }
12931 {
12932 PyThreadState* __tstate = wxPyBeginAllowThreads();
12933 (arg1)->SetString((wxString const &)*arg2);
12934
12935 wxPyEndAllowThreads(__tstate);
12936 if (PyErr_Occurred()) SWIG_fail;
12937 }
12938 Py_INCREF(Py_None); resultobj = Py_None;
12939 {
12940 if (temp2)
12941 delete arg2;
12942 }
12943 return resultobj;
12944 fail:
12945 {
12946 if (temp2)
12947 delete arg2;
12948 }
12949 return NULL;
12950}
12951
12952
12953static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12954 PyObject *resultobj;
12955 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12956 wxString result;
12957 PyObject * obj0 = 0 ;
12958 char *kwnames[] = {
12959 (char *) "self", NULL
12960 };
12961
12962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
15afbcd0
RD
12963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12965 {
12966 PyThreadState* __tstate = wxPyBeginAllowThreads();
12967 result = ((wxCommandEvent const *)arg1)->GetString();
12968
12969 wxPyEndAllowThreads(__tstate);
12970 if (PyErr_Occurred()) SWIG_fail;
12971 }
12972 {
12973#if wxUSE_UNICODE
12974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12975#else
12976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12977#endif
12978 }
12979 return resultobj;
12980 fail:
12981 return NULL;
12982}
12983
12984
12985static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
12986 PyObject *resultobj;
12987 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12988 bool result;
12989 PyObject * obj0 = 0 ;
12990 char *kwnames[] = {
12991 (char *) "self", NULL
12992 };
12993
12994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
12995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12997 {
12998 PyThreadState* __tstate = wxPyBeginAllowThreads();
12999 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
13000
13001 wxPyEndAllowThreads(__tstate);
13002 if (PyErr_Occurred()) SWIG_fail;
13003 }
4f89f6a3
RD
13004 {
13005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13006 }
d14a1e28
RD
13007 return resultobj;
13008 fail:
13009 return NULL;
13010}
13011
13012
13013static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13014 PyObject *resultobj;
13015 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13016 bool result;
13017 PyObject * obj0 = 0 ;
13018 char *kwnames[] = {
13019 (char *) "self", NULL
13020 };
13021
13022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13025 {
13026 PyThreadState* __tstate = wxPyBeginAllowThreads();
13027 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
13028
13029 wxPyEndAllowThreads(__tstate);
13030 if (PyErr_Occurred()) SWIG_fail;
13031 }
4f89f6a3
RD
13032 {
13033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13034 }
d14a1e28
RD
13035 return resultobj;
13036 fail:
13037 return NULL;
13038}
13039
13040
13041static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
13042 PyObject *resultobj;
13043 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13044 long arg2 ;
13045 PyObject * obj0 = 0 ;
994141e6 13046 PyObject * obj1 = 0 ;
d14a1e28
RD
13047 char *kwnames[] = {
13048 (char *) "self",(char *) "extraLong", NULL
13049 };
13050
994141e6 13051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13054 arg2 = (long) SWIG_AsLong(obj1);
13055 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13056 {
13057 PyThreadState* __tstate = wxPyBeginAllowThreads();
13058 (arg1)->SetExtraLong(arg2);
13059
13060 wxPyEndAllowThreads(__tstate);
13061 if (PyErr_Occurred()) SWIG_fail;
13062 }
13063 Py_INCREF(Py_None); resultobj = Py_None;
13064 return resultobj;
13065 fail:
13066 return NULL;
13067}
13068
13069
13070static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
13071 PyObject *resultobj;
13072 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13073 long result;
13074 PyObject * obj0 = 0 ;
13075 char *kwnames[] = {
13076 (char *) "self", NULL
13077 };
13078
13079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
15afbcd0
RD
13080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13082 {
13083 PyThreadState* __tstate = wxPyBeginAllowThreads();
13084 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
13085
13086 wxPyEndAllowThreads(__tstate);
13087 if (PyErr_Occurred()) SWIG_fail;
13088 }
15afbcd0 13089 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
13090 return resultobj;
13091 fail:
13092 return NULL;
13093}
13094
13095
13096static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13097 PyObject *resultobj;
13098 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13099 int arg2 ;
13100 PyObject * obj0 = 0 ;
994141e6 13101 PyObject * obj1 = 0 ;
d14a1e28
RD
13102 char *kwnames[] = {
13103 (char *) "self",(char *) "i", NULL
13104 };
13105
994141e6 13106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13109 arg2 = (int) SWIG_AsInt(obj1);
13110 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13111 {
13112 PyThreadState* __tstate = wxPyBeginAllowThreads();
13113 (arg1)->SetInt(arg2);
13114
13115 wxPyEndAllowThreads(__tstate);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 Py_INCREF(Py_None); resultobj = Py_None;
13119 return resultobj;
13120 fail:
13121 return NULL;
13122}
13123
13124
13125static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13126 PyObject *resultobj;
13127 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13128 long result;
13129 PyObject * obj0 = 0 ;
13130 char *kwnames[] = {
13131 (char *) "self", NULL
13132 };
13133
13134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
15afbcd0
RD
13135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13137 {
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
13139 result = (long)((wxCommandEvent const *)arg1)->GetInt();
13140
13141 wxPyEndAllowThreads(__tstate);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 }
15afbcd0 13144 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
13145 return resultobj;
13146 fail:
13147 return NULL;
13148}
13149
13150
13151static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
13152 PyObject *resultobj;
13153 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13154 wxEvent *result;
13155 PyObject * obj0 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
13161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13163 {
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
13166
13167 wxPyEndAllowThreads(__tstate);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 }
15afbcd0 13170 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
13171 return resultobj;
13172 fail:
13173 return NULL;
13174}
13175
13176
13177static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
13178 PyObject *obj;
13179 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13180 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
13181 Py_INCREF(obj);
13182 return Py_BuildValue((char *)"");
13183}
13184static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13185 PyObject *resultobj;
13186 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13187 int arg2 = (int) 0 ;
13188 wxNotifyEvent *result;
994141e6
RD
13189 PyObject * obj0 = 0 ;
13190 PyObject * obj1 = 0 ;
d14a1e28
RD
13191 char *kwnames[] = {
13192 (char *) "commandType",(char *) "winid", NULL
13193 };
13194
994141e6
RD
13195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
13196 if (obj0) {
15afbcd0
RD
13197 arg1 = (wxEventType) SWIG_AsInt(obj0);
13198 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13199 }
13200 if (obj1) {
15afbcd0
RD
13201 arg2 = (int) SWIG_AsInt(obj1);
13202 if (PyErr_Occurred()) SWIG_fail;
994141e6 13203 }
d14a1e28
RD
13204 {
13205 PyThreadState* __tstate = wxPyBeginAllowThreads();
13206 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
13207
13208 wxPyEndAllowThreads(__tstate);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
15afbcd0 13211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
d14a1e28
RD
13212 return resultobj;
13213 fail:
13214 return NULL;
13215}
13216
13217
13218static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
13219 PyObject *resultobj;
13220 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13221 PyObject * obj0 = 0 ;
13222 char *kwnames[] = {
13223 (char *) "self", NULL
13224 };
13225
13226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
15afbcd0
RD
13227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13229 {
13230 PyThreadState* __tstate = wxPyBeginAllowThreads();
13231 (arg1)->Veto();
13232
13233 wxPyEndAllowThreads(__tstate);
13234 if (PyErr_Occurred()) SWIG_fail;
13235 }
13236 Py_INCREF(Py_None); resultobj = Py_None;
13237 return resultobj;
13238 fail:
13239 return NULL;
13240}
13241
13242
13243static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
13244 PyObject *resultobj;
13245 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13246 PyObject * obj0 = 0 ;
13247 char *kwnames[] = {
13248 (char *) "self", NULL
13249 };
13250
13251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
15afbcd0
RD
13252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13254 {
13255 PyThreadState* __tstate = wxPyBeginAllowThreads();
13256 (arg1)->Allow();
13257
13258 wxPyEndAllowThreads(__tstate);
13259 if (PyErr_Occurred()) SWIG_fail;
13260 }
13261 Py_INCREF(Py_None); resultobj = Py_None;
13262 return resultobj;
13263 fail:
13264 return NULL;
13265}
13266
13267
13268static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
13269 PyObject *resultobj;
13270 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13271 bool result;
13272 PyObject * obj0 = 0 ;
13273 char *kwnames[] = {
13274 (char *) "self", NULL
13275 };
13276
13277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
15afbcd0
RD
13278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 result = (bool)(arg1)->IsAllowed();
13283
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
4f89f6a3
RD
13287 {
13288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13289 }
d14a1e28
RD
13290 return resultobj;
13291 fail:
13292 return NULL;
13293}
13294
13295
13296static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
13297 PyObject *obj;
13298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13299 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13300 Py_INCREF(obj);
13301 return Py_BuildValue((char *)"");
13302}
13303static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj;
13305 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13306 int arg2 = (int) 0 ;
13307 int arg3 = (int) 0 ;
13308 int arg4 = (int) 0 ;
13309 wxScrollEvent *result;
994141e6
RD
13310 PyObject * obj0 = 0 ;
13311 PyObject * obj1 = 0 ;
13312 PyObject * obj2 = 0 ;
13313 PyObject * obj3 = 0 ;
d14a1e28
RD
13314 char *kwnames[] = {
13315 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13316 };
13317
994141e6
RD
13318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13319 if (obj0) {
15afbcd0
RD
13320 arg1 = (wxEventType) SWIG_AsInt(obj0);
13321 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13322 }
13323 if (obj1) {
15afbcd0
RD
13324 arg2 = (int) SWIG_AsInt(obj1);
13325 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13326 }
13327 if (obj2) {
15afbcd0
RD
13328 arg3 = (int) SWIG_AsInt(obj2);
13329 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13330 }
13331 if (obj3) {
15afbcd0
RD
13332 arg4 = (int) SWIG_AsInt(obj3);
13333 if (PyErr_Occurred()) SWIG_fail;
994141e6 13334 }
d14a1e28
RD
13335 {
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13338
13339 wxPyEndAllowThreads(__tstate);
13340 if (PyErr_Occurred()) SWIG_fail;
13341 }
15afbcd0 13342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
d14a1e28
RD
13343 return resultobj;
13344 fail:
13345 return NULL;
13346}
13347
13348
13349static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13350 PyObject *resultobj;
13351 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13352 int result;
13353 PyObject * obj0 = 0 ;
13354 char *kwnames[] = {
13355 (char *) "self", NULL
13356 };
13357
13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13361 {
13362 PyThreadState* __tstate = wxPyBeginAllowThreads();
13363 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13364
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
15afbcd0 13368 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13369 return resultobj;
13370 fail:
13371 return NULL;
13372}
13373
13374
13375static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj;
13377 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13378 int result;
13379 PyObject * obj0 = 0 ;
13380 char *kwnames[] = {
13381 (char *) "self", NULL
13382 };
13383
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13387 {
13388 PyThreadState* __tstate = wxPyBeginAllowThreads();
13389 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13390
13391 wxPyEndAllowThreads(__tstate);
13392 if (PyErr_Occurred()) SWIG_fail;
13393 }
15afbcd0 13394 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13395 return resultobj;
13396 fail:
13397 return NULL;
13398}
13399
13400
13401static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13402 PyObject *resultobj;
13403 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13404 int arg2 ;
13405 PyObject * obj0 = 0 ;
994141e6 13406 PyObject * obj1 = 0 ;
d14a1e28
RD
13407 char *kwnames[] = {
13408 (char *) "self",(char *) "orient", NULL
13409 };
13410
994141e6 13411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13414 arg2 = (int) SWIG_AsInt(obj1);
13415 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13416 {
13417 PyThreadState* __tstate = wxPyBeginAllowThreads();
13418 (arg1)->SetOrientation(arg2);
13419
13420 wxPyEndAllowThreads(__tstate);
13421 if (PyErr_Occurred()) SWIG_fail;
13422 }
13423 Py_INCREF(Py_None); resultobj = Py_None;
13424 return resultobj;
13425 fail:
13426 return NULL;
13427}
13428
13429
13430static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13431 PyObject *resultobj;
13432 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13433 int arg2 ;
13434 PyObject * obj0 = 0 ;
994141e6 13435 PyObject * obj1 = 0 ;
d14a1e28
RD
13436 char *kwnames[] = {
13437 (char *) "self",(char *) "pos", NULL
13438 };
13439
994141e6 13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13443 arg2 = (int) SWIG_AsInt(obj1);
13444 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 (arg1)->SetPosition(arg2);
13448
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 Py_INCREF(Py_None); resultobj = Py_None;
13453 return resultobj;
13454 fail:
13455 return NULL;
13456}
13457
13458
13459static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
13460 PyObject *obj;
13461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13462 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13463 Py_INCREF(obj);
13464 return Py_BuildValue((char *)"");
13465}
13466static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13467 PyObject *resultobj;
13468 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13469 int arg2 = (int) 0 ;
13470 int arg3 = (int) 0 ;
13471 wxScrollWinEvent *result;
994141e6
RD
13472 PyObject * obj0 = 0 ;
13473 PyObject * obj1 = 0 ;
13474 PyObject * obj2 = 0 ;
d14a1e28
RD
13475 char *kwnames[] = {
13476 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13477 };
13478
994141e6
RD
13479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13480 if (obj0) {
15afbcd0
RD
13481 arg1 = (wxEventType) SWIG_AsInt(obj0);
13482 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13483 }
13484 if (obj1) {
15afbcd0
RD
13485 arg2 = (int) SWIG_AsInt(obj1);
13486 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13487 }
13488 if (obj2) {
15afbcd0
RD
13489 arg3 = (int) SWIG_AsInt(obj2);
13490 if (PyErr_Occurred()) SWIG_fail;
994141e6 13491 }
d14a1e28
RD
13492 {
13493 PyThreadState* __tstate = wxPyBeginAllowThreads();
13494 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13495
13496 wxPyEndAllowThreads(__tstate);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 }
15afbcd0 13499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
d14a1e28
RD
13500 return resultobj;
13501 fail:
13502 return NULL;
13503}
13504
13505
13506static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13507 PyObject *resultobj;
13508 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13509 int result;
13510 PyObject * obj0 = 0 ;
13511 char *kwnames[] = {
13512 (char *) "self", NULL
13513 };
13514
13515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13518 {
13519 PyThreadState* __tstate = wxPyBeginAllowThreads();
13520 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13521
13522 wxPyEndAllowThreads(__tstate);
13523 if (PyErr_Occurred()) SWIG_fail;
13524 }
15afbcd0 13525 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13526 return resultobj;
13527 fail:
13528 return NULL;
13529}
13530
13531
13532static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13533 PyObject *resultobj;
13534 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13535 int result;
13536 PyObject * obj0 = 0 ;
13537 char *kwnames[] = {
13538 (char *) "self", NULL
13539 };
13540
13541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13544 {
13545 PyThreadState* __tstate = wxPyBeginAllowThreads();
13546 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13547
13548 wxPyEndAllowThreads(__tstate);
13549 if (PyErr_Occurred()) SWIG_fail;
13550 }
15afbcd0 13551 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13552 return resultobj;
13553 fail:
13554 return NULL;
13555}
13556
13557
13558static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13559 PyObject *resultobj;
13560 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13561 int arg2 ;
13562 PyObject * obj0 = 0 ;
994141e6 13563 PyObject * obj1 = 0 ;
d14a1e28
RD
13564 char *kwnames[] = {
13565 (char *) "self",(char *) "orient", NULL
13566 };
13567
994141e6 13568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13571 arg2 = (int) SWIG_AsInt(obj1);
13572 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 (arg1)->SetOrientation(arg2);
13576
13577 wxPyEndAllowThreads(__tstate);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 }
13580 Py_INCREF(Py_None); resultobj = Py_None;
13581 return resultobj;
13582 fail:
13583 return NULL;
13584}
13585
13586
13587static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13588 PyObject *resultobj;
13589 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13590 int arg2 ;
13591 PyObject * obj0 = 0 ;
994141e6 13592 PyObject * obj1 = 0 ;
d14a1e28
RD
13593 char *kwnames[] = {
13594 (char *) "self",(char *) "pos", NULL
13595 };
13596
994141e6 13597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13600 arg2 = (int) SWIG_AsInt(obj1);
13601 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13602 {
13603 PyThreadState* __tstate = wxPyBeginAllowThreads();
13604 (arg1)->SetPosition(arg2);
13605
13606 wxPyEndAllowThreads(__tstate);
13607 if (PyErr_Occurred()) SWIG_fail;
13608 }
13609 Py_INCREF(Py_None); resultobj = Py_None;
13610 return resultobj;
13611 fail:
13612 return NULL;
13613}
13614
13615
13616static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
13617 PyObject *obj;
13618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13619 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13620 Py_INCREF(obj);
13621 return Py_BuildValue((char *)"");
13622}
13623static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13624 PyObject *resultobj;
13625 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13626 wxMouseEvent *result;
994141e6 13627 PyObject * obj0 = 0 ;
d14a1e28
RD
13628 char *kwnames[] = {
13629 (char *) "mouseType", NULL
13630 };
13631
994141e6
RD
13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13633 if (obj0) {
15afbcd0
RD
13634 arg1 = (wxEventType) SWIG_AsInt(obj0);
13635 if (PyErr_Occurred()) SWIG_fail;
994141e6 13636 }
d14a1e28
RD
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
13639 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13640
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 {
412d302d 13645 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
13646 }
13647 return resultobj;
13648 fail:
13649 return NULL;
13650}
13651
13652
13653static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13654 PyObject *resultobj;
13655 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13656 bool result;
13657 PyObject * obj0 = 0 ;
13658 char *kwnames[] = {
13659 (char *) "self", NULL
13660 };
13661
13662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
13663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13665 {
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13668
13669 wxPyEndAllowThreads(__tstate);
13670 if (PyErr_Occurred()) SWIG_fail;
13671 }
4f89f6a3
RD
13672 {
13673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13674 }
d14a1e28
RD
13675 return resultobj;
13676 fail:
13677 return NULL;
13678}
13679
13680
13681static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13682 PyObject *resultobj;
13683 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13684 int arg2 = (int) wxMOUSE_BTN_ANY ;
13685 bool result;
13686 PyObject * obj0 = 0 ;
994141e6 13687 PyObject * obj1 = 0 ;
d14a1e28
RD
13688 char *kwnames[] = {
13689 (char *) "self",(char *) "but", NULL
13690 };
13691
994141e6 13692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13695 if (obj1) {
15afbcd0
RD
13696 arg2 = (int) SWIG_AsInt(obj1);
13697 if (PyErr_Occurred()) SWIG_fail;
994141e6 13698 }
d14a1e28
RD
13699 {
13700 PyThreadState* __tstate = wxPyBeginAllowThreads();
13701 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13702
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
4f89f6a3
RD
13706 {
13707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13708 }
d14a1e28
RD
13709 return resultobj;
13710 fail:
13711 return NULL;
13712}
13713
13714
13715static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13716 PyObject *resultobj;
13717 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13718 int arg2 = (int) wxMOUSE_BTN_ANY ;
13719 bool result;
13720 PyObject * obj0 = 0 ;
994141e6 13721 PyObject * obj1 = 0 ;
d14a1e28
RD
13722 char *kwnames[] = {
13723 (char *) "self",(char *) "but", NULL
13724 };
13725
994141e6 13726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13729 if (obj1) {
15afbcd0
RD
13730 arg2 = (int) SWIG_AsInt(obj1);
13731 if (PyErr_Occurred()) SWIG_fail;
994141e6 13732 }
d14a1e28
RD
13733 {
13734 PyThreadState* __tstate = wxPyBeginAllowThreads();
13735 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13736
13737 wxPyEndAllowThreads(__tstate);
13738 if (PyErr_Occurred()) SWIG_fail;
13739 }
4f89f6a3
RD
13740 {
13741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13742 }
d14a1e28
RD
13743 return resultobj;
13744 fail:
13745 return NULL;
13746}
13747
13748
13749static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13750 PyObject *resultobj;
13751 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13752 int arg2 = (int) wxMOUSE_BTN_ANY ;
13753 bool result;
13754 PyObject * obj0 = 0 ;
994141e6 13755 PyObject * obj1 = 0 ;
d14a1e28
RD
13756 char *kwnames[] = {
13757 (char *) "self",(char *) "but", NULL
13758 };
13759
994141e6 13760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13763 if (obj1) {
15afbcd0
RD
13764 arg2 = (int) SWIG_AsInt(obj1);
13765 if (PyErr_Occurred()) SWIG_fail;
994141e6 13766 }
d14a1e28
RD
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13770
13771 wxPyEndAllowThreads(__tstate);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
4f89f6a3
RD
13774 {
13775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13776 }
d14a1e28
RD
13777 return resultobj;
13778 fail:
13779 return NULL;
13780}
13781
13782
13783static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
13784 PyObject *resultobj;
13785 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13786 int arg2 ;
13787 bool result;
13788 PyObject * obj0 = 0 ;
994141e6 13789 PyObject * obj1 = 0 ;
d14a1e28
RD
13790 char *kwnames[] = {
13791 (char *) "self",(char *) "but", NULL
13792 };
13793
994141e6 13794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13797 arg2 = (int) SWIG_AsInt(obj1);
13798 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13802
13803 wxPyEndAllowThreads(__tstate);
13804 if (PyErr_Occurred()) SWIG_fail;
13805 }
4f89f6a3
RD
13806 {
13807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13808 }
d14a1e28
RD
13809 return resultobj;
13810 fail:
13811 return NULL;
13812}
13813
13814
13815static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13816 PyObject *resultobj;
13817 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13818 int arg2 ;
13819 bool result;
13820 PyObject * obj0 = 0 ;
994141e6 13821 PyObject * obj1 = 0 ;
d14a1e28
RD
13822 char *kwnames[] = {
13823 (char *) "self",(char *) "but", NULL
13824 };
13825
994141e6 13826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13829 arg2 = (int) SWIG_AsInt(obj1);
13830 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13831 {
13832 PyThreadState* __tstate = wxPyBeginAllowThreads();
13833 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13834
13835 wxPyEndAllowThreads(__tstate);
13836 if (PyErr_Occurred()) SWIG_fail;
13837 }
4f89f6a3
RD
13838 {
13839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13840 }
d14a1e28
RD
13841 return resultobj;
13842 fail:
13843 return NULL;
13844}
13845
13846
13847static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13848 PyObject *resultobj;
13849 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13850 int result;
13851 PyObject * obj0 = 0 ;
13852 char *kwnames[] = {
13853 (char *) "self", NULL
13854 };
13855
13856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
13857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13859 {
13860 PyThreadState* __tstate = wxPyBeginAllowThreads();
13861 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13862
13863 wxPyEndAllowThreads(__tstate);
13864 if (PyErr_Occurred()) SWIG_fail;
13865 }
15afbcd0 13866 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13867 return resultobj;
13868 fail:
13869 return NULL;
13870}
13871
13872
13873static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13874 PyObject *resultobj;
13875 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13876 bool result;
13877 PyObject * obj0 = 0 ;
13878 char *kwnames[] = {
13879 (char *) "self", NULL
13880 };
13881
13882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13885 {
13886 PyThreadState* __tstate = wxPyBeginAllowThreads();
13887 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13888
13889 wxPyEndAllowThreads(__tstate);
13890 if (PyErr_Occurred()) SWIG_fail;
13891 }
4f89f6a3
RD
13892 {
13893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13894 }
d14a1e28
RD
13895 return resultobj;
13896 fail:
13897 return NULL;
13898}
13899
13900
13901static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13902 PyObject *resultobj;
13903 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13904 bool result;
13905 PyObject * obj0 = 0 ;
13906 char *kwnames[] = {
13907 (char *) "self", NULL
13908 };
13909
13910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
4f89f6a3
RD
13920 {
13921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13922 }
d14a1e28
RD
13923 return resultobj;
13924 fail:
13925 return NULL;
13926}
13927
13928
13929static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13930 PyObject *resultobj;
13931 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13932 bool result;
13933 PyObject * obj0 = 0 ;
13934 char *kwnames[] = {
13935 (char *) "self", NULL
13936 };
13937
13938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13941 {
13942 PyThreadState* __tstate = wxPyBeginAllowThreads();
13943 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
13944
13945 wxPyEndAllowThreads(__tstate);
13946 if (PyErr_Occurred()) SWIG_fail;
13947 }
4f89f6a3
RD
13948 {
13949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13950 }
d14a1e28
RD
13951 return resultobj;
13952 fail:
13953 return NULL;
13954}
13955
13956
13957static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13958 PyObject *resultobj;
13959 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13960 bool result;
13961 PyObject * obj0 = 0 ;
13962 char *kwnames[] = {
13963 (char *) "self", NULL
13964 };
13965
13966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13969 {
13970 PyThreadState* __tstate = wxPyBeginAllowThreads();
13971 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
13972
13973 wxPyEndAllowThreads(__tstate);
13974 if (PyErr_Occurred()) SWIG_fail;
13975 }
4f89f6a3
RD
13976 {
13977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13978 }
d14a1e28
RD
13979 return resultobj;
13980 fail:
13981 return NULL;
13982}
13983
13984
412d302d
RD
13985static PyObject *_wrap_MouseEvent_CmdDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13986 PyObject *resultobj;
13987 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13988 bool result;
13989 PyObject * obj0 = 0 ;
13990 char *kwnames[] = {
13991 (char *) "self", NULL
13992 };
13993
13994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_CmdDown",kwnames,&obj0)) goto fail;
13995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13997 {
13998 PyThreadState* __tstate = wxPyBeginAllowThreads();
13999 result = (bool)((wxMouseEvent const *)arg1)->CmdDown();
14000
14001 wxPyEndAllowThreads(__tstate);
14002 if (PyErr_Occurred()) SWIG_fail;
14003 }
14004 {
14005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14006 }
14007 return resultobj;
14008 fail:
14009 return NULL;
14010}
14011
14012
d14a1e28
RD
14013static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14014 PyObject *resultobj;
14015 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14016 bool result;
14017 PyObject * obj0 = 0 ;
14018 char *kwnames[] = {
14019 (char *) "self", NULL
14020 };
14021
14022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14025 {
14026 PyThreadState* __tstate = wxPyBeginAllowThreads();
14027 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
14028
14029 wxPyEndAllowThreads(__tstate);
14030 if (PyErr_Occurred()) SWIG_fail;
14031 }
4f89f6a3
RD
14032 {
14033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14034 }
d14a1e28
RD
14035 return resultobj;
14036 fail:
14037 return NULL;
14038}
14039
14040
14041static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14042 PyObject *resultobj;
14043 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14044 bool result;
14045 PyObject * obj0 = 0 ;
14046 char *kwnames[] = {
14047 (char *) "self", NULL
14048 };
14049
14050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14053 {
14054 PyThreadState* __tstate = wxPyBeginAllowThreads();
14055 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
14056
14057 wxPyEndAllowThreads(__tstate);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
4f89f6a3
RD
14060 {
14061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14062 }
d14a1e28
RD
14063 return resultobj;
14064 fail:
14065 return NULL;
14066}
14067
14068
14069static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14070 PyObject *resultobj;
14071 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14072 bool result;
14073 PyObject * obj0 = 0 ;
14074 char *kwnames[] = {
14075 (char *) "self", NULL
14076 };
14077
14078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14081 {
14082 PyThreadState* __tstate = wxPyBeginAllowThreads();
14083 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
14084
14085 wxPyEndAllowThreads(__tstate);
14086 if (PyErr_Occurred()) SWIG_fail;
14087 }
4f89f6a3
RD
14088 {
14089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14090 }
d14a1e28
RD
14091 return resultobj;
14092 fail:
14093 return NULL;
14094}
14095
14096
14097static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14098 PyObject *resultobj;
14099 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14100 bool result;
14101 PyObject * obj0 = 0 ;
14102 char *kwnames[] = {
14103 (char *) "self", NULL
14104 };
14105
14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14109 {
14110 PyThreadState* __tstate = wxPyBeginAllowThreads();
14111 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
14112
14113 wxPyEndAllowThreads(__tstate);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 }
4f89f6a3
RD
14116 {
14117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14118 }
d14a1e28
RD
14119 return resultobj;
14120 fail:
14121 return NULL;
14122}
14123
14124
14125static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14126 PyObject *resultobj;
14127 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14128 bool result;
14129 PyObject * obj0 = 0 ;
14130 char *kwnames[] = {
14131 (char *) "self", NULL
14132 };
14133
14134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14137 {
14138 PyThreadState* __tstate = wxPyBeginAllowThreads();
14139 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
14140
14141 wxPyEndAllowThreads(__tstate);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
4f89f6a3
RD
14144 {
14145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14146 }
d14a1e28
RD
14147 return resultobj;
14148 fail:
14149 return NULL;
14150}
14151
14152
14153static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14154 PyObject *resultobj;
14155 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14156 bool result;
14157 PyObject * obj0 = 0 ;
14158 char *kwnames[] = {
14159 (char *) "self", NULL
14160 };
14161
14162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14165 {
14166 PyThreadState* __tstate = wxPyBeginAllowThreads();
14167 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
14168
14169 wxPyEndAllowThreads(__tstate);
14170 if (PyErr_Occurred()) SWIG_fail;
14171 }
4f89f6a3
RD
14172 {
14173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14174 }
d14a1e28
RD
14175 return resultobj;
14176 fail:
14177 return NULL;
14178}
14179
14180
14181static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14182 PyObject *resultobj;
14183 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14184 bool result;
14185 PyObject * obj0 = 0 ;
14186 char *kwnames[] = {
14187 (char *) "self", NULL
14188 };
14189
14190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14193 {
14194 PyThreadState* __tstate = wxPyBeginAllowThreads();
14195 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
14196
14197 wxPyEndAllowThreads(__tstate);
14198 if (PyErr_Occurred()) SWIG_fail;
14199 }
4f89f6a3
RD
14200 {
14201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14202 }
d14a1e28
RD
14203 return resultobj;
14204 fail:
14205 return NULL;
14206}
14207
14208
14209static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14210 PyObject *resultobj;
14211 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14212 bool result;
14213 PyObject * obj0 = 0 ;
14214 char *kwnames[] = {
14215 (char *) "self", NULL
14216 };
14217
14218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14221 {
14222 PyThreadState* __tstate = wxPyBeginAllowThreads();
14223 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
14224
14225 wxPyEndAllowThreads(__tstate);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 }
4f89f6a3
RD
14228 {
14229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14230 }
d14a1e28
RD
14231 return resultobj;
14232 fail:
14233 return NULL;
14234}
14235
14236
14237static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14238 PyObject *resultobj;
14239 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14240 bool result;
14241 PyObject * obj0 = 0 ;
14242 char *kwnames[] = {
14243 (char *) "self", NULL
14244 };
14245
14246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14249 {
14250 PyThreadState* __tstate = wxPyBeginAllowThreads();
14251 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
14252
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
4f89f6a3
RD
14256 {
14257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14258 }
d14a1e28
RD
14259 return resultobj;
14260 fail:
14261 return NULL;
14262}
14263
14264
14265static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14266 PyObject *resultobj;
14267 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14268 bool result;
14269 PyObject * obj0 = 0 ;
14270 char *kwnames[] = {
14271 (char *) "self", NULL
14272 };
14273
14274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14277 {
14278 PyThreadState* __tstate = wxPyBeginAllowThreads();
14279 result = (bool)(arg1)->LeftIsDown();
14280
14281 wxPyEndAllowThreads(__tstate);
14282 if (PyErr_Occurred()) SWIG_fail;
14283 }
4f89f6a3
RD
14284 {
14285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14286 }
d14a1e28
RD
14287 return resultobj;
14288 fail:
14289 return NULL;
14290}
14291
14292
14293static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14294 PyObject *resultobj;
14295 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14296 bool result;
14297 PyObject * obj0 = 0 ;
14298 char *kwnames[] = {
14299 (char *) "self", NULL
14300 };
14301
14302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 result = (bool)(arg1)->MiddleIsDown();
14308
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
4f89f6a3
RD
14312 {
14313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14314 }
d14a1e28
RD
14315 return resultobj;
14316 fail:
14317 return NULL;
14318}
14319
14320
14321static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14322 PyObject *resultobj;
14323 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14324 bool result;
14325 PyObject * obj0 = 0 ;
14326 char *kwnames[] = {
14327 (char *) "self", NULL
14328 };
14329
14330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14333 {
14334 PyThreadState* __tstate = wxPyBeginAllowThreads();
14335 result = (bool)(arg1)->RightIsDown();
14336
14337 wxPyEndAllowThreads(__tstate);
14338 if (PyErr_Occurred()) SWIG_fail;
14339 }
4f89f6a3
RD
14340 {
14341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14342 }
d14a1e28
RD
14343 return resultobj;
14344 fail:
14345 return NULL;
14346}
14347
14348
14349static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
14350 PyObject *resultobj;
14351 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14352 bool result;
14353 PyObject * obj0 = 0 ;
14354 char *kwnames[] = {
14355 (char *) "self", NULL
14356 };
14357
14358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
15afbcd0
RD
14359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14361 {
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
14364
14365 wxPyEndAllowThreads(__tstate);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
4f89f6a3
RD
14368 {
14369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14370 }
d14a1e28
RD
14371 return resultobj;
14372 fail:
14373 return NULL;
14374}
14375
14376
14377static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
14378 PyObject *resultobj;
14379 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14380 bool result;
14381 PyObject * obj0 = 0 ;
14382 char *kwnames[] = {
14383 (char *) "self", NULL
14384 };
14385
14386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
15afbcd0
RD
14387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 result = (bool)((wxMouseEvent const *)arg1)->Moving();
14392
14393 wxPyEndAllowThreads(__tstate);
14394 if (PyErr_Occurred()) SWIG_fail;
14395 }
4f89f6a3
RD
14396 {
14397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14398 }
d14a1e28
RD
14399 return resultobj;
14400 fail:
14401 return NULL;
14402}
14403
14404
14405static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
14406 PyObject *resultobj;
14407 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14408 bool result;
14409 PyObject * obj0 = 0 ;
14410 char *kwnames[] = {
14411 (char *) "self", NULL
14412 };
14413
14414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
15afbcd0
RD
14415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14417 {
14418 PyThreadState* __tstate = wxPyBeginAllowThreads();
14419 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14420
14421 wxPyEndAllowThreads(__tstate);
14422 if (PyErr_Occurred()) SWIG_fail;
14423 }
4f89f6a3
RD
14424 {
14425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14426 }
d14a1e28
RD
14427 return resultobj;
14428 fail:
14429 return NULL;
14430}
14431
14432
14433static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
14434 PyObject *resultobj;
14435 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14436 bool result;
14437 PyObject * obj0 = 0 ;
14438 char *kwnames[] = {
14439 (char *) "self", NULL
14440 };
14441
14442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
15afbcd0
RD
14443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14445 {
14446 PyThreadState* __tstate = wxPyBeginAllowThreads();
14447 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14448
14449 wxPyEndAllowThreads(__tstate);
14450 if (PyErr_Occurred()) SWIG_fail;
14451 }
4f89f6a3
RD
14452 {
14453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14454 }
d14a1e28
RD
14455 return resultobj;
14456 fail:
14457 return NULL;
14458}
14459
14460
14461static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14462 PyObject *resultobj;
14463 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14464 wxPoint result;
14465 PyObject * obj0 = 0 ;
14466 char *kwnames[] = {
14467 (char *) "self", NULL
14468 };
14469
14470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
14471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14473 {
14474 PyThreadState* __tstate = wxPyBeginAllowThreads();
14475 result = (arg1)->GetPosition();
14476
14477 wxPyEndAllowThreads(__tstate);
14478 if (PyErr_Occurred()) SWIG_fail;
14479 }
14480 {
14481 wxPoint * resultptr;
14482 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14483 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14484 }
14485 return resultobj;
14486 fail:
14487 return NULL;
14488}
14489
14490
14491static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
14492 PyObject *resultobj;
14493 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14494 long *arg2 = (long *) 0 ;
14495 long *arg3 = (long *) 0 ;
14496 long temp2 ;
14497 long temp3 ;
14498 PyObject * obj0 = 0 ;
14499 char *kwnames[] = {
14500 (char *) "self", NULL
14501 };
14502
14503 arg2 = &temp2;
14504 arg3 = &temp3;
14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 (arg1)->GetPosition(arg2,arg3);
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 Py_INCREF(Py_None); resultobj = Py_None;
14516 {
14517 PyObject *o = PyInt_FromLong((long) (*arg2));
14518 resultobj = t_output_helper(resultobj,o);
14519 }
14520 {
14521 PyObject *o = PyInt_FromLong((long) (*arg3));
14522 resultobj = t_output_helper(resultobj,o);
14523 }
14524 return resultobj;
14525 fail:
14526 return NULL;
14527}
14528
14529
14530static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14531 PyObject *resultobj;
14532 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14533 wxDC *arg2 = 0 ;
14534 wxPoint result;
14535 PyObject * obj0 = 0 ;
14536 PyObject * obj1 = 0 ;
14537 char *kwnames[] = {
14538 (char *) "self",(char *) "dc", NULL
14539 };
14540
14541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14544 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14545 SWIG_POINTER_EXCEPTION | 0)) == -1)
14546 SWIG_fail;
d14a1e28 14547 if (arg2 == NULL) {
15afbcd0
RD
14548 PyErr_SetString(PyExc_TypeError,"null reference");
14549 SWIG_fail;
d14a1e28
RD
14550 }
14551 {
14552 PyThreadState* __tstate = wxPyBeginAllowThreads();
14553 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14554
14555 wxPyEndAllowThreads(__tstate);
14556 if (PyErr_Occurred()) SWIG_fail;
14557 }
14558 {
14559 wxPoint * resultptr;
14560 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14561 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14562 }
14563 return resultobj;
14564 fail:
14565 return NULL;
14566}
14567
14568
14569static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14570 PyObject *resultobj;
14571 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14572 int result;
d14a1e28
RD
14573 PyObject * obj0 = 0 ;
14574 char *kwnames[] = {
14575 (char *) "self", NULL
14576 };
14577
14578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14581 {
14582 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14583 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
14584
14585 wxPyEndAllowThreads(__tstate);
14586 if (PyErr_Occurred()) SWIG_fail;
14587 }
15afbcd0 14588 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14589 return resultobj;
14590 fail:
14591 return NULL;
14592}
14593
14594
14595static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14596 PyObject *resultobj;
14597 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14598 int result;
d14a1e28
RD
14599 PyObject * obj0 = 0 ;
14600 char *kwnames[] = {
14601 (char *) "self", NULL
14602 };
14603
14604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14607 {
14608 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14609 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
14610
14611 wxPyEndAllowThreads(__tstate);
14612 if (PyErr_Occurred()) SWIG_fail;
14613 }
15afbcd0 14614 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14615 return resultobj;
14616 fail:
14617 return NULL;
14618}
14619
14620
14621static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
14622 PyObject *resultobj;
14623 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14624 int result;
14625 PyObject * obj0 = 0 ;
14626 char *kwnames[] = {
14627 (char *) "self", NULL
14628 };
14629
14630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
15afbcd0
RD
14631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14633 {
14634 PyThreadState* __tstate = wxPyBeginAllowThreads();
14635 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14636
14637 wxPyEndAllowThreads(__tstate);
14638 if (PyErr_Occurred()) SWIG_fail;
14639 }
15afbcd0 14640 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14641 return resultobj;
14642 fail:
14643 return NULL;
14644}
14645
14646
14647static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
14648 PyObject *resultobj;
14649 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14650 int result;
14651 PyObject * obj0 = 0 ;
14652 char *kwnames[] = {
14653 (char *) "self", NULL
14654 };
14655
14656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
15afbcd0
RD
14657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14659 {
14660 PyThreadState* __tstate = wxPyBeginAllowThreads();
14661 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14662
14663 wxPyEndAllowThreads(__tstate);
14664 if (PyErr_Occurred()) SWIG_fail;
14665 }
15afbcd0 14666 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14667 return resultobj;
14668 fail:
14669 return NULL;
14670}
14671
14672
14673static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
14674 PyObject *resultobj;
14675 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14676 int result;
14677 PyObject * obj0 = 0 ;
14678 char *kwnames[] = {
14679 (char *) "self", NULL
14680 };
14681
14682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
15afbcd0
RD
14683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14685 {
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14688
14689 wxPyEndAllowThreads(__tstate);
14690 if (PyErr_Occurred()) SWIG_fail;
14691 }
15afbcd0 14692 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14693 return resultobj;
14694 fail:
14695 return NULL;
14696}
14697
14698
14699static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
14700 PyObject *resultobj;
14701 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14702 bool result;
14703 PyObject * obj0 = 0 ;
14704 char *kwnames[] = {
14705 (char *) "self", NULL
14706 };
14707
14708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
15afbcd0
RD
14709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14711 {
14712 PyThreadState* __tstate = wxPyBeginAllowThreads();
14713 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14714
14715 wxPyEndAllowThreads(__tstate);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 }
4f89f6a3
RD
14718 {
14719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14720 }
d14a1e28
RD
14721 return resultobj;
14722 fail:
14723 return NULL;
14724}
14725
14726
14727static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14728 PyObject *resultobj;
14729 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14730 int arg2 ;
d14a1e28 14731 PyObject * obj0 = 0 ;
994141e6 14732 PyObject * obj1 = 0 ;
d14a1e28
RD
14733 char *kwnames[] = {
14734 (char *) "self",(char *) "m_x", NULL
14735 };
14736
994141e6 14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14740 arg2 = (int) SWIG_AsInt(obj1);
14741 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14742 if (arg1) (arg1)->m_x = arg2;
14743
14744 Py_INCREF(Py_None); resultobj = Py_None;
14745 return resultobj;
14746 fail:
14747 return NULL;
14748}
14749
14750
14751static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14752 PyObject *resultobj;
14753 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14754 int result;
d14a1e28
RD
14755 PyObject * obj0 = 0 ;
14756 char *kwnames[] = {
14757 (char *) "self", NULL
14758 };
14759
14760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 14763 result = (int) ((arg1)->m_x);
d14a1e28 14764
15afbcd0 14765 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14766 return resultobj;
14767 fail:
14768 return NULL;
14769}
14770
14771
14772static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14773 PyObject *resultobj;
14774 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14775 int arg2 ;
d14a1e28 14776 PyObject * obj0 = 0 ;
994141e6 14777 PyObject * obj1 = 0 ;
d14a1e28
RD
14778 char *kwnames[] = {
14779 (char *) "self",(char *) "m_y", NULL
14780 };
14781
994141e6 14782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14785 arg2 = (int) SWIG_AsInt(obj1);
14786 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14787 if (arg1) (arg1)->m_y = arg2;
14788
14789 Py_INCREF(Py_None); resultobj = Py_None;
14790 return resultobj;
14791 fail:
14792 return NULL;
14793}
14794
14795
14796static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14797 PyObject *resultobj;
14798 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14799 int result;
d14a1e28
RD
14800 PyObject * obj0 = 0 ;
14801 char *kwnames[] = {
14802 (char *) "self", NULL
14803 };
14804
14805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 14808 result = (int) ((arg1)->m_y);
d14a1e28 14809
15afbcd0 14810 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14811 return resultobj;
14812 fail:
14813 return NULL;
14814}
14815
14816
14817static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14820 bool arg2 ;
14821 PyObject * obj0 = 0 ;
14822 PyObject * obj1 = 0 ;
14823 char *kwnames[] = {
14824 (char *) "self",(char *) "m_leftDown", NULL
14825 };
14826
14827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14830 arg2 = (bool) SWIG_AsBool(obj1);
14831 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14832 if (arg1) (arg1)->m_leftDown = arg2;
14833
14834 Py_INCREF(Py_None); resultobj = Py_None;
14835 return resultobj;
14836 fail:
14837 return NULL;
14838}
14839
14840
14841static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj;
14843 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14844 bool result;
14845 PyObject * obj0 = 0 ;
14846 char *kwnames[] = {
14847 (char *) "self", NULL
14848 };
14849
14850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14853 result = (bool) ((arg1)->m_leftDown);
14854
4f89f6a3
RD
14855 {
14856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14857 }
d14a1e28
RD
14858 return resultobj;
14859 fail:
14860 return NULL;
14861}
14862
14863
14864static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14865 PyObject *resultobj;
14866 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14867 bool arg2 ;
14868 PyObject * obj0 = 0 ;
14869 PyObject * obj1 = 0 ;
14870 char *kwnames[] = {
14871 (char *) "self",(char *) "m_middleDown", NULL
14872 };
14873
14874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14877 arg2 = (bool) SWIG_AsBool(obj1);
14878 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14879 if (arg1) (arg1)->m_middleDown = arg2;
14880
14881 Py_INCREF(Py_None); resultobj = Py_None;
14882 return resultobj;
14883 fail:
14884 return NULL;
14885}
14886
14887
14888static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14889 PyObject *resultobj;
14890 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14891 bool result;
14892 PyObject * obj0 = 0 ;
14893 char *kwnames[] = {
14894 (char *) "self", NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14900 result = (bool) ((arg1)->m_middleDown);
14901
4f89f6a3
RD
14902 {
14903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14904 }
d14a1e28
RD
14905 return resultobj;
14906 fail:
14907 return NULL;
14908}
14909
14910
14911static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14912 PyObject *resultobj;
14913 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14914 bool arg2 ;
14915 PyObject * obj0 = 0 ;
14916 PyObject * obj1 = 0 ;
14917 char *kwnames[] = {
14918 (char *) "self",(char *) "m_rightDown", NULL
14919 };
14920
14921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14924 arg2 = (bool) SWIG_AsBool(obj1);
14925 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14926 if (arg1) (arg1)->m_rightDown = arg2;
14927
14928 Py_INCREF(Py_None); resultobj = Py_None;
14929 return resultobj;
14930 fail:
14931 return NULL;
14932}
14933
14934
14935static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14936 PyObject *resultobj;
14937 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14938 bool result;
14939 PyObject * obj0 = 0 ;
14940 char *kwnames[] = {
14941 (char *) "self", NULL
14942 };
14943
14944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14947 result = (bool) ((arg1)->m_rightDown);
14948
4f89f6a3
RD
14949 {
14950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14951 }
d14a1e28
RD
14952 return resultobj;
14953 fail:
14954 return NULL;
14955}
14956
14957
14958static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14959 PyObject *resultobj;
14960 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14961 bool arg2 ;
14962 PyObject * obj0 = 0 ;
14963 PyObject * obj1 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self",(char *) "m_controlDown", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14971 arg2 = (bool) SWIG_AsBool(obj1);
14972 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14973 if (arg1) (arg1)->m_controlDown = arg2;
14974
14975 Py_INCREF(Py_None); resultobj = Py_None;
14976 return resultobj;
14977 fail:
14978 return NULL;
14979}
14980
14981
14982static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14983 PyObject *resultobj;
14984 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14985 bool result;
14986 PyObject * obj0 = 0 ;
14987 char *kwnames[] = {
14988 (char *) "self", NULL
14989 };
14990
14991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14994 result = (bool) ((arg1)->m_controlDown);
14995
4f89f6a3
RD
14996 {
14997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14998 }
d14a1e28
RD
14999 return resultobj;
15000 fail:
15001 return NULL;
15002}
15003
15004
15005static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15006 PyObject *resultobj;
15007 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15008 bool arg2 ;
15009 PyObject * obj0 = 0 ;
15010 PyObject * obj1 = 0 ;
15011 char *kwnames[] = {
15012 (char *) "self",(char *) "m_shiftDown", NULL
15013 };
15014
15015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15018 arg2 = (bool) SWIG_AsBool(obj1);
15019 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15020 if (arg1) (arg1)->m_shiftDown = arg2;
15021
15022 Py_INCREF(Py_None); resultobj = Py_None;
15023 return resultobj;
15024 fail:
15025 return NULL;
15026}
15027
15028
15029static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15030 PyObject *resultobj;
15031 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15032 bool result;
15033 PyObject * obj0 = 0 ;
15034 char *kwnames[] = {
15035 (char *) "self", NULL
15036 };
15037
15038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15041 result = (bool) ((arg1)->m_shiftDown);
15042
4f89f6a3
RD
15043 {
15044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15045 }
d14a1e28
RD
15046 return resultobj;
15047 fail:
15048 return NULL;
15049}
15050
15051
15052static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15053 PyObject *resultobj;
15054 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15055 bool arg2 ;
15056 PyObject * obj0 = 0 ;
15057 PyObject * obj1 = 0 ;
15058 char *kwnames[] = {
15059 (char *) "self",(char *) "m_altDown", NULL
15060 };
15061
15062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15065 arg2 = (bool) SWIG_AsBool(obj1);
15066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15067 if (arg1) (arg1)->m_altDown = arg2;
15068
15069 Py_INCREF(Py_None); resultobj = Py_None;
15070 return resultobj;
15071 fail:
15072 return NULL;
15073}
15074
15075
15076static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15077 PyObject *resultobj;
15078 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15079 bool result;
15080 PyObject * obj0 = 0 ;
15081 char *kwnames[] = {
15082 (char *) "self", NULL
15083 };
15084
15085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15088 result = (bool) ((arg1)->m_altDown);
15089
4f89f6a3
RD
15090 {
15091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15092 }
d14a1e28
RD
15093 return resultobj;
15094 fail:
15095 return NULL;
15096}
15097
15098
15099static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15100 PyObject *resultobj;
15101 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15102 bool arg2 ;
15103 PyObject * obj0 = 0 ;
15104 PyObject * obj1 = 0 ;
15105 char *kwnames[] = {
15106 (char *) "self",(char *) "m_metaDown", NULL
15107 };
15108
15109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15112 arg2 = (bool) SWIG_AsBool(obj1);
15113 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15114 if (arg1) (arg1)->m_metaDown = arg2;
15115
15116 Py_INCREF(Py_None); resultobj = Py_None;
15117 return resultobj;
15118 fail:
15119 return NULL;
15120}
15121
15122
15123static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15124 PyObject *resultobj;
15125 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15126 bool result;
15127 PyObject * obj0 = 0 ;
15128 char *kwnames[] = {
15129 (char *) "self", NULL
15130 };
15131
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15135 result = (bool) ((arg1)->m_metaDown);
15136
4f89f6a3
RD
15137 {
15138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15139 }
d14a1e28
RD
15140 return resultobj;
15141 fail:
15142 return NULL;
15143}
15144
15145
15146static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15147 PyObject *resultobj;
15148 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15149 int arg2 ;
15150 PyObject * obj0 = 0 ;
994141e6 15151 PyObject * obj1 = 0 ;
d14a1e28
RD
15152 char *kwnames[] = {
15153 (char *) "self",(char *) "m_wheelRotation", NULL
15154 };
15155
994141e6 15156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15159 arg2 = (int) SWIG_AsInt(obj1);
15160 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15161 if (arg1) (arg1)->m_wheelRotation = arg2;
15162
15163 Py_INCREF(Py_None); resultobj = Py_None;
15164 return resultobj;
15165 fail:
15166 return NULL;
15167}
15168
15169
15170static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj;
15172 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15173 int result;
15174 PyObject * obj0 = 0 ;
15175 char *kwnames[] = {
15176 (char *) "self", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15182 result = (int) ((arg1)->m_wheelRotation);
15183
15afbcd0 15184 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15185 return resultobj;
15186 fail:
15187 return NULL;
15188}
15189
15190
15191static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15192 PyObject *resultobj;
15193 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15194 int arg2 ;
15195 PyObject * obj0 = 0 ;
994141e6 15196 PyObject * obj1 = 0 ;
d14a1e28
RD
15197 char *kwnames[] = {
15198 (char *) "self",(char *) "m_wheelDelta", NULL
15199 };
15200
994141e6 15201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15204 arg2 = (int) SWIG_AsInt(obj1);
15205 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15206 if (arg1) (arg1)->m_wheelDelta = arg2;
15207
15208 Py_INCREF(Py_None); resultobj = Py_None;
15209 return resultobj;
15210 fail:
15211 return NULL;
15212}
15213
15214
15215static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15216 PyObject *resultobj;
15217 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15218 int result;
15219 PyObject * obj0 = 0 ;
15220 char *kwnames[] = {
15221 (char *) "self", NULL
15222 };
15223
15224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15227 result = (int) ((arg1)->m_wheelDelta);
15228
15afbcd0 15229 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15230 return resultobj;
15231 fail:
15232 return NULL;
15233}
15234
15235
15236static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15237 PyObject *resultobj;
15238 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15239 int arg2 ;
15240 PyObject * obj0 = 0 ;
994141e6 15241 PyObject * obj1 = 0 ;
d14a1e28
RD
15242 char *kwnames[] = {
15243 (char *) "self",(char *) "m_linesPerAction", NULL
15244 };
15245
994141e6 15246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15249 arg2 = (int) SWIG_AsInt(obj1);
15250 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15251 if (arg1) (arg1)->m_linesPerAction = arg2;
15252
15253 Py_INCREF(Py_None); resultobj = Py_None;
15254 return resultobj;
15255 fail:
15256 return NULL;
15257}
15258
15259
15260static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15261 PyObject *resultobj;
15262 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15263 int result;
15264 PyObject * obj0 = 0 ;
15265 char *kwnames[] = {
15266 (char *) "self", NULL
15267 };
15268
15269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15272 result = (int) ((arg1)->m_linesPerAction);
15273
15afbcd0 15274 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15275 return resultobj;
15276 fail:
15277 return NULL;
15278}
15279
15280
15281static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
15282 PyObject *obj;
15283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15284 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15285 Py_INCREF(obj);
15286 return Py_BuildValue((char *)"");
15287}
15288static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15289 PyObject *resultobj;
e811c8ce
RD
15290 int arg1 = (int) 0 ;
15291 int arg2 = (int) 0 ;
d14a1e28 15292 wxSetCursorEvent *result;
994141e6
RD
15293 PyObject * obj0 = 0 ;
15294 PyObject * obj1 = 0 ;
d14a1e28
RD
15295 char *kwnames[] = {
15296 (char *) "x",(char *) "y", NULL
15297 };
15298
994141e6
RD
15299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15300 if (obj0) {
15afbcd0
RD
15301 arg1 = (int) SWIG_AsInt(obj0);
15302 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15303 }
15304 if (obj1) {
15afbcd0
RD
15305 arg2 = (int) SWIG_AsInt(obj1);
15306 if (PyErr_Occurred()) SWIG_fail;
994141e6 15307 }
d14a1e28
RD
15308 {
15309 PyThreadState* __tstate = wxPyBeginAllowThreads();
15310 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15311
15312 wxPyEndAllowThreads(__tstate);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15afbcd0 15315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
d14a1e28
RD
15316 return resultobj;
15317 fail:
15318 return NULL;
15319}
15320
15321
15322static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15323 PyObject *resultobj;
15324 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15325 int result;
d14a1e28
RD
15326 PyObject * obj0 = 0 ;
15327 char *kwnames[] = {
15328 (char *) "self", NULL
15329 };
15330
15331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
15332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15336 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
15337
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15afbcd0 15341 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15342 return resultobj;
15343 fail:
15344 return NULL;
15345}
15346
15347
15348static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15349 PyObject *resultobj;
15350 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15351 int result;
d14a1e28
RD
15352 PyObject * obj0 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "self", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15360 {
15361 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15362 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
15363
15364 wxPyEndAllowThreads(__tstate);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
15afbcd0 15367 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15368 return resultobj;
15369 fail:
15370 return NULL;
15371}
15372
15373
15374static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15375 PyObject *resultobj;
15376 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15377 wxCursor *arg2 = 0 ;
15378 PyObject * obj0 = 0 ;
15379 PyObject * obj1 = 0 ;
15380 char *kwnames[] = {
15381 (char *) "self",(char *) "cursor", NULL
15382 };
15383
15384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15388 SWIG_POINTER_EXCEPTION | 0)) == -1)
15389 SWIG_fail;
d14a1e28 15390 if (arg2 == NULL) {
15afbcd0
RD
15391 PyErr_SetString(PyExc_TypeError,"null reference");
15392 SWIG_fail;
d14a1e28
RD
15393 }
15394 {
15395 PyThreadState* __tstate = wxPyBeginAllowThreads();
15396 (arg1)->SetCursor((wxCursor const &)*arg2);
15397
15398 wxPyEndAllowThreads(__tstate);
15399 if (PyErr_Occurred()) SWIG_fail;
15400 }
15401 Py_INCREF(Py_None); resultobj = Py_None;
15402 return resultobj;
15403 fail:
15404 return NULL;
15405}
15406
15407
15408static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15409 PyObject *resultobj;
15410 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15411 wxCursor *result;
15412 PyObject * obj0 = 0 ;
15413 char *kwnames[] = {
15414 (char *) "self", NULL
15415 };
15416
15417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15420 {
15421 PyThreadState* __tstate = wxPyBeginAllowThreads();
15422 {
15423 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15424 result = (wxCursor *) &_result_ref;
15425 }
15426
15427 wxPyEndAllowThreads(__tstate);
15428 if (PyErr_Occurred()) SWIG_fail;
15429 }
4276dc52
RD
15430 {
15431 wxCursor* resultptr = new wxCursor(*result);
15432 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15433 }
d14a1e28
RD
15434 return resultobj;
15435 fail:
15436 return NULL;
15437}
15438
15439
15440static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15441 PyObject *resultobj;
15442 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15443 bool result;
15444 PyObject * obj0 = 0 ;
15445 char *kwnames[] = {
15446 (char *) "self", NULL
15447 };
15448
15449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15452 {
15453 PyThreadState* __tstate = wxPyBeginAllowThreads();
15454 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15455
15456 wxPyEndAllowThreads(__tstate);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 }
4f89f6a3
RD
15459 {
15460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15461 }
d14a1e28
RD
15462 return resultobj;
15463 fail:
15464 return NULL;
15465}
15466
15467
15468static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
15469 PyObject *obj;
15470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15471 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15472 Py_INCREF(obj);
15473 return Py_BuildValue((char *)"");
15474}
15475static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15476 PyObject *resultobj;
15477 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15478 wxKeyEvent *result;
994141e6 15479 PyObject * obj0 = 0 ;
d14a1e28
RD
15480 char *kwnames[] = {
15481 (char *) "keyType", NULL
15482 };
15483
994141e6
RD
15484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15485 if (obj0) {
15afbcd0
RD
15486 arg1 = (wxEventType) SWIG_AsInt(obj0);
15487 if (PyErr_Occurred()) SWIG_fail;
994141e6 15488 }
d14a1e28
RD
15489 {
15490 PyThreadState* __tstate = wxPyBeginAllowThreads();
15491 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15492
15493 wxPyEndAllowThreads(__tstate);
15494 if (PyErr_Occurred()) SWIG_fail;
15495 }
15afbcd0 15496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
d14a1e28
RD
15497 return resultobj;
15498 fail:
15499 return NULL;
15500}
15501
15502
15503static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15504 PyObject *resultobj;
15505 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15506 bool result;
15507 PyObject * obj0 = 0 ;
15508 char *kwnames[] = {
15509 (char *) "self", NULL
15510 };
15511
15512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15515 {
15516 PyThreadState* __tstate = wxPyBeginAllowThreads();
15517 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15518
15519 wxPyEndAllowThreads(__tstate);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
4f89f6a3
RD
15522 {
15523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15524 }
d14a1e28
RD
15525 return resultobj;
15526 fail:
15527 return NULL;
15528}
15529
15530
15531static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15532 PyObject *resultobj;
15533 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15534 bool result;
15535 PyObject * obj0 = 0 ;
15536 char *kwnames[] = {
15537 (char *) "self", NULL
15538 };
15539
15540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15546
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
4f89f6a3
RD
15550 {
15551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15552 }
d14a1e28
RD
15553 return resultobj;
15554 fail:
15555 return NULL;
15556}
15557
15558
15559static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15560 PyObject *resultobj;
15561 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15562 bool result;
15563 PyObject * obj0 = 0 ;
15564 char *kwnames[] = {
15565 (char *) "self", NULL
15566 };
15567
15568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15571 {
15572 PyThreadState* __tstate = wxPyBeginAllowThreads();
15573 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15574
15575 wxPyEndAllowThreads(__tstate);
15576 if (PyErr_Occurred()) SWIG_fail;
15577 }
4f89f6a3
RD
15578 {
15579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15580 }
d14a1e28
RD
15581 return resultobj;
15582 fail:
15583 return NULL;
15584}
15585
15586
15587static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15588 PyObject *resultobj;
15589 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15590 bool result;
15591 PyObject * obj0 = 0 ;
15592 char *kwnames[] = {
15593 (char *) "self", NULL
15594 };
15595
15596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15599 {
15600 PyThreadState* __tstate = wxPyBeginAllowThreads();
15601 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15602
15603 wxPyEndAllowThreads(__tstate);
15604 if (PyErr_Occurred()) SWIG_fail;
15605 }
4f89f6a3
RD
15606 {
15607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15608 }
d14a1e28
RD
15609 return resultobj;
15610 fail:
15611 return NULL;
15612}
15613
15614
412d302d
RD
15615static PyObject *_wrap_KeyEvent_CmdDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15616 PyObject *resultobj;
15617 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15618 bool result;
15619 PyObject * obj0 = 0 ;
15620 char *kwnames[] = {
15621 (char *) "self", NULL
15622 };
15623
15624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_CmdDown",kwnames,&obj0)) goto fail;
15625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15627 {
15628 PyThreadState* __tstate = wxPyBeginAllowThreads();
15629 result = (bool)((wxKeyEvent const *)arg1)->CmdDown();
15630
15631 wxPyEndAllowThreads(__tstate);
15632 if (PyErr_Occurred()) SWIG_fail;
15633 }
15634 {
15635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15636 }
15637 return resultobj;
15638 fail:
15639 return NULL;
15640}
15641
15642
d14a1e28
RD
15643static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
15644 PyObject *resultobj;
15645 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15646 bool result;
15647 PyObject * obj0 = 0 ;
15648 char *kwnames[] = {
15649 (char *) "self", NULL
15650 };
15651
15652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
15afbcd0
RD
15653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15655 {
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
15657 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15658
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
4f89f6a3
RD
15662 {
15663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15664 }
d14a1e28
RD
15665 return resultobj;
15666 fail:
15667 return NULL;
15668}
15669
15670
15671static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15672 PyObject *resultobj;
15673 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15674 int result;
15675 PyObject * obj0 = 0 ;
15676 char *kwnames[] = {
15677 (char *) "self", NULL
15678 };
15679
15680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
15681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15683 {
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15686
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15afbcd0 15690 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15691 return resultobj;
15692 fail:
15693 return NULL;
15694}
15695
15696
19272049 15697static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15698 PyObject *resultobj;
15699 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15700 int result;
15701 PyObject * obj0 = 0 ;
15702 char *kwnames[] = {
15703 (char *) "self", NULL
15704 };
15705
19272049 15706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUnicodeKey",kwnames,&obj0)) goto fail;
15afbcd0
RD
15707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15709 {
15710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272049 15711 result = (int)wxKeyEvent_GetUnicodeKey(arg1);
d14a1e28
RD
15712
15713 wxPyEndAllowThreads(__tstate);
15714 if (PyErr_Occurred()) SWIG_fail;
15715 }
15afbcd0 15716 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15717 return resultobj;
15718 fail:
15719 return NULL;
15720}
15721
15722
15723static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15724 PyObject *resultobj;
15725 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15726 unsigned int result;
d14a1e28
RD
15727 PyObject * obj0 = 0 ;
15728 char *kwnames[] = {
15729 (char *) "self", NULL
15730 };
15731
15732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
15733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15735 {
15736 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15737 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
15738
15739 wxPyEndAllowThreads(__tstate);
15740 if (PyErr_Occurred()) SWIG_fail;
15741 }
15afbcd0 15742 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15743 return resultobj;
15744 fail:
15745 return NULL;
15746}
15747
15748
15749static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
15750 PyObject *resultobj;
15751 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15752 unsigned int result;
d14a1e28
RD
15753 PyObject * obj0 = 0 ;
15754 char *kwnames[] = {
15755 (char *) "self", NULL
15756 };
15757
15758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
15759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15761 {
15762 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15763 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
15764
15765 wxPyEndAllowThreads(__tstate);
15766 if (PyErr_Occurred()) SWIG_fail;
15767 }
15afbcd0 15768 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15769 return resultobj;
15770 fail:
15771 return NULL;
15772}
15773
15774
15775static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15776 PyObject *resultobj;
15777 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15778 wxPoint result;
15779 PyObject * obj0 = 0 ;
15780 char *kwnames[] = {
15781 (char *) "self", NULL
15782 };
15783
15784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
15785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15787 {
15788 PyThreadState* __tstate = wxPyBeginAllowThreads();
15789 result = (arg1)->GetPosition();
15790
15791 wxPyEndAllowThreads(__tstate);
15792 if (PyErr_Occurred()) SWIG_fail;
15793 }
15794 {
15795 wxPoint * resultptr;
15796 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 15797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
15798 }
15799 return resultobj;
15800 fail:
15801 return NULL;
15802}
15803
15804
15805static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
15806 PyObject *resultobj;
15807 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15808 long *arg2 = (long *) 0 ;
15809 long *arg3 = (long *) 0 ;
15810 long temp2 ;
15811 long temp3 ;
15812 PyObject * obj0 = 0 ;
15813 char *kwnames[] = {
15814 (char *) "self", NULL
15815 };
15816
15817 arg2 = &temp2;
15818 arg3 = &temp3;
15819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
15820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15822 {
15823 PyThreadState* __tstate = wxPyBeginAllowThreads();
15824 (arg1)->GetPosition(arg2,arg3);
15825
15826 wxPyEndAllowThreads(__tstate);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
15829 Py_INCREF(Py_None); resultobj = Py_None;
15830 {
15831 PyObject *o = PyInt_FromLong((long) (*arg2));
15832 resultobj = t_output_helper(resultobj,o);
15833 }
15834 {
15835 PyObject *o = PyInt_FromLong((long) (*arg3));
15836 resultobj = t_output_helper(resultobj,o);
15837 }
15838 return resultobj;
15839 fail:
15840 return NULL;
15841}
15842
15843
15844static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15845 PyObject *resultobj;
15846 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15847 int result;
d14a1e28
RD
15848 PyObject * obj0 = 0 ;
15849 char *kwnames[] = {
15850 (char *) "self", NULL
15851 };
15852
15853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
15854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15858 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
15859
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
15afbcd0 15863 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15864 return resultobj;
15865 fail:
15866 return NULL;
15867}
15868
15869
15870static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15871 PyObject *resultobj;
15872 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15873 int result;
d14a1e28
RD
15874 PyObject * obj0 = 0 ;
15875 char *kwnames[] = {
15876 (char *) "self", NULL
15877 };
15878
15879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15882 {
15883 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15884 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
15885
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
15afbcd0 15889 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15890 return resultobj;
15891 fail:
15892 return NULL;
15893}
15894
15895
15896static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15897 PyObject *resultobj;
15898 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15899 int arg2 ;
d14a1e28 15900 PyObject * obj0 = 0 ;
994141e6 15901 PyObject * obj1 = 0 ;
d14a1e28
RD
15902 char *kwnames[] = {
15903 (char *) "self",(char *) "m_x", NULL
15904 };
15905
994141e6 15906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15909 arg2 = (int) SWIG_AsInt(obj1);
15910 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15911 if (arg1) (arg1)->m_x = arg2;
15912
15913 Py_INCREF(Py_None); resultobj = Py_None;
15914 return resultobj;
15915 fail:
15916 return NULL;
15917}
15918
15919
15920static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15921 PyObject *resultobj;
15922 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15923 int result;
d14a1e28
RD
15924 PyObject * obj0 = 0 ;
15925 char *kwnames[] = {
15926 (char *) "self", NULL
15927 };
15928
15929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15932 result = (int) ((arg1)->m_x);
d14a1e28 15933
15afbcd0 15934 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15935 return resultobj;
15936 fail:
15937 return NULL;
15938}
15939
15940
15941static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15942 PyObject *resultobj;
15943 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15944 int arg2 ;
d14a1e28 15945 PyObject * obj0 = 0 ;
994141e6 15946 PyObject * obj1 = 0 ;
d14a1e28
RD
15947 char *kwnames[] = {
15948 (char *) "self",(char *) "m_y", NULL
15949 };
15950
994141e6 15951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15954 arg2 = (int) SWIG_AsInt(obj1);
15955 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15956 if (arg1) (arg1)->m_y = arg2;
15957
15958 Py_INCREF(Py_None); resultobj = Py_None;
15959 return resultobj;
15960 fail:
15961 return NULL;
15962}
15963
15964
15965static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15966 PyObject *resultobj;
15967 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15968 int result;
d14a1e28
RD
15969 PyObject * obj0 = 0 ;
15970 char *kwnames[] = {
15971 (char *) "self", NULL
15972 };
15973
15974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15977 result = (int) ((arg1)->m_y);
d14a1e28 15978
15afbcd0 15979 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15980 return resultobj;
15981 fail:
15982 return NULL;
15983}
15984
15985
15986static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15987 PyObject *resultobj;
15988 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15989 long arg2 ;
15990 PyObject * obj0 = 0 ;
994141e6 15991 PyObject * obj1 = 0 ;
d14a1e28
RD
15992 char *kwnames[] = {
15993 (char *) "self",(char *) "m_keyCode", NULL
15994 };
15995
994141e6 15996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15999 arg2 = (long) SWIG_AsLong(obj1);
16000 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16001 if (arg1) (arg1)->m_keyCode = arg2;
16002
16003 Py_INCREF(Py_None); resultobj = Py_None;
16004 return resultobj;
16005 fail:
16006 return NULL;
16007}
16008
16009
16010static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16011 PyObject *resultobj;
16012 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16013 long result;
16014 PyObject * obj0 = 0 ;
16015 char *kwnames[] = {
16016 (char *) "self", NULL
16017 };
16018
16019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16022 result = (long) ((arg1)->m_keyCode);
16023
15afbcd0 16024 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
16025 return resultobj;
16026 fail:
16027 return NULL;
16028}
16029
16030
16031static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16032 PyObject *resultobj;
16033 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16034 bool arg2 ;
16035 PyObject * obj0 = 0 ;
16036 PyObject * obj1 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "self",(char *) "m_controlDown", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16044 arg2 = (bool) SWIG_AsBool(obj1);
16045 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16046 if (arg1) (arg1)->m_controlDown = arg2;
16047
16048 Py_INCREF(Py_None); resultobj = Py_None;
16049 return resultobj;
16050 fail:
16051 return NULL;
16052}
16053
16054
16055static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16056 PyObject *resultobj;
16057 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16058 bool result;
16059 PyObject * obj0 = 0 ;
16060 char *kwnames[] = {
16061 (char *) "self", NULL
16062 };
16063
16064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16067 result = (bool) ((arg1)->m_controlDown);
16068
4f89f6a3
RD
16069 {
16070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16071 }
d14a1e28
RD
16072 return resultobj;
16073 fail:
16074 return NULL;
16075}
16076
16077
16078static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16079 PyObject *resultobj;
16080 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16081 bool arg2 ;
16082 PyObject * obj0 = 0 ;
16083 PyObject * obj1 = 0 ;
16084 char *kwnames[] = {
16085 (char *) "self",(char *) "m_shiftDown", NULL
16086 };
16087
16088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16091 arg2 = (bool) SWIG_AsBool(obj1);
16092 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16093 if (arg1) (arg1)->m_shiftDown = arg2;
16094
16095 Py_INCREF(Py_None); resultobj = Py_None;
16096 return resultobj;
16097 fail:
16098 return NULL;
16099}
16100
16101
16102static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16103 PyObject *resultobj;
16104 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16105 bool result;
16106 PyObject * obj0 = 0 ;
16107 char *kwnames[] = {
16108 (char *) "self", NULL
16109 };
16110
16111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16114 result = (bool) ((arg1)->m_shiftDown);
16115
4f89f6a3
RD
16116 {
16117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16118 }
d14a1e28
RD
16119 return resultobj;
16120 fail:
16121 return NULL;
16122}
16123
16124
16125static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16126 PyObject *resultobj;
16127 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16128 bool arg2 ;
16129 PyObject * obj0 = 0 ;
16130 PyObject * obj1 = 0 ;
16131 char *kwnames[] = {
16132 (char *) "self",(char *) "m_altDown", NULL
16133 };
16134
16135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16138 arg2 = (bool) SWIG_AsBool(obj1);
16139 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16140 if (arg1) (arg1)->m_altDown = arg2;
16141
16142 Py_INCREF(Py_None); resultobj = Py_None;
16143 return resultobj;
16144 fail:
16145 return NULL;
16146}
16147
16148
16149static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16150 PyObject *resultobj;
16151 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16152 bool result;
16153 PyObject * obj0 = 0 ;
16154 char *kwnames[] = {
16155 (char *) "self", NULL
16156 };
16157
16158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16161 result = (bool) ((arg1)->m_altDown);
16162
4f89f6a3
RD
16163 {
16164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16165 }
d14a1e28
RD
16166 return resultobj;
16167 fail:
16168 return NULL;
16169}
16170
16171
16172static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16173 PyObject *resultobj;
16174 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16175 bool arg2 ;
16176 PyObject * obj0 = 0 ;
16177 PyObject * obj1 = 0 ;
16178 char *kwnames[] = {
16179 (char *) "self",(char *) "m_metaDown", NULL
16180 };
16181
16182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16185 arg2 = (bool) SWIG_AsBool(obj1);
16186 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16187 if (arg1) (arg1)->m_metaDown = arg2;
16188
16189 Py_INCREF(Py_None); resultobj = Py_None;
16190 return resultobj;
16191 fail:
16192 return NULL;
16193}
16194
16195
16196static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16197 PyObject *resultobj;
16198 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16199 bool result;
16200 PyObject * obj0 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16208 result = (bool) ((arg1)->m_metaDown);
16209
4f89f6a3
RD
16210 {
16211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16212 }
d14a1e28
RD
16213 return resultobj;
16214 fail:
16215 return NULL;
16216}
16217
16218
16219static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16220 PyObject *resultobj;
16221 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16222 bool arg2 ;
16223 PyObject * obj0 = 0 ;
16224 PyObject * obj1 = 0 ;
16225 char *kwnames[] = {
16226 (char *) "self",(char *) "m_scanCode", NULL
16227 };
16228
16229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16232 arg2 = (bool) SWIG_AsBool(obj1);
16233 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16234 if (arg1) (arg1)->m_scanCode = arg2;
16235
16236 Py_INCREF(Py_None); resultobj = Py_None;
16237 return resultobj;
16238 fail:
16239 return NULL;
16240}
16241
16242
16243static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16244 PyObject *resultobj;
16245 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16246 bool result;
16247 PyObject * obj0 = 0 ;
16248 char *kwnames[] = {
16249 (char *) "self", NULL
16250 };
16251
16252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16255 result = (bool) ((arg1)->m_scanCode);
16256
4f89f6a3
RD
16257 {
16258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16259 }
d14a1e28
RD
16260 return resultobj;
16261 fail:
16262 return NULL;
16263}
16264
16265
16266static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16267 PyObject *resultobj;
16268 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16269 unsigned int arg2 ;
d14a1e28
RD
16270 PyObject * obj0 = 0 ;
16271 PyObject * obj1 = 0 ;
16272 char *kwnames[] = {
16273 (char *) "self",(char *) "m_rawCode", NULL
16274 };
16275
16276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16279 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16280 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16281 if (arg1) (arg1)->m_rawCode = arg2;
16282
16283 Py_INCREF(Py_None); resultobj = Py_None;
16284 return resultobj;
16285 fail:
16286 return NULL;
16287}
16288
16289
16290static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16291 PyObject *resultobj;
16292 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16293 unsigned int result;
d14a1e28
RD
16294 PyObject * obj0 = 0 ;
16295 char *kwnames[] = {
16296 (char *) "self", NULL
16297 };
16298
16299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16302 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28 16303
15afbcd0 16304 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16305 return resultobj;
16306 fail:
16307 return NULL;
16308}
16309
16310
16311static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16312 PyObject *resultobj;
16313 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16314 unsigned int arg2 ;
d14a1e28
RD
16315 PyObject * obj0 = 0 ;
16316 PyObject * obj1 = 0 ;
16317 char *kwnames[] = {
16318 (char *) "self",(char *) "m_rawFlags", NULL
16319 };
16320
16321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16324 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16325 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16326 if (arg1) (arg1)->m_rawFlags = arg2;
16327
16328 Py_INCREF(Py_None); resultobj = Py_None;
16329 return resultobj;
16330 fail:
16331 return NULL;
16332}
16333
16334
16335static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16336 PyObject *resultobj;
16337 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16338 unsigned int result;
d14a1e28
RD
16339 PyObject * obj0 = 0 ;
16340 char *kwnames[] = {
16341 (char *) "self", NULL
16342 };
16343
16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16347 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28 16348
15afbcd0 16349 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16350 return resultobj;
16351 fail:
16352 return NULL;
16353}
16354
16355
16356static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
16357 PyObject *obj;
16358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16359 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16360 Py_INCREF(obj);
16361 return Py_BuildValue((char *)"");
16362}
16363static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16364 PyObject *resultobj;
16365 wxSize const &arg1_defvalue = wxDefaultSize ;
16366 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16367 int arg2 = (int) 0 ;
16368 wxSizeEvent *result;
16369 wxSize temp1 ;
16370 PyObject * obj0 = 0 ;
994141e6 16371 PyObject * obj1 = 0 ;
d14a1e28
RD
16372 char *kwnames[] = {
16373 (char *) "sz",(char *) "winid", NULL
16374 };
16375
994141e6 16376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16377 if (obj0) {
16378 {
16379 arg1 = &temp1;
16380 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16381 }
16382 }
994141e6 16383 if (obj1) {
15afbcd0
RD
16384 arg2 = (int) SWIG_AsInt(obj1);
16385 if (PyErr_Occurred()) SWIG_fail;
994141e6 16386 }
d14a1e28
RD
16387 {
16388 PyThreadState* __tstate = wxPyBeginAllowThreads();
16389 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16390
16391 wxPyEndAllowThreads(__tstate);
16392 if (PyErr_Occurred()) SWIG_fail;
16393 }
15afbcd0 16394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
d14a1e28
RD
16395 return resultobj;
16396 fail:
16397 return NULL;
16398}
16399
16400
16401static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16402 PyObject *resultobj;
16403 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16404 wxSize result;
16405 PyObject * obj0 = 0 ;
16406 char *kwnames[] = {
16407 (char *) "self", NULL
16408 };
16409
16410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16413 {
16414 PyThreadState* __tstate = wxPyBeginAllowThreads();
16415 result = ((wxSizeEvent const *)arg1)->GetSize();
16416
16417 wxPyEndAllowThreads(__tstate);
16418 if (PyErr_Occurred()) SWIG_fail;
16419 }
16420 {
16421 wxSize * resultptr;
16422 resultptr = new wxSize((wxSize &) result);
15afbcd0 16423 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16424 }
16425 return resultobj;
16426 fail:
16427 return NULL;
16428}
16429
16430
16431static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16432 PyObject *resultobj;
16433 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16434 wxRect result;
16435 PyObject * obj0 = 0 ;
16436 char *kwnames[] = {
16437 (char *) "self", NULL
16438 };
16439
16440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
16441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16443 {
16444 PyThreadState* __tstate = wxPyBeginAllowThreads();
16445 result = ((wxSizeEvent const *)arg1)->GetRect();
16446
16447 wxPyEndAllowThreads(__tstate);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 }
16450 {
16451 wxRect * resultptr;
16452 resultptr = new wxRect((wxRect &) result);
15afbcd0 16453 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16454 }
16455 return resultobj;
16456 fail:
16457 return NULL;
16458}
16459
16460
16461static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16462 PyObject *resultobj;
16463 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16464 wxRect arg2 ;
16465 wxRect *argp2 ;
16466 PyObject * obj0 = 0 ;
16467 PyObject * obj1 = 0 ;
16468 char *kwnames[] = {
16469 (char *) "self",(char *) "rect", NULL
16470 };
16471
16472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16475 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16476 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16477 arg2 = *argp2;
d14a1e28
RD
16478 {
16479 PyThreadState* __tstate = wxPyBeginAllowThreads();
16480 (arg1)->SetRect(arg2);
16481
16482 wxPyEndAllowThreads(__tstate);
16483 if (PyErr_Occurred()) SWIG_fail;
16484 }
16485 Py_INCREF(Py_None); resultobj = Py_None;
16486 return resultobj;
16487 fail:
16488 return NULL;
16489}
16490
16491
16492static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16493 PyObject *resultobj;
16494 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16495 wxSize arg2 ;
16496 wxSize *argp2 ;
16497 PyObject * obj0 = 0 ;
16498 PyObject * obj1 = 0 ;
16499 char *kwnames[] = {
16500 (char *) "self",(char *) "size", NULL
16501 };
16502
16503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16506 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16507 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16508 arg2 = *argp2;
d14a1e28
RD
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
16511 wxSizeEvent_SetSize(arg1,arg2);
16512
16513 wxPyEndAllowThreads(__tstate);
16514 if (PyErr_Occurred()) SWIG_fail;
16515 }
16516 Py_INCREF(Py_None); resultobj = Py_None;
16517 return resultobj;
16518 fail:
16519 return NULL;
16520}
16521
16522
16523static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16524 PyObject *resultobj;
16525 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16526 wxSize *arg2 = (wxSize *) 0 ;
16527 PyObject * obj0 = 0 ;
16528 PyObject * obj1 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "self",(char *) "m_size", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16536 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16538 if (arg1) (arg1)->m_size = *arg2;
16539
16540 Py_INCREF(Py_None); resultobj = Py_None;
16541 return resultobj;
16542 fail:
16543 return NULL;
16544}
16545
16546
16547static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16548 PyObject *resultobj;
16549 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16550 wxSize *result;
16551 PyObject * obj0 = 0 ;
16552 char *kwnames[] = {
16553 (char *) "self", NULL
16554 };
16555
16556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16559 result = (wxSize *)& ((arg1)->m_size);
16560
15afbcd0 16561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
16562 return resultobj;
16563 fail:
16564 return NULL;
16565}
16566
16567
16568static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16569 PyObject *resultobj;
16570 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16571 wxRect *arg2 = (wxRect *) 0 ;
16572 PyObject * obj0 = 0 ;
16573 PyObject * obj1 = 0 ;
16574 char *kwnames[] = {
16575 (char *) "self",(char *) "m_rect", NULL
16576 };
16577
16578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16583 if (arg1) (arg1)->m_rect = *arg2;
16584
16585 Py_INCREF(Py_None); resultobj = Py_None;
16586 return resultobj;
16587 fail:
16588 return NULL;
16589}
16590
16591
16592static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16593 PyObject *resultobj;
16594 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16595 wxRect *result;
16596 PyObject * obj0 = 0 ;
16597 char *kwnames[] = {
16598 (char *) "self", NULL
16599 };
16600
16601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16604 result = (wxRect *)& ((arg1)->m_rect);
16605
15afbcd0 16606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16607 return resultobj;
16608 fail:
16609 return NULL;
16610}
16611
16612
16613static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
16614 PyObject *obj;
16615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16616 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16617 Py_INCREF(obj);
16618 return Py_BuildValue((char *)"");
16619}
16620static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16621 PyObject *resultobj;
16622 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16623 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16624 int arg2 = (int) 0 ;
16625 wxMoveEvent *result;
16626 wxPoint temp1 ;
16627 PyObject * obj0 = 0 ;
994141e6 16628 PyObject * obj1 = 0 ;
d14a1e28
RD
16629 char *kwnames[] = {
16630 (char *) "pos",(char *) "winid", NULL
16631 };
16632
994141e6 16633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16634 if (obj0) {
16635 {
16636 arg1 = &temp1;
16637 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16638 }
16639 }
994141e6 16640 if (obj1) {
15afbcd0
RD
16641 arg2 = (int) SWIG_AsInt(obj1);
16642 if (PyErr_Occurred()) SWIG_fail;
994141e6 16643 }
d14a1e28
RD
16644 {
16645 PyThreadState* __tstate = wxPyBeginAllowThreads();
16646 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16647
16648 wxPyEndAllowThreads(__tstate);
16649 if (PyErr_Occurred()) SWIG_fail;
16650 }
15afbcd0 16651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
d14a1e28
RD
16652 return resultobj;
16653 fail:
16654 return NULL;
16655}
16656
16657
16658static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16659 PyObject *resultobj;
16660 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16661 wxPoint result;
16662 PyObject * obj0 = 0 ;
16663 char *kwnames[] = {
16664 (char *) "self", NULL
16665 };
16666
16667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16670 {
16671 PyThreadState* __tstate = wxPyBeginAllowThreads();
16672 result = ((wxMoveEvent const *)arg1)->GetPosition();
16673
16674 wxPyEndAllowThreads(__tstate);
16675 if (PyErr_Occurred()) SWIG_fail;
16676 }
16677 {
16678 wxPoint * resultptr;
16679 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 16680 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
16681 }
16682 return resultobj;
16683 fail:
16684 return NULL;
16685}
16686
16687
16688static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16689 PyObject *resultobj;
16690 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16691 wxRect result;
16692 PyObject * obj0 = 0 ;
16693 char *kwnames[] = {
16694 (char *) "self", NULL
16695 };
16696
16697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
16698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16700 {
16701 PyThreadState* __tstate = wxPyBeginAllowThreads();
16702 result = ((wxMoveEvent const *)arg1)->GetRect();
16703
16704 wxPyEndAllowThreads(__tstate);
16705 if (PyErr_Occurred()) SWIG_fail;
16706 }
16707 {
16708 wxRect * resultptr;
16709 resultptr = new wxRect((wxRect &) result);
15afbcd0 16710 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16711 }
16712 return resultobj;
16713 fail:
16714 return NULL;
16715}
16716
16717
16718static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16719 PyObject *resultobj;
16720 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16721 wxRect arg2 ;
16722 wxRect *argp2 ;
16723 PyObject * obj0 = 0 ;
16724 PyObject * obj1 = 0 ;
16725 char *kwnames[] = {
16726 (char *) "self",(char *) "rect", NULL
16727 };
16728
16729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16732 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16733 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16734 arg2 = *argp2;
d14a1e28
RD
16735 {
16736 PyThreadState* __tstate = wxPyBeginAllowThreads();
16737 (arg1)->SetRect(arg2);
16738
16739 wxPyEndAllowThreads(__tstate);
16740 if (PyErr_Occurred()) SWIG_fail;
16741 }
16742 Py_INCREF(Py_None); resultobj = Py_None;
16743 return resultobj;
16744 fail:
16745 return NULL;
16746}
16747
16748
16749static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16750 PyObject *resultobj;
16751 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16752 wxPoint arg2 ;
16753 wxPoint *argp2 ;
16754 PyObject * obj0 = 0 ;
16755 PyObject * obj1 = 0 ;
16756 char *kwnames[] = {
16757 (char *) "self",(char *) "pos", NULL
16758 };
16759
16760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16763 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
16764 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16765 arg2 = *argp2;
d14a1e28
RD
16766 {
16767 PyThreadState* __tstate = wxPyBeginAllowThreads();
16768 wxMoveEvent_SetPosition(arg1,arg2);
16769
16770 wxPyEndAllowThreads(__tstate);
16771 if (PyErr_Occurred()) SWIG_fail;
16772 }
16773 Py_INCREF(Py_None); resultobj = Py_None;
16774 return resultobj;
16775 fail:
16776 return NULL;
16777}
16778
16779
16780static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16781 PyObject *resultobj;
16782 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16783 wxPoint *arg2 = (wxPoint *) 0 ;
16784 PyObject * obj0 = 0 ;
16785 PyObject * obj1 = 0 ;
16786 char *kwnames[] = {
16787 (char *) "self",(char *) "m_pos", NULL
16788 };
16789
16790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
16794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16795 if (arg1) (arg1)->m_pos = *arg2;
16796
16797 Py_INCREF(Py_None); resultobj = Py_None;
16798 return resultobj;
16799 fail:
16800 return NULL;
16801}
16802
16803
16804static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16805 PyObject *resultobj;
16806 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16807 wxPoint *result;
16808 PyObject * obj0 = 0 ;
16809 char *kwnames[] = {
16810 (char *) "self", NULL
16811 };
16812
16813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16816 result = (wxPoint *)& ((arg1)->m_pos);
16817
15afbcd0 16818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
16819 return resultobj;
16820 fail:
16821 return NULL;
16822}
16823
16824
16825static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16826 PyObject *resultobj;
16827 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16828 wxRect *arg2 = (wxRect *) 0 ;
16829 PyObject * obj0 = 0 ;
16830 PyObject * obj1 = 0 ;
16831 char *kwnames[] = {
16832 (char *) "self",(char *) "m_rect", NULL
16833 };
16834
16835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16838 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16840 if (arg1) (arg1)->m_rect = *arg2;
16841
16842 Py_INCREF(Py_None); resultobj = Py_None;
16843 return resultobj;
16844 fail:
16845 return NULL;
16846}
16847
16848
16849static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16850 PyObject *resultobj;
16851 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16852 wxRect *result;
16853 PyObject * obj0 = 0 ;
16854 char *kwnames[] = {
16855 (char *) "self", NULL
16856 };
16857
16858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16861 result = (wxRect *)& ((arg1)->m_rect);
16862
15afbcd0 16863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16864 return resultobj;
16865 fail:
16866 return NULL;
16867}
16868
16869
16870static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
16871 PyObject *obj;
16872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16873 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16874 Py_INCREF(obj);
16875 return Py_BuildValue((char *)"");
16876}
16877static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16878 PyObject *resultobj;
16879 int arg1 = (int) 0 ;
16880 wxPaintEvent *result;
994141e6 16881 PyObject * obj0 = 0 ;
d14a1e28
RD
16882 char *kwnames[] = {
16883 (char *) "Id", NULL
16884 };
16885
994141e6
RD
16886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16887 if (obj0) {
15afbcd0
RD
16888 arg1 = (int) SWIG_AsInt(obj0);
16889 if (PyErr_Occurred()) SWIG_fail;
994141e6 16890 }
d14a1e28
RD
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16894
16895 wxPyEndAllowThreads(__tstate);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
15afbcd0 16898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
d14a1e28
RD
16899 return resultobj;
16900 fail:
16901 return NULL;
16902}
16903
16904
16905static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
16906 PyObject *obj;
16907 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16908 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16909 Py_INCREF(obj);
16910 return Py_BuildValue((char *)"");
16911}
16912static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16913 PyObject *resultobj;
16914 int arg1 = (int) 0 ;
16915 wxNcPaintEvent *result;
994141e6 16916 PyObject * obj0 = 0 ;
d14a1e28
RD
16917 char *kwnames[] = {
16918 (char *) "winid", NULL
16919 };
16920
994141e6
RD
16921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16922 if (obj0) {
15afbcd0
RD
16923 arg1 = (int) SWIG_AsInt(obj0);
16924 if (PyErr_Occurred()) SWIG_fail;
994141e6 16925 }
d14a1e28
RD
16926 {
16927 PyThreadState* __tstate = wxPyBeginAllowThreads();
16928 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16929
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
15afbcd0 16933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
d14a1e28
RD
16934 return resultobj;
16935 fail:
16936 return NULL;
16937}
16938
16939
16940static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
16941 PyObject *obj;
16942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16943 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16944 Py_INCREF(obj);
16945 return Py_BuildValue((char *)"");
16946}
16947static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16948 PyObject *resultobj;
16949 int arg1 = (int) 0 ;
16950 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16951 wxEraseEvent *result;
994141e6 16952 PyObject * obj0 = 0 ;
d14a1e28
RD
16953 PyObject * obj1 = 0 ;
16954 char *kwnames[] = {
16955 (char *) "Id",(char *) "dc", NULL
16956 };
16957
994141e6
RD
16958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16959 if (obj0) {
15afbcd0
RD
16960 arg1 = (int) SWIG_AsInt(obj0);
16961 if (PyErr_Occurred()) SWIG_fail;
994141e6 16962 }
d14a1e28 16963 if (obj1) {
15afbcd0
RD
16964 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16966 }
16967 {
16968 PyThreadState* __tstate = wxPyBeginAllowThreads();
16969 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16970
16971 wxPyEndAllowThreads(__tstate);
16972 if (PyErr_Occurred()) SWIG_fail;
16973 }
15afbcd0 16974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
d14a1e28
RD
16975 return resultobj;
16976 fail:
16977 return NULL;
16978}
16979
16980
16981static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
16982 PyObject *resultobj;
16983 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16984 wxDC *result;
16985 PyObject * obj0 = 0 ;
16986 char *kwnames[] = {
16987 (char *) "self", NULL
16988 };
16989
16990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
16991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
16992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16996
16997 wxPyEndAllowThreads(__tstate);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 }
17000 {
412d302d 17001 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17002 }
17003 return resultobj;
17004 fail:
17005 return NULL;
17006}
17007
17008
17009static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
17010 PyObject *obj;
17011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17012 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
17013 Py_INCREF(obj);
17014 return Py_BuildValue((char *)"");
17015}
17016static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17017 PyObject *resultobj;
17018 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17019 int arg2 = (int) 0 ;
17020 wxFocusEvent *result;
994141e6
RD
17021 PyObject * obj0 = 0 ;
17022 PyObject * obj1 = 0 ;
d14a1e28
RD
17023 char *kwnames[] = {
17024 (char *) "type",(char *) "winid", NULL
17025 };
17026
994141e6
RD
17027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
17028 if (obj0) {
15afbcd0
RD
17029 arg1 = (wxEventType) SWIG_AsInt(obj0);
17030 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17031 }
17032 if (obj1) {
15afbcd0
RD
17033 arg2 = (int) SWIG_AsInt(obj1);
17034 if (PyErr_Occurred()) SWIG_fail;
994141e6 17035 }
d14a1e28
RD
17036 {
17037 PyThreadState* __tstate = wxPyBeginAllowThreads();
17038 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
17039
17040 wxPyEndAllowThreads(__tstate);
17041 if (PyErr_Occurred()) SWIG_fail;
17042 }
15afbcd0 17043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
d14a1e28
RD
17044 return resultobj;
17045 fail:
17046 return NULL;
17047}
17048
17049
17050static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17051 PyObject *resultobj;
17052 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
17053 wxWindow *result;
17054 PyObject * obj0 = 0 ;
17055 char *kwnames[] = {
17056 (char *) "self", NULL
17057 };
17058
17059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
17061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17062 {
17063 PyThreadState* __tstate = wxPyBeginAllowThreads();
17064 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
17065
17066 wxPyEndAllowThreads(__tstate);
17067 if (PyErr_Occurred()) SWIG_fail;
17068 }
17069 {
412d302d 17070 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17071 }
17072 return resultobj;
17073 fail:
17074 return NULL;
17075}
17076
17077
17078static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17079 PyObject *resultobj;
17080 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
17081 wxWindow *arg2 = (wxWindow *) 0 ;
17082 PyObject * obj0 = 0 ;
17083 PyObject * obj1 = 0 ;
17084 char *kwnames[] = {
17085 (char *) "self",(char *) "win", NULL
17086 };
17087
17088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
17090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17093 {
17094 PyThreadState* __tstate = wxPyBeginAllowThreads();
17095 (arg1)->SetWindow(arg2);
17096
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 Py_INCREF(Py_None); resultobj = Py_None;
17101 return resultobj;
17102 fail:
17103 return NULL;
17104}
17105
17106
17107static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
17108 PyObject *obj;
17109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17110 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
17111 Py_INCREF(obj);
17112 return Py_BuildValue((char *)"");
17113}
17114static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17115 PyObject *resultobj;
17116 wxWindow *arg1 = (wxWindow *) NULL ;
17117 wxChildFocusEvent *result;
17118 PyObject * obj0 = 0 ;
17119 char *kwnames[] = {
17120 (char *) "win", NULL
17121 };
17122
17123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
17124 if (obj0) {
15afbcd0
RD
17125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17127 }
17128 {
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
17131
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
15afbcd0 17135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
d14a1e28
RD
17136 return resultobj;
17137 fail:
17138 return NULL;
17139}
17140
17141
17142static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17143 PyObject *resultobj;
17144 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
17145 wxWindow *result;
17146 PyObject * obj0 = 0 ;
17147 char *kwnames[] = {
17148 (char *) "self", NULL
17149 };
17150
17151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
17153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17154 {
17155 PyThreadState* __tstate = wxPyBeginAllowThreads();
17156 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
17157
17158 wxPyEndAllowThreads(__tstate);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 {
412d302d 17162 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17163 }
17164 return resultobj;
17165 fail:
17166 return NULL;
17167}
17168
17169
17170static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
17171 PyObject *obj;
17172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17173 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
17174 Py_INCREF(obj);
17175 return Py_BuildValue((char *)"");
17176}
17177static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17178 PyObject *resultobj;
17179 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 17180 bool arg2 = (bool) True ;
d14a1e28
RD
17181 int arg3 = (int) 0 ;
17182 wxActivateEvent *result;
994141e6 17183 PyObject * obj0 = 0 ;
d14a1e28 17184 PyObject * obj1 = 0 ;
994141e6 17185 PyObject * obj2 = 0 ;
d14a1e28
RD
17186 char *kwnames[] = {
17187 (char *) "type",(char *) "active",(char *) "Id", NULL
17188 };
17189
994141e6
RD
17190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17191 if (obj0) {
15afbcd0
RD
17192 arg1 = (wxEventType) SWIG_AsInt(obj0);
17193 if (PyErr_Occurred()) SWIG_fail;
994141e6 17194 }
d14a1e28 17195 if (obj1) {
15afbcd0
RD
17196 arg2 = (bool) SWIG_AsBool(obj1);
17197 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17198 }
17199 if (obj2) {
15afbcd0
RD
17200 arg3 = (int) SWIG_AsInt(obj2);
17201 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17202 }
17203 {
17204 PyThreadState* __tstate = wxPyBeginAllowThreads();
17205 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
17206
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
15afbcd0 17210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
d14a1e28
RD
17211 return resultobj;
17212 fail:
17213 return NULL;
17214}
17215
17216
17217static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17218 PyObject *resultobj;
17219 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
17220 bool result;
17221 PyObject * obj0 = 0 ;
17222 char *kwnames[] = {
17223 (char *) "self", NULL
17224 };
17225
17226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
17227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
17228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
4f89f6a3
RD
17236 {
17237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17238 }
d14a1e28
RD
17239 return resultobj;
17240 fail:
17241 return NULL;
17242}
17243
17244
17245static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
17246 PyObject *obj;
17247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17248 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
17249 Py_INCREF(obj);
17250 return Py_BuildValue((char *)"");
17251}
17252static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17253 PyObject *resultobj;
17254 int arg1 = (int) 0 ;
17255 wxInitDialogEvent *result;
994141e6 17256 PyObject * obj0 = 0 ;
d14a1e28
RD
17257 char *kwnames[] = {
17258 (char *) "Id", NULL
17259 };
17260
994141e6
RD
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
17262 if (obj0) {
15afbcd0
RD
17263 arg1 = (int) SWIG_AsInt(obj0);
17264 if (PyErr_Occurred()) SWIG_fail;
994141e6 17265 }
d14a1e28
RD
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
17269
17270 wxPyEndAllowThreads(__tstate);
17271 if (PyErr_Occurred()) SWIG_fail;
17272 }
15afbcd0 17273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
d14a1e28
RD
17274 return resultobj;
17275 fail:
17276 return NULL;
17277}
17278
17279
17280static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
17281 PyObject *obj;
17282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17283 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
17284 Py_INCREF(obj);
17285 return Py_BuildValue((char *)"");
17286}
17287static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17288 PyObject *resultobj;
17289 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17290 int arg2 = (int) 0 ;
17291 wxMenu *arg3 = (wxMenu *) NULL ;
17292 wxMenuEvent *result;
994141e6
RD
17293 PyObject * obj0 = 0 ;
17294 PyObject * obj1 = 0 ;
d14a1e28
RD
17295 PyObject * obj2 = 0 ;
17296 char *kwnames[] = {
17297 (char *) "type",(char *) "winid",(char *) "menu", NULL
17298 };
17299
994141e6
RD
17300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17301 if (obj0) {
15afbcd0
RD
17302 arg1 = (wxEventType) SWIG_AsInt(obj0);
17303 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17304 }
17305 if (obj1) {
15afbcd0
RD
17306 arg2 = (int) SWIG_AsInt(obj1);
17307 if (PyErr_Occurred()) SWIG_fail;
994141e6 17308 }
d14a1e28 17309 if (obj2) {
15afbcd0
RD
17310 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17312 }
17313 {
17314 PyThreadState* __tstate = wxPyBeginAllowThreads();
17315 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17316
17317 wxPyEndAllowThreads(__tstate);
17318 if (PyErr_Occurred()) SWIG_fail;
17319 }
15afbcd0 17320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
d14a1e28
RD
17321 return resultobj;
17322 fail:
17323 return NULL;
17324}
17325
17326
17327static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
17328 PyObject *resultobj;
17329 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17330 int result;
17331 PyObject * obj0 = 0 ;
17332 char *kwnames[] = {
17333 (char *) "self", NULL
17334 };
17335
17336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15afbcd0
RD
17337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17339 {
17340 PyThreadState* __tstate = wxPyBeginAllowThreads();
17341 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17342
17343 wxPyEndAllowThreads(__tstate);
17344 if (PyErr_Occurred()) SWIG_fail;
17345 }
15afbcd0 17346 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17347 return resultobj;
17348 fail:
17349 return NULL;
17350}
17351
17352
17353static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
17354 PyObject *resultobj;
17355 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17356 bool result;
17357 PyObject * obj0 = 0 ;
17358 char *kwnames[] = {
17359 (char *) "self", NULL
17360 };
17361
17362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15afbcd0
RD
17363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17365 {
17366 PyThreadState* __tstate = wxPyBeginAllowThreads();
17367 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17368
17369 wxPyEndAllowThreads(__tstate);
17370 if (PyErr_Occurred()) SWIG_fail;
17371 }
4f89f6a3
RD
17372 {
17373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17374 }
d14a1e28
RD
17375 return resultobj;
17376 fail:
17377 return NULL;
17378}
17379
17380
17381static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
17382 PyObject *resultobj;
17383 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17384 wxMenu *result;
17385 PyObject * obj0 = 0 ;
17386 char *kwnames[] = {
17387 (char *) "self", NULL
17388 };
17389
17390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
17391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17393 {
17394 PyThreadState* __tstate = wxPyBeginAllowThreads();
17395 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17396
17397 wxPyEndAllowThreads(__tstate);
17398 if (PyErr_Occurred()) SWIG_fail;
17399 }
17400 {
412d302d 17401 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17402 }
17403 return resultobj;
17404 fail:
17405 return NULL;
17406}
17407
17408
17409static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
17410 PyObject *obj;
17411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17412 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17413 Py_INCREF(obj);
17414 return Py_BuildValue((char *)"");
17415}
17416static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17417 PyObject *resultobj;
17418 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17419 int arg2 = (int) 0 ;
17420 wxCloseEvent *result;
994141e6
RD
17421 PyObject * obj0 = 0 ;
17422 PyObject * obj1 = 0 ;
d14a1e28
RD
17423 char *kwnames[] = {
17424 (char *) "type",(char *) "winid", NULL
17425 };
17426
994141e6
RD
17427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17428 if (obj0) {
15afbcd0
RD
17429 arg1 = (wxEventType) SWIG_AsInt(obj0);
17430 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17431 }
17432 if (obj1) {
15afbcd0
RD
17433 arg2 = (int) SWIG_AsInt(obj1);
17434 if (PyErr_Occurred()) SWIG_fail;
994141e6 17435 }
d14a1e28
RD
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
17438 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17439
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
15afbcd0 17443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
d14a1e28
RD
17444 return resultobj;
17445 fail:
17446 return NULL;
17447}
17448
17449
17450static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17451 PyObject *resultobj;
17452 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17453 bool arg2 ;
17454 PyObject * obj0 = 0 ;
17455 PyObject * obj1 = 0 ;
17456 char *kwnames[] = {
17457 (char *) "self",(char *) "logOff", NULL
17458 };
17459
17460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17463 arg2 = (bool) SWIG_AsBool(obj1);
17464 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 (arg1)->SetLoggingOff(arg2);
17468
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 Py_INCREF(Py_None); resultobj = Py_None;
17473 return resultobj;
17474 fail:
17475 return NULL;
17476}
17477
17478
17479static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj;
17481 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17482 bool result;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15afbcd0
RD
17489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
17493 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17494
17495 wxPyEndAllowThreads(__tstate);
17496 if (PyErr_Occurred()) SWIG_fail;
17497 }
4f89f6a3
RD
17498 {
17499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17500 }
d14a1e28
RD
17501 return resultobj;
17502 fail:
17503 return NULL;
17504}
17505
17506
17507static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
17508 PyObject *resultobj;
17509 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
e811c8ce 17510 bool arg2 = (bool) True ;
d14a1e28
RD
17511 PyObject * obj0 = 0 ;
17512 PyObject * obj1 = 0 ;
17513 char *kwnames[] = {
17514 (char *) "self",(char *) "veto", NULL
17515 };
17516
17517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 17520 if (obj1) {
15afbcd0
RD
17521 arg2 = (bool) SWIG_AsBool(obj1);
17522 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17523 }
17524 {
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 (arg1)->Veto(arg2);
17527
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
17531 Py_INCREF(Py_None); resultobj = Py_None;
17532 return resultobj;
17533 fail:
17534 return NULL;
17535}
17536
17537
17538static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17539 PyObject *resultobj;
17540 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17541 bool arg2 ;
17542 PyObject * obj0 = 0 ;
17543 PyObject * obj1 = 0 ;
17544 char *kwnames[] = {
17545 (char *) "self",(char *) "canVeto", NULL
17546 };
17547
17548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17551 arg2 = (bool) SWIG_AsBool(obj1);
17552 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17553 {
17554 PyThreadState* __tstate = wxPyBeginAllowThreads();
17555 (arg1)->SetCanVeto(arg2);
17556
17557 wxPyEndAllowThreads(__tstate);
17558 if (PyErr_Occurred()) SWIG_fail;
17559 }
17560 Py_INCREF(Py_None); resultobj = Py_None;
17561 return resultobj;
17562 fail:
17563 return NULL;
17564}
17565
17566
17567static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17568 PyObject *resultobj;
17569 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17570 bool result;
17571 PyObject * obj0 = 0 ;
17572 char *kwnames[] = {
17573 (char *) "self", NULL
17574 };
17575
17576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17579 {
17580 PyThreadState* __tstate = wxPyBeginAllowThreads();
17581 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17582
17583 wxPyEndAllowThreads(__tstate);
17584 if (PyErr_Occurred()) SWIG_fail;
17585 }
4f89f6a3
RD
17586 {
17587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17588 }
d14a1e28
RD
17589 return resultobj;
17590 fail:
17591 return NULL;
17592}
17593
17594
17595static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17596 PyObject *resultobj;
17597 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17598 bool result;
17599 PyObject * obj0 = 0 ;
17600 char *kwnames[] = {
17601 (char *) "self", NULL
17602 };
17603
17604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17607 {
17608 PyThreadState* __tstate = wxPyBeginAllowThreads();
17609 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
4f89f6a3
RD
17614 {
17615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17616 }
d14a1e28
RD
17617 return resultobj;
17618 fail:
17619 return NULL;
17620}
17621
17622
17623static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
17624 PyObject *obj;
17625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17626 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17627 Py_INCREF(obj);
17628 return Py_BuildValue((char *)"");
17629}
17630static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17631 PyObject *resultobj;
17632 int arg1 = (int) 0 ;
e811c8ce 17633 bool arg2 = (bool) False ;
d14a1e28 17634 wxShowEvent *result;
994141e6 17635 PyObject * obj0 = 0 ;
d14a1e28
RD
17636 PyObject * obj1 = 0 ;
17637 char *kwnames[] = {
17638 (char *) "winid",(char *) "show", NULL
17639 };
17640
994141e6
RD
17641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17642 if (obj0) {
15afbcd0
RD
17643 arg1 = (int) SWIG_AsInt(obj0);
17644 if (PyErr_Occurred()) SWIG_fail;
994141e6 17645 }
d14a1e28 17646 if (obj1) {
15afbcd0
RD
17647 arg2 = (bool) SWIG_AsBool(obj1);
17648 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17649 }
17650 {
17651 PyThreadState* __tstate = wxPyBeginAllowThreads();
17652 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17653
17654 wxPyEndAllowThreads(__tstate);
17655 if (PyErr_Occurred()) SWIG_fail;
17656 }
15afbcd0 17657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
d14a1e28
RD
17658 return resultobj;
17659 fail:
17660 return NULL;
17661}
17662
17663
17664static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17665 PyObject *resultobj;
17666 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17667 bool arg2 ;
17668 PyObject * obj0 = 0 ;
17669 PyObject * obj1 = 0 ;
17670 char *kwnames[] = {
17671 (char *) "self",(char *) "show", NULL
17672 };
17673
17674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17677 arg2 = (bool) SWIG_AsBool(obj1);
17678 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17679 {
17680 PyThreadState* __tstate = wxPyBeginAllowThreads();
17681 (arg1)->SetShow(arg2);
17682
17683 wxPyEndAllowThreads(__tstate);
17684 if (PyErr_Occurred()) SWIG_fail;
17685 }
17686 Py_INCREF(Py_None); resultobj = Py_None;
17687 return resultobj;
17688 fail:
17689 return NULL;
17690}
17691
17692
17693static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17694 PyObject *resultobj;
17695 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17696 bool result;
17697 PyObject * obj0 = 0 ;
17698 char *kwnames[] = {
17699 (char *) "self", NULL
17700 };
17701
17702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17705 {
17706 PyThreadState* __tstate = wxPyBeginAllowThreads();
17707 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17708
17709 wxPyEndAllowThreads(__tstate);
17710 if (PyErr_Occurred()) SWIG_fail;
17711 }
4f89f6a3
RD
17712 {
17713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17714 }
d14a1e28
RD
17715 return resultobj;
17716 fail:
17717 return NULL;
17718}
17719
17720
17721static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
17722 PyObject *obj;
17723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17724 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17725 Py_INCREF(obj);
17726 return Py_BuildValue((char *)"");
17727}
17728static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17729 PyObject *resultobj;
17730 int arg1 = (int) 0 ;
e811c8ce 17731 bool arg2 = (bool) True ;
d14a1e28 17732 wxIconizeEvent *result;
994141e6 17733 PyObject * obj0 = 0 ;
d14a1e28
RD
17734 PyObject * obj1 = 0 ;
17735 char *kwnames[] = {
17736 (char *) "id",(char *) "iconized", NULL
17737 };
17738
994141e6
RD
17739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17740 if (obj0) {
15afbcd0
RD
17741 arg1 = (int) SWIG_AsInt(obj0);
17742 if (PyErr_Occurred()) SWIG_fail;
994141e6 17743 }
d14a1e28 17744 if (obj1) {
15afbcd0
RD
17745 arg2 = (bool) SWIG_AsBool(obj1);
17746 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17747 }
17748 {
17749 PyThreadState* __tstate = wxPyBeginAllowThreads();
17750 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
17751
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
15afbcd0 17755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
d14a1e28
RD
17756 return resultobj;
17757 fail:
17758 return NULL;
17759}
17760
17761
17762static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
17763 PyObject *resultobj;
17764 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17765 bool result;
17766 PyObject * obj0 = 0 ;
17767 char *kwnames[] = {
17768 (char *) "self", NULL
17769 };
17770
17771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15afbcd0
RD
17772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
17773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17774 {
17775 PyThreadState* __tstate = wxPyBeginAllowThreads();
17776 result = (bool)(arg1)->Iconized();
17777
17778 wxPyEndAllowThreads(__tstate);
17779 if (PyErr_Occurred()) SWIG_fail;
17780 }
4f89f6a3
RD
17781 {
17782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17783 }
d14a1e28
RD
17784 return resultobj;
17785 fail:
17786 return NULL;
17787}
17788
17789
17790static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
17791 PyObject *obj;
17792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17793 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17794 Py_INCREF(obj);
17795 return Py_BuildValue((char *)"");
17796}
17797static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17798 PyObject *resultobj;
17799 int arg1 = (int) 0 ;
17800 wxMaximizeEvent *result;
994141e6 17801 PyObject * obj0 = 0 ;
d14a1e28
RD
17802 char *kwnames[] = {
17803 (char *) "id", NULL
17804 };
17805
994141e6
RD
17806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17807 if (obj0) {
15afbcd0
RD
17808 arg1 = (int) SWIG_AsInt(obj0);
17809 if (PyErr_Occurred()) SWIG_fail;
994141e6 17810 }
d14a1e28
RD
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17814
17815 wxPyEndAllowThreads(__tstate);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
15afbcd0 17818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
d14a1e28
RD
17819 return resultobj;
17820 fail:
17821 return NULL;
17822}
17823
17824
17825static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
17826 PyObject *obj;
17827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17828 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17829 Py_INCREF(obj);
17830 return Py_BuildValue((char *)"");
17831}
17832static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17833 PyObject *resultobj;
17834 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17835 wxPoint result;
17836 PyObject * obj0 = 0 ;
17837 char *kwnames[] = {
17838 (char *) "self", NULL
17839 };
17840
17841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
17842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17844 {
17845 PyThreadState* __tstate = wxPyBeginAllowThreads();
17846 result = (arg1)->GetPosition();
17847
17848 wxPyEndAllowThreads(__tstate);
17849 if (PyErr_Occurred()) SWIG_fail;
17850 }
17851 {
17852 wxPoint * resultptr;
17853 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 17854 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
17855 }
17856 return resultobj;
17857 fail:
17858 return NULL;
17859}
17860
17861
17862static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17863 PyObject *resultobj;
17864 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17865 int result;
17866 PyObject * obj0 = 0 ;
17867 char *kwnames[] = {
17868 (char *) "self", NULL
17869 };
17870
17871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
17872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17874 {
17875 PyThreadState* __tstate = wxPyBeginAllowThreads();
17876 result = (int)(arg1)->GetNumberOfFiles();
17877
17878 wxPyEndAllowThreads(__tstate);
17879 if (PyErr_Occurred()) SWIG_fail;
17880 }
15afbcd0 17881 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17882 return resultobj;
17883 fail:
17884 return NULL;
17885}
17886
17887
17888static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17889 PyObject *resultobj;
17890 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17891 PyObject *result;
17892 PyObject * obj0 = 0 ;
17893 char *kwnames[] = {
17894 (char *) "self", NULL
17895 };
17896
17897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
17898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17900 {
17901 PyThreadState* __tstate = wxPyBeginAllowThreads();
17902 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17903
17904 wxPyEndAllowThreads(__tstate);
17905 if (PyErr_Occurred()) SWIG_fail;
17906 }
17907 resultobj = result;
17908 return resultobj;
17909 fail:
17910 return NULL;
17911}
17912
17913
17914static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
17915 PyObject *obj;
17916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17917 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17918 Py_INCREF(obj);
17919 return Py_BuildValue((char *)"");
17920}
17921static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17922 PyObject *resultobj;
e811c8ce 17923 int arg1 = (int) 0 ;
d14a1e28 17924 wxUpdateUIEvent *result;
994141e6 17925 PyObject * obj0 = 0 ;
d14a1e28
RD
17926 char *kwnames[] = {
17927 (char *) "commandId", NULL
17928 };
17929
994141e6
RD
17930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17931 if (obj0) {
15afbcd0
RD
17932 arg1 = (int) SWIG_AsInt(obj0);
17933 if (PyErr_Occurred()) SWIG_fail;
994141e6 17934 }
d14a1e28
RD
17935 {
17936 PyThreadState* __tstate = wxPyBeginAllowThreads();
17937 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17938
17939 wxPyEndAllowThreads(__tstate);
17940 if (PyErr_Occurred()) SWIG_fail;
17941 }
15afbcd0 17942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
d14a1e28
RD
17943 return resultobj;
17944 fail:
17945 return NULL;
17946}
17947
17948
17949static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17950 PyObject *resultobj;
17951 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17952 bool result;
17953 PyObject * obj0 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "self", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
17959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17961 {
17962 PyThreadState* __tstate = wxPyBeginAllowThreads();
17963 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
17964
17965 wxPyEndAllowThreads(__tstate);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 }
4f89f6a3
RD
17968 {
17969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17970 }
d14a1e28
RD
17971 return resultobj;
17972 fail:
17973 return NULL;
17974}
17975
17976
17977static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17978 PyObject *resultobj;
17979 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17980 bool result;
17981 PyObject * obj0 = 0 ;
17982 char *kwnames[] = {
17983 (char *) "self", NULL
17984 };
17985
17986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
17987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17989 {
17990 PyThreadState* __tstate = wxPyBeginAllowThreads();
17991 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17992
17993 wxPyEndAllowThreads(__tstate);
17994 if (PyErr_Occurred()) SWIG_fail;
17995 }
4f89f6a3
RD
17996 {
17997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17998 }
d14a1e28
RD
17999 return resultobj;
18000 fail:
18001 return NULL;
18002}
18003
18004
18005static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18008 wxString result;
18009 PyObject * obj0 = 0 ;
18010 char *kwnames[] = {
18011 (char *) "self", NULL
18012 };
18013
18014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
18015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18017 {
18018 PyThreadState* __tstate = wxPyBeginAllowThreads();
18019 result = ((wxUpdateUIEvent const *)arg1)->GetText();
18020
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 {
18025#if wxUSE_UNICODE
18026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18027#else
18028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18029#endif
18030 }
18031 return resultobj;
18032 fail:
18033 return NULL;
18034}
18035
18036
18037static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18038 PyObject *resultobj;
18039 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18040 bool result;
18041 PyObject * obj0 = 0 ;
18042 char *kwnames[] = {
18043 (char *) "self", NULL
18044 };
18045
18046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
18047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
4f89f6a3
RD
18056 {
18057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18058 }
d14a1e28
RD
18059 return resultobj;
18060 fail:
18061 return NULL;
18062}
18063
18064
18065static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
18066 PyObject *resultobj;
18067 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18068 bool result;
18069 PyObject * obj0 = 0 ;
18070 char *kwnames[] = {
18071 (char *) "self", NULL
18072 };
18073
18074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
18075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18077 {
18078 PyThreadState* __tstate = wxPyBeginAllowThreads();
18079 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
18080
18081 wxPyEndAllowThreads(__tstate);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
4f89f6a3
RD
18084 {
18085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18086 }
d14a1e28
RD
18087 return resultobj;
18088 fail:
18089 return NULL;
18090}
18091
18092
18093static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
18094 PyObject *resultobj;
18095 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18096 bool result;
18097 PyObject * obj0 = 0 ;
18098 char *kwnames[] = {
18099 (char *) "self", NULL
18100 };
18101
18102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
18103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18105 {
18106 PyThreadState* __tstate = wxPyBeginAllowThreads();
18107 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
18108
18109 wxPyEndAllowThreads(__tstate);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
4f89f6a3
RD
18112 {
18113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18114 }
d14a1e28
RD
18115 return resultobj;
18116 fail:
18117 return NULL;
18118}
18119
18120
18121static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
18122 PyObject *resultobj;
18123 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18124 bool arg2 ;
18125 PyObject * obj0 = 0 ;
18126 PyObject * obj1 = 0 ;
18127 char *kwnames[] = {
18128 (char *) "self",(char *) "check", NULL
18129 };
18130
18131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18134 arg2 = (bool) SWIG_AsBool(obj1);
18135 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 (arg1)->Check(arg2);
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 Py_INCREF(Py_None); resultobj = Py_None;
18144 return resultobj;
18145 fail:
18146 return NULL;
18147}
18148
18149
18150static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
18151 PyObject *resultobj;
18152 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18153 bool arg2 ;
18154 PyObject * obj0 = 0 ;
18155 PyObject * obj1 = 0 ;
18156 char *kwnames[] = {
18157 (char *) "self",(char *) "enable", NULL
18158 };
18159
18160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18163 arg2 = (bool) SWIG_AsBool(obj1);
18164 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18165 {
18166 PyThreadState* __tstate = wxPyBeginAllowThreads();
18167 (arg1)->Enable(arg2);
18168
18169 wxPyEndAllowThreads(__tstate);
18170 if (PyErr_Occurred()) SWIG_fail;
18171 }
18172 Py_INCREF(Py_None); resultobj = Py_None;
18173 return resultobj;
18174 fail:
18175 return NULL;
18176}
18177
18178
18179static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18180 PyObject *resultobj;
18181 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18182 wxString *arg2 = 0 ;
e811c8ce 18183 bool temp2 = False ;
d14a1e28
RD
18184 PyObject * obj0 = 0 ;
18185 PyObject * obj1 = 0 ;
18186 char *kwnames[] = {
18187 (char *) "self",(char *) "text", NULL
18188 };
18189
18190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18193 {
18194 arg2 = wxString_in_helper(obj1);
18195 if (arg2 == NULL) SWIG_fail;
e811c8ce 18196 temp2 = True;
d14a1e28
RD
18197 }
18198 {
18199 PyThreadState* __tstate = wxPyBeginAllowThreads();
18200 (arg1)->SetText((wxString const &)*arg2);
18201
18202 wxPyEndAllowThreads(__tstate);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
18205 Py_INCREF(Py_None); resultobj = Py_None;
18206 {
18207 if (temp2)
18208 delete arg2;
18209 }
18210 return resultobj;
18211 fail:
18212 {
18213 if (temp2)
18214 delete arg2;
18215 }
18216 return NULL;
18217}
18218
18219
18220static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18221 PyObject *resultobj;
18222 long arg1 ;
994141e6 18223 PyObject * obj0 = 0 ;
d14a1e28
RD
18224 char *kwnames[] = {
18225 (char *) "updateInterval", NULL
18226 };
18227
994141e6 18228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
15afbcd0
RD
18229 arg1 = (long) SWIG_AsLong(obj0);
18230 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18231 {
18232 PyThreadState* __tstate = wxPyBeginAllowThreads();
18233 wxUpdateUIEvent::SetUpdateInterval(arg1);
18234
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 Py_INCREF(Py_None); resultobj = Py_None;
18239 return resultobj;
18240 fail:
18241 return NULL;
18242}
18243
18244
18245static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18246 PyObject *resultobj;
18247 long result;
18248 char *kwnames[] = {
18249 NULL
18250 };
18251
18252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
18253 {
18254 PyThreadState* __tstate = wxPyBeginAllowThreads();
18255 result = (long)wxUpdateUIEvent::GetUpdateInterval();
18256
18257 wxPyEndAllowThreads(__tstate);
18258 if (PyErr_Occurred()) SWIG_fail;
18259 }
15afbcd0 18260 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18261 return resultobj;
18262 fail:
18263 return NULL;
18264}
18265
18266
18267static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
18268 PyObject *resultobj;
18269 wxWindow *arg1 = (wxWindow *) 0 ;
18270 bool result;
18271 PyObject * obj0 = 0 ;
18272 char *kwnames[] = {
18273 (char *) "win", NULL
18274 };
18275
18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
15afbcd0
RD
18277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18279 {
18280 PyThreadState* __tstate = wxPyBeginAllowThreads();
18281 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
18282
18283 wxPyEndAllowThreads(__tstate);
18284 if (PyErr_Occurred()) SWIG_fail;
18285 }
4f89f6a3
RD
18286 {
18287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18288 }
d14a1e28
RD
18289 return resultobj;
18290 fail:
18291 return NULL;
18292}
18293
18294
18295static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18296 PyObject *resultobj;
18297 char *kwnames[] = {
18298 NULL
18299 };
18300
18301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18302 {
18303 PyThreadState* __tstate = wxPyBeginAllowThreads();
18304 wxUpdateUIEvent::ResetUpdateTime();
18305
18306 wxPyEndAllowThreads(__tstate);
18307 if (PyErr_Occurred()) SWIG_fail;
18308 }
18309 Py_INCREF(Py_None); resultobj = Py_None;
18310 return resultobj;
18311 fail:
18312 return NULL;
18313}
18314
18315
18316static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18317 PyObject *resultobj;
18318 int arg1 ;
994141e6 18319 PyObject * obj0 = 0 ;
d14a1e28
RD
18320 char *kwnames[] = {
18321 (char *) "mode", NULL
18322 };
18323
994141e6 18324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
18325 arg1 = (wxUpdateUIMode) SWIG_AsInt(obj0);
18326 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18327 {
18328 PyThreadState* __tstate = wxPyBeginAllowThreads();
18329 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18330
18331 wxPyEndAllowThreads(__tstate);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 }
18334 Py_INCREF(Py_None); resultobj = Py_None;
18335 return resultobj;
18336 fail:
18337 return NULL;
18338}
18339
18340
18341static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18342 PyObject *resultobj;
18343 int result;
18344 char *kwnames[] = {
18345 NULL
18346 };
18347
18348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18349 {
18350 PyThreadState* __tstate = wxPyBeginAllowThreads();
18351 result = (int)wxUpdateUIEvent::GetMode();
18352
18353 wxPyEndAllowThreads(__tstate);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 }
15afbcd0 18356 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18357 return resultobj;
18358 fail:
18359 return NULL;
18360}
18361
18362
18363static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
18364 PyObject *obj;
18365 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18366 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18367 Py_INCREF(obj);
18368 return Py_BuildValue((char *)"");
18369}
18370static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18371 PyObject *resultobj;
18372 wxSysColourChangedEvent *result;
18373 char *kwnames[] = {
18374 NULL
18375 };
18376
18377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18378 {
18379 PyThreadState* __tstate = wxPyBeginAllowThreads();
18380 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18381
18382 wxPyEndAllowThreads(__tstate);
18383 if (PyErr_Occurred()) SWIG_fail;
18384 }
15afbcd0 18385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
d14a1e28
RD
18386 return resultobj;
18387 fail:
18388 return NULL;
18389}
18390
18391
18392static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
18393 PyObject *obj;
18394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18395 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18396 Py_INCREF(obj);
18397 return Py_BuildValue((char *)"");
18398}
18399static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18400 PyObject *resultobj;
e811c8ce 18401 int arg1 = (int) 0 ;
d14a1e28
RD
18402 wxWindow *arg2 = (wxWindow *) NULL ;
18403 wxMouseCaptureChangedEvent *result;
994141e6 18404 PyObject * obj0 = 0 ;
d14a1e28
RD
18405 PyObject * obj1 = 0 ;
18406 char *kwnames[] = {
18407 (char *) "winid",(char *) "gainedCapture", NULL
18408 };
18409
994141e6
RD
18410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18411 if (obj0) {
15afbcd0
RD
18412 arg1 = (int) SWIG_AsInt(obj0);
18413 if (PyErr_Occurred()) SWIG_fail;
994141e6 18414 }
d14a1e28 18415 if (obj1) {
15afbcd0
RD
18416 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18418 }
18419 {
18420 PyThreadState* __tstate = wxPyBeginAllowThreads();
18421 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18422
18423 wxPyEndAllowThreads(__tstate);
18424 if (PyErr_Occurred()) SWIG_fail;
18425 }
15afbcd0 18426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
d14a1e28
RD
18427 return resultobj;
18428 fail:
18429 return NULL;
18430}
18431
18432
18433static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18434 PyObject *resultobj;
18435 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18436 wxWindow *result;
18437 PyObject * obj0 = 0 ;
18438 char *kwnames[] = {
18439 (char *) "self", NULL
18440 };
18441
18442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18445 {
18446 PyThreadState* __tstate = wxPyBeginAllowThreads();
18447 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18448
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 {
412d302d 18453 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18454 }
18455 return resultobj;
18456 fail:
18457 return NULL;
18458}
18459
18460
18461static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
18462 PyObject *obj;
18463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18464 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18465 Py_INCREF(obj);
18466 return Py_BuildValue((char *)"");
18467}
18468static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18469 PyObject *resultobj;
18470 wxDisplayChangedEvent *result;
18471 char *kwnames[] = {
18472 NULL
18473 };
18474
18475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
15afbcd0 18483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
d14a1e28
RD
18484 return resultobj;
18485 fail:
18486 return NULL;
18487}
18488
18489
18490static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
18491 PyObject *obj;
18492 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18493 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18494 Py_INCREF(obj);
18495 return Py_BuildValue((char *)"");
18496}
18497static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18498 PyObject *resultobj;
e811c8ce 18499 int arg1 = (int) 0 ;
d14a1e28 18500 wxPaletteChangedEvent *result;
994141e6 18501 PyObject * obj0 = 0 ;
d14a1e28
RD
18502 char *kwnames[] = {
18503 (char *) "id", NULL
18504 };
18505
994141e6
RD
18506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18507 if (obj0) {
15afbcd0
RD
18508 arg1 = (int) SWIG_AsInt(obj0);
18509 if (PyErr_Occurred()) SWIG_fail;
994141e6 18510 }
d14a1e28
RD
18511 {
18512 PyThreadState* __tstate = wxPyBeginAllowThreads();
18513 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18514
18515 wxPyEndAllowThreads(__tstate);
18516 if (PyErr_Occurred()) SWIG_fail;
18517 }
15afbcd0 18518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
d14a1e28
RD
18519 return resultobj;
18520 fail:
18521 return NULL;
18522}
18523
18524
18525static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18526 PyObject *resultobj;
18527 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18528 wxWindow *arg2 = (wxWindow *) 0 ;
18529 PyObject * obj0 = 0 ;
18530 PyObject * obj1 = 0 ;
18531 char *kwnames[] = {
18532 (char *) "self",(char *) "win", NULL
18533 };
18534
18535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18538 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18540 {
18541 PyThreadState* __tstate = wxPyBeginAllowThreads();
18542 (arg1)->SetChangedWindow(arg2);
18543
18544 wxPyEndAllowThreads(__tstate);
18545 if (PyErr_Occurred()) SWIG_fail;
18546 }
18547 Py_INCREF(Py_None); resultobj = Py_None;
18548 return resultobj;
18549 fail:
18550 return NULL;
18551}
18552
18553
18554static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18555 PyObject *resultobj;
18556 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18557 wxWindow *result;
18558 PyObject * obj0 = 0 ;
18559 char *kwnames[] = {
18560 (char *) "self", NULL
18561 };
18562
18563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18566 {
18567 PyThreadState* __tstate = wxPyBeginAllowThreads();
18568 result = (wxWindow *)(arg1)->GetChangedWindow();
18569
18570 wxPyEndAllowThreads(__tstate);
18571 if (PyErr_Occurred()) SWIG_fail;
18572 }
18573 {
412d302d 18574 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18575 }
18576 return resultobj;
18577 fail:
18578 return NULL;
18579}
18580
18581
18582static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
18583 PyObject *obj;
18584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18585 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18586 Py_INCREF(obj);
18587 return Py_BuildValue((char *)"");
18588}
18589static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18590 PyObject *resultobj;
e811c8ce 18591 int arg1 = (int) 0 ;
d14a1e28 18592 wxQueryNewPaletteEvent *result;
994141e6 18593 PyObject * obj0 = 0 ;
d14a1e28
RD
18594 char *kwnames[] = {
18595 (char *) "winid", NULL
18596 };
18597
994141e6
RD
18598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18599 if (obj0) {
15afbcd0
RD
18600 arg1 = (int) SWIG_AsInt(obj0);
18601 if (PyErr_Occurred()) SWIG_fail;
994141e6 18602 }
d14a1e28
RD
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18606
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
15afbcd0 18610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
d14a1e28
RD
18611 return resultobj;
18612 fail:
18613 return NULL;
18614}
18615
18616
18617static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18618 PyObject *resultobj;
18619 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18620 bool arg2 ;
18621 PyObject * obj0 = 0 ;
18622 PyObject * obj1 = 0 ;
18623 char *kwnames[] = {
18624 (char *) "self",(char *) "realized", NULL
18625 };
18626
18627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18630 arg2 = (bool) SWIG_AsBool(obj1);
18631 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18632 {
18633 PyThreadState* __tstate = wxPyBeginAllowThreads();
18634 (arg1)->SetPaletteRealized(arg2);
18635
18636 wxPyEndAllowThreads(__tstate);
18637 if (PyErr_Occurred()) SWIG_fail;
18638 }
18639 Py_INCREF(Py_None); resultobj = Py_None;
18640 return resultobj;
18641 fail:
18642 return NULL;
18643}
18644
18645
18646static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18647 PyObject *resultobj;
18648 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18649 bool result;
18650 PyObject * obj0 = 0 ;
18651 char *kwnames[] = {
18652 (char *) "self", NULL
18653 };
18654
18655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
15afbcd0
RD
18656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18658 {
18659 PyThreadState* __tstate = wxPyBeginAllowThreads();
18660 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18661
18662 wxPyEndAllowThreads(__tstate);
18663 if (PyErr_Occurred()) SWIG_fail;
18664 }
4f89f6a3
RD
18665 {
18666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18667 }
d14a1e28
RD
18668 return resultobj;
18669 fail:
18670 return NULL;
18671}
18672
18673
18674static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
18675 PyObject *obj;
18676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18677 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18678 Py_INCREF(obj);
18679 return Py_BuildValue((char *)"");
18680}
18681static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18682 PyObject *resultobj;
18683 wxNavigationKeyEvent *result;
18684 char *kwnames[] = {
18685 NULL
18686 };
18687
18688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18689 {
18690 PyThreadState* __tstate = wxPyBeginAllowThreads();
18691 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18692
18693 wxPyEndAllowThreads(__tstate);
18694 if (PyErr_Occurred()) SWIG_fail;
18695 }
15afbcd0 18696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
d14a1e28
RD
18697 return resultobj;
18698 fail:
18699 return NULL;
18700}
18701
18702
18703static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18704 PyObject *resultobj;
18705 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18706 bool result;
18707 PyObject * obj0 = 0 ;
18708 char *kwnames[] = {
18709 (char *) "self", NULL
18710 };
18711
18712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
18713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18715 {
18716 PyThreadState* __tstate = wxPyBeginAllowThreads();
18717 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18718
18719 wxPyEndAllowThreads(__tstate);
18720 if (PyErr_Occurred()) SWIG_fail;
18721 }
4f89f6a3
RD
18722 {
18723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18724 }
d14a1e28
RD
18725 return resultobj;
18726 fail:
18727 return NULL;
18728}
18729
18730
18731static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18732 PyObject *resultobj;
18733 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18734 bool arg2 ;
18735 PyObject * obj0 = 0 ;
18736 PyObject * obj1 = 0 ;
18737 char *kwnames[] = {
908b74cd 18738 (char *) "self",(char *) "forward", NULL
d14a1e28
RD
18739 };
18740
18741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18744 arg2 = (bool) SWIG_AsBool(obj1);
18745 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18746 {
18747 PyThreadState* __tstate = wxPyBeginAllowThreads();
18748 (arg1)->SetDirection(arg2);
18749
18750 wxPyEndAllowThreads(__tstate);
18751 if (PyErr_Occurred()) SWIG_fail;
18752 }
18753 Py_INCREF(Py_None); resultobj = Py_None;
18754 return resultobj;
18755 fail:
18756 return NULL;
18757}
18758
18759
18760static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18761 PyObject *resultobj;
18762 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18763 bool result;
18764 PyObject * obj0 = 0 ;
18765 char *kwnames[] = {
18766 (char *) "self", NULL
18767 };
18768
18769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
15afbcd0
RD
18770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18772 {
18773 PyThreadState* __tstate = wxPyBeginAllowThreads();
18774 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
18775
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
4f89f6a3
RD
18779 {
18780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18781 }
d14a1e28
RD
18782 return resultobj;
18783 fail:
18784 return NULL;
18785}
18786
18787
18788static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18789 PyObject *resultobj;
18790 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18791 bool arg2 ;
18792 PyObject * obj0 = 0 ;
18793 PyObject * obj1 = 0 ;
18794 char *kwnames[] = {
908b74cd 18795 (char *) "self",(char *) "ischange", NULL
d14a1e28
RD
18796 };
18797
18798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18801 arg2 = (bool) SWIG_AsBool(obj1);
18802 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18803 {
18804 PyThreadState* __tstate = wxPyBeginAllowThreads();
18805 (arg1)->SetWindowChange(arg2);
18806
18807 wxPyEndAllowThreads(__tstate);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
18810 Py_INCREF(Py_None); resultobj = Py_None;
18811 return resultobj;
18812 fail:
18813 return NULL;
18814}
18815
18816
908b74cd
RD
18817static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
18818 PyObject *resultobj;
18819 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18820 long arg2 ;
18821 PyObject * obj0 = 0 ;
18822 PyObject * obj1 = 0 ;
18823 char *kwnames[] = {
18824 (char *) "self",(char *) "flags", NULL
18825 };
18826
18827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
18828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18830 arg2 = (long) SWIG_AsLong(obj1);
18831 if (PyErr_Occurred()) SWIG_fail;
18832 {
18833 PyThreadState* __tstate = wxPyBeginAllowThreads();
18834 (arg1)->SetFlags(arg2);
18835
18836 wxPyEndAllowThreads(__tstate);
18837 if (PyErr_Occurred()) SWIG_fail;
18838 }
18839 Py_INCREF(Py_None); resultobj = Py_None;
18840 return resultobj;
18841 fail:
18842 return NULL;
18843}
18844
18845
d14a1e28
RD
18846static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18847 PyObject *resultobj;
18848 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18849 wxWindow *result;
18850 PyObject * obj0 = 0 ;
18851 char *kwnames[] = {
18852 (char *) "self", NULL
18853 };
18854
18855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
18856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18858 {
18859 PyThreadState* __tstate = wxPyBeginAllowThreads();
18860 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18861
18862 wxPyEndAllowThreads(__tstate);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 }
18865 {
412d302d 18866 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18867 }
18868 return resultobj;
18869 fail:
18870 return NULL;
18871}
18872
18873
18874static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18875 PyObject *resultobj;
18876 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18877 wxWindow *arg2 = (wxWindow *) 0 ;
18878 PyObject * obj0 = 0 ;
18879 PyObject * obj1 = 0 ;
18880 char *kwnames[] = {
18881 (char *) "self",(char *) "win", NULL
18882 };
18883
18884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18887 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18889 {
18890 PyThreadState* __tstate = wxPyBeginAllowThreads();
18891 (arg1)->SetCurrentFocus(arg2);
18892
18893 wxPyEndAllowThreads(__tstate);
18894 if (PyErr_Occurred()) SWIG_fail;
18895 }
18896 Py_INCREF(Py_None); resultobj = Py_None;
18897 return resultobj;
18898 fail:
18899 return NULL;
18900}
18901
18902
18903static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
18904 PyObject *obj;
18905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18906 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18907 Py_INCREF(obj);
18908 return Py_BuildValue((char *)"");
18909}
18910static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18911 PyObject *resultobj;
18912 wxWindow *arg1 = (wxWindow *) NULL ;
18913 wxWindowCreateEvent *result;
18914 PyObject * obj0 = 0 ;
18915 char *kwnames[] = {
18916 (char *) "win", NULL
18917 };
18918
18919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18920 if (obj0) {
15afbcd0
RD
18921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18923 }
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18927
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
15afbcd0 18931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
d14a1e28
RD
18932 return resultobj;
18933 fail:
18934 return NULL;
18935}
18936
18937
18938static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18939 PyObject *resultobj;
18940 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18941 wxWindow *result;
18942 PyObject * obj0 = 0 ;
18943 char *kwnames[] = {
18944 (char *) "self", NULL
18945 };
18946
18947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
18949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
18952 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18953
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
18957 {
412d302d 18958 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18959 }
18960 return resultobj;
18961 fail:
18962 return NULL;
18963}
18964
18965
18966static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
18967 PyObject *obj;
18968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18969 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18970 Py_INCREF(obj);
18971 return Py_BuildValue((char *)"");
18972}
18973static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18974 PyObject *resultobj;
18975 wxWindow *arg1 = (wxWindow *) NULL ;
18976 wxWindowDestroyEvent *result;
18977 PyObject * obj0 = 0 ;
18978 char *kwnames[] = {
18979 (char *) "win", NULL
18980 };
18981
18982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18983 if (obj0) {
15afbcd0
RD
18984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18986 }
18987 {
18988 PyThreadState* __tstate = wxPyBeginAllowThreads();
18989 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18990
18991 wxPyEndAllowThreads(__tstate);
18992 if (PyErr_Occurred()) SWIG_fail;
18993 }
15afbcd0 18994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
d14a1e28
RD
18995 return resultobj;
18996 fail:
18997 return NULL;
18998}
18999
19000
19001static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19002 PyObject *resultobj;
19003 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
19004 wxWindow *result;
19005 PyObject * obj0 = 0 ;
19006 char *kwnames[] = {
19007 (char *) "self", NULL
19008 };
19009
19010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
19011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
19012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19013 {
19014 PyThreadState* __tstate = wxPyBeginAllowThreads();
19015 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
19016
19017 wxPyEndAllowThreads(__tstate);
19018 if (PyErr_Occurred()) SWIG_fail;
19019 }
19020 {
412d302d 19021 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19022 }
19023 return resultobj;
19024 fail:
19025 return NULL;
19026}
19027
19028
19029static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
19030 PyObject *obj;
19031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19032 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
19033 Py_INCREF(obj);
19034 return Py_BuildValue((char *)"");
19035}
19036static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19037 PyObject *resultobj;
19038 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 19039 int arg2 = (int) 0 ;
d14a1e28
RD
19040 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19041 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19042 wxContextMenuEvent *result;
19043 wxPoint temp3 ;
994141e6
RD
19044 PyObject * obj0 = 0 ;
19045 PyObject * obj1 = 0 ;
d14a1e28
RD
19046 PyObject * obj2 = 0 ;
19047 char *kwnames[] = {
19048 (char *) "type",(char *) "winid",(char *) "pt", NULL
19049 };
19050
994141e6
RD
19051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
19052 if (obj0) {
15afbcd0
RD
19053 arg1 = (wxEventType) SWIG_AsInt(obj0);
19054 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19055 }
19056 if (obj1) {
15afbcd0
RD
19057 arg2 = (int) SWIG_AsInt(obj1);
19058 if (PyErr_Occurred()) SWIG_fail;
994141e6 19059 }
d14a1e28
RD
19060 if (obj2) {
19061 {
19062 arg3 = &temp3;
19063 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19064 }
19065 }
19066 {
19067 PyThreadState* __tstate = wxPyBeginAllowThreads();
19068 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
19069
19070 wxPyEndAllowThreads(__tstate);
19071 if (PyErr_Occurred()) SWIG_fail;
19072 }
15afbcd0 19073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
d14a1e28
RD
19074 return resultobj;
19075 fail:
19076 return NULL;
19077}
19078
19079
19080static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19081 PyObject *resultobj;
19082 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
19083 wxPoint *result;
19084 PyObject * obj0 = 0 ;
19085 char *kwnames[] = {
19086 (char *) "self", NULL
19087 };
19088
19089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
19090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
19091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 {
19095 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
19096 result = (wxPoint *) &_result_ref;
19097 }
19098
19099 wxPyEndAllowThreads(__tstate);
19100 if (PyErr_Occurred()) SWIG_fail;
19101 }
15afbcd0 19102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
19103 return resultobj;
19104 fail:
19105 return NULL;
19106}
19107
19108
19109static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19110 PyObject *resultobj;
19111 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
19112 wxPoint *arg2 = 0 ;
19113 wxPoint temp2 ;
19114 PyObject * obj0 = 0 ;
19115 PyObject * obj1 = 0 ;
19116 char *kwnames[] = {
19117 (char *) "self",(char *) "pos", NULL
19118 };
19119
19120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
19122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19123 {
19124 arg2 = &temp2;
19125 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19126 }
19127 {
19128 PyThreadState* __tstate = wxPyBeginAllowThreads();
19129 (arg1)->SetPosition((wxPoint const &)*arg2);
19130
19131 wxPyEndAllowThreads(__tstate);
19132 if (PyErr_Occurred()) SWIG_fail;
19133 }
19134 Py_INCREF(Py_None); resultobj = Py_None;
19135 return resultobj;
19136 fail:
19137 return NULL;
19138}
19139
19140
19141static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
19142 PyObject *obj;
19143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19144 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
19145 Py_INCREF(obj);
19146 return Py_BuildValue((char *)"");
19147}
19148static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19149 PyObject *resultobj;
19150 wxIdleEvent *result;
19151 char *kwnames[] = {
19152 NULL
19153 };
19154
19155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
19156 {
19157 PyThreadState* __tstate = wxPyBeginAllowThreads();
19158 result = (wxIdleEvent *)new wxIdleEvent();
19159
19160 wxPyEndAllowThreads(__tstate);
19161 if (PyErr_Occurred()) SWIG_fail;
19162 }
15afbcd0 19163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
d14a1e28
RD
19164 return resultobj;
19165 fail:
19166 return NULL;
19167}
19168
19169
19170static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
19171 PyObject *resultobj;
19172 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
e811c8ce 19173 bool arg2 = (bool) True ;
d14a1e28
RD
19174 PyObject * obj0 = 0 ;
19175 PyObject * obj1 = 0 ;
19176 char *kwnames[] = {
19177 (char *) "self",(char *) "needMore", NULL
19178 };
19179
19180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19183 if (obj1) {
15afbcd0
RD
19184 arg2 = (bool) SWIG_AsBool(obj1);
19185 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19186 }
19187 {
19188 PyThreadState* __tstate = wxPyBeginAllowThreads();
19189 (arg1)->RequestMore(arg2);
19190
19191 wxPyEndAllowThreads(__tstate);
19192 if (PyErr_Occurred()) SWIG_fail;
19193 }
19194 Py_INCREF(Py_None); resultobj = Py_None;
19195 return resultobj;
19196 fail:
19197 return NULL;
19198}
19199
19200
19201static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
19202 PyObject *resultobj;
19203 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
19204 bool result;
19205 PyObject * obj0 = 0 ;
19206 char *kwnames[] = {
19207 (char *) "self", NULL
19208 };
19209
19210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
15afbcd0
RD
19211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19213 {
19214 PyThreadState* __tstate = wxPyBeginAllowThreads();
19215 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
19216
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
4f89f6a3
RD
19220 {
19221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19222 }
d14a1e28
RD
19223 return resultobj;
19224 fail:
19225 return NULL;
19226}
19227
19228
19229static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19230 PyObject *resultobj;
19231 int arg1 ;
994141e6 19232 PyObject * obj0 = 0 ;
d14a1e28
RD
19233 char *kwnames[] = {
19234 (char *) "mode", NULL
19235 };
19236
994141e6 19237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
19238 arg1 = (wxIdleMode) SWIG_AsInt(obj0);
19239 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 wxIdleEvent::SetMode((wxIdleMode )arg1);
19243
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 Py_INCREF(Py_None); resultobj = Py_None;
19248 return resultobj;
19249 fail:
19250 return NULL;
19251}
19252
19253
19254static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj;
19256 int result;
19257 char *kwnames[] = {
19258 NULL
19259 };
19260
19261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
19262 {
19263 PyThreadState* __tstate = wxPyBeginAllowThreads();
19264 result = (int)wxIdleEvent::GetMode();
19265
19266 wxPyEndAllowThreads(__tstate);
19267 if (PyErr_Occurred()) SWIG_fail;
19268 }
15afbcd0 19269 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19270 return resultobj;
19271 fail:
19272 return NULL;
19273}
19274
19275
19276static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
19277 PyObject *resultobj;
19278 wxWindow *arg1 = (wxWindow *) 0 ;
19279 bool result;
19280 PyObject * obj0 = 0 ;
19281 char *kwnames[] = {
19282 (char *) "win", NULL
19283 };
19284
19285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
15afbcd0
RD
19286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19288 {
19289 PyThreadState* __tstate = wxPyBeginAllowThreads();
19290 result = (bool)wxIdleEvent::CanSend(arg1);
19291
19292 wxPyEndAllowThreads(__tstate);
19293 if (PyErr_Occurred()) SWIG_fail;
19294 }
4f89f6a3
RD
19295 {
19296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19297 }
d14a1e28
RD
19298 return resultobj;
19299 fail:
19300 return NULL;
19301}
19302
19303
19304static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
19305 PyObject *obj;
19306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19307 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
19308 Py_INCREF(obj);
19309 return Py_BuildValue((char *)"");
19310}
19311static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19312 PyObject *resultobj;
19313 int arg1 = (int) 0 ;
19314 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
19315 wxPyEvent *result;
994141e6
RD
19316 PyObject * obj0 = 0 ;
19317 PyObject * obj1 = 0 ;
d14a1e28
RD
19318 char *kwnames[] = {
19319 (char *) "winid",(char *) "commandType", NULL
19320 };
19321
994141e6
RD
19322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19323 if (obj0) {
15afbcd0
RD
19324 arg1 = (int) SWIG_AsInt(obj0);
19325 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19326 }
19327 if (obj1) {
15afbcd0
RD
19328 arg2 = (wxEventType) SWIG_AsInt(obj1);
19329 if (PyErr_Occurred()) SWIG_fail;
994141e6 19330 }
d14a1e28
RD
19331 {
19332 PyThreadState* __tstate = wxPyBeginAllowThreads();
19333 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19334
19335 wxPyEndAllowThreads(__tstate);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 }
15afbcd0 19338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
d14a1e28
RD
19339 return resultobj;
19340 fail:
19341 return NULL;
19342}
19343
19344
19345static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19346 PyObject *resultobj;
19347 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19348 PyObject * obj0 = 0 ;
19349 char *kwnames[] = {
19350 (char *) "self", NULL
19351 };
19352
19353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19356 {
19357 PyThreadState* __tstate = wxPyBeginAllowThreads();
19358 delete arg1;
19359
19360 wxPyEndAllowThreads(__tstate);
19361 if (PyErr_Occurred()) SWIG_fail;
19362 }
19363 Py_INCREF(Py_None); resultobj = Py_None;
19364 return resultobj;
19365 fail:
19366 return NULL;
19367}
19368
19369
19370static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19371 PyObject *resultobj;
19372 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19373 PyObject *arg2 = (PyObject *) 0 ;
19374 PyObject * obj0 = 0 ;
19375 PyObject * obj1 = 0 ;
19376 char *kwnames[] = {
19377 (char *) "self",(char *) "self", NULL
19378 };
19379
19380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19383 arg2 = obj1;
19384 {
19385 PyThreadState* __tstate = wxPyBeginAllowThreads();
19386 (arg1)->SetSelf(arg2);
19387
19388 wxPyEndAllowThreads(__tstate);
19389 if (PyErr_Occurred()) SWIG_fail;
19390 }
19391 Py_INCREF(Py_None); resultobj = Py_None;
19392 return resultobj;
19393 fail:
19394 return NULL;
19395}
19396
19397
19398static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19399 PyObject *resultobj;
19400 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19401 PyObject *result;
19402 PyObject * obj0 = 0 ;
19403 char *kwnames[] = {
19404 (char *) "self", NULL
19405 };
19406
19407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 result = (PyObject *)(arg1)->GetSelf();
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 resultobj = result;
19418 return resultobj;
19419 fail:
19420 return NULL;
19421}
19422
19423
19424static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
19425 PyObject *obj;
19426 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19427 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19428 Py_INCREF(obj);
19429 return Py_BuildValue((char *)"");
19430}
19431static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19432 PyObject *resultobj;
19433 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19434 int arg2 = (int) 0 ;
19435 wxPyCommandEvent *result;
994141e6
RD
19436 PyObject * obj0 = 0 ;
19437 PyObject * obj1 = 0 ;
d14a1e28
RD
19438 char *kwnames[] = {
19439 (char *) "commandType",(char *) "id", NULL
19440 };
19441
994141e6
RD
19442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19443 if (obj0) {
15afbcd0
RD
19444 arg1 = (wxEventType) SWIG_AsInt(obj0);
19445 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19446 }
19447 if (obj1) {
15afbcd0
RD
19448 arg2 = (int) SWIG_AsInt(obj1);
19449 if (PyErr_Occurred()) SWIG_fail;
994141e6 19450 }
d14a1e28
RD
19451 {
19452 PyThreadState* __tstate = wxPyBeginAllowThreads();
19453 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19454
19455 wxPyEndAllowThreads(__tstate);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 }
15afbcd0 19458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
d14a1e28
RD
19459 return resultobj;
19460 fail:
19461 return NULL;
19462}
19463
19464
19465static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19466 PyObject *resultobj;
19467 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19468 PyObject * obj0 = 0 ;
19469 char *kwnames[] = {
19470 (char *) "self", NULL
19471 };
19472
19473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19476 {
19477 PyThreadState* __tstate = wxPyBeginAllowThreads();
19478 delete arg1;
19479
19480 wxPyEndAllowThreads(__tstate);
19481 if (PyErr_Occurred()) SWIG_fail;
19482 }
19483 Py_INCREF(Py_None); resultobj = Py_None;
19484 return resultobj;
19485 fail:
19486 return NULL;
19487}
19488
19489
19490static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19491 PyObject *resultobj;
19492 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19493 PyObject *arg2 = (PyObject *) 0 ;
19494 PyObject * obj0 = 0 ;
19495 PyObject * obj1 = 0 ;
19496 char *kwnames[] = {
19497 (char *) "self",(char *) "self", NULL
19498 };
19499
19500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19503 arg2 = obj1;
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
19506 (arg1)->SetSelf(arg2);
19507
19508 wxPyEndAllowThreads(__tstate);
19509 if (PyErr_Occurred()) SWIG_fail;
19510 }
19511 Py_INCREF(Py_None); resultobj = Py_None;
19512 return resultobj;
19513 fail:
19514 return NULL;
19515}
19516
19517
19518static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19519 PyObject *resultobj;
19520 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19521 PyObject *result;
19522 PyObject * obj0 = 0 ;
19523 char *kwnames[] = {
19524 (char *) "self", NULL
19525 };
19526
19527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19530 {
19531 PyThreadState* __tstate = wxPyBeginAllowThreads();
19532 result = (PyObject *)(arg1)->GetSelf();
19533
19534 wxPyEndAllowThreads(__tstate);
19535 if (PyErr_Occurred()) SWIG_fail;
19536 }
19537 resultobj = result;
19538 return resultobj;
19539 fail:
19540 return NULL;
19541}
19542
19543
19544static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
19545 PyObject *obj;
19546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19547 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19548 Py_INCREF(obj);
19549 return Py_BuildValue((char *)"");
19550}
19551static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19552 PyObject *resultobj;
19553 wxPyApp *result;
19554 char *kwnames[] = {
19555 NULL
19556 };
19557
19558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19559 {
19560 PyThreadState* __tstate = wxPyBeginAllowThreads();
19561 result = (wxPyApp *)new_wxPyApp();
19562
19563 wxPyEndAllowThreads(__tstate);
19564 if (PyErr_Occurred()) SWIG_fail;
19565 }
b0f7404b 19566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyApp, 1);
d14a1e28
RD
19567 return resultobj;
19568 fail:
19569 return NULL;
19570}
19571
19572
19573static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19574 PyObject *resultobj;
19575 wxPyApp *arg1 = (wxPyApp *) 0 ;
19576 PyObject * obj0 = 0 ;
19577 char *kwnames[] = {
19578 (char *) "self", NULL
19579 };
19580
19581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
19582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19584 {
19585 PyThreadState* __tstate = wxPyBeginAllowThreads();
19586 delete arg1;
19587
19588 wxPyEndAllowThreads(__tstate);
19589 if (PyErr_Occurred()) SWIG_fail;
19590 }
19591 Py_INCREF(Py_None); resultobj = Py_None;
19592 return resultobj;
19593 fail:
19594 return NULL;
19595}
19596
19597
19598static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19599 PyObject *resultobj;
19600 wxPyApp *arg1 = (wxPyApp *) 0 ;
19601 PyObject *arg2 = (PyObject *) 0 ;
19602 PyObject *arg3 = (PyObject *) 0 ;
19603 PyObject * obj0 = 0 ;
19604 PyObject * obj1 = 0 ;
19605 PyObject * obj2 = 0 ;
19606 char *kwnames[] = {
19607 (char *) "self",(char *) "self",(char *) "_class", NULL
19608 };
19609
19610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19613 arg2 = obj1;
19614 arg3 = obj2;
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
19617 (arg1)->_setCallbackInfo(arg2,arg3);
19618
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 Py_INCREF(Py_None); resultobj = Py_None;
19623 return resultobj;
19624 fail:
19625 return NULL;
19626}
19627
19628
19629static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19630 PyObject *resultobj;
19631 wxPyApp *arg1 = (wxPyApp *) 0 ;
19632 wxString result;
19633 PyObject * obj0 = 0 ;
19634 char *kwnames[] = {
19635 (char *) "self", NULL
19636 };
19637
19638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19641 {
19642 PyThreadState* __tstate = wxPyBeginAllowThreads();
19643 result = ((wxPyApp const *)arg1)->GetAppName();
19644
19645 wxPyEndAllowThreads(__tstate);
19646 if (PyErr_Occurred()) SWIG_fail;
19647 }
19648 {
19649#if wxUSE_UNICODE
19650 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19651#else
19652 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19653#endif
19654 }
19655 return resultobj;
19656 fail:
19657 return NULL;
19658}
19659
19660
19661static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19662 PyObject *resultobj;
19663 wxPyApp *arg1 = (wxPyApp *) 0 ;
19664 wxString *arg2 = 0 ;
e811c8ce 19665 bool temp2 = False ;
d14a1e28
RD
19666 PyObject * obj0 = 0 ;
19667 PyObject * obj1 = 0 ;
19668 char *kwnames[] = {
19669 (char *) "self",(char *) "name", NULL
19670 };
19671
19672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19675 {
19676 arg2 = wxString_in_helper(obj1);
19677 if (arg2 == NULL) SWIG_fail;
e811c8ce 19678 temp2 = True;
d14a1e28
RD
19679 }
19680 {
19681 PyThreadState* __tstate = wxPyBeginAllowThreads();
19682 (arg1)->SetAppName((wxString const &)*arg2);
19683
19684 wxPyEndAllowThreads(__tstate);
19685 if (PyErr_Occurred()) SWIG_fail;
19686 }
19687 Py_INCREF(Py_None); resultobj = Py_None;
19688 {
19689 if (temp2)
19690 delete arg2;
19691 }
19692 return resultobj;
19693 fail:
19694 {
19695 if (temp2)
19696 delete arg2;
19697 }
19698 return NULL;
19699}
19700
19701
19702static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19703 PyObject *resultobj;
19704 wxPyApp *arg1 = (wxPyApp *) 0 ;
19705 wxString result;
19706 PyObject * obj0 = 0 ;
19707 char *kwnames[] = {
19708 (char *) "self", NULL
19709 };
19710
19711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19714 {
19715 PyThreadState* __tstate = wxPyBeginAllowThreads();
19716 result = ((wxPyApp const *)arg1)->GetClassName();
19717
19718 wxPyEndAllowThreads(__tstate);
19719 if (PyErr_Occurred()) SWIG_fail;
19720 }
19721 {
19722#if wxUSE_UNICODE
19723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19724#else
19725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19726#endif
19727 }
19728 return resultobj;
19729 fail:
19730 return NULL;
19731}
19732
19733
19734static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19735 PyObject *resultobj;
19736 wxPyApp *arg1 = (wxPyApp *) 0 ;
19737 wxString *arg2 = 0 ;
e811c8ce 19738 bool temp2 = False ;
d14a1e28
RD
19739 PyObject * obj0 = 0 ;
19740 PyObject * obj1 = 0 ;
19741 char *kwnames[] = {
19742 (char *) "self",(char *) "name", NULL
19743 };
19744
19745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19748 {
19749 arg2 = wxString_in_helper(obj1);
19750 if (arg2 == NULL) SWIG_fail;
e811c8ce 19751 temp2 = True;
d14a1e28
RD
19752 }
19753 {
19754 PyThreadState* __tstate = wxPyBeginAllowThreads();
19755 (arg1)->SetClassName((wxString const &)*arg2);
19756
19757 wxPyEndAllowThreads(__tstate);
19758 if (PyErr_Occurred()) SWIG_fail;
19759 }
19760 Py_INCREF(Py_None); resultobj = Py_None;
19761 {
19762 if (temp2)
19763 delete arg2;
19764 }
19765 return resultobj;
19766 fail:
19767 {
19768 if (temp2)
19769 delete arg2;
19770 }
19771 return NULL;
19772}
19773
19774
19775static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19776 PyObject *resultobj;
19777 wxPyApp *arg1 = (wxPyApp *) 0 ;
19778 wxString *result;
19779 PyObject * obj0 = 0 ;
19780 char *kwnames[] = {
19781 (char *) "self", NULL
19782 };
19783
19784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 {
19790 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
19791 result = (wxString *) &_result_ref;
19792 }
19793
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
cc6dd355
RD
19797 {
19798#if wxUSE_UNICODE
19799 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19800#else
19801 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19802#endif
19803 }
d14a1e28
RD
19804 return resultobj;
19805 fail:
19806 return NULL;
19807}
19808
19809
19810static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19811 PyObject *resultobj;
19812 wxPyApp *arg1 = (wxPyApp *) 0 ;
19813 wxString *arg2 = 0 ;
e811c8ce 19814 bool temp2 = False ;
d14a1e28
RD
19815 PyObject * obj0 = 0 ;
19816 PyObject * obj1 = 0 ;
19817 char *kwnames[] = {
19818 (char *) "self",(char *) "name", NULL
19819 };
19820
19821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19824 {
19825 arg2 = wxString_in_helper(obj1);
19826 if (arg2 == NULL) SWIG_fail;
e811c8ce 19827 temp2 = True;
d14a1e28
RD
19828 }
19829 {
19830 PyThreadState* __tstate = wxPyBeginAllowThreads();
19831 (arg1)->SetVendorName((wxString const &)*arg2);
19832
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 Py_INCREF(Py_None); resultobj = Py_None;
19837 {
19838 if (temp2)
19839 delete arg2;
19840 }
19841 return resultobj;
19842 fail:
19843 {
19844 if (temp2)
19845 delete arg2;
19846 }
19847 return NULL;
19848}
19849
19850
19851static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
19852 PyObject *resultobj;
19853 wxPyApp *arg1 = (wxPyApp *) 0 ;
19854 wxAppTraits *result;
19855 PyObject * obj0 = 0 ;
19856 char *kwnames[] = {
19857 (char *) "self", NULL
19858 };
19859
19860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
15afbcd0
RD
19861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19863 {
19864 PyThreadState* __tstate = wxPyBeginAllowThreads();
19865 result = (wxAppTraits *)(arg1)->GetTraits();
19866
19867 wxPyEndAllowThreads(__tstate);
19868 if (PyErr_Occurred()) SWIG_fail;
19869 }
15afbcd0 19870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
d14a1e28
RD
19871 return resultobj;
19872 fail:
19873 return NULL;
19874}
19875
19876
19877static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19878 PyObject *resultobj;
19879 wxPyApp *arg1 = (wxPyApp *) 0 ;
19880 PyObject * obj0 = 0 ;
19881 char *kwnames[] = {
19882 (char *) "self", NULL
19883 };
19884
19885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
19886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19888 {
19889 PyThreadState* __tstate = wxPyBeginAllowThreads();
19890 (arg1)->ProcessPendingEvents();
19891
19892 wxPyEndAllowThreads(__tstate);
19893 if (PyErr_Occurred()) SWIG_fail;
19894 }
19895 Py_INCREF(Py_None); resultobj = Py_None;
19896 return resultobj;
19897 fail:
19898 return NULL;
19899}
19900
19901
19902static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
19903 PyObject *resultobj;
19904 wxPyApp *arg1 = (wxPyApp *) 0 ;
e811c8ce 19905 bool arg2 = (bool) False ;
d14a1e28
RD
19906 bool result;
19907 PyObject * obj0 = 0 ;
19908 PyObject * obj1 = 0 ;
19909 char *kwnames[] = {
19910 (char *) "self",(char *) "onlyIfNeeded", NULL
19911 };
19912
19913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19916 if (obj1) {
15afbcd0
RD
19917 arg2 = (bool) SWIG_AsBool(obj1);
19918 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19919 }
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 result = (bool)(arg1)->Yield(arg2);
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
4f89f6a3
RD
19927 {
19928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19929 }
d14a1e28
RD
19930 return resultobj;
19931 fail:
19932 return NULL;
19933}
19934
19935
19936static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19937 PyObject *resultobj;
19938 wxPyApp *arg1 = (wxPyApp *) 0 ;
19939 PyObject * obj0 = 0 ;
19940 char *kwnames[] = {
19941 (char *) "self", NULL
19942 };
19943
19944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
19945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19947 {
19948 PyThreadState* __tstate = wxPyBeginAllowThreads();
19949 (arg1)->WakeUpIdle();
19950
19951 wxPyEndAllowThreads(__tstate);
19952 if (PyErr_Occurred()) SWIG_fail;
19953 }
19954 Py_INCREF(Py_None); resultobj = Py_None;
19955 return resultobj;
19956 fail:
19957 return NULL;
19958}
19959
19960
19961static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19962 PyObject *resultobj;
19963 wxPyApp *arg1 = (wxPyApp *) 0 ;
19964 int result;
19965 PyObject * obj0 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
19971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19973 {
19974 PyThreadState* __tstate = wxPyBeginAllowThreads();
19975 result = (int)(arg1)->MainLoop();
19976
19977 wxPyEndAllowThreads(__tstate);
19978 if (PyErr_Occurred()) SWIG_fail;
19979 }
15afbcd0 19980 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19981 return resultobj;
19982 fail:
19983 return NULL;
19984}
19985
19986
19987static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
19988 PyObject *resultobj;
19989 wxPyApp *arg1 = (wxPyApp *) 0 ;
19990 PyObject * obj0 = 0 ;
19991 char *kwnames[] = {
19992 (char *) "self", NULL
19993 };
19994
19995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
15afbcd0
RD
19996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19998 {
19999 PyThreadState* __tstate = wxPyBeginAllowThreads();
20000 (arg1)->Exit();
20001
20002 wxPyEndAllowThreads(__tstate);
20003 if (PyErr_Occurred()) SWIG_fail;
20004 }
20005 Py_INCREF(Py_None); resultobj = Py_None;
20006 return resultobj;
20007 fail:
20008 return NULL;
20009}
20010
20011
20012static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
20013 PyObject *resultobj;
20014 wxPyApp *arg1 = (wxPyApp *) 0 ;
20015 PyObject * obj0 = 0 ;
20016 char *kwnames[] = {
20017 (char *) "self", NULL
20018 };
20019
20020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
20021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20023 {
20024 PyThreadState* __tstate = wxPyBeginAllowThreads();
20025 (arg1)->ExitMainLoop();
20026
20027 wxPyEndAllowThreads(__tstate);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 Py_INCREF(Py_None); resultobj = Py_None;
20031 return resultobj;
20032 fail:
20033 return NULL;
20034}
20035
20036
20037static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj;
20039 wxPyApp *arg1 = (wxPyApp *) 0 ;
20040 bool result;
20041 PyObject * obj0 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "self", NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
15afbcd0
RD
20047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20049 {
20050 PyThreadState* __tstate = wxPyBeginAllowThreads();
20051 result = (bool)(arg1)->Pending();
20052
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
4f89f6a3
RD
20056 {
20057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20058 }
d14a1e28
RD
20059 return resultobj;
20060 fail:
20061 return NULL;
20062}
20063
20064
20065static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
20066 PyObject *resultobj;
20067 wxPyApp *arg1 = (wxPyApp *) 0 ;
20068 bool result;
20069 PyObject * obj0 = 0 ;
20070 char *kwnames[] = {
20071 (char *) "self", NULL
20072 };
20073
20074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
20075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20077 {
20078 PyThreadState* __tstate = wxPyBeginAllowThreads();
20079 result = (bool)(arg1)->Dispatch();
20080
20081 wxPyEndAllowThreads(__tstate);
20082 if (PyErr_Occurred()) SWIG_fail;
20083 }
4f89f6a3
RD
20084 {
20085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20086 }
d14a1e28
RD
20087 return resultobj;
20088 fail:
20089 return NULL;
20090}
20091
20092
20093static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20094 PyObject *resultobj;
20095 wxPyApp *arg1 = (wxPyApp *) 0 ;
20096 bool result;
20097 PyObject * obj0 = 0 ;
20098 char *kwnames[] = {
20099 (char *) "self", NULL
20100 };
20101
20102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
20103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20105 {
20106 PyThreadState* __tstate = wxPyBeginAllowThreads();
20107 result = (bool)(arg1)->ProcessIdle();
20108
20109 wxPyEndAllowThreads(__tstate);
20110 if (PyErr_Occurred()) SWIG_fail;
20111 }
4f89f6a3
RD
20112 {
20113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20114 }
d14a1e28
RD
20115 return resultobj;
20116 fail:
20117 return NULL;
20118}
20119
20120
20121static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
20122 PyObject *resultobj;
20123 wxPyApp *arg1 = (wxPyApp *) 0 ;
20124 wxWindow *arg2 = (wxWindow *) 0 ;
20125 wxIdleEvent *arg3 = 0 ;
20126 bool result;
20127 PyObject * obj0 = 0 ;
20128 PyObject * obj1 = 0 ;
20129 PyObject * obj2 = 0 ;
20130 char *kwnames[] = {
20131 (char *) "self",(char *) "win",(char *) "event", NULL
20132 };
20133
20134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20137 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20139 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
20140 SWIG_POINTER_EXCEPTION | 0)) == -1)
20141 SWIG_fail;
d14a1e28 20142 if (arg3 == NULL) {
15afbcd0
RD
20143 PyErr_SetString(PyExc_TypeError,"null reference");
20144 SWIG_fail;
d14a1e28
RD
20145 }
20146 {
20147 PyThreadState* __tstate = wxPyBeginAllowThreads();
20148 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
20149
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
4f89f6a3
RD
20153 {
20154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20155 }
d14a1e28
RD
20156 return resultobj;
20157 fail:
20158 return NULL;
20159}
20160
20161
d14a1e28
RD
20162static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
20163 PyObject *resultobj;
20164 wxPyApp *arg1 = (wxPyApp *) 0 ;
20165 bool result;
20166 PyObject * obj0 = 0 ;
20167 char *kwnames[] = {
20168 (char *) "self", NULL
20169 };
20170
20171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
20172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20174 {
20175 PyThreadState* __tstate = wxPyBeginAllowThreads();
20176 result = (bool)((wxPyApp const *)arg1)->IsActive();
20177
20178 wxPyEndAllowThreads(__tstate);
20179 if (PyErr_Occurred()) SWIG_fail;
20180 }
4f89f6a3
RD
20181 {
20182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20183 }
d14a1e28
RD
20184 return resultobj;
20185 fail:
20186 return NULL;
20187}
20188
20189
20190static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20191 PyObject *resultobj;
20192 wxPyApp *arg1 = (wxPyApp *) 0 ;
20193 wxWindow *arg2 = (wxWindow *) 0 ;
20194 PyObject * obj0 = 0 ;
20195 PyObject * obj1 = 0 ;
20196 char *kwnames[] = {
20197 (char *) "self",(char *) "win", NULL
20198 };
20199
20200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20203 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20205 {
20206 PyThreadState* __tstate = wxPyBeginAllowThreads();
20207 (arg1)->SetTopWindow(arg2);
20208
20209 wxPyEndAllowThreads(__tstate);
20210 if (PyErr_Occurred()) SWIG_fail;
20211 }
20212 Py_INCREF(Py_None); resultobj = Py_None;
20213 return resultobj;
20214 fail:
20215 return NULL;
20216}
20217
20218
20219static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20220 PyObject *resultobj;
20221 wxPyApp *arg1 = (wxPyApp *) 0 ;
20222 wxWindow *result;
20223 PyObject * obj0 = 0 ;
20224 char *kwnames[] = {
20225 (char *) "self", NULL
20226 };
20227
20228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
20229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20231 {
20232 PyThreadState* __tstate = wxPyBeginAllowThreads();
20233 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
20234
20235 wxPyEndAllowThreads(__tstate);
20236 if (PyErr_Occurred()) SWIG_fail;
20237 }
20238 {
412d302d 20239 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
20240 }
20241 return resultobj;
20242 fail:
20243 return NULL;
20244}
20245
20246
20247static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20248 PyObject *resultobj;
20249 wxPyApp *arg1 = (wxPyApp *) 0 ;
20250 bool arg2 ;
20251 PyObject * obj0 = 0 ;
20252 PyObject * obj1 = 0 ;
20253 char *kwnames[] = {
20254 (char *) "self",(char *) "flag", NULL
20255 };
20256
20257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20260 arg2 = (bool) SWIG_AsBool(obj1);
20261 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20262 {
20263 PyThreadState* __tstate = wxPyBeginAllowThreads();
20264 (arg1)->SetExitOnFrameDelete(arg2);
20265
20266 wxPyEndAllowThreads(__tstate);
20267 if (PyErr_Occurred()) SWIG_fail;
20268 }
20269 Py_INCREF(Py_None); resultobj = Py_None;
20270 return resultobj;
20271 fail:
20272 return NULL;
20273}
20274
20275
20276static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20277 PyObject *resultobj;
20278 wxPyApp *arg1 = (wxPyApp *) 0 ;
20279 bool result;
20280 PyObject * obj0 = 0 ;
20281 char *kwnames[] = {
20282 (char *) "self", NULL
20283 };
20284
20285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
15afbcd0
RD
20286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20288 {
20289 PyThreadState* __tstate = wxPyBeginAllowThreads();
20290 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
20291
20292 wxPyEndAllowThreads(__tstate);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 }
4f89f6a3
RD
20295 {
20296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20297 }
d14a1e28
RD
20298 return resultobj;
20299 fail:
20300 return NULL;
20301}
20302
20303
20304static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20305 PyObject *resultobj;
20306 wxPyApp *arg1 = (wxPyApp *) 0 ;
20307 bool arg2 ;
20308 PyObject * obj0 = 0 ;
20309 PyObject * obj1 = 0 ;
20310 char *kwnames[] = {
20311 (char *) "self",(char *) "flag", NULL
20312 };
20313
20314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20317 arg2 = (bool) SWIG_AsBool(obj1);
20318 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20319 {
20320 PyThreadState* __tstate = wxPyBeginAllowThreads();
20321 (arg1)->SetUseBestVisual(arg2);
20322
20323 wxPyEndAllowThreads(__tstate);
20324 if (PyErr_Occurred()) SWIG_fail;
20325 }
20326 Py_INCREF(Py_None); resultobj = Py_None;
20327 return resultobj;
20328 fail:
20329 return NULL;
20330}
20331
20332
20333static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20334 PyObject *resultobj;
20335 wxPyApp *arg1 = (wxPyApp *) 0 ;
20336 bool result;
20337 PyObject * obj0 = 0 ;
20338 char *kwnames[] = {
20339 (char *) "self", NULL
20340 };
20341
20342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
15afbcd0
RD
20343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20345 {
20346 PyThreadState* __tstate = wxPyBeginAllowThreads();
20347 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20348
20349 wxPyEndAllowThreads(__tstate);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 }
4f89f6a3
RD
20352 {
20353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20354 }
d14a1e28
RD
20355 return resultobj;
20356 fail:
20357 return NULL;
20358}
20359
20360
20361static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20362 PyObject *resultobj;
20363 wxPyApp *arg1 = (wxPyApp *) 0 ;
20364 int arg2 ;
20365 PyObject * obj0 = 0 ;
994141e6 20366 PyObject * obj1 = 0 ;
d14a1e28
RD
20367 char *kwnames[] = {
20368 (char *) "self",(char *) "mode", NULL
20369 };
20370
994141e6 20371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20374 arg2 = (int) SWIG_AsInt(obj1);
20375 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 (arg1)->SetPrintMode(arg2);
20379
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
20383 Py_INCREF(Py_None); resultobj = Py_None;
20384 return resultobj;
20385 fail:
20386 return NULL;
20387}
20388
20389
20390static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20391 PyObject *resultobj;
20392 wxPyApp *arg1 = (wxPyApp *) 0 ;
20393 int result;
20394 PyObject * obj0 = 0 ;
20395 char *kwnames[] = {
20396 (char *) "self", NULL
20397 };
20398
20399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20402 {
20403 PyThreadState* __tstate = wxPyBeginAllowThreads();
20404 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20405
20406 wxPyEndAllowThreads(__tstate);
20407 if (PyErr_Occurred()) SWIG_fail;
20408 }
15afbcd0 20409 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20410 return resultobj;
20411 fail:
20412 return NULL;
20413}
20414
20415
6c3b4aae 20416static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20417 PyObject *resultobj;
20418 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20419 int arg2 ;
d14a1e28 20420 PyObject * obj0 = 0 ;
994141e6 20421 PyObject * obj1 = 0 ;
d14a1e28 20422 char *kwnames[] = {
6c3b4aae 20423 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
20424 };
20425
994141e6 20426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20429 arg2 = (int) SWIG_AsInt(obj1);
20430 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20431 {
20432 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20433 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
20434
20435 wxPyEndAllowThreads(__tstate);
20436 if (PyErr_Occurred()) SWIG_fail;
20437 }
6c3b4aae 20438 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
20439 return resultobj;
20440 fail:
20441 return NULL;
20442}
20443
20444
6c3b4aae 20445static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20446 PyObject *resultobj;
20447 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20448 int result;
d14a1e28
RD
20449 PyObject * obj0 = 0 ;
20450 char *kwnames[] = {
6c3b4aae 20451 (char *) "self", NULL
d14a1e28
RD
20452 };
20453
6c3b4aae 20454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20457 {
20458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20459 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
20460
20461 wxPyEndAllowThreads(__tstate);
20462 if (PyErr_Occurred()) SWIG_fail;
20463 }
15afbcd0 20464 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20465 return resultobj;
20466 fail:
20467 return NULL;
20468}
20469
20470
20471static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20472 PyObject *resultobj;
20473 bool result;
20474 char *kwnames[] = {
20475 NULL
20476 };
20477
20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20479 {
20480 PyThreadState* __tstate = wxPyBeginAllowThreads();
20481 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20482
20483 wxPyEndAllowThreads(__tstate);
20484 if (PyErr_Occurred()) SWIG_fail;
20485 }
4f89f6a3
RD
20486 {
20487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20488 }
d14a1e28
RD
20489 return resultobj;
20490 fail:
20491 return NULL;
20492}
20493
20494
20495static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20496 PyObject *resultobj;
20497 long result;
20498 char *kwnames[] = {
20499 NULL
20500 };
20501
20502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20503 {
20504 PyThreadState* __tstate = wxPyBeginAllowThreads();
20505 result = (long)wxPyApp::GetMacAboutMenuItemId();
20506
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
15afbcd0 20510 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20511 return resultobj;
20512 fail:
20513 return NULL;
20514}
20515
20516
20517static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj;
20519 long result;
20520 char *kwnames[] = {
20521 NULL
20522 };
20523
20524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20525 {
20526 PyThreadState* __tstate = wxPyBeginAllowThreads();
20527 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20528
20529 wxPyEndAllowThreads(__tstate);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 }
15afbcd0 20532 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20533 return resultobj;
20534 fail:
20535 return NULL;
20536}
20537
20538
20539static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20540 PyObject *resultobj;
20541 long result;
20542 char *kwnames[] = {
20543 NULL
20544 };
20545
20546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20547 {
20548 PyThreadState* __tstate = wxPyBeginAllowThreads();
20549 result = (long)wxPyApp::GetMacExitMenuItemId();
20550
20551 wxPyEndAllowThreads(__tstate);
20552 if (PyErr_Occurred()) SWIG_fail;
20553 }
15afbcd0 20554 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20555 return resultobj;
20556 fail:
20557 return NULL;
20558}
20559
20560
20561static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20562 PyObject *resultobj;
20563 wxString result;
20564 char *kwnames[] = {
20565 NULL
20566 };
20567
20568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20569 {
20570 PyThreadState* __tstate = wxPyBeginAllowThreads();
20571 result = wxPyApp::GetMacHelpMenuTitleName();
20572
20573 wxPyEndAllowThreads(__tstate);
20574 if (PyErr_Occurred()) SWIG_fail;
20575 }
20576 {
20577#if wxUSE_UNICODE
20578 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20579#else
20580 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20581#endif
20582 }
20583 return resultobj;
20584 fail:
20585 return NULL;
20586}
20587
20588
20589static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20590 PyObject *resultobj;
20591 bool arg1 ;
20592 PyObject * obj0 = 0 ;
20593 char *kwnames[] = {
20594 (char *) "val", NULL
20595 };
20596
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
15afbcd0
RD
20598 arg1 = (bool) SWIG_AsBool(obj0);
20599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20600 {
20601 PyThreadState* __tstate = wxPyBeginAllowThreads();
20602 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20603
20604 wxPyEndAllowThreads(__tstate);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
20607 Py_INCREF(Py_None); resultobj = Py_None;
20608 return resultobj;
20609 fail:
20610 return NULL;
20611}
20612
20613
20614static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20615 PyObject *resultobj;
20616 long arg1 ;
994141e6 20617 PyObject * obj0 = 0 ;
d14a1e28
RD
20618 char *kwnames[] = {
20619 (char *) "val", NULL
20620 };
20621
994141e6 20622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20623 arg1 = (long) SWIG_AsLong(obj0);
20624 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20625 {
20626 PyThreadState* __tstate = wxPyBeginAllowThreads();
20627 wxPyApp::SetMacAboutMenuItemId(arg1);
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 Py_INCREF(Py_None); resultobj = Py_None;
20633 return resultobj;
20634 fail:
20635 return NULL;
20636}
20637
20638
20639static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj;
20641 long arg1 ;
994141e6 20642 PyObject * obj0 = 0 ;
d14a1e28
RD
20643 char *kwnames[] = {
20644 (char *) "val", NULL
20645 };
20646
994141e6 20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20648 arg1 = (long) SWIG_AsLong(obj0);
20649 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20653
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
20657 Py_INCREF(Py_None); resultobj = Py_None;
20658 return resultobj;
20659 fail:
20660 return NULL;
20661}
20662
20663
20664static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20665 PyObject *resultobj;
20666 long arg1 ;
994141e6 20667 PyObject * obj0 = 0 ;
d14a1e28
RD
20668 char *kwnames[] = {
20669 (char *) "val", NULL
20670 };
20671
994141e6 20672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20673 arg1 = (long) SWIG_AsLong(obj0);
20674 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20675 {
20676 PyThreadState* __tstate = wxPyBeginAllowThreads();
20677 wxPyApp::SetMacExitMenuItemId(arg1);
20678
20679 wxPyEndAllowThreads(__tstate);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 }
20682 Py_INCREF(Py_None); resultobj = Py_None;
20683 return resultobj;
20684 fail:
20685 return NULL;
20686}
20687
20688
20689static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20690 PyObject *resultobj;
20691 wxString *arg1 = 0 ;
e811c8ce 20692 bool temp1 = False ;
d14a1e28
RD
20693 PyObject * obj0 = 0 ;
20694 char *kwnames[] = {
20695 (char *) "val", NULL
20696 };
20697
20698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20699 {
20700 arg1 = wxString_in_helper(obj0);
20701 if (arg1 == NULL) SWIG_fail;
e811c8ce 20702 temp1 = True;
d14a1e28
RD
20703 }
20704 {
20705 PyThreadState* __tstate = wxPyBeginAllowThreads();
20706 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20707
20708 wxPyEndAllowThreads(__tstate);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
20711 Py_INCREF(Py_None); resultobj = Py_None;
20712 {
20713 if (temp1)
20714 delete arg1;
20715 }
20716 return resultobj;
20717 fail:
20718 {
20719 if (temp1)
20720 delete arg1;
20721 }
20722 return NULL;
20723}
20724
20725
20726static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20727 PyObject *resultobj;
20728 wxPyApp *arg1 = (wxPyApp *) 0 ;
20729 PyObject * obj0 = 0 ;
20730 char *kwnames[] = {
20731 (char *) "self", NULL
20732 };
20733
20734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
20735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20737 {
20738 PyThreadState* __tstate = wxPyBeginAllowThreads();
20739 (arg1)->_BootstrapApp();
20740
20741 wxPyEndAllowThreads(__tstate);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
20744 Py_INCREF(Py_None); resultobj = Py_None;
20745 return resultobj;
20746 fail:
20747 return NULL;
20748}
20749
20750
20751static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
20752 PyObject *resultobj;
20753 int result;
20754 char *kwnames[] = {
20755 NULL
20756 };
20757
20758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
20759 {
20760 PyThreadState* __tstate = wxPyBeginAllowThreads();
20761 result = (int)PyApp_GetComCtl32Version();
20762
20763 wxPyEndAllowThreads(__tstate);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
15afbcd0 20766 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20767 return resultobj;
20768 fail:
20769 return NULL;
20770}
20771
20772
20773static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
20774 PyObject *obj;
20775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20776 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
20777 Py_INCREF(obj);
20778 return Py_BuildValue((char *)"");
20779}
20780static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
20781 PyObject *resultobj;
20782 char *kwnames[] = {
20783 NULL
20784 };
20785
20786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
20787 {
20788 PyThreadState* __tstate = wxPyBeginAllowThreads();
20789 wxExit();
20790
20791 wxPyEndAllowThreads(__tstate);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 }
20794 Py_INCREF(Py_None); resultobj = Py_None;
20795 return resultobj;
20796 fail:
20797 return NULL;
20798}
20799
20800
20801static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
20802 PyObject *resultobj;
20803 bool result;
20804 char *kwnames[] = {
20805 NULL
20806 };
20807
20808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
20809 {
20810 PyThreadState* __tstate = wxPyBeginAllowThreads();
20811 result = (bool)wxYield();
20812
20813 wxPyEndAllowThreads(__tstate);
20814 if (PyErr_Occurred()) SWIG_fail;
20815 }
4f89f6a3
RD
20816 {
20817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20818 }
d14a1e28
RD
20819 return resultobj;
20820 fail:
20821 return NULL;
20822}
20823
20824
20825static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
20826 PyObject *resultobj;
20827 bool result;
20828 char *kwnames[] = {
20829 NULL
20830 };
20831
20832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
20833 {
20834 PyThreadState* __tstate = wxPyBeginAllowThreads();
20835 result = (bool)wxYieldIfNeeded();
20836
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
4f89f6a3
RD
20840 {
20841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20842 }
d14a1e28
RD
20843 return resultobj;
20844 fail:
20845 return NULL;
20846}
20847
20848
20849static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
20850 PyObject *resultobj;
20851 wxWindow *arg1 = (wxWindow *) NULL ;
e811c8ce 20852 bool arg2 = (bool) False ;
d14a1e28
RD
20853 bool result;
20854 PyObject * obj0 = 0 ;
20855 PyObject * obj1 = 0 ;
20856 char *kwnames[] = {
20857 (char *) "win",(char *) "onlyIfNeeded", NULL
20858 };
20859
20860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20861 if (obj0) {
15afbcd0
RD
20862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20864 }
20865 if (obj1) {
15afbcd0
RD
20866 arg2 = (bool) SWIG_AsBool(obj1);
20867 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20868 }
20869 {
20870 PyThreadState* __tstate = wxPyBeginAllowThreads();
20871 result = (bool)wxSafeYield(arg1,arg2);
20872
20873 wxPyEndAllowThreads(__tstate);
20874 if (PyErr_Occurred()) SWIG_fail;
20875 }
4f89f6a3
RD
20876 {
20877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20878 }
d14a1e28
RD
20879 return resultobj;
20880 fail:
20881 return NULL;
20882}
20883
20884
20885static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20886 PyObject *resultobj;
20887 char *kwnames[] = {
20888 NULL
20889 };
20890
20891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 wxWakeUpIdle();
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 Py_INCREF(Py_None); resultobj = Py_None;
20900 return resultobj;
20901 fail:
20902 return NULL;
20903}
20904
20905
20906static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20907 PyObject *resultobj;
20908 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20909 wxEvent *arg2 = 0 ;
20910 PyObject * obj0 = 0 ;
20911 PyObject * obj1 = 0 ;
20912 char *kwnames[] = {
20913 (char *) "dest",(char *) "event", NULL
20914 };
20915
20916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
20918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20919 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
20920 SWIG_POINTER_EXCEPTION | 0)) == -1)
20921 SWIG_fail;
d14a1e28 20922 if (arg2 == NULL) {
15afbcd0
RD
20923 PyErr_SetString(PyExc_TypeError,"null reference");
20924 SWIG_fail;
d14a1e28
RD
20925 }
20926 {
20927 PyThreadState* __tstate = wxPyBeginAllowThreads();
20928 wxPostEvent(arg1,*arg2);
20929
20930 wxPyEndAllowThreads(__tstate);
20931 if (PyErr_Occurred()) SWIG_fail;
20932 }
20933 Py_INCREF(Py_None); resultobj = Py_None;
20934 return resultobj;
20935 fail:
20936 return NULL;
20937}
20938
20939
20940static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
20941 PyObject *resultobj;
20942 char *kwnames[] = {
20943 NULL
20944 };
20945
20946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20947 {
20948 PyThreadState* __tstate = wxPyBeginAllowThreads();
20949 wxApp_CleanUp();
20950
20951 wxPyEndAllowThreads(__tstate);
20952 if (PyErr_Occurred()) SWIG_fail;
20953 }
20954 Py_INCREF(Py_None); resultobj = Py_None;
20955 return resultobj;
20956 fail:
20957 return NULL;
20958}
20959
20960
20961static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20962 PyObject *resultobj;
20963 wxPyApp *result;
20964 char *kwnames[] = {
20965 NULL
20966 };
20967
20968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20969 {
20970 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 20971 result = (wxPyApp *)wxPyGetApp();
d14a1e28
RD
20972
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 {
412d302d 20977 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
20978 }
20979 return resultobj;
20980 fail:
20981 return NULL;
20982}
20983
20984
1e0c8722
RD
20985static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20986 PyObject *resultobj;
20987 int arg1 = (int) 0 ;
20988 int arg2 = (int) 0 ;
20989 int arg3 = (int) 0 ;
1e0c8722 20990 wxAcceleratorEntry *result;
994141e6
RD
20991 PyObject * obj0 = 0 ;
20992 PyObject * obj1 = 0 ;
20993 PyObject * obj2 = 0 ;
1e0c8722 20994 char *kwnames[] = {
66c033b4 20995 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
1e0c8722
RD
20996 };
20997
66c033b4 20998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 20999 if (obj0) {
15afbcd0
RD
21000 arg1 = (int) SWIG_AsInt(obj0);
21001 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
21002 }
21003 if (obj1) {
15afbcd0
RD
21004 arg2 = (int) SWIG_AsInt(obj1);
21005 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
21006 }
21007 if (obj2) {
15afbcd0
RD
21008 arg3 = (int) SWIG_AsInt(obj2);
21009 if (PyErr_Occurred()) SWIG_fail;
994141e6 21010 }
1e0c8722
RD
21011 {
21012 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 21013 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3);
1e0c8722
RD
21014
21015 wxPyEndAllowThreads(__tstate);
21016 if (PyErr_Occurred()) SWIG_fail;
21017 }
15afbcd0 21018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
1e0c8722
RD
21019 return resultobj;
21020 fail:
21021 return NULL;
21022}
21023
21024
21025static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
21026 PyObject *resultobj;
21027 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21028 PyObject * obj0 = 0 ;
21029 char *kwnames[] = {
21030 (char *) "self", NULL
21031 };
21032
21033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
15afbcd0
RD
21034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21036 {
21037 PyThreadState* __tstate = wxPyBeginAllowThreads();
21038 delete arg1;
21039
21040 wxPyEndAllowThreads(__tstate);
21041 if (PyErr_Occurred()) SWIG_fail;
21042 }
21043 Py_INCREF(Py_None); resultobj = Py_None;
21044 return resultobj;
21045 fail:
21046 return NULL;
21047}
21048
21049
21050static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
21051 PyObject *resultobj;
21052 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21053 int arg2 ;
21054 int arg3 ;
21055 int arg4 ;
1e0c8722 21056 PyObject * obj0 = 0 ;
994141e6
RD
21057 PyObject * obj1 = 0 ;
21058 PyObject * obj2 = 0 ;
21059 PyObject * obj3 = 0 ;
1e0c8722 21060 char *kwnames[] = {
66c033b4 21061 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
1e0c8722
RD
21062 };
21063
66c033b4 21064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21067 arg2 = (int) SWIG_AsInt(obj1);
21068 if (PyErr_Occurred()) SWIG_fail;
21069 arg3 = (int) SWIG_AsInt(obj2);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 arg4 = (int) SWIG_AsInt(obj3);
21072 if (PyErr_Occurred()) SWIG_fail;
1e0c8722
RD
21073 {
21074 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 21075 (arg1)->Set(arg2,arg3,arg4);
1e0c8722
RD
21076
21077 wxPyEndAllowThreads(__tstate);
21078 if (PyErr_Occurred()) SWIG_fail;
21079 }
21080 Py_INCREF(Py_None); resultobj = Py_None;
21081 return resultobj;
21082 fail:
21083 return NULL;
21084}
21085
21086
1e0c8722
RD
21087static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
21088 PyObject *resultobj;
21089 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21090 int result;
21091 PyObject * obj0 = 0 ;
21092 char *kwnames[] = {
21093 (char *) "self", NULL
21094 };
21095
21096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
21097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21099 {
21100 PyThreadState* __tstate = wxPyBeginAllowThreads();
21101 result = (int)(arg1)->GetFlags();
21102
21103 wxPyEndAllowThreads(__tstate);
21104 if (PyErr_Occurred()) SWIG_fail;
21105 }
15afbcd0 21106 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
21107 return resultobj;
21108 fail:
21109 return NULL;
21110}
21111
21112
21113static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
21114 PyObject *resultobj;
21115 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21116 int result;
21117 PyObject * obj0 = 0 ;
21118 char *kwnames[] = {
21119 (char *) "self", NULL
21120 };
21121
21122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
21123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21125 {
21126 PyThreadState* __tstate = wxPyBeginAllowThreads();
21127 result = (int)(arg1)->GetKeyCode();
21128
21129 wxPyEndAllowThreads(__tstate);
21130 if (PyErr_Occurred()) SWIG_fail;
21131 }
15afbcd0 21132 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
21133 return resultobj;
21134 fail:
21135 return NULL;
21136}
21137
21138
21139static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
21140 PyObject *resultobj;
21141 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21142 int result;
21143 PyObject * obj0 = 0 ;
21144 char *kwnames[] = {
21145 (char *) "self", NULL
21146 };
21147
21148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
21149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21151 {
21152 PyThreadState* __tstate = wxPyBeginAllowThreads();
21153 result = (int)(arg1)->GetCommand();
21154
21155 wxPyEndAllowThreads(__tstate);
21156 if (PyErr_Occurred()) SWIG_fail;
21157 }
15afbcd0 21158 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
21159 return resultobj;
21160 fail:
21161 return NULL;
21162}
21163
21164
21165static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
21166 PyObject *obj;
21167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21168 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
21169 Py_INCREF(obj);
21170 return Py_BuildValue((char *)"");
21171}
21172static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21173 PyObject *resultobj;
21174 int arg1 ;
21175 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
21176 wxAcceleratorTable *result;
21177 PyObject * obj0 = 0 ;
21178 char *kwnames[] = {
21179 (char *) "n", NULL
21180 };
21181
21182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
21183 {
21184 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
21185 if (arg2) arg1 = PyList_Size(obj0);
21186 else arg1 = 0;
21187 }
21188 {
21189 PyThreadState* __tstate = wxPyBeginAllowThreads();
21190 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
21191
21192 wxPyEndAllowThreads(__tstate);
21193 if (PyErr_Occurred()) SWIG_fail;
21194 }
15afbcd0 21195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
1e0c8722
RD
21196 {
21197 delete [] arg2;
21198 }
21199 return resultobj;
21200 fail:
21201 {
21202 delete [] arg2;
21203 }
21204 return NULL;
21205}
21206
21207
21208static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21209 PyObject *resultobj;
21210 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21211 PyObject * obj0 = 0 ;
21212 char *kwnames[] = {
21213 (char *) "self", NULL
21214 };
21215
21216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
21217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21219 {
21220 PyThreadState* __tstate = wxPyBeginAllowThreads();
21221 delete arg1;
21222
21223 wxPyEndAllowThreads(__tstate);
21224 if (PyErr_Occurred()) SWIG_fail;
21225 }
21226 Py_INCREF(Py_None); resultobj = Py_None;
21227 return resultobj;
21228 fail:
21229 return NULL;
21230}
21231
21232
21233static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21234 PyObject *resultobj;
21235 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21236 bool result;
21237 PyObject * obj0 = 0 ;
21238 char *kwnames[] = {
21239 (char *) "self", NULL
21240 };
21241
21242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
21243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21245 {
21246 PyThreadState* __tstate = wxPyBeginAllowThreads();
21247 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21248
21249 wxPyEndAllowThreads(__tstate);
21250 if (PyErr_Occurred()) SWIG_fail;
21251 }
4f89f6a3
RD
21252 {
21253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21254 }
1e0c8722
RD
21255 return resultobj;
21256 fail:
21257 return NULL;
21258}
21259
21260
21261static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
21262 PyObject *obj;
21263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21264 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21265 Py_INCREF(obj);
21266 return Py_BuildValue((char *)"");
21267}
21268static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
21269 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21270 return 1;
21271}
21272
21273
21274static PyObject *_wrap_NullAcceleratorTable_get() {
21275 PyObject *pyobj;
21276
15afbcd0 21277 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
1e0c8722
RD
21278 return pyobj;
21279}
21280
21281
21282static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
21283 PyObject *resultobj;
21284 wxString *arg1 = 0 ;
21285 wxAcceleratorEntry *result;
21286 bool temp1 = False ;
21287 PyObject * obj0 = 0 ;
21288 char *kwnames[] = {
21289 (char *) "label", NULL
21290 };
21291
21292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21293 {
21294 arg1 = wxString_in_helper(obj0);
21295 if (arg1 == NULL) SWIG_fail;
21296 temp1 = True;
21297 }
21298 {
21299 PyThreadState* __tstate = wxPyBeginAllowThreads();
21300 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21301
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
15afbcd0 21305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
1e0c8722
RD
21306 {
21307 if (temp1)
21308 delete arg1;
21309 }
21310 return resultobj;
21311 fail:
21312 {
21313 if (temp1)
21314 delete arg1;
21315 }
21316 return NULL;
21317}
21318
21319
e811c8ce
RD
21320static int _wrap_PanelNameStr_set(PyObject *_val) {
21321 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21322 return 1;
21323}
21324
21325
21326static PyObject *_wrap_PanelNameStr_get() {
21327 PyObject *pyobj;
21328
21329 {
21330#if wxUSE_UNICODE
21331 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21332#else
21333 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21334#endif
21335 }
21336 return pyobj;
21337}
21338
21339
74a57fcd
RD
21340static PyObject *_wrap_new_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21341 PyObject *resultobj;
21342 wxVisualAttributes *result;
21343 char *kwnames[] = {
21344 NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
21348 {
21349 PyThreadState* __tstate = wxPyBeginAllowThreads();
21350 result = (wxVisualAttributes *)new_wxVisualAttributes();
21351
21352 wxPyEndAllowThreads(__tstate);
21353 if (PyErr_Occurred()) SWIG_fail;
21354 }
21355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
21356 return resultobj;
21357 fail:
21358 return NULL;
21359}
21360
21361
21362static PyObject *_wrap_delete_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21363 PyObject *resultobj;
21364 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21365 PyObject * obj0 = 0 ;
21366 char *kwnames[] = {
21367 (char *) "self", NULL
21368 };
21369
21370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
21371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21373 {
21374 PyThreadState* __tstate = wxPyBeginAllowThreads();
21375 delete_wxVisualAttributes(arg1);
21376
21377 wxPyEndAllowThreads(__tstate);
21378 if (PyErr_Occurred()) SWIG_fail;
21379 }
21380 Py_INCREF(Py_None); resultobj = Py_None;
21381 return resultobj;
21382 fail:
21383 return NULL;
21384}
21385
21386
21387static PyObject *_wrap_VisualAttributes_font_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21388 PyObject *resultobj;
21389 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21390 wxFont *arg2 = (wxFont *) 0 ;
21391 PyObject * obj0 = 0 ;
21392 PyObject * obj1 = 0 ;
21393 char *kwnames[] = {
21394 (char *) "self",(char *) "font", NULL
21395 };
21396
21397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
21398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
21401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21402 if (arg1) (arg1)->font = *arg2;
21403
21404 Py_INCREF(Py_None); resultobj = Py_None;
21405 return resultobj;
21406 fail:
21407 return NULL;
21408}
21409
21410
21411static PyObject *_wrap_VisualAttributes_font_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21412 PyObject *resultobj;
21413 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21414 wxFont *result;
21415 PyObject * obj0 = 0 ;
21416 char *kwnames[] = {
21417 (char *) "self", NULL
21418 };
21419
21420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
21421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21423 result = (wxFont *)& ((arg1)->font);
21424
21425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
21426 return resultobj;
21427 fail:
21428 return NULL;
21429}
21430
21431
21432static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21433 PyObject *resultobj;
21434 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21435 wxColour *arg2 = (wxColour *) 0 ;
21436 PyObject * obj0 = 0 ;
21437 PyObject * obj1 = 0 ;
21438 char *kwnames[] = {
21439 (char *) "self",(char *) "colFg", NULL
21440 };
21441
21442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
21443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21447 if (arg1) (arg1)->colFg = *arg2;
21448
21449 Py_INCREF(Py_None); resultobj = Py_None;
21450 return resultobj;
21451 fail:
21452 return NULL;
21453}
21454
21455
21456static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21457 PyObject *resultobj;
21458 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21459 wxColour *result;
21460 PyObject * obj0 = 0 ;
21461 char *kwnames[] = {
21462 (char *) "self", NULL
21463 };
21464
21465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
21466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21468 result = (wxColour *)& ((arg1)->colFg);
21469
21470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21471 return resultobj;
21472 fail:
21473 return NULL;
21474}
21475
21476
21477static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21478 PyObject *resultobj;
21479 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21480 wxColour *arg2 = (wxColour *) 0 ;
21481 PyObject * obj0 = 0 ;
21482 PyObject * obj1 = 0 ;
21483 char *kwnames[] = {
21484 (char *) "self",(char *) "colBg", NULL
21485 };
21486
21487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
21488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21492 if (arg1) (arg1)->colBg = *arg2;
21493
21494 Py_INCREF(Py_None); resultobj = Py_None;
21495 return resultobj;
21496 fail:
21497 return NULL;
21498}
21499
21500
21501static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21502 PyObject *resultobj;
21503 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21504 wxColour *result;
21505 PyObject * obj0 = 0 ;
21506 char *kwnames[] = {
21507 (char *) "self", NULL
21508 };
21509
21510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
21511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21513 result = (wxColour *)& ((arg1)->colBg);
21514
21515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21516 return resultobj;
21517 fail:
21518 return NULL;
21519}
21520
21521
21522static PyObject * VisualAttributes_swigregister(PyObject *self, PyObject *args) {
21523 PyObject *obj;
21524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21525 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
21526 Py_INCREF(obj);
21527 return Py_BuildValue((char *)"");
21528}
d14a1e28
RD
21529static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
21530 PyObject *resultobj;
21531 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 21532 int arg2 = (int) (int)-1 ;
d14a1e28
RD
21533 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21534 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21535 wxSize const &arg4_defvalue = wxDefaultSize ;
21536 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21537 long arg5 = (long) 0 ;
21538 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21539 wxString *arg6 = (wxString *) &arg6_defvalue ;
21540 wxWindow *result;
21541 wxPoint temp3 ;
21542 wxSize temp4 ;
e811c8ce 21543 bool temp6 = False ;
d14a1e28 21544 PyObject * obj0 = 0 ;
994141e6 21545 PyObject * obj1 = 0 ;
d14a1e28
RD
21546 PyObject * obj2 = 0 ;
21547 PyObject * obj3 = 0 ;
994141e6 21548 PyObject * obj4 = 0 ;
d14a1e28
RD
21549 PyObject * obj5 = 0 ;
21550 char *kwnames[] = {
21551 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21552 };
21553
74a57fcd 21554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
21555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
21557 if (obj1) {
21558 arg2 = (int const) SWIG_AsInt(obj1);
21559 if (PyErr_Occurred()) SWIG_fail;
21560 }
d14a1e28
RD
21561 if (obj2) {
21562 {
21563 arg3 = &temp3;
21564 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21565 }
21566 }
21567 if (obj3) {
21568 {
21569 arg4 = &temp4;
21570 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21571 }
21572 }
994141e6 21573 if (obj4) {
15afbcd0
RD
21574 arg5 = (long) SWIG_AsLong(obj4);
21575 if (PyErr_Occurred()) SWIG_fail;
994141e6 21576 }
d14a1e28
RD
21577 if (obj5) {
21578 {
21579 arg6 = wxString_in_helper(obj5);
21580 if (arg6 == NULL) SWIG_fail;
e811c8ce 21581 temp6 = True;
d14a1e28
RD
21582 }
21583 }
21584 {
e3b71cb8 21585 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21586 PyThreadState* __tstate = wxPyBeginAllowThreads();
21587 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21588
21589 wxPyEndAllowThreads(__tstate);
110da5b0 21590 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21591 }
b0f7404b 21592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
d14a1e28
RD
21593 {
21594 if (temp6)
21595 delete arg6;
21596 }
21597 return resultobj;
21598 fail:
21599 {
21600 if (temp6)
21601 delete arg6;
21602 }
21603 return NULL;
21604}
21605
21606
21607static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21608 PyObject *resultobj;
21609 wxWindow *result;
21610 char *kwnames[] = {
21611 NULL
21612 };
21613
21614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
21615 {
e3b71cb8 21616 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21617 PyThreadState* __tstate = wxPyBeginAllowThreads();
21618 result = (wxWindow *)new wxWindow();
21619
21620 wxPyEndAllowThreads(__tstate);
110da5b0 21621 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21622 }
b0f7404b 21623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
d14a1e28
RD
21624 return resultobj;
21625 fail:
21626 return NULL;
21627}
21628
21629
21630static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21631 PyObject *resultobj;
21632 wxWindow *arg1 = (wxWindow *) 0 ;
21633 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 21634 int arg3 = (int) (int)-1 ;
d14a1e28
RD
21635 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21636 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21637 wxSize const &arg5_defvalue = wxDefaultSize ;
21638 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21639 long arg6 = (long) 0 ;
21640 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21641 wxString *arg7 = (wxString *) &arg7_defvalue ;
21642 bool result;
21643 wxPoint temp4 ;
21644 wxSize temp5 ;
e811c8ce 21645 bool temp7 = False ;
d14a1e28
RD
21646 PyObject * obj0 = 0 ;
21647 PyObject * obj1 = 0 ;
994141e6 21648 PyObject * obj2 = 0 ;
d14a1e28
RD
21649 PyObject * obj3 = 0 ;
21650 PyObject * obj4 = 0 ;
994141e6 21651 PyObject * obj5 = 0 ;
d14a1e28
RD
21652 PyObject * obj6 = 0 ;
21653 char *kwnames[] = {
21654 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21655 };
21656
74a57fcd 21657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
21658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
21662 if (obj2) {
21663 arg3 = (int const) SWIG_AsInt(obj2);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
d14a1e28
RD
21666 if (obj3) {
21667 {
21668 arg4 = &temp4;
21669 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21670 }
21671 }
21672 if (obj4) {
21673 {
21674 arg5 = &temp5;
21675 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21676 }
21677 }
994141e6 21678 if (obj5) {
15afbcd0
RD
21679 arg6 = (long) SWIG_AsLong(obj5);
21680 if (PyErr_Occurred()) SWIG_fail;
994141e6 21681 }
d14a1e28
RD
21682 if (obj6) {
21683 {
21684 arg7 = wxString_in_helper(obj6);
21685 if (arg7 == NULL) SWIG_fail;
e811c8ce 21686 temp7 = True;
d14a1e28
RD
21687 }
21688 }
21689 {
21690 PyThreadState* __tstate = wxPyBeginAllowThreads();
21691 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21692
21693 wxPyEndAllowThreads(__tstate);
21694 if (PyErr_Occurred()) SWIG_fail;
21695 }
4f89f6a3
RD
21696 {
21697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21698 }
d14a1e28
RD
21699 {
21700 if (temp7)
21701 delete arg7;
21702 }
21703 return resultobj;
21704 fail:
21705 {
21706 if (temp7)
21707 delete arg7;
21708 }
21709 return NULL;
21710}
21711
21712
21713static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj;
21715 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21716 bool arg2 = (bool) False ;
d14a1e28
RD
21717 bool result;
21718 PyObject * obj0 = 0 ;
21719 PyObject * obj1 = 0 ;
21720 char *kwnames[] = {
21721 (char *) "self",(char *) "force", NULL
21722 };
21723
21724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 21727 if (obj1) {
15afbcd0
RD
21728 arg2 = (bool) SWIG_AsBool(obj1);
21729 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21730 }
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 result = (bool)(arg1)->Close(arg2);
21734
21735 wxPyEndAllowThreads(__tstate);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 }
4f89f6a3
RD
21738 {
21739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21740 }
d14a1e28
RD
21741 return resultobj;
21742 fail:
21743 return NULL;
21744}
21745
21746
21747static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
21748 PyObject *resultobj;
21749 wxWindow *arg1 = (wxWindow *) 0 ;
21750 bool result;
21751 PyObject * obj0 = 0 ;
21752 char *kwnames[] = {
21753 (char *) "self", NULL
21754 };
21755
21756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
21757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21759 {
21760 PyThreadState* __tstate = wxPyBeginAllowThreads();
21761 result = (bool)(arg1)->Destroy();
21762
21763 wxPyEndAllowThreads(__tstate);
21764 if (PyErr_Occurred()) SWIG_fail;
21765 }
4f89f6a3
RD
21766 {
21767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21768 }
d14a1e28
RD
21769 return resultobj;
21770 fail:
21771 return NULL;
21772}
21773
21774
21775static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21776 PyObject *resultobj;
21777 wxWindow *arg1 = (wxWindow *) 0 ;
21778 bool result;
21779 PyObject * obj0 = 0 ;
21780 char *kwnames[] = {
21781 (char *) "self", NULL
21782 };
21783
21784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
21785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21787 {
21788 PyThreadState* __tstate = wxPyBeginAllowThreads();
21789 result = (bool)(arg1)->DestroyChildren();
21790
21791 wxPyEndAllowThreads(__tstate);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 }
4f89f6a3
RD
21794 {
21795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21796 }
d14a1e28
RD
21797 return resultobj;
21798 fail:
21799 return NULL;
21800}
21801
21802
21803static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
21804 PyObject *resultobj;
21805 wxWindow *arg1 = (wxWindow *) 0 ;
21806 bool result;
21807 PyObject * obj0 = 0 ;
21808 char *kwnames[] = {
21809 (char *) "self", NULL
21810 };
21811
21812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
15afbcd0
RD
21813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21815 {
21816 PyThreadState* __tstate = wxPyBeginAllowThreads();
21817 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
21818
21819 wxPyEndAllowThreads(__tstate);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 }
4f89f6a3
RD
21822 {
21823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21824 }
d14a1e28
RD
21825 return resultobj;
21826 fail:
21827 return NULL;
21828}
21829
21830
21831static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21832 PyObject *resultobj;
21833 wxWindow *arg1 = (wxWindow *) 0 ;
21834 wxString *arg2 = 0 ;
e811c8ce 21835 bool temp2 = False ;
d14a1e28
RD
21836 PyObject * obj0 = 0 ;
21837 PyObject * obj1 = 0 ;
21838 char *kwnames[] = {
21839 (char *) "self",(char *) "title", NULL
21840 };
21841
21842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21845 {
21846 arg2 = wxString_in_helper(obj1);
21847 if (arg2 == NULL) SWIG_fail;
e811c8ce 21848 temp2 = True;
d14a1e28
RD
21849 }
21850 {
21851 PyThreadState* __tstate = wxPyBeginAllowThreads();
21852 (arg1)->SetTitle((wxString const &)*arg2);
21853
21854 wxPyEndAllowThreads(__tstate);
21855 if (PyErr_Occurred()) SWIG_fail;
21856 }
21857 Py_INCREF(Py_None); resultobj = Py_None;
21858 {
21859 if (temp2)
21860 delete arg2;
21861 }
21862 return resultobj;
21863 fail:
21864 {
21865 if (temp2)
21866 delete arg2;
21867 }
21868 return NULL;
21869}
21870
21871
21872static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21873 PyObject *resultobj;
21874 wxWindow *arg1 = (wxWindow *) 0 ;
21875 wxString result;
21876 PyObject * obj0 = 0 ;
21877 char *kwnames[] = {
21878 (char *) "self", NULL
21879 };
21880
21881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
21882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21884 {
21885 PyThreadState* __tstate = wxPyBeginAllowThreads();
21886 result = ((wxWindow const *)arg1)->GetTitle();
21887
21888 wxPyEndAllowThreads(__tstate);
21889 if (PyErr_Occurred()) SWIG_fail;
21890 }
21891 {
21892#if wxUSE_UNICODE
21893 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21894#else
21895 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21896#endif
21897 }
21898 return resultobj;
21899 fail:
21900 return NULL;
21901}
21902
21903
21904static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21905 PyObject *resultobj;
21906 wxWindow *arg1 = (wxWindow *) 0 ;
21907 wxString *arg2 = 0 ;
e811c8ce 21908 bool temp2 = False ;
d14a1e28
RD
21909 PyObject * obj0 = 0 ;
21910 PyObject * obj1 = 0 ;
21911 char *kwnames[] = {
21912 (char *) "self",(char *) "label", NULL
21913 };
21914
21915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21918 {
21919 arg2 = wxString_in_helper(obj1);
21920 if (arg2 == NULL) SWIG_fail;
e811c8ce 21921 temp2 = True;
d14a1e28
RD
21922 }
21923 {
21924 PyThreadState* __tstate = wxPyBeginAllowThreads();
21925 (arg1)->SetLabel((wxString const &)*arg2);
21926
21927 wxPyEndAllowThreads(__tstate);
21928 if (PyErr_Occurred()) SWIG_fail;
21929 }
21930 Py_INCREF(Py_None); resultobj = Py_None;
21931 {
21932 if (temp2)
21933 delete arg2;
21934 }
21935 return resultobj;
21936 fail:
21937 {
21938 if (temp2)
21939 delete arg2;
21940 }
21941 return NULL;
21942}
21943
21944
21945static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21946 PyObject *resultobj;
21947 wxWindow *arg1 = (wxWindow *) 0 ;
21948 wxString result;
21949 PyObject * obj0 = 0 ;
21950 char *kwnames[] = {
21951 (char *) "self", NULL
21952 };
21953
21954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
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();
21959 result = ((wxWindow const *)arg1)->GetLabel();
21960
21961 wxPyEndAllowThreads(__tstate);
21962 if (PyErr_Occurred()) SWIG_fail;
21963 }
21964 {
21965#if wxUSE_UNICODE
21966 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21967#else
21968 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21969#endif
21970 }
21971 return resultobj;
21972 fail:
21973 return NULL;
21974}
21975
21976
21977static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21978 PyObject *resultobj;
21979 wxWindow *arg1 = (wxWindow *) 0 ;
21980 wxString *arg2 = 0 ;
e811c8ce 21981 bool temp2 = False ;
d14a1e28
RD
21982 PyObject * obj0 = 0 ;
21983 PyObject * obj1 = 0 ;
21984 char *kwnames[] = {
21985 (char *) "self",(char *) "name", NULL
21986 };
21987
21988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21991 {
21992 arg2 = wxString_in_helper(obj1);
21993 if (arg2 == NULL) SWIG_fail;
e811c8ce 21994 temp2 = True;
d14a1e28
RD
21995 }
21996 {
21997 PyThreadState* __tstate = wxPyBeginAllowThreads();
21998 (arg1)->SetName((wxString const &)*arg2);
21999
22000 wxPyEndAllowThreads(__tstate);
22001 if (PyErr_Occurred()) SWIG_fail;
22002 }
22003 Py_INCREF(Py_None); resultobj = Py_None;
22004 {
22005 if (temp2)
22006 delete arg2;
22007 }
22008 return resultobj;
22009 fail:
22010 {
22011 if (temp2)
22012 delete arg2;
22013 }
22014 return NULL;
22015}
22016
22017
22018static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
22019 PyObject *resultobj;
22020 wxWindow *arg1 = (wxWindow *) 0 ;
22021 wxString result;
22022 PyObject * obj0 = 0 ;
22023 char *kwnames[] = {
22024 (char *) "self", NULL
22025 };
22026
22027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
22028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22030 {
22031 PyThreadState* __tstate = wxPyBeginAllowThreads();
22032 result = ((wxWindow const *)arg1)->GetName();
22033
22034 wxPyEndAllowThreads(__tstate);
22035 if (PyErr_Occurred()) SWIG_fail;
22036 }
22037 {
22038#if wxUSE_UNICODE
22039 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22040#else
22041 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22042#endif
22043 }
22044 return resultobj;
22045 fail:
22046 return NULL;
22047}
22048
22049
4276dc52
RD
22050static PyObject *_wrap_Window_SetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
22051 PyObject *resultobj;
22052 wxWindow *arg1 = (wxWindow *) 0 ;
22053 int arg2 ;
22054 PyObject * obj0 = 0 ;
22055 PyObject * obj1 = 0 ;
22056 char *kwnames[] = {
22057 (char *) "self",(char *) "variant", NULL
22058 };
22059
22060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
22061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22063 arg2 = (wxWindowVariant) SWIG_AsInt(obj1);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 {
22066 PyThreadState* __tstate = wxPyBeginAllowThreads();
22067 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
22068
22069 wxPyEndAllowThreads(__tstate);
22070 if (PyErr_Occurred()) SWIG_fail;
22071 }
22072 Py_INCREF(Py_None); resultobj = Py_None;
22073 return resultobj;
22074 fail:
22075 return NULL;
22076}
22077
22078
22079static PyObject *_wrap_Window_GetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
22080 PyObject *resultobj;
22081 wxWindow *arg1 = (wxWindow *) 0 ;
22082 int result;
22083 PyObject * obj0 = 0 ;
22084 char *kwnames[] = {
22085 (char *) "self", NULL
22086 };
22087
22088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
22089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22091 {
22092 PyThreadState* __tstate = wxPyBeginAllowThreads();
22093 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
22094
22095 wxPyEndAllowThreads(__tstate);
22096 if (PyErr_Occurred()) SWIG_fail;
22097 }
22098 resultobj = SWIG_FromInt((int)result);
22099 return resultobj;
22100 fail:
22101 return NULL;
22102}
22103
22104
d14a1e28
RD
22105static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22106 PyObject *resultobj;
22107 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22108 int arg2 ;
d14a1e28 22109 PyObject * obj0 = 0 ;
994141e6 22110 PyObject * obj1 = 0 ;
d14a1e28
RD
22111 char *kwnames[] = {
22112 (char *) "self",(char *) "winid", NULL
22113 };
22114
994141e6 22115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22118 arg2 = (int) SWIG_AsInt(obj1);
22119 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22120 {
22121 PyThreadState* __tstate = wxPyBeginAllowThreads();
22122 (arg1)->SetId(arg2);
22123
22124 wxPyEndAllowThreads(__tstate);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 Py_INCREF(Py_None); resultobj = Py_None;
22128 return resultobj;
22129 fail:
22130 return NULL;
22131}
22132
22133
22134static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22135 PyObject *resultobj;
22136 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22137 int result;
d14a1e28
RD
22138 PyObject * obj0 = 0 ;
22139 char *kwnames[] = {
22140 (char *) "self", NULL
22141 };
22142
22143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
22144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22146 {
22147 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22148 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
22149
22150 wxPyEndAllowThreads(__tstate);
22151 if (PyErr_Occurred()) SWIG_fail;
22152 }
15afbcd0 22153 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22154 return resultobj;
22155 fail:
22156 return NULL;
22157}
22158
22159
22160static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22161 PyObject *resultobj;
22162 int result;
22163 char *kwnames[] = {
22164 NULL
22165 };
22166
22167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 result = (int)wxWindow::NewControlId();
22171
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
15afbcd0 22175 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22176 return resultobj;
22177 fail:
22178 return NULL;
22179}
22180
22181
22182static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22183 PyObject *resultobj;
22184 int arg1 ;
22185 int result;
994141e6 22186 PyObject * obj0 = 0 ;
d14a1e28
RD
22187 char *kwnames[] = {
22188 (char *) "winid", NULL
22189 };
22190
994141e6 22191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
15afbcd0
RD
22192 arg1 = (int) SWIG_AsInt(obj0);
22193 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22194 {
22195 PyThreadState* __tstate = wxPyBeginAllowThreads();
22196 result = (int)wxWindow::NextControlId(arg1);
22197
22198 wxPyEndAllowThreads(__tstate);
22199 if (PyErr_Occurred()) SWIG_fail;
22200 }
15afbcd0 22201 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22202 return resultobj;
22203 fail:
22204 return NULL;
22205}
22206
22207
22208static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22209 PyObject *resultobj;
22210 int arg1 ;
22211 int result;
994141e6 22212 PyObject * obj0 = 0 ;
d14a1e28
RD
22213 char *kwnames[] = {
22214 (char *) "winid", NULL
22215 };
22216
994141e6 22217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
15afbcd0
RD
22218 arg1 = (int) SWIG_AsInt(obj0);
22219 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22220 {
22221 PyThreadState* __tstate = wxPyBeginAllowThreads();
22222 result = (int)wxWindow::PrevControlId(arg1);
22223
22224 wxPyEndAllowThreads(__tstate);
22225 if (PyErr_Occurred()) SWIG_fail;
22226 }
15afbcd0 22227 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22228 return resultobj;
22229 fail:
22230 return NULL;
22231}
22232
22233
22234static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22235 PyObject *resultobj;
22236 wxWindow *arg1 = (wxWindow *) 0 ;
22237 wxSize *arg2 = 0 ;
22238 wxSize temp2 ;
22239 PyObject * obj0 = 0 ;
22240 PyObject * obj1 = 0 ;
22241 char *kwnames[] = {
22242 (char *) "self",(char *) "size", NULL
22243 };
22244
22245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22248 {
22249 arg2 = &temp2;
22250 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22251 }
22252 {
22253 PyThreadState* __tstate = wxPyBeginAllowThreads();
22254 (arg1)->SetSize((wxSize const &)*arg2);
22255
22256 wxPyEndAllowThreads(__tstate);
22257 if (PyErr_Occurred()) SWIG_fail;
22258 }
22259 Py_INCREF(Py_None); resultobj = Py_None;
22260 return resultobj;
22261 fail:
22262 return NULL;
22263}
22264
22265
22266static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
22267 PyObject *resultobj;
22268 wxWindow *arg1 = (wxWindow *) 0 ;
22269 int arg2 ;
22270 int arg3 ;
22271 int arg4 ;
22272 int arg5 ;
22273 int arg6 = (int) wxSIZE_AUTO ;
22274 PyObject * obj0 = 0 ;
994141e6
RD
22275 PyObject * obj1 = 0 ;
22276 PyObject * obj2 = 0 ;
22277 PyObject * obj3 = 0 ;
22278 PyObject * obj4 = 0 ;
22279 PyObject * obj5 = 0 ;
d14a1e28
RD
22280 char *kwnames[] = {
22281 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22282 };
22283
994141e6 22284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
22285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22287 arg2 = (int) SWIG_AsInt(obj1);
22288 if (PyErr_Occurred()) SWIG_fail;
22289 arg3 = (int) SWIG_AsInt(obj2);
22290 if (PyErr_Occurred()) SWIG_fail;
22291 arg4 = (int) SWIG_AsInt(obj3);
22292 if (PyErr_Occurred()) SWIG_fail;
22293 arg5 = (int) SWIG_AsInt(obj4);
22294 if (PyErr_Occurred()) SWIG_fail;
994141e6 22295 if (obj5) {
15afbcd0
RD
22296 arg6 = (int) SWIG_AsInt(obj5);
22297 if (PyErr_Occurred()) SWIG_fail;
994141e6 22298 }
d14a1e28
RD
22299 {
22300 PyThreadState* __tstate = wxPyBeginAllowThreads();
22301 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
22302
22303 wxPyEndAllowThreads(__tstate);
22304 if (PyErr_Occurred()) SWIG_fail;
22305 }
22306 Py_INCREF(Py_None); resultobj = Py_None;
22307 return resultobj;
22308 fail:
22309 return NULL;
22310}
22311
22312
22313static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22314 PyObject *resultobj;
22315 wxWindow *arg1 = (wxWindow *) 0 ;
22316 wxRect *arg2 = 0 ;
22317 int arg3 = (int) wxSIZE_AUTO ;
22318 wxRect temp2 ;
22319 PyObject * obj0 = 0 ;
22320 PyObject * obj1 = 0 ;
994141e6 22321 PyObject * obj2 = 0 ;
d14a1e28
RD
22322 char *kwnames[] = {
22323 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22324 };
22325
994141e6 22326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22329 {
22330 arg2 = &temp2;
22331 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22332 }
994141e6 22333 if (obj2) {
15afbcd0
RD
22334 arg3 = (int) SWIG_AsInt(obj2);
22335 if (PyErr_Occurred()) SWIG_fail;
994141e6 22336 }
d14a1e28
RD
22337 {
22338 PyThreadState* __tstate = wxPyBeginAllowThreads();
22339 (arg1)->SetSize((wxRect const &)*arg2,arg3);
22340
22341 wxPyEndAllowThreads(__tstate);
22342 if (PyErr_Occurred()) SWIG_fail;
22343 }
22344 Py_INCREF(Py_None); resultobj = Py_None;
22345 return resultobj;
22346 fail:
22347 return NULL;
22348}
22349
22350
22351static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22352 PyObject *resultobj;
22353 wxWindow *arg1 = (wxWindow *) 0 ;
22354 int arg2 ;
22355 int arg3 ;
22356 PyObject * obj0 = 0 ;
994141e6
RD
22357 PyObject * obj1 = 0 ;
22358 PyObject * obj2 = 0 ;
d14a1e28
RD
22359 char *kwnames[] = {
22360 (char *) "self",(char *) "width",(char *) "height", NULL
22361 };
22362
994141e6 22363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22366 arg2 = (int) SWIG_AsInt(obj1);
22367 if (PyErr_Occurred()) SWIG_fail;
22368 arg3 = (int) SWIG_AsInt(obj2);
22369 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22370 {
22371 PyThreadState* __tstate = wxPyBeginAllowThreads();
22372 (arg1)->SetSize(arg2,arg3);
22373
22374 wxPyEndAllowThreads(__tstate);
22375 if (PyErr_Occurred()) SWIG_fail;
22376 }
22377 Py_INCREF(Py_None); resultobj = Py_None;
22378 return resultobj;
22379 fail:
22380 return NULL;
22381}
22382
22383
22384static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
22385 PyObject *resultobj;
22386 wxWindow *arg1 = (wxWindow *) 0 ;
22387 wxPoint *arg2 = 0 ;
22388 int arg3 = (int) wxSIZE_USE_EXISTING ;
22389 wxPoint temp2 ;
22390 PyObject * obj0 = 0 ;
22391 PyObject * obj1 = 0 ;
994141e6 22392 PyObject * obj2 = 0 ;
d14a1e28
RD
22393 char *kwnames[] = {
22394 (char *) "self",(char *) "pt",(char *) "flags", NULL
22395 };
22396
994141e6 22397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22400 {
22401 arg2 = &temp2;
22402 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22403 }
994141e6 22404 if (obj2) {
15afbcd0
RD
22405 arg3 = (int) SWIG_AsInt(obj2);
22406 if (PyErr_Occurred()) SWIG_fail;
994141e6 22407 }
d14a1e28
RD
22408 {
22409 PyThreadState* __tstate = wxPyBeginAllowThreads();
22410 (arg1)->Move((wxPoint const &)*arg2,arg3);
22411
22412 wxPyEndAllowThreads(__tstate);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 }
22415 Py_INCREF(Py_None); resultobj = Py_None;
22416 return resultobj;
22417 fail:
22418 return NULL;
22419}
22420
22421
22422static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22423 PyObject *resultobj;
22424 wxWindow *arg1 = (wxWindow *) 0 ;
22425 int arg2 ;
22426 int arg3 ;
22427 int arg4 = (int) wxSIZE_USE_EXISTING ;
22428 PyObject * obj0 = 0 ;
994141e6
RD
22429 PyObject * obj1 = 0 ;
22430 PyObject * obj2 = 0 ;
22431 PyObject * obj3 = 0 ;
d14a1e28
RD
22432 char *kwnames[] = {
22433 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22434 };
22435
994141e6 22436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22439 arg2 = (int) SWIG_AsInt(obj1);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 arg3 = (int) SWIG_AsInt(obj2);
22442 if (PyErr_Occurred()) SWIG_fail;
994141e6 22443 if (obj3) {
15afbcd0
RD
22444 arg4 = (int) SWIG_AsInt(obj3);
22445 if (PyErr_Occurred()) SWIG_fail;
994141e6 22446 }
d14a1e28
RD
22447 {
22448 PyThreadState* __tstate = wxPyBeginAllowThreads();
22449 (arg1)->Move(arg2,arg3,arg4);
22450
22451 wxPyEndAllowThreads(__tstate);
22452 if (PyErr_Occurred()) SWIG_fail;
22453 }
22454 Py_INCREF(Py_None); resultobj = Py_None;
22455 return resultobj;
22456 fail:
22457 return NULL;
22458}
22459
22460
f8167d6e
RD
22461static PyObject *_wrap_Window_SetBestFittingSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22462 PyObject *resultobj;
22463 wxWindow *arg1 = (wxWindow *) 0 ;
22464 wxSize const &arg2_defvalue = wxDefaultSize ;
22465 wxSize *arg2 = (wxSize *) &arg2_defvalue ;
22466 wxSize temp2 ;
22467 PyObject * obj0 = 0 ;
22468 PyObject * obj1 = 0 ;
22469 char *kwnames[] = {
22470 (char *) "self",(char *) "size", NULL
22471 };
22472
22473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_SetBestFittingSize",kwnames,&obj0,&obj1)) goto fail;
22474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22476 if (obj1) {
22477 {
22478 arg2 = &temp2;
22479 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22480 }
22481 }
22482 {
22483 PyThreadState* __tstate = wxPyBeginAllowThreads();
22484 (arg1)->SetBestFittingSize((wxSize const &)*arg2);
22485
22486 wxPyEndAllowThreads(__tstate);
22487 if (PyErr_Occurred()) SWIG_fail;
22488 }
22489 Py_INCREF(Py_None); resultobj = Py_None;
22490 return resultobj;
22491 fail:
22492 return NULL;
22493}
22494
22495
d14a1e28
RD
22496static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
22497 PyObject *resultobj;
22498 wxWindow *arg1 = (wxWindow *) 0 ;
22499 PyObject * obj0 = 0 ;
22500 char *kwnames[] = {
22501 (char *) "self", NULL
22502 };
22503
22504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
15afbcd0
RD
22505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22507 {
22508 PyThreadState* __tstate = wxPyBeginAllowThreads();
22509 (arg1)->Raise();
22510
22511 wxPyEndAllowThreads(__tstate);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 }
22514 Py_INCREF(Py_None); resultobj = Py_None;
22515 return resultobj;
22516 fail:
22517 return NULL;
22518}
22519
22520
22521static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
22522 PyObject *resultobj;
22523 wxWindow *arg1 = (wxWindow *) 0 ;
22524 PyObject * obj0 = 0 ;
22525 char *kwnames[] = {
22526 (char *) "self", NULL
22527 };
22528
22529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
15afbcd0
RD
22530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22532 {
22533 PyThreadState* __tstate = wxPyBeginAllowThreads();
22534 (arg1)->Lower();
22535
22536 wxPyEndAllowThreads(__tstate);
22537 if (PyErr_Occurred()) SWIG_fail;
22538 }
22539 Py_INCREF(Py_None); resultobj = Py_None;
22540 return resultobj;
22541 fail:
22542 return NULL;
22543}
22544
22545
22546static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22547 PyObject *resultobj;
22548 wxWindow *arg1 = (wxWindow *) 0 ;
22549 wxSize *arg2 = 0 ;
22550 wxSize temp2 ;
22551 PyObject * obj0 = 0 ;
22552 PyObject * obj1 = 0 ;
22553 char *kwnames[] = {
22554 (char *) "self",(char *) "size", NULL
22555 };
22556
22557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22560 {
22561 arg2 = &temp2;
22562 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22563 }
22564 {
22565 PyThreadState* __tstate = wxPyBeginAllowThreads();
22566 (arg1)->SetClientSize((wxSize const &)*arg2);
22567
22568 wxPyEndAllowThreads(__tstate);
22569 if (PyErr_Occurred()) SWIG_fail;
22570 }
22571 Py_INCREF(Py_None); resultobj = Py_None;
22572 return resultobj;
22573 fail:
22574 return NULL;
22575}
22576
22577
22578static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22579 PyObject *resultobj;
22580 wxWindow *arg1 = (wxWindow *) 0 ;
22581 int arg2 ;
22582 int arg3 ;
22583 PyObject * obj0 = 0 ;
994141e6
RD
22584 PyObject * obj1 = 0 ;
22585 PyObject * obj2 = 0 ;
d14a1e28
RD
22586 char *kwnames[] = {
22587 (char *) "self",(char *) "width",(char *) "height", NULL
22588 };
22589
994141e6 22590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22593 arg2 = (int) SWIG_AsInt(obj1);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 arg3 = (int) SWIG_AsInt(obj2);
22596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22597 {
22598 PyThreadState* __tstate = wxPyBeginAllowThreads();
22599 (arg1)->SetClientSize(arg2,arg3);
22600
22601 wxPyEndAllowThreads(__tstate);
22602 if (PyErr_Occurred()) SWIG_fail;
22603 }
22604 Py_INCREF(Py_None); resultobj = Py_None;
22605 return resultobj;
22606 fail:
22607 return NULL;
22608}
22609
22610
22611static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22612 PyObject *resultobj;
22613 wxWindow *arg1 = (wxWindow *) 0 ;
22614 wxRect *arg2 = 0 ;
22615 wxRect temp2 ;
22616 PyObject * obj0 = 0 ;
22617 PyObject * obj1 = 0 ;
22618 char *kwnames[] = {
22619 (char *) "self",(char *) "rect", NULL
22620 };
22621
22622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22625 {
22626 arg2 = &temp2;
22627 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22628 }
22629 {
22630 PyThreadState* __tstate = wxPyBeginAllowThreads();
22631 (arg1)->SetClientSize((wxRect const &)*arg2);
22632
22633 wxPyEndAllowThreads(__tstate);
22634 if (PyErr_Occurred()) SWIG_fail;
22635 }
22636 Py_INCREF(Py_None); resultobj = Py_None;
22637 return resultobj;
22638 fail:
22639 return NULL;
22640}
22641
22642
22643static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22644 PyObject *resultobj;
22645 wxWindow *arg1 = (wxWindow *) 0 ;
22646 wxPoint result;
22647 PyObject * obj0 = 0 ;
22648 char *kwnames[] = {
22649 (char *) "self", NULL
22650 };
22651
22652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
22653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22655 {
22656 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22657 result = (arg1)->GetPosition();
d14a1e28
RD
22658
22659 wxPyEndAllowThreads(__tstate);
22660 if (PyErr_Occurred()) SWIG_fail;
22661 }
22662 {
22663 wxPoint * resultptr;
22664 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 22665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22666 }
22667 return resultobj;
22668 fail:
22669 return NULL;
22670}
22671
22672
22673static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22674 PyObject *resultobj;
22675 wxWindow *arg1 = (wxWindow *) 0 ;
22676 int *arg2 = (int *) 0 ;
22677 int *arg3 = (int *) 0 ;
22678 int temp2 ;
22679 int temp3 ;
22680 PyObject * obj0 = 0 ;
22681 char *kwnames[] = {
22682 (char *) "self", NULL
22683 };
22684
22685 arg2 = &temp2;
22686 arg3 = &temp3;
22687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22690 {
22691 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22692 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
22693
22694 wxPyEndAllowThreads(__tstate);
22695 if (PyErr_Occurred()) SWIG_fail;
22696 }
22697 Py_INCREF(Py_None); resultobj = Py_None;
22698 {
22699 PyObject *o = PyInt_FromLong((long) (*arg2));
22700 resultobj = t_output_helper(resultobj,o);
22701 }
22702 {
22703 PyObject *o = PyInt_FromLong((long) (*arg3));
22704 resultobj = t_output_helper(resultobj,o);
22705 }
22706 return resultobj;
22707 fail:
22708 return NULL;
22709}
22710
22711
22712static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22713 PyObject *resultobj;
22714 wxWindow *arg1 = (wxWindow *) 0 ;
22715 wxSize result;
22716 PyObject * obj0 = 0 ;
22717 char *kwnames[] = {
22718 (char *) "self", NULL
22719 };
22720
22721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22724 {
22725 PyThreadState* __tstate = wxPyBeginAllowThreads();
22726 result = ((wxWindow const *)arg1)->GetSize();
22727
22728 wxPyEndAllowThreads(__tstate);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
22731 {
22732 wxSize * resultptr;
22733 resultptr = new wxSize((wxSize &) result);
15afbcd0 22734 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22735 }
22736 return resultobj;
22737 fail:
22738 return NULL;
22739}
22740
22741
22742static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22743 PyObject *resultobj;
22744 wxWindow *arg1 = (wxWindow *) 0 ;
22745 int *arg2 = (int *) 0 ;
22746 int *arg3 = (int *) 0 ;
22747 int temp2 ;
22748 int temp3 ;
22749 PyObject * obj0 = 0 ;
22750 char *kwnames[] = {
22751 (char *) "self", NULL
22752 };
22753
22754 arg2 = &temp2;
22755 arg3 = &temp3;
22756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22759 {
22760 PyThreadState* __tstate = wxPyBeginAllowThreads();
22761 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
22762
22763 wxPyEndAllowThreads(__tstate);
22764 if (PyErr_Occurred()) SWIG_fail;
22765 }
22766 Py_INCREF(Py_None); resultobj = Py_None;
22767 {
22768 PyObject *o = PyInt_FromLong((long) (*arg2));
22769 resultobj = t_output_helper(resultobj,o);
22770 }
22771 {
22772 PyObject *o = PyInt_FromLong((long) (*arg3));
22773 resultobj = t_output_helper(resultobj,o);
22774 }
22775 return resultobj;
22776 fail:
22777 return NULL;
22778}
22779
22780
22781static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22782 PyObject *resultobj;
22783 wxWindow *arg1 = (wxWindow *) 0 ;
22784 wxRect result;
22785 PyObject * obj0 = 0 ;
22786 char *kwnames[] = {
22787 (char *) "self", NULL
22788 };
22789
22790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
22791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22793 {
22794 PyThreadState* __tstate = wxPyBeginAllowThreads();
22795 result = ((wxWindow const *)arg1)->GetRect();
22796
22797 wxPyEndAllowThreads(__tstate);
22798 if (PyErr_Occurred()) SWIG_fail;
22799 }
22800 {
22801 wxRect * resultptr;
22802 resultptr = new wxRect((wxRect &) result);
15afbcd0 22803 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22804 }
22805 return resultobj;
22806 fail:
22807 return NULL;
22808}
22809
22810
22811static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22812 PyObject *resultobj;
22813 wxWindow *arg1 = (wxWindow *) 0 ;
22814 wxSize result;
22815 PyObject * obj0 = 0 ;
22816 char *kwnames[] = {
22817 (char *) "self", NULL
22818 };
22819
22820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22823 {
22824 PyThreadState* __tstate = wxPyBeginAllowThreads();
22825 result = ((wxWindow const *)arg1)->GetClientSize();
22826
22827 wxPyEndAllowThreads(__tstate);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 }
22830 {
22831 wxSize * resultptr;
22832 resultptr = new wxSize((wxSize &) result);
15afbcd0 22833 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22834 }
22835 return resultobj;
22836 fail:
22837 return NULL;
22838}
22839
22840
22841static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22842 PyObject *resultobj;
22843 wxWindow *arg1 = (wxWindow *) 0 ;
22844 int *arg2 = (int *) 0 ;
22845 int *arg3 = (int *) 0 ;
22846 int temp2 ;
22847 int temp3 ;
22848 PyObject * obj0 = 0 ;
22849 char *kwnames[] = {
22850 (char *) "self", NULL
22851 };
22852
22853 arg2 = &temp2;
22854 arg3 = &temp3;
22855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22858 {
22859 PyThreadState* __tstate = wxPyBeginAllowThreads();
22860 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
22861
22862 wxPyEndAllowThreads(__tstate);
22863 if (PyErr_Occurred()) SWIG_fail;
22864 }
22865 Py_INCREF(Py_None); resultobj = Py_None;
22866 {
22867 PyObject *o = PyInt_FromLong((long) (*arg2));
22868 resultobj = t_output_helper(resultobj,o);
22869 }
22870 {
22871 PyObject *o = PyInt_FromLong((long) (*arg3));
22872 resultobj = t_output_helper(resultobj,o);
22873 }
22874 return resultobj;
22875 fail:
22876 return NULL;
22877}
22878
22879
22880static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
22881 PyObject *resultobj;
22882 wxWindow *arg1 = (wxWindow *) 0 ;
22883 wxPoint result;
22884 PyObject * obj0 = 0 ;
22885 char *kwnames[] = {
22886 (char *) "self", NULL
22887 };
22888
22889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
22890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22892 {
22893 PyThreadState* __tstate = wxPyBeginAllowThreads();
22894 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
22895
22896 wxPyEndAllowThreads(__tstate);
22897 if (PyErr_Occurred()) SWIG_fail;
22898 }
22899 {
22900 wxPoint * resultptr;
22901 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 22902 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22903 }
22904 return resultobj;
22905 fail:
22906 return NULL;
22907}
22908
22909
22910static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22911 PyObject *resultobj;
22912 wxWindow *arg1 = (wxWindow *) 0 ;
22913 wxRect result;
22914 PyObject * obj0 = 0 ;
22915 char *kwnames[] = {
22916 (char *) "self", NULL
22917 };
22918
22919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
22920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22922 {
22923 PyThreadState* __tstate = wxPyBeginAllowThreads();
22924 result = ((wxWindow const *)arg1)->GetClientRect();
22925
22926 wxPyEndAllowThreads(__tstate);
22927 if (PyErr_Occurred()) SWIG_fail;
22928 }
22929 {
22930 wxRect * resultptr;
22931 resultptr = new wxRect((wxRect &) result);
15afbcd0 22932 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22933 }
22934 return resultobj;
22935 fail:
22936 return NULL;
22937}
22938
22939
22940static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22941 PyObject *resultobj;
22942 wxWindow *arg1 = (wxWindow *) 0 ;
22943 wxSize result;
22944 PyObject * obj0 = 0 ;
22945 char *kwnames[] = {
22946 (char *) "self", NULL
22947 };
22948
22949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22952 {
22953 PyThreadState* __tstate = wxPyBeginAllowThreads();
22954 result = ((wxWindow const *)arg1)->GetBestSize();
22955
22956 wxPyEndAllowThreads(__tstate);
22957 if (PyErr_Occurred()) SWIG_fail;
22958 }
22959 {
22960 wxSize * resultptr;
22961 resultptr = new wxSize((wxSize &) result);
15afbcd0 22962 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22963 }
22964 return resultobj;
22965 fail:
22966 return NULL;
22967}
22968
22969
22970static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22971 PyObject *resultobj;
22972 wxWindow *arg1 = (wxWindow *) 0 ;
22973 int *arg2 = (int *) 0 ;
22974 int *arg3 = (int *) 0 ;
22975 int temp2 ;
22976 int temp3 ;
22977 PyObject * obj0 = 0 ;
22978 char *kwnames[] = {
22979 (char *) "self", NULL
22980 };
22981
22982 arg2 = &temp2;
22983 arg3 = &temp3;
22984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22987 {
22988 PyThreadState* __tstate = wxPyBeginAllowThreads();
22989 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
22990
22991 wxPyEndAllowThreads(__tstate);
22992 if (PyErr_Occurred()) SWIG_fail;
22993 }
22994 Py_INCREF(Py_None); resultobj = Py_None;
22995 {
22996 PyObject *o = PyInt_FromLong((long) (*arg2));
22997 resultobj = t_output_helper(resultobj,o);
22998 }
22999 {
23000 PyObject *o = PyInt_FromLong((long) (*arg3));
23001 resultobj = t_output_helper(resultobj,o);
23002 }
23003 return resultobj;
23004 fail:
23005 return NULL;
23006}
23007
23008
dfbb5885
RD
23009static PyObject *_wrap_Window_InvalidateBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23010 PyObject *resultobj;
23011 wxWindow *arg1 = (wxWindow *) 0 ;
23012 PyObject * obj0 = 0 ;
23013 char *kwnames[] = {
23014 (char *) "self", NULL
23015 };
23016
23017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InvalidateBestSize",kwnames,&obj0)) goto fail;
23018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23020 {
23021 PyThreadState* __tstate = wxPyBeginAllowThreads();
23022 (arg1)->InvalidateBestSize();
23023
23024 wxPyEndAllowThreads(__tstate);
23025 if (PyErr_Occurred()) SWIG_fail;
23026 }
23027 Py_INCREF(Py_None); resultobj = Py_None;
23028 return resultobj;
23029 fail:
23030 return NULL;
23031}
23032
23033
23034static PyObject *_wrap_Window_GetBestFittingSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23035 PyObject *resultobj;
23036 wxWindow *arg1 = (wxWindow *) 0 ;
23037 wxSize result;
23038 PyObject * obj0 = 0 ;
23039 char *kwnames[] = {
23040 (char *) "self", NULL
23041 };
23042
23043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestFittingSize",kwnames,&obj0)) goto fail;
23044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 result = ((wxWindow const *)arg1)->GetBestFittingSize();
23049
23050 wxPyEndAllowThreads(__tstate);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 }
23053 {
23054 wxSize * resultptr;
23055 resultptr = new wxSize((wxSize &) result);
23056 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23057 }
23058 return resultobj;
23059 fail:
23060 return NULL;
23061}
23062
23063
d14a1e28
RD
23064static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23065 PyObject *resultobj;
23066 wxWindow *arg1 = (wxWindow *) 0 ;
23067 wxSize result;
23068 PyObject * obj0 = 0 ;
23069 char *kwnames[] = {
23070 (char *) "self", NULL
23071 };
23072
23073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23076 {
23077 PyThreadState* __tstate = wxPyBeginAllowThreads();
23078 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
23079
23080 wxPyEndAllowThreads(__tstate);
23081 if (PyErr_Occurred()) SWIG_fail;
23082 }
23083 {
23084 wxSize * resultptr;
23085 resultptr = new wxSize((wxSize &) result);
15afbcd0 23086 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23087 }
23088 return resultobj;
23089 fail:
23090 return NULL;
23091}
23092
23093
23094static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
23095 PyObject *resultobj;
23096 wxWindow *arg1 = (wxWindow *) 0 ;
23097 int arg2 = (int) wxBOTH ;
23098 PyObject * obj0 = 0 ;
994141e6 23099 PyObject * obj1 = 0 ;
d14a1e28
RD
23100 char *kwnames[] = {
23101 (char *) "self",(char *) "direction", NULL
23102 };
23103
994141e6 23104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23107 if (obj1) {
15afbcd0
RD
23108 arg2 = (int) SWIG_AsInt(obj1);
23109 if (PyErr_Occurred()) SWIG_fail;
994141e6 23110 }
d14a1e28
RD
23111 {
23112 PyThreadState* __tstate = wxPyBeginAllowThreads();
23113 (arg1)->Center(arg2);
23114
23115 wxPyEndAllowThreads(__tstate);
23116 if (PyErr_Occurred()) SWIG_fail;
23117 }
23118 Py_INCREF(Py_None); resultobj = Py_None;
23119 return resultobj;
23120 fail:
23121 return NULL;
23122}
23123
23124
23125static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
23126 PyObject *resultobj;
23127 wxWindow *arg1 = (wxWindow *) 0 ;
23128 int arg2 = (int) wxBOTH ;
23129 PyObject * obj0 = 0 ;
994141e6 23130 PyObject * obj1 = 0 ;
d14a1e28
RD
23131 char *kwnames[] = {
23132 (char *) "self",(char *) "dir", NULL
23133 };
23134
994141e6 23135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23138 if (obj1) {
15afbcd0
RD
23139 arg2 = (int) SWIG_AsInt(obj1);
23140 if (PyErr_Occurred()) SWIG_fail;
994141e6 23141 }
d14a1e28
RD
23142 {
23143 PyThreadState* __tstate = wxPyBeginAllowThreads();
23144 (arg1)->CenterOnScreen(arg2);
23145
23146 wxPyEndAllowThreads(__tstate);
23147 if (PyErr_Occurred()) SWIG_fail;
23148 }
23149 Py_INCREF(Py_None); resultobj = Py_None;
23150 return resultobj;
23151 fail:
23152 return NULL;
23153}
23154
23155
23156static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
23157 PyObject *resultobj;
23158 wxWindow *arg1 = (wxWindow *) 0 ;
23159 int arg2 = (int) wxBOTH ;
23160 PyObject * obj0 = 0 ;
994141e6 23161 PyObject * obj1 = 0 ;
d14a1e28
RD
23162 char *kwnames[] = {
23163 (char *) "self",(char *) "dir", NULL
23164 };
23165
994141e6 23166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23169 if (obj1) {
15afbcd0
RD
23170 arg2 = (int) SWIG_AsInt(obj1);
23171 if (PyErr_Occurred()) SWIG_fail;
994141e6 23172 }
d14a1e28
RD
23173 {
23174 PyThreadState* __tstate = wxPyBeginAllowThreads();
23175 (arg1)->CenterOnParent(arg2);
23176
23177 wxPyEndAllowThreads(__tstate);
23178 if (PyErr_Occurred()) SWIG_fail;
23179 }
23180 Py_INCREF(Py_None); resultobj = Py_None;
23181 return resultobj;
23182 fail:
23183 return NULL;
23184}
23185
23186
23187static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
23188 PyObject *resultobj;
23189 wxWindow *arg1 = (wxWindow *) 0 ;
23190 PyObject * obj0 = 0 ;
23191 char *kwnames[] = {
23192 (char *) "self", NULL
23193 };
23194
23195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
15afbcd0
RD
23196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23198 {
23199 PyThreadState* __tstate = wxPyBeginAllowThreads();
23200 (arg1)->Fit();
23201
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 Py_INCREF(Py_None); resultobj = Py_None;
23206 return resultobj;
23207 fail:
23208 return NULL;
23209}
23210
23211
23212static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
23213 PyObject *resultobj;
23214 wxWindow *arg1 = (wxWindow *) 0 ;
23215 PyObject * obj0 = 0 ;
23216 char *kwnames[] = {
23217 (char *) "self", NULL
23218 };
23219
23220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
15afbcd0
RD
23221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23223 {
23224 PyThreadState* __tstate = wxPyBeginAllowThreads();
23225 (arg1)->FitInside();
23226
23227 wxPyEndAllowThreads(__tstate);
23228 if (PyErr_Occurred()) SWIG_fail;
23229 }
23230 Py_INCREF(Py_None); resultobj = Py_None;
23231 return resultobj;
23232 fail:
23233 return NULL;
23234}
23235
23236
f16ab95d 23237static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23238 PyObject *resultobj;
23239 wxWindow *arg1 = (wxWindow *) 0 ;
23240 int arg2 ;
23241 int arg3 ;
23242 int arg4 = (int) -1 ;
23243 int arg5 = (int) -1 ;
23244 int arg6 = (int) -1 ;
23245 int arg7 = (int) -1 ;
23246 PyObject * obj0 = 0 ;
994141e6
RD
23247 PyObject * obj1 = 0 ;
23248 PyObject * obj2 = 0 ;
23249 PyObject * obj3 = 0 ;
23250 PyObject * obj4 = 0 ;
23251 PyObject * obj5 = 0 ;
23252 PyObject * obj6 = 0 ;
f16ab95d
RD
23253 char *kwnames[] = {
23254 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23255 };
d14a1e28 23256
f16ab95d 23257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
23258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23260 arg2 = (int) SWIG_AsInt(obj1);
23261 if (PyErr_Occurred()) SWIG_fail;
23262 arg3 = (int) SWIG_AsInt(obj2);
23263 if (PyErr_Occurred()) SWIG_fail;
994141e6 23264 if (obj3) {
15afbcd0
RD
23265 arg4 = (int) SWIG_AsInt(obj3);
23266 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23267 }
23268 if (obj4) {
15afbcd0
RD
23269 arg5 = (int) SWIG_AsInt(obj4);
23270 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23271 }
23272 if (obj5) {
15afbcd0
RD
23273 arg6 = (int) SWIG_AsInt(obj5);
23274 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23275 }
23276 if (obj6) {
15afbcd0
RD
23277 arg7 = (int) SWIG_AsInt(obj6);
23278 if (PyErr_Occurred()) SWIG_fail;
994141e6 23279 }
d14a1e28
RD
23280 {
23281 PyThreadState* __tstate = wxPyBeginAllowThreads();
23282 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
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
f16ab95d 23294static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23295 PyObject *resultobj;
23296 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
23297 wxSize *arg2 = 0 ;
23298 wxSize const &arg3_defvalue = wxDefaultSize ;
23299 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
f16ab95d
RD
23300 wxSize const &arg4_defvalue = wxDefaultSize ;
23301 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
908b74cd
RD
23302 wxSize temp2 ;
23303 wxSize temp3 ;
f16ab95d 23304 wxSize temp4 ;
d14a1e28 23305 PyObject * obj0 = 0 ;
994141e6
RD
23306 PyObject * obj1 = 0 ;
23307 PyObject * obj2 = 0 ;
f16ab95d
RD
23308 PyObject * obj3 = 0 ;
23309 char *kwnames[] = {
23310 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23311 };
d14a1e28 23312
f16ab95d 23313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
23314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
908b74cd
RD
23316 {
23317 arg2 = &temp2;
23318 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
994141e6 23319 }
908b74cd
RD
23320 if (obj2) {
23321 {
23322 arg3 = &temp3;
23323 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23324 }
994141e6 23325 }
f16ab95d
RD
23326 if (obj3) {
23327 {
23328 arg4 = &temp4;
23329 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23330 }
23331 }
d14a1e28
RD
23332 {
23333 PyThreadState* __tstate = wxPyBeginAllowThreads();
f16ab95d 23334 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
d14a1e28
RD
23335
23336 wxPyEndAllowThreads(__tstate);
23337 if (PyErr_Occurred()) SWIG_fail;
23338 }
23339 Py_INCREF(Py_None); resultobj = Py_None;
23340 return resultobj;
23341 fail:
23342 return NULL;
23343}
23344
23345
f16ab95d 23346static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
23347 PyObject *resultobj;
23348 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
23349 int arg2 ;
23350 int arg3 ;
23351 int arg4 = (int) -1 ;
23352 int arg5 = (int) -1 ;
74a57fcd
RD
23353 PyObject * obj0 = 0 ;
23354 PyObject * obj1 = 0 ;
23355 PyObject * obj2 = 0 ;
908b74cd
RD
23356 PyObject * obj3 = 0 ;
23357 PyObject * obj4 = 0 ;
f16ab95d
RD
23358 char *kwnames[] = {
23359 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23360 };
74a57fcd 23361
f16ab95d 23362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
74a57fcd
RD
23363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
908b74cd
RD
23365 arg2 = (int) SWIG_AsInt(obj1);
23366 if (PyErr_Occurred()) SWIG_fail;
23367 arg3 = (int) SWIG_AsInt(obj2);
23368 if (PyErr_Occurred()) SWIG_fail;
23369 if (obj3) {
23370 arg4 = (int) SWIG_AsInt(obj3);
23371 if (PyErr_Occurred()) SWIG_fail;
74a57fcd 23372 }
908b74cd
RD
23373 if (obj4) {
23374 arg5 = (int) SWIG_AsInt(obj4);
23375 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
23376 }
23377 {
23378 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23379 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
74a57fcd
RD
23380
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 Py_INCREF(Py_None); resultobj = Py_None;
23385 return resultobj;
23386 fail:
23387 return NULL;
23388}
23389
23390
f16ab95d
RD
23391static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *self, PyObject *args, PyObject *kwargs) {
23392 PyObject *resultobj;
23393 wxWindow *arg1 = (wxWindow *) 0 ;
23394 wxSize *arg2 = 0 ;
23395 wxSize const &arg3_defvalue = wxDefaultSize ;
23396 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23397 wxSize temp2 ;
23398 wxSize temp3 ;
23399 PyObject * obj0 = 0 ;
23400 PyObject * obj1 = 0 ;
23401 PyObject * obj2 = 0 ;
23402 char *kwnames[] = {
23403 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23404 };
74a57fcd 23405
f16ab95d
RD
23406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames,&obj0,&obj1,&obj2)) goto fail;
23407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23409 {
23410 arg2 = &temp2;
23411 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
74a57fcd 23412 }
f16ab95d 23413 if (obj2) {
74a57fcd 23414 {
f16ab95d
RD
23415 arg3 = &temp3;
23416 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
74a57fcd
RD
23417 }
23418 }
f16ab95d
RD
23419 {
23420 PyThreadState* __tstate = wxPyBeginAllowThreads();
23421 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
23422
23423 wxPyEndAllowThreads(__tstate);
23424 if (PyErr_Occurred()) SWIG_fail;
74a57fcd 23425 }
f16ab95d
RD
23426 Py_INCREF(Py_None); resultobj = Py_None;
23427 return resultobj;
23428 fail:
74a57fcd
RD
23429 return NULL;
23430}
23431
23432
908b74cd 23433static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23434 PyObject *resultobj;
23435 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23436 wxSize result;
d14a1e28
RD
23437 PyObject * obj0 = 0 ;
23438 char *kwnames[] = {
23439 (char *) "self", NULL
23440 };
23441
908b74cd 23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23445 {
23446 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23447 result = ((wxWindow const *)arg1)->GetMaxSize();
d14a1e28
RD
23448
23449 wxPyEndAllowThreads(__tstate);
23450 if (PyErr_Occurred()) SWIG_fail;
23451 }
908b74cd
RD
23452 {
23453 wxSize * resultptr;
23454 resultptr = new wxSize((wxSize &) result);
23455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23456 }
d14a1e28
RD
23457 return resultobj;
23458 fail:
23459 return NULL;
23460}
23461
23462
908b74cd 23463static PyObject *_wrap_Window_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23464 PyObject *resultobj;
23465 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23466 wxSize result;
d14a1e28
RD
23467 PyObject * obj0 = 0 ;
23468 char *kwnames[] = {
23469 (char *) "self", NULL
23470 };
23471
908b74cd 23472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23475 {
23476 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23477 result = ((wxWindow const *)arg1)->GetMinSize();
d14a1e28
RD
23478
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
908b74cd
RD
23482 {
23483 wxSize * resultptr;
23484 resultptr = new wxSize((wxSize &) result);
23485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23486 }
d14a1e28
RD
23487 return resultobj;
23488 fail:
23489 return NULL;
23490}
23491
23492
908b74cd
RD
23493static PyObject *_wrap_Window_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23494 PyObject *resultobj;
23495 wxWindow *arg1 = (wxWindow *) 0 ;
23496 wxSize *arg2 = 0 ;
23497 wxSize temp2 ;
23498 PyObject * obj0 = 0 ;
23499 PyObject * obj1 = 0 ;
23500 char *kwnames[] = {
23501 (char *) "self",(char *) "minSize", NULL
23502 };
23503
23504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
23505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23507 {
23508 arg2 = &temp2;
23509 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23510 }
23511 {
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 (arg1)->SetMinSize((wxSize const &)*arg2);
23514
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 Py_INCREF(Py_None); resultobj = Py_None;
23519 return resultobj;
23520 fail:
23521 return NULL;
23522}
23523
23524
23525static PyObject *_wrap_Window_SetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23526 PyObject *resultobj;
23527 wxWindow *arg1 = (wxWindow *) 0 ;
23528 wxSize *arg2 = 0 ;
23529 wxSize temp2 ;
23530 PyObject * obj0 = 0 ;
23531 PyObject * obj1 = 0 ;
23532 char *kwnames[] = {
23533 (char *) "self",(char *) "maxSize", NULL
23534 };
23535
23536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMaxSize",kwnames,&obj0,&obj1)) goto fail;
23537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23539 {
23540 arg2 = &temp2;
23541 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23542 }
23543 {
23544 PyThreadState* __tstate = wxPyBeginAllowThreads();
23545 (arg1)->SetMaxSize((wxSize const &)*arg2);
23546
23547 wxPyEndAllowThreads(__tstate);
23548 if (PyErr_Occurred()) SWIG_fail;
23549 }
23550 Py_INCREF(Py_None); resultobj = Py_None;
23551 return resultobj;
23552 fail:
23553 return NULL;
23554}
23555
23556
23557static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23558 PyObject *resultobj;
23559 wxWindow *arg1 = (wxWindow *) 0 ;
23560 int result;
23561 PyObject * obj0 = 0 ;
23562 char *kwnames[] = {
23563 (char *) "self", NULL
23564 };
23565
908b74cd 23566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
23567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23569 {
23570 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23571 result = (int)((wxWindow const *)arg1)->GetMinWidth();
d14a1e28
RD
23572
23573 wxPyEndAllowThreads(__tstate);
23574 if (PyErr_Occurred()) SWIG_fail;
23575 }
15afbcd0 23576 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23577 return resultobj;
23578 fail:
23579 return NULL;
23580}
23581
23582
908b74cd 23583static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23584 PyObject *resultobj;
23585 wxWindow *arg1 = (wxWindow *) 0 ;
23586 int result;
23587 PyObject * obj0 = 0 ;
23588 char *kwnames[] = {
23589 (char *) "self", NULL
23590 };
23591
908b74cd 23592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
23593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23595 {
23596 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23597 result = (int)((wxWindow const *)arg1)->GetMinHeight();
d14a1e28
RD
23598
23599 wxPyEndAllowThreads(__tstate);
23600 if (PyErr_Occurred()) SWIG_fail;
23601 }
15afbcd0 23602 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23603 return resultobj;
23604 fail:
23605 return NULL;
23606}
23607
23608
908b74cd 23609static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23610 PyObject *resultobj;
23611 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23612 int result;
d14a1e28
RD
23613 PyObject * obj0 = 0 ;
23614 char *kwnames[] = {
23615 (char *) "self", NULL
23616 };
23617
908b74cd 23618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
23619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23621 {
23622 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23623 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
d14a1e28
RD
23624
23625 wxPyEndAllowThreads(__tstate);
23626 if (PyErr_Occurred()) SWIG_fail;
23627 }
908b74cd 23628 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23629 return resultobj;
23630 fail:
23631 return NULL;
23632}
23633
23634
908b74cd 23635static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
23636 PyObject *resultobj;
23637 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23638 int result;
74a57fcd
RD
23639 PyObject * obj0 = 0 ;
23640 char *kwnames[] = {
23641 (char *) "self", NULL
23642 };
23643
908b74cd 23644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
74a57fcd
RD
23645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23647 {
23648 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23649 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
74a57fcd
RD
23650
23651 wxPyEndAllowThreads(__tstate);
23652 if (PyErr_Occurred()) SWIG_fail;
23653 }
908b74cd 23654 resultobj = SWIG_FromInt((int)result);
74a57fcd
RD
23655 return resultobj;
23656 fail:
23657 return NULL;
23658}
23659
23660
d14a1e28
RD
23661static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23662 PyObject *resultobj;
23663 wxWindow *arg1 = (wxWindow *) 0 ;
23664 wxSize *arg2 = 0 ;
23665 wxSize temp2 ;
23666 PyObject * obj0 = 0 ;
23667 PyObject * obj1 = 0 ;
23668 char *kwnames[] = {
23669 (char *) "self",(char *) "size", NULL
23670 };
23671
23672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23675 {
23676 arg2 = &temp2;
23677 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23678 }
23679 {
23680 PyThreadState* __tstate = wxPyBeginAllowThreads();
23681 (arg1)->SetVirtualSize((wxSize const &)*arg2);
23682
23683 wxPyEndAllowThreads(__tstate);
23684 if (PyErr_Occurred()) SWIG_fail;
23685 }
23686 Py_INCREF(Py_None); resultobj = Py_None;
23687 return resultobj;
23688 fail:
23689 return NULL;
23690}
23691
23692
23693static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
23694 PyObject *resultobj;
23695 wxWindow *arg1 = (wxWindow *) 0 ;
23696 int arg2 ;
23697 int arg3 ;
23698 PyObject * obj0 = 0 ;
994141e6
RD
23699 PyObject * obj1 = 0 ;
23700 PyObject * obj2 = 0 ;
d14a1e28
RD
23701 char *kwnames[] = {
23702 (char *) "self",(char *) "w",(char *) "h", NULL
23703 };
23704
994141e6 23705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23708 arg2 = (int) SWIG_AsInt(obj1);
23709 if (PyErr_Occurred()) SWIG_fail;
23710 arg3 = (int) SWIG_AsInt(obj2);
23711 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23712 {
23713 PyThreadState* __tstate = wxPyBeginAllowThreads();
23714 (arg1)->SetVirtualSize(arg2,arg3);
23715
23716 wxPyEndAllowThreads(__tstate);
23717 if (PyErr_Occurred()) SWIG_fail;
23718 }
23719 Py_INCREF(Py_None); resultobj = Py_None;
23720 return resultobj;
23721 fail:
23722 return NULL;
23723}
23724
23725
23726static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23727 PyObject *resultobj;
23728 wxWindow *arg1 = (wxWindow *) 0 ;
23729 wxSize result;
23730 PyObject * obj0 = 0 ;
23731 char *kwnames[] = {
23732 (char *) "self", NULL
23733 };
23734
23735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23738 {
23739 PyThreadState* __tstate = wxPyBeginAllowThreads();
23740 result = ((wxWindow const *)arg1)->GetVirtualSize();
23741
23742 wxPyEndAllowThreads(__tstate);
23743 if (PyErr_Occurred()) SWIG_fail;
23744 }
23745 {
23746 wxSize * resultptr;
23747 resultptr = new wxSize((wxSize &) result);
15afbcd0 23748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23749 }
23750 return resultobj;
23751 fail:
23752 return NULL;
23753}
23754
23755
23756static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
23757 PyObject *resultobj;
23758 wxWindow *arg1 = (wxWindow *) 0 ;
23759 int *arg2 = (int *) 0 ;
23760 int *arg3 = (int *) 0 ;
23761 int temp2 ;
23762 int temp3 ;
23763 PyObject * obj0 = 0 ;
23764 char *kwnames[] = {
23765 (char *) "self", NULL
23766 };
23767
23768 arg2 = &temp2;
23769 arg3 = &temp3;
23770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
23771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23773 {
23774 PyThreadState* __tstate = wxPyBeginAllowThreads();
23775 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
23776
23777 wxPyEndAllowThreads(__tstate);
23778 if (PyErr_Occurred()) SWIG_fail;
23779 }
23780 Py_INCREF(Py_None); resultobj = Py_None;
23781 {
23782 PyObject *o = PyInt_FromLong((long) (*arg2));
23783 resultobj = t_output_helper(resultobj,o);
23784 }
23785 {
23786 PyObject *o = PyInt_FromLong((long) (*arg3));
23787 resultobj = t_output_helper(resultobj,o);
23788 }
23789 return resultobj;
23790 fail:
23791 return NULL;
23792}
23793
23794
23795static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23796 PyObject *resultobj;
23797 wxWindow *arg1 = (wxWindow *) 0 ;
23798 wxSize result;
23799 PyObject * obj0 = 0 ;
23800 char *kwnames[] = {
23801 (char *) "self", NULL
23802 };
23803
23804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23807 {
23808 PyThreadState* __tstate = wxPyBeginAllowThreads();
23809 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
23810
23811 wxPyEndAllowThreads(__tstate);
23812 if (PyErr_Occurred()) SWIG_fail;
23813 }
23814 {
23815 wxSize * resultptr;
23816 resultptr = new wxSize((wxSize &) result);
15afbcd0 23817 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23818 }
23819 return resultobj;
23820 fail:
23821 return NULL;
23822}
23823
23824
23825static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
23826 PyObject *resultobj;
23827 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23828 bool arg2 = (bool) True ;
d14a1e28
RD
23829 bool result;
23830 PyObject * obj0 = 0 ;
23831 PyObject * obj1 = 0 ;
23832 char *kwnames[] = {
23833 (char *) "self",(char *) "show", NULL
23834 };
23835
23836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23839 if (obj1) {
15afbcd0
RD
23840 arg2 = (bool) SWIG_AsBool(obj1);
23841 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23842 }
23843 {
23844 PyThreadState* __tstate = wxPyBeginAllowThreads();
23845 result = (bool)(arg1)->Show(arg2);
23846
23847 wxPyEndAllowThreads(__tstate);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 }
4f89f6a3
RD
23850 {
23851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23852 }
d14a1e28
RD
23853 return resultobj;
23854 fail:
23855 return NULL;
23856}
23857
23858
23859static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
23860 PyObject *resultobj;
23861 wxWindow *arg1 = (wxWindow *) 0 ;
23862 bool result;
23863 PyObject * obj0 = 0 ;
23864 char *kwnames[] = {
23865 (char *) "self", NULL
23866 };
23867
23868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
23869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23871 {
23872 PyThreadState* __tstate = wxPyBeginAllowThreads();
23873 result = (bool)(arg1)->Hide();
23874
23875 wxPyEndAllowThreads(__tstate);
23876 if (PyErr_Occurred()) SWIG_fail;
23877 }
4f89f6a3
RD
23878 {
23879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23880 }
d14a1e28
RD
23881 return resultobj;
23882 fail:
23883 return NULL;
23884}
23885
23886
23887static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
23888 PyObject *resultobj;
23889 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23890 bool arg2 = (bool) True ;
d14a1e28
RD
23891 bool result;
23892 PyObject * obj0 = 0 ;
23893 PyObject * obj1 = 0 ;
23894 char *kwnames[] = {
23895 (char *) "self",(char *) "enable", NULL
23896 };
23897
23898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23901 if (obj1) {
15afbcd0
RD
23902 arg2 = (bool) SWIG_AsBool(obj1);
23903 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23904 }
23905 {
23906 PyThreadState* __tstate = wxPyBeginAllowThreads();
23907 result = (bool)(arg1)->Enable(arg2);
23908
23909 wxPyEndAllowThreads(__tstate);
23910 if (PyErr_Occurred()) SWIG_fail;
23911 }
4f89f6a3
RD
23912 {
23913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23914 }
d14a1e28
RD
23915 return resultobj;
23916 fail:
23917 return NULL;
23918}
23919
23920
23921static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
23922 PyObject *resultobj;
23923 wxWindow *arg1 = (wxWindow *) 0 ;
23924 bool result;
23925 PyObject * obj0 = 0 ;
23926 char *kwnames[] = {
23927 (char *) "self", NULL
23928 };
23929
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
15afbcd0
RD
23931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23933 {
23934 PyThreadState* __tstate = wxPyBeginAllowThreads();
23935 result = (bool)(arg1)->Disable();
23936
23937 wxPyEndAllowThreads(__tstate);
23938 if (PyErr_Occurred()) SWIG_fail;
23939 }
4f89f6a3
RD
23940 {
23941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23942 }
d14a1e28
RD
23943 return resultobj;
23944 fail:
23945 return NULL;
23946}
23947
23948
23949static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
23950 PyObject *resultobj;
23951 wxWindow *arg1 = (wxWindow *) 0 ;
23952 bool result;
23953 PyObject * obj0 = 0 ;
23954 char *kwnames[] = {
23955 (char *) "self", NULL
23956 };
23957
23958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
23959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23961 {
23962 PyThreadState* __tstate = wxPyBeginAllowThreads();
23963 result = (bool)((wxWindow const *)arg1)->IsShown();
23964
23965 wxPyEndAllowThreads(__tstate);
23966 if (PyErr_Occurred()) SWIG_fail;
23967 }
4f89f6a3
RD
23968 {
23969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23970 }
d14a1e28
RD
23971 return resultobj;
23972 fail:
23973 return NULL;
23974}
23975
23976
23977static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
23978 PyObject *resultobj;
23979 wxWindow *arg1 = (wxWindow *) 0 ;
23980 bool result;
23981 PyObject * obj0 = 0 ;
23982 char *kwnames[] = {
23983 (char *) "self", NULL
23984 };
23985
23986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
23987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23989 {
23990 PyThreadState* __tstate = wxPyBeginAllowThreads();
23991 result = (bool)((wxWindow const *)arg1)->IsEnabled();
23992
23993 wxPyEndAllowThreads(__tstate);
23994 if (PyErr_Occurred()) SWIG_fail;
23995 }
4f89f6a3
RD
23996 {
23997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23998 }
d14a1e28
RD
23999 return resultobj;
24000 fail:
24001 return NULL;
24002}
24003
24004
24005static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
24006 PyObject *resultobj;
24007 wxWindow *arg1 = (wxWindow *) 0 ;
24008 long arg2 ;
24009 PyObject * obj0 = 0 ;
994141e6 24010 PyObject * obj1 = 0 ;
d14a1e28
RD
24011 char *kwnames[] = {
24012 (char *) "self",(char *) "style", NULL
24013 };
24014
994141e6 24015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24018 arg2 = (long) SWIG_AsLong(obj1);
24019 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24020 {
24021 PyThreadState* __tstate = wxPyBeginAllowThreads();
24022 (arg1)->SetWindowStyleFlag(arg2);
24023
24024 wxPyEndAllowThreads(__tstate);
24025 if (PyErr_Occurred()) SWIG_fail;
24026 }
24027 Py_INCREF(Py_None); resultobj = Py_None;
24028 return resultobj;
24029 fail:
24030 return NULL;
24031}
24032
24033
24034static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
24035 PyObject *resultobj;
24036 wxWindow *arg1 = (wxWindow *) 0 ;
24037 long result;
24038 PyObject * obj0 = 0 ;
24039 char *kwnames[] = {
24040 (char *) "self", NULL
24041 };
24042
24043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
24044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24046 {
24047 PyThreadState* __tstate = wxPyBeginAllowThreads();
24048 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
24049
24050 wxPyEndAllowThreads(__tstate);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 }
15afbcd0 24053 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
24054 return resultobj;
24055 fail:
24056 return NULL;
24057}
24058
24059
24060static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
24061 PyObject *resultobj;
24062 wxWindow *arg1 = (wxWindow *) 0 ;
24063 int arg2 ;
24064 bool result;
24065 PyObject * obj0 = 0 ;
994141e6 24066 PyObject * obj1 = 0 ;
d14a1e28
RD
24067 char *kwnames[] = {
24068 (char *) "self",(char *) "flag", NULL
24069 };
24070
994141e6 24071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24074 arg2 = (int) SWIG_AsInt(obj1);
24075 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24076 {
24077 PyThreadState* __tstate = wxPyBeginAllowThreads();
24078 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
24079
24080 wxPyEndAllowThreads(__tstate);
24081 if (PyErr_Occurred()) SWIG_fail;
24082 }
4f89f6a3
RD
24083 {
24084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24085 }
d14a1e28
RD
24086 return resultobj;
24087 fail:
24088 return NULL;
24089}
24090
24091
24092static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
24093 PyObject *resultobj;
24094 wxWindow *arg1 = (wxWindow *) 0 ;
24095 bool result;
24096 PyObject * obj0 = 0 ;
24097 char *kwnames[] = {
24098 (char *) "self", NULL
24099 };
24100
24101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
15afbcd0
RD
24102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24104 {
24105 PyThreadState* __tstate = wxPyBeginAllowThreads();
24106 result = (bool)((wxWindow const *)arg1)->IsRetained();
24107
24108 wxPyEndAllowThreads(__tstate);
24109 if (PyErr_Occurred()) SWIG_fail;
24110 }
4f89f6a3
RD
24111 {
24112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24113 }
d14a1e28
RD
24114 return resultobj;
24115 fail:
24116 return NULL;
24117}
24118
24119
24120static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
24121 PyObject *resultobj;
24122 wxWindow *arg1 = (wxWindow *) 0 ;
24123 long arg2 ;
24124 PyObject * obj0 = 0 ;
994141e6 24125 PyObject * obj1 = 0 ;
d14a1e28
RD
24126 char *kwnames[] = {
24127 (char *) "self",(char *) "exStyle", NULL
24128 };
24129
994141e6 24130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24133 arg2 = (long) SWIG_AsLong(obj1);
24134 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24135 {
24136 PyThreadState* __tstate = wxPyBeginAllowThreads();
24137 (arg1)->SetExtraStyle(arg2);
24138
24139 wxPyEndAllowThreads(__tstate);
24140 if (PyErr_Occurred()) SWIG_fail;
24141 }
24142 Py_INCREF(Py_None); resultobj = Py_None;
24143 return resultobj;
24144 fail:
24145 return NULL;
24146}
24147
24148
24149static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
24150 PyObject *resultobj;
24151 wxWindow *arg1 = (wxWindow *) 0 ;
24152 long result;
24153 PyObject * obj0 = 0 ;
24154 char *kwnames[] = {
24155 (char *) "self", NULL
24156 };
24157
24158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
24159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24161 {
24162 PyThreadState* __tstate = wxPyBeginAllowThreads();
24163 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
24164
24165 wxPyEndAllowThreads(__tstate);
24166 if (PyErr_Occurred()) SWIG_fail;
24167 }
15afbcd0 24168 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
24169 return resultobj;
24170 fail:
24171 return NULL;
24172}
24173
24174
24175static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
24176 PyObject *resultobj;
24177 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24178 bool arg2 = (bool) True ;
d14a1e28
RD
24179 PyObject * obj0 = 0 ;
24180 PyObject * obj1 = 0 ;
24181 char *kwnames[] = {
24182 (char *) "self",(char *) "modal", NULL
24183 };
24184
24185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24188 if (obj1) {
15afbcd0
RD
24189 arg2 = (bool) SWIG_AsBool(obj1);
24190 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24191 }
24192 {
24193 PyThreadState* __tstate = wxPyBeginAllowThreads();
24194 (arg1)->MakeModal(arg2);
24195
24196 wxPyEndAllowThreads(__tstate);
24197 if (PyErr_Occurred()) SWIG_fail;
24198 }
24199 Py_INCREF(Py_None); resultobj = Py_None;
24200 return resultobj;
24201 fail:
24202 return NULL;
24203}
24204
24205
24206static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24207 PyObject *resultobj;
24208 wxWindow *arg1 = (wxWindow *) 0 ;
24209 bool arg2 ;
24210 PyObject * obj0 = 0 ;
24211 PyObject * obj1 = 0 ;
24212 char *kwnames[] = {
24213 (char *) "self",(char *) "enableTheme", NULL
24214 };
24215
24216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24219 arg2 = (bool) SWIG_AsBool(obj1);
24220 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24221 {
24222 PyThreadState* __tstate = wxPyBeginAllowThreads();
24223 (arg1)->SetThemeEnabled(arg2);
24224
24225 wxPyEndAllowThreads(__tstate);
24226 if (PyErr_Occurred()) SWIG_fail;
24227 }
24228 Py_INCREF(Py_None); resultobj = Py_None;
24229 return resultobj;
24230 fail:
24231 return NULL;
24232}
24233
24234
24235static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24236 PyObject *resultobj;
24237 wxWindow *arg1 = (wxWindow *) 0 ;
24238 bool result;
24239 PyObject * obj0 = 0 ;
24240 char *kwnames[] = {
24241 (char *) "self", NULL
24242 };
24243
24244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
24245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
4f89f6a3
RD
24254 {
24255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24256 }
d14a1e28
RD
24257 return resultobj;
24258 fail:
24259 return NULL;
24260}
24261
24262
d14a1e28
RD
24263static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24264 PyObject *resultobj;
24265 wxWindow *arg1 = (wxWindow *) 0 ;
24266 PyObject * obj0 = 0 ;
24267 char *kwnames[] = {
24268 (char *) "self", NULL
24269 };
24270
24271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
24272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24274 {
24275 PyThreadState* __tstate = wxPyBeginAllowThreads();
24276 (arg1)->SetFocus();
24277
24278 wxPyEndAllowThreads(__tstate);
24279 if (PyErr_Occurred()) SWIG_fail;
24280 }
24281 Py_INCREF(Py_None); resultobj = Py_None;
24282 return resultobj;
24283 fail:
24284 return NULL;
24285}
24286
24287
24288static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
24289 PyObject *resultobj;
24290 wxWindow *arg1 = (wxWindow *) 0 ;
24291 PyObject * obj0 = 0 ;
24292 char *kwnames[] = {
24293 (char *) "self", NULL
24294 };
24295
24296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
15afbcd0
RD
24297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24299 {
24300 PyThreadState* __tstate = wxPyBeginAllowThreads();
24301 (arg1)->SetFocusFromKbd();
24302
24303 wxPyEndAllowThreads(__tstate);
24304 if (PyErr_Occurred()) SWIG_fail;
24305 }
24306 Py_INCREF(Py_None); resultobj = Py_None;
24307 return resultobj;
24308 fail:
24309 return NULL;
24310}
24311
24312
24313static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24314 PyObject *resultobj;
24315 wxWindow *result;
24316 char *kwnames[] = {
24317 NULL
24318 };
24319
24320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
24321 {
e3b71cb8 24322 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24323 PyThreadState* __tstate = wxPyBeginAllowThreads();
24324 result = (wxWindow *)wxWindow::FindFocus();
24325
24326 wxPyEndAllowThreads(__tstate);
110da5b0 24327 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24328 }
24329 {
412d302d 24330 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24331 }
24332 return resultobj;
24333 fail:
24334 return NULL;
24335}
24336
24337
24338static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24339 PyObject *resultobj;
24340 wxWindow *arg1 = (wxWindow *) 0 ;
24341 bool result;
24342 PyObject * obj0 = 0 ;
24343 char *kwnames[] = {
24344 (char *) "self", NULL
24345 };
24346
24347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
24348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24350 {
24351 PyThreadState* __tstate = wxPyBeginAllowThreads();
24352 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
24353
24354 wxPyEndAllowThreads(__tstate);
24355 if (PyErr_Occurred()) SWIG_fail;
24356 }
4f89f6a3
RD
24357 {
24358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24359 }
d14a1e28
RD
24360 return resultobj;
24361 fail:
24362 return NULL;
24363}
24364
24365
24366static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24367 PyObject *resultobj;
24368 wxWindow *arg1 = (wxWindow *) 0 ;
24369 bool result;
24370 PyObject * obj0 = 0 ;
24371 char *kwnames[] = {
24372 (char *) "self", NULL
24373 };
24374
24375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
24376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24378 {
24379 PyThreadState* __tstate = wxPyBeginAllowThreads();
24380 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
24381
24382 wxPyEndAllowThreads(__tstate);
24383 if (PyErr_Occurred()) SWIG_fail;
24384 }
4f89f6a3
RD
24385 {
24386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24387 }
d14a1e28
RD
24388 return resultobj;
24389 fail:
24390 return NULL;
24391}
24392
24393
24394static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24395 PyObject *resultobj;
24396 wxWindow *arg1 = (wxWindow *) 0 ;
24397 wxWindow *result;
24398 PyObject * obj0 = 0 ;
24399 char *kwnames[] = {
24400 (char *) "self", NULL
24401 };
24402
24403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
24404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24406 {
24407 PyThreadState* __tstate = wxPyBeginAllowThreads();
24408 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
24409
24410 wxPyEndAllowThreads(__tstate);
24411 if (PyErr_Occurred()) SWIG_fail;
24412 }
24413 {
412d302d 24414 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24415 }
24416 return resultobj;
24417 fail:
24418 return NULL;
24419}
24420
24421
24422static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24423 PyObject *resultobj;
24424 wxWindow *arg1 = (wxWindow *) 0 ;
24425 wxWindow *arg2 = (wxWindow *) 0 ;
24426 wxWindow *result;
24427 PyObject * obj0 = 0 ;
24428 PyObject * obj1 = 0 ;
24429 char *kwnames[] = {
24430 (char *) "self",(char *) "child", NULL
24431 };
24432
24433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24438 {
24439 PyThreadState* __tstate = wxPyBeginAllowThreads();
24440 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
24441
24442 wxPyEndAllowThreads(__tstate);
24443 if (PyErr_Occurred()) SWIG_fail;
24444 }
24445 {
412d302d 24446 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24447 }
24448 return resultobj;
24449 fail:
24450 return NULL;
24451}
24452
24453
24454static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24455 PyObject *resultobj;
24456 wxWindow *arg1 = (wxWindow *) 0 ;
24457 wxWindow *arg2 = (wxWindow *) 0 ;
24458 PyObject * obj0 = 0 ;
24459 PyObject * obj1 = 0 ;
24460 char *kwnames[] = {
24461 (char *) "self",(char *) "win", NULL
24462 };
24463
24464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24469 {
24470 PyThreadState* __tstate = wxPyBeginAllowThreads();
24471 (arg1)->SetTmpDefaultItem(arg2);
24472
24473 wxPyEndAllowThreads(__tstate);
24474 if (PyErr_Occurred()) SWIG_fail;
24475 }
24476 Py_INCREF(Py_None); resultobj = Py_None;
24477 return resultobj;
24478 fail:
24479 return NULL;
24480}
24481
24482
908b74cd
RD
24483static PyObject *_wrap_Window_Navigate(PyObject *self, PyObject *args, PyObject *kwargs) {
24484 PyObject *resultobj;
24485 wxWindow *arg1 = (wxWindow *) 0 ;
24486 int arg2 = (int) wxNavigationKeyEvent::IsForward ;
24487 bool result;
24488 PyObject * obj0 = 0 ;
24489 PyObject * obj1 = 0 ;
24490 char *kwnames[] = {
24491 (char *) "self",(char *) "flags", NULL
24492 };
24493
24494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Navigate",kwnames,&obj0,&obj1)) goto fail;
24495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24497 if (obj1) {
24498 arg2 = (int) SWIG_AsInt(obj1);
24499 if (PyErr_Occurred()) SWIG_fail;
24500 }
24501 {
24502 PyThreadState* __tstate = wxPyBeginAllowThreads();
24503 result = (bool)(arg1)->Navigate(arg2);
24504
24505 wxPyEndAllowThreads(__tstate);
24506 if (PyErr_Occurred()) SWIG_fail;
24507 }
24508 {
24509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24510 }
24511 return resultobj;
24512 fail:
24513 return NULL;
24514}
24515
24516
7f98d120
RD
24517static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *self, PyObject *args, PyObject *kwargs) {
24518 PyObject *resultobj;
24519 wxWindow *arg1 = (wxWindow *) 0 ;
24520 wxWindow *arg2 = (wxWindow *) 0 ;
24521 PyObject * obj0 = 0 ;
24522 PyObject * obj1 = 0 ;
24523 char *kwnames[] = {
24524 (char *) "self",(char *) "win", NULL
24525 };
24526
24527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveAfterInTabOrder",kwnames,&obj0,&obj1)) goto fail;
24528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24530 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24532 {
24533 PyThreadState* __tstate = wxPyBeginAllowThreads();
24534 (arg1)->MoveAfterInTabOrder(arg2);
24535
24536 wxPyEndAllowThreads(__tstate);
24537 if (PyErr_Occurred()) SWIG_fail;
24538 }
24539 Py_INCREF(Py_None); resultobj = Py_None;
24540 return resultobj;
24541 fail:
24542 return NULL;
24543}
24544
24545
24546static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *self, PyObject *args, PyObject *kwargs) {
24547 PyObject *resultobj;
24548 wxWindow *arg1 = (wxWindow *) 0 ;
24549 wxWindow *arg2 = (wxWindow *) 0 ;
24550 PyObject * obj0 = 0 ;
24551 PyObject * obj1 = 0 ;
24552 char *kwnames[] = {
24553 (char *) "self",(char *) "win", NULL
24554 };
24555
24556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames,&obj0,&obj1)) goto fail;
24557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24559 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24561 {
24562 PyThreadState* __tstate = wxPyBeginAllowThreads();
24563 (arg1)->MoveBeforeInTabOrder(arg2);
24564
24565 wxPyEndAllowThreads(__tstate);
24566 if (PyErr_Occurred()) SWIG_fail;
24567 }
24568 Py_INCREF(Py_None); resultobj = Py_None;
24569 return resultobj;
24570 fail:
24571 return NULL;
24572}
24573
24574
d14a1e28
RD
24575static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24576 PyObject *resultobj;
24577 wxWindow *arg1 = (wxWindow *) 0 ;
24578 PyObject *result;
24579 PyObject * obj0 = 0 ;
24580 char *kwnames[] = {
24581 (char *) "self", NULL
24582 };
24583
24584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
24585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24587 {
24588 PyThreadState* __tstate = wxPyBeginAllowThreads();
24589 result = (PyObject *)wxWindow_GetChildren(arg1);
24590
24591 wxPyEndAllowThreads(__tstate);
24592 if (PyErr_Occurred()) SWIG_fail;
24593 }
24594 resultobj = result;
24595 return resultobj;
24596 fail:
24597 return NULL;
24598}
24599
24600
24601static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24602 PyObject *resultobj;
24603 wxWindow *arg1 = (wxWindow *) 0 ;
24604 wxWindow *result;
24605 PyObject * obj0 = 0 ;
24606 char *kwnames[] = {
24607 (char *) "self", NULL
24608 };
24609
24610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
24611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24613 {
24614 PyThreadState* __tstate = wxPyBeginAllowThreads();
24615 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
24616
24617 wxPyEndAllowThreads(__tstate);
24618 if (PyErr_Occurred()) SWIG_fail;
24619 }
24620 {
412d302d 24621 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24622 }
24623 return resultobj;
24624 fail:
24625 return NULL;
24626}
24627
24628
24629static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24630 PyObject *resultobj;
24631 wxWindow *arg1 = (wxWindow *) 0 ;
24632 wxWindow *result;
24633 PyObject * obj0 = 0 ;
24634 char *kwnames[] = {
24635 (char *) "self", NULL
24636 };
24637
24638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
24639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24641 {
24642 PyThreadState* __tstate = wxPyBeginAllowThreads();
24643 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
24644
24645 wxPyEndAllowThreads(__tstate);
24646 if (PyErr_Occurred()) SWIG_fail;
24647 }
24648 {
412d302d 24649 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24650 }
24651 return resultobj;
24652 fail:
24653 return NULL;
24654}
24655
24656
24657static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
24658 PyObject *resultobj;
24659 wxWindow *arg1 = (wxWindow *) 0 ;
24660 bool result;
24661 PyObject * obj0 = 0 ;
24662 char *kwnames[] = {
24663 (char *) "self", NULL
24664 };
24665
24666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
15afbcd0
RD
24667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24669 {
24670 PyThreadState* __tstate = wxPyBeginAllowThreads();
24671 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
24672
24673 wxPyEndAllowThreads(__tstate);
24674 if (PyErr_Occurred()) SWIG_fail;
24675 }
4f89f6a3
RD
24676 {
24677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24678 }
d14a1e28
RD
24679 return resultobj;
24680 fail:
24681 return NULL;
24682}
24683
24684
24685static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
24686 PyObject *resultobj;
24687 wxWindow *arg1 = (wxWindow *) 0 ;
24688 wxWindow *arg2 = (wxWindow *) 0 ;
24689 bool result;
24690 PyObject * obj0 = 0 ;
24691 PyObject * obj1 = 0 ;
24692 char *kwnames[] = {
24693 (char *) "self",(char *) "newParent", NULL
24694 };
24695
24696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24701 {
24702 PyThreadState* __tstate = wxPyBeginAllowThreads();
24703 result = (bool)(arg1)->Reparent(arg2);
24704
24705 wxPyEndAllowThreads(__tstate);
24706 if (PyErr_Occurred()) SWIG_fail;
24707 }
4f89f6a3
RD
24708 {
24709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24710 }
d14a1e28
RD
24711 return resultobj;
24712 fail:
24713 return NULL;
24714}
24715
24716
24717static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24718 PyObject *resultobj;
24719 wxWindow *arg1 = (wxWindow *) 0 ;
24720 wxWindow *arg2 = (wxWindow *) 0 ;
24721 PyObject * obj0 = 0 ;
24722 PyObject * obj1 = 0 ;
24723 char *kwnames[] = {
24724 (char *) "self",(char *) "child", NULL
24725 };
24726
24727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24732 {
24733 PyThreadState* __tstate = wxPyBeginAllowThreads();
24734 (arg1)->AddChild(arg2);
24735
24736 wxPyEndAllowThreads(__tstate);
24737 if (PyErr_Occurred()) SWIG_fail;
24738 }
24739 Py_INCREF(Py_None); resultobj = Py_None;
24740 return resultobj;
24741 fail:
24742 return NULL;
24743}
24744
24745
24746static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24747 PyObject *resultobj;
24748 wxWindow *arg1 = (wxWindow *) 0 ;
24749 wxWindow *arg2 = (wxWindow *) 0 ;
24750 PyObject * obj0 = 0 ;
24751 PyObject * obj1 = 0 ;
24752 char *kwnames[] = {
24753 (char *) "self",(char *) "child", NULL
24754 };
24755
24756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24761 {
24762 PyThreadState* __tstate = wxPyBeginAllowThreads();
24763 (arg1)->RemoveChild(arg2);
24764
24765 wxPyEndAllowThreads(__tstate);
24766 if (PyErr_Occurred()) SWIG_fail;
24767 }
24768 Py_INCREF(Py_None); resultobj = Py_None;
24769 return resultobj;
24770 fail:
24771 return NULL;
24772}
24773
24774
24775static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24776 PyObject *resultobj;
24777 wxWindow *arg1 = (wxWindow *) 0 ;
24778 long arg2 ;
24779 wxWindow *result;
24780 PyObject * obj0 = 0 ;
994141e6 24781 PyObject * obj1 = 0 ;
d14a1e28
RD
24782 char *kwnames[] = {
24783 (char *) "self",(char *) "winid", NULL
24784 };
24785
994141e6 24786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24789 arg2 = (long) SWIG_AsLong(obj1);
24790 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24791 {
24792 PyThreadState* __tstate = wxPyBeginAllowThreads();
24793 result = (wxWindow *)(arg1)->FindWindow(arg2);
24794
24795 wxPyEndAllowThreads(__tstate);
24796 if (PyErr_Occurred()) SWIG_fail;
24797 }
24798 {
412d302d 24799 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24800 }
24801 return resultobj;
24802 fail:
24803 return NULL;
24804}
24805
24806
24807static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24808 PyObject *resultobj;
24809 wxWindow *arg1 = (wxWindow *) 0 ;
24810 wxString *arg2 = 0 ;
24811 wxWindow *result;
e811c8ce 24812 bool temp2 = False ;
d14a1e28
RD
24813 PyObject * obj0 = 0 ;
24814 PyObject * obj1 = 0 ;
24815 char *kwnames[] = {
24816 (char *) "self",(char *) "name", NULL
24817 };
24818
24819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24822 {
24823 arg2 = wxString_in_helper(obj1);
24824 if (arg2 == NULL) SWIG_fail;
e811c8ce 24825 temp2 = True;
d14a1e28
RD
24826 }
24827 {
24828 PyThreadState* __tstate = wxPyBeginAllowThreads();
24829 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
24830
24831 wxPyEndAllowThreads(__tstate);
24832 if (PyErr_Occurred()) SWIG_fail;
24833 }
24834 {
412d302d 24835 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24836 }
24837 {
24838 if (temp2)
24839 delete arg2;
24840 }
24841 return resultobj;
24842 fail:
24843 {
24844 if (temp2)
24845 delete arg2;
24846 }
24847 return NULL;
24848}
24849
24850
24851static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24852 PyObject *resultobj;
24853 wxWindow *arg1 = (wxWindow *) 0 ;
24854 wxEvtHandler *result;
24855 PyObject * obj0 = 0 ;
24856 char *kwnames[] = {
24857 (char *) "self", NULL
24858 };
24859
24860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
24861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24863 {
24864 PyThreadState* __tstate = wxPyBeginAllowThreads();
24865 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
24866
24867 wxPyEndAllowThreads(__tstate);
24868 if (PyErr_Occurred()) SWIG_fail;
24869 }
24870 {
412d302d 24871 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24872 }
24873 return resultobj;
24874 fail:
24875 return NULL;
24876}
24877
24878
24879static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24880 PyObject *resultobj;
24881 wxWindow *arg1 = (wxWindow *) 0 ;
24882 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24883 PyObject * obj0 = 0 ;
24884 PyObject * obj1 = 0 ;
24885 char *kwnames[] = {
24886 (char *) "self",(char *) "handler", NULL
24887 };
24888
24889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24894 {
24895 PyThreadState* __tstate = wxPyBeginAllowThreads();
24896 (arg1)->SetEventHandler(arg2);
24897
24898 wxPyEndAllowThreads(__tstate);
24899 if (PyErr_Occurred()) SWIG_fail;
24900 }
24901 Py_INCREF(Py_None); resultobj = Py_None;
24902 return resultobj;
24903 fail:
24904 return NULL;
24905}
24906
24907
24908static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24909 PyObject *resultobj;
24910 wxWindow *arg1 = (wxWindow *) 0 ;
24911 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24912 PyObject * obj0 = 0 ;
24913 PyObject * obj1 = 0 ;
24914 char *kwnames[] = {
24915 (char *) "self",(char *) "handler", NULL
24916 };
24917
24918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24923 {
24924 PyThreadState* __tstate = wxPyBeginAllowThreads();
24925 (arg1)->PushEventHandler(arg2);
24926
24927 wxPyEndAllowThreads(__tstate);
24928 if (PyErr_Occurred()) SWIG_fail;
24929 }
24930 Py_INCREF(Py_None); resultobj = Py_None;
24931 return resultobj;
24932 fail:
24933 return NULL;
24934}
24935
24936
24937static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24938 PyObject *resultobj;
24939 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24940 bool arg2 = (bool) False ;
d14a1e28
RD
24941 wxEvtHandler *result;
24942 PyObject * obj0 = 0 ;
24943 PyObject * obj1 = 0 ;
24944 char *kwnames[] = {
24945 (char *) "self",(char *) "deleteHandler", NULL
24946 };
24947
24948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24951 if (obj1) {
15afbcd0
RD
24952 arg2 = (bool) SWIG_AsBool(obj1);
24953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24954 }
24955 {
24956 PyThreadState* __tstate = wxPyBeginAllowThreads();
24957 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
24958
24959 wxPyEndAllowThreads(__tstate);
24960 if (PyErr_Occurred()) SWIG_fail;
24961 }
24962 {
412d302d 24963 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24964 }
24965 return resultobj;
24966 fail:
24967 return NULL;
24968}
24969
24970
24971static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24972 PyObject *resultobj;
24973 wxWindow *arg1 = (wxWindow *) 0 ;
24974 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24975 bool result;
24976 PyObject * obj0 = 0 ;
24977 PyObject * obj1 = 0 ;
24978 char *kwnames[] = {
24979 (char *) "self",(char *) "handler", NULL
24980 };
24981
24982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24987 {
24988 PyThreadState* __tstate = wxPyBeginAllowThreads();
24989 result = (bool)(arg1)->RemoveEventHandler(arg2);
24990
24991 wxPyEndAllowThreads(__tstate);
24992 if (PyErr_Occurred()) SWIG_fail;
24993 }
4f89f6a3
RD
24994 {
24995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24996 }
d14a1e28
RD
24997 return resultobj;
24998 fail:
24999 return NULL;
25000}
25001
25002
25003static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
25004 PyObject *resultobj;
25005 wxWindow *arg1 = (wxWindow *) 0 ;
25006 wxValidator *arg2 = 0 ;
25007 PyObject * obj0 = 0 ;
25008 PyObject * obj1 = 0 ;
25009 char *kwnames[] = {
25010 (char *) "self",(char *) "validator", NULL
25011 };
25012
25013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
25017 SWIG_POINTER_EXCEPTION | 0)) == -1)
25018 SWIG_fail;
d14a1e28 25019 if (arg2 == NULL) {
15afbcd0
RD
25020 PyErr_SetString(PyExc_TypeError,"null reference");
25021 SWIG_fail;
d14a1e28
RD
25022 }
25023 {
25024 PyThreadState* __tstate = wxPyBeginAllowThreads();
25025 (arg1)->SetValidator((wxValidator const &)*arg2);
25026
25027 wxPyEndAllowThreads(__tstate);
25028 if (PyErr_Occurred()) SWIG_fail;
25029 }
25030 Py_INCREF(Py_None); resultobj = Py_None;
25031 return resultobj;
25032 fail:
25033 return NULL;
25034}
25035
25036
25037static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
25038 PyObject *resultobj;
25039 wxWindow *arg1 = (wxWindow *) 0 ;
25040 wxValidator *result;
25041 PyObject * obj0 = 0 ;
25042 char *kwnames[] = {
25043 (char *) "self", NULL
25044 };
25045
25046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
15afbcd0
RD
25047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25049 {
25050 PyThreadState* __tstate = wxPyBeginAllowThreads();
25051 result = (wxValidator *)(arg1)->GetValidator();
25052
25053 wxPyEndAllowThreads(__tstate);
25054 if (PyErr_Occurred()) SWIG_fail;
25055 }
25056 {
412d302d 25057 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25058 }
25059 return resultobj;
25060 fail:
25061 return NULL;
25062}
25063
25064
74a57fcd
RD
25065static PyObject *_wrap_Window_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
25066 PyObject *resultobj;
25067 wxWindow *arg1 = (wxWindow *) 0 ;
25068 bool result;
25069 PyObject * obj0 = 0 ;
25070 char *kwnames[] = {
25071 (char *) "self", NULL
25072 };
25073
25074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
25075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25077 {
25078 PyThreadState* __tstate = wxPyBeginAllowThreads();
25079 result = (bool)(arg1)->Validate();
25080
25081 wxPyEndAllowThreads(__tstate);
25082 if (PyErr_Occurred()) SWIG_fail;
25083 }
25084 {
25085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25086 }
25087 return resultobj;
25088 fail:
25089 return NULL;
25090}
25091
25092
25093static PyObject *_wrap_Window_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25094 PyObject *resultobj;
25095 wxWindow *arg1 = (wxWindow *) 0 ;
25096 bool result;
25097 PyObject * obj0 = 0 ;
25098 char *kwnames[] = {
25099 (char *) "self", NULL
25100 };
25101
25102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
25103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25105 {
25106 PyThreadState* __tstate = wxPyBeginAllowThreads();
25107 result = (bool)(arg1)->TransferDataToWindow();
25108
25109 wxPyEndAllowThreads(__tstate);
25110 if (PyErr_Occurred()) SWIG_fail;
25111 }
25112 {
25113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25114 }
25115 return resultobj;
25116 fail:
25117 return NULL;
25118}
25119
25120
25121static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25122 PyObject *resultobj;
25123 wxWindow *arg1 = (wxWindow *) 0 ;
25124 bool result;
25125 PyObject * obj0 = 0 ;
25126 char *kwnames[] = {
25127 (char *) "self", NULL
25128 };
25129
25130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
25131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25133 {
25134 PyThreadState* __tstate = wxPyBeginAllowThreads();
25135 result = (bool)(arg1)->TransferDataFromWindow();
25136
25137 wxPyEndAllowThreads(__tstate);
25138 if (PyErr_Occurred()) SWIG_fail;
25139 }
25140 {
25141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25142 }
25143 return resultobj;
25144 fail:
25145 return NULL;
25146}
25147
25148
25149static PyObject *_wrap_Window_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25150 PyObject *resultobj;
25151 wxWindow *arg1 = (wxWindow *) 0 ;
25152 PyObject * obj0 = 0 ;
25153 char *kwnames[] = {
25154 (char *) "self", NULL
25155 };
25156
25157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
25158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25160 {
25161 PyThreadState* __tstate = wxPyBeginAllowThreads();
25162 (arg1)->InitDialog();
25163
25164 wxPyEndAllowThreads(__tstate);
25165 if (PyErr_Occurred()) SWIG_fail;
25166 }
25167 Py_INCREF(Py_None); resultobj = Py_None;
25168 return resultobj;
25169 fail:
25170 return NULL;
25171}
25172
25173
d14a1e28
RD
25174static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
25175 PyObject *resultobj;
25176 wxWindow *arg1 = (wxWindow *) 0 ;
25177 wxAcceleratorTable *arg2 = 0 ;
25178 PyObject * obj0 = 0 ;
25179 PyObject * obj1 = 0 ;
25180 char *kwnames[] = {
25181 (char *) "self",(char *) "accel", NULL
25182 };
25183
25184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
25188 SWIG_POINTER_EXCEPTION | 0)) == -1)
25189 SWIG_fail;
d14a1e28 25190 if (arg2 == NULL) {
15afbcd0
RD
25191 PyErr_SetString(PyExc_TypeError,"null reference");
25192 SWIG_fail;
d14a1e28
RD
25193 }
25194 {
25195 PyThreadState* __tstate = wxPyBeginAllowThreads();
25196 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
25197
25198 wxPyEndAllowThreads(__tstate);
25199 if (PyErr_Occurred()) SWIG_fail;
25200 }
25201 Py_INCREF(Py_None); resultobj = Py_None;
25202 return resultobj;
25203 fail:
25204 return NULL;
25205}
25206
25207
25208static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
25209 PyObject *resultobj;
25210 wxWindow *arg1 = (wxWindow *) 0 ;
25211 wxAcceleratorTable *result;
25212 PyObject * obj0 = 0 ;
25213 char *kwnames[] = {
25214 (char *) "self", NULL
25215 };
25216
25217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
25218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25220 {
25221 PyThreadState* __tstate = wxPyBeginAllowThreads();
25222 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
25223
25224 wxPyEndAllowThreads(__tstate);
25225 if (PyErr_Occurred()) SWIG_fail;
25226 }
15afbcd0 25227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
d14a1e28
RD
25228 return resultobj;
25229 fail:
25230 return NULL;
25231}
25232
25233
25234static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
25235 PyObject *resultobj;
25236 wxWindow *arg1 = (wxWindow *) 0 ;
25237 int arg2 ;
25238 int arg3 ;
25239 int arg4 ;
25240 bool result;
25241 PyObject * obj0 = 0 ;
994141e6
RD
25242 PyObject * obj1 = 0 ;
25243 PyObject * obj2 = 0 ;
25244 PyObject * obj3 = 0 ;
d14a1e28
RD
25245 char *kwnames[] = {
25246 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25247 };
25248
994141e6 25249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
25250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25252 arg2 = (int) SWIG_AsInt(obj1);
25253 if (PyErr_Occurred()) SWIG_fail;
25254 arg3 = (int) SWIG_AsInt(obj2);
25255 if (PyErr_Occurred()) SWIG_fail;
25256 arg4 = (int) SWIG_AsInt(obj3);
25257 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25258 {
25259 PyThreadState* __tstate = wxPyBeginAllowThreads();
25260 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
25261
25262 wxPyEndAllowThreads(__tstate);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
4f89f6a3
RD
25265 {
25266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25267 }
d14a1e28
RD
25268 return resultobj;
25269 fail:
25270 return NULL;
25271}
25272
25273
25274static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
25275 PyObject *resultobj;
25276 wxWindow *arg1 = (wxWindow *) 0 ;
25277 int arg2 ;
25278 bool result;
25279 PyObject * obj0 = 0 ;
994141e6 25280 PyObject * obj1 = 0 ;
d14a1e28
RD
25281 char *kwnames[] = {
25282 (char *) "self",(char *) "hotkeyId", NULL
25283 };
25284
994141e6 25285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25288 arg2 = (int) SWIG_AsInt(obj1);
25289 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25290 {
25291 PyThreadState* __tstate = wxPyBeginAllowThreads();
25292 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
25293
25294 wxPyEndAllowThreads(__tstate);
25295 if (PyErr_Occurred()) SWIG_fail;
25296 }
4f89f6a3
RD
25297 {
25298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25299 }
d14a1e28
RD
25300 return resultobj;
25301 fail:
25302 return NULL;
25303}
25304
25305
25306static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25307 PyObject *resultobj;
25308 wxWindow *arg1 = (wxWindow *) 0 ;
25309 wxPoint *arg2 = 0 ;
25310 wxPoint result;
25311 wxPoint temp2 ;
25312 PyObject * obj0 = 0 ;
25313 PyObject * obj1 = 0 ;
25314 char *kwnames[] = {
25315 (char *) "self",(char *) "pt", NULL
25316 };
25317
25318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25321 {
25322 arg2 = &temp2;
25323 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25324 }
25325 {
25326 PyThreadState* __tstate = wxPyBeginAllowThreads();
25327 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25328
25329 wxPyEndAllowThreads(__tstate);
25330 if (PyErr_Occurred()) SWIG_fail;
25331 }
25332 {
25333 wxPoint * resultptr;
25334 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25335 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25336 }
25337 return resultobj;
25338 fail:
25339 return NULL;
25340}
25341
25342
25343static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25344 PyObject *resultobj;
25345 wxWindow *arg1 = (wxWindow *) 0 ;
25346 wxSize *arg2 = 0 ;
25347 wxSize result;
25348 wxSize temp2 ;
25349 PyObject * obj0 = 0 ;
25350 PyObject * obj1 = 0 ;
25351 char *kwnames[] = {
25352 (char *) "self",(char *) "sz", NULL
25353 };
25354
25355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25358 {
25359 arg2 = &temp2;
25360 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25361 }
25362 {
25363 PyThreadState* __tstate = wxPyBeginAllowThreads();
25364 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25365
25366 wxPyEndAllowThreads(__tstate);
25367 if (PyErr_Occurred()) SWIG_fail;
25368 }
25369 {
25370 wxSize * resultptr;
25371 resultptr = new wxSize((wxSize &) result);
15afbcd0 25372 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25373 }
25374 return resultobj;
25375 fail:
25376 return NULL;
25377}
25378
25379
25380static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
25381 PyObject *resultobj;
25382 wxWindow *arg1 = (wxWindow *) 0 ;
25383 wxPoint *arg2 = 0 ;
25384 wxPoint result;
25385 wxPoint temp2 ;
25386 PyObject * obj0 = 0 ;
25387 PyObject * obj1 = 0 ;
25388 char *kwnames[] = {
25389 (char *) "self",(char *) "pt", NULL
25390 };
25391
25392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25395 {
25396 arg2 = &temp2;
25397 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25398 }
25399 {
25400 PyThreadState* __tstate = wxPyBeginAllowThreads();
25401 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25402
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 {
25407 wxPoint * resultptr;
25408 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25409 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25410 }
25411 return resultobj;
25412 fail:
25413 return NULL;
25414}
25415
25416
25417static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
25418 PyObject *resultobj;
25419 wxWindow *arg1 = (wxWindow *) 0 ;
25420 wxSize *arg2 = 0 ;
25421 wxSize result;
25422 wxSize temp2 ;
25423 PyObject * obj0 = 0 ;
25424 PyObject * obj1 = 0 ;
25425 char *kwnames[] = {
25426 (char *) "self",(char *) "sz", NULL
25427 };
25428
25429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25432 {
25433 arg2 = &temp2;
25434 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25435 }
25436 {
25437 PyThreadState* __tstate = wxPyBeginAllowThreads();
25438 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25439
25440 wxPyEndAllowThreads(__tstate);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 {
25444 wxSize * resultptr;
25445 resultptr = new wxSize((wxSize &) result);
15afbcd0 25446 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25447 }
25448 return resultobj;
25449 fail:
25450 return NULL;
25451}
25452
25453
25454static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25455 PyObject *resultobj;
25456 wxWindow *arg1 = (wxWindow *) 0 ;
25457 wxPoint *arg2 = 0 ;
25458 wxPoint result;
25459 wxPoint temp2 ;
25460 PyObject * obj0 = 0 ;
25461 PyObject * obj1 = 0 ;
25462 char *kwnames[] = {
25463 (char *) "self",(char *) "pt", NULL
25464 };
25465
25466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25469 {
25470 arg2 = &temp2;
25471 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25472 }
25473 {
25474 PyThreadState* __tstate = wxPyBeginAllowThreads();
25475 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
25476
25477 wxPyEndAllowThreads(__tstate);
25478 if (PyErr_Occurred()) SWIG_fail;
25479 }
25480 {
25481 wxPoint * resultptr;
25482 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25483 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25484 }
25485 return resultobj;
25486 fail:
25487 return NULL;
25488}
25489
25490
25491static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25492 PyObject *resultobj;
25493 wxWindow *arg1 = (wxWindow *) 0 ;
25494 wxSize *arg2 = 0 ;
25495 wxSize result;
25496 wxSize temp2 ;
25497 PyObject * obj0 = 0 ;
25498 PyObject * obj1 = 0 ;
25499 char *kwnames[] = {
25500 (char *) "self",(char *) "sz", NULL
25501 };
25502
25503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25506 {
25507 arg2 = &temp2;
25508 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25509 }
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
25513
25514 wxPyEndAllowThreads(__tstate);
25515 if (PyErr_Occurred()) SWIG_fail;
25516 }
25517 {
25518 wxSize * resultptr;
25519 resultptr = new wxSize((wxSize &) result);
15afbcd0 25520 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25521 }
25522 return resultobj;
25523 fail:
25524 return NULL;
25525}
25526
25527
25528static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
25529 PyObject *resultobj;
25530 wxWindow *arg1 = (wxWindow *) 0 ;
25531 int arg2 ;
25532 int arg3 ;
25533 PyObject * obj0 = 0 ;
994141e6
RD
25534 PyObject * obj1 = 0 ;
25535 PyObject * obj2 = 0 ;
d14a1e28
RD
25536 char *kwnames[] = {
25537 (char *) "self",(char *) "x",(char *) "y", NULL
25538 };
25539
994141e6 25540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25543 arg2 = (int) SWIG_AsInt(obj1);
25544 if (PyErr_Occurred()) SWIG_fail;
25545 arg3 = (int) SWIG_AsInt(obj2);
25546 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25547 {
25548 PyThreadState* __tstate = wxPyBeginAllowThreads();
25549 (arg1)->WarpPointer(arg2,arg3);
25550
25551 wxPyEndAllowThreads(__tstate);
25552 if (PyErr_Occurred()) SWIG_fail;
25553 }
25554 Py_INCREF(Py_None); resultobj = Py_None;
25555 return resultobj;
25556 fail:
25557 return NULL;
25558}
25559
25560
25561static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25562 PyObject *resultobj;
25563 wxWindow *arg1 = (wxWindow *) 0 ;
25564 PyObject * obj0 = 0 ;
25565 char *kwnames[] = {
25566 (char *) "self", NULL
25567 };
25568
25569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
25570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25572 {
25573 PyThreadState* __tstate = wxPyBeginAllowThreads();
25574 (arg1)->CaptureMouse();
25575
25576 wxPyEndAllowThreads(__tstate);
25577 if (PyErr_Occurred()) SWIG_fail;
25578 }
25579 Py_INCREF(Py_None); resultobj = Py_None;
25580 return resultobj;
25581 fail:
25582 return NULL;
25583}
25584
25585
25586static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25587 PyObject *resultobj;
25588 wxWindow *arg1 = (wxWindow *) 0 ;
25589 PyObject * obj0 = 0 ;
25590 char *kwnames[] = {
25591 (char *) "self", NULL
25592 };
25593
25594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
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 (arg1)->ReleaseMouse();
25600
25601 wxPyEndAllowThreads(__tstate);
25602 if (PyErr_Occurred()) SWIG_fail;
25603 }
25604 Py_INCREF(Py_None); resultobj = Py_None;
25605 return resultobj;
25606 fail:
25607 return NULL;
25608}
25609
25610
25611static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25612 PyObject *resultobj;
25613 wxWindow *result;
25614 char *kwnames[] = {
25615 NULL
25616 };
25617
25618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
25619 {
e3b71cb8 25620 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25621 PyThreadState* __tstate = wxPyBeginAllowThreads();
25622 result = (wxWindow *)wxWindow::GetCapture();
25623
25624 wxPyEndAllowThreads(__tstate);
110da5b0 25625 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25626 }
25627 {
412d302d 25628 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25629 }
25630 return resultobj;
25631 fail:
25632 return NULL;
25633}
25634
25635
25636static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25637 PyObject *resultobj;
25638 wxWindow *arg1 = (wxWindow *) 0 ;
25639 bool result;
25640 PyObject * obj0 = 0 ;
25641 char *kwnames[] = {
25642 (char *) "self", NULL
25643 };
25644
25645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
15afbcd0
RD
25646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25648 {
25649 PyThreadState* __tstate = wxPyBeginAllowThreads();
25650 result = (bool)((wxWindow const *)arg1)->HasCapture();
25651
25652 wxPyEndAllowThreads(__tstate);
25653 if (PyErr_Occurred()) SWIG_fail;
25654 }
4f89f6a3
RD
25655 {
25656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25657 }
d14a1e28
RD
25658 return resultobj;
25659 fail:
25660 return NULL;
25661}
25662
25663
25664static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
25665 PyObject *resultobj;
25666 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 25667 bool arg2 = (bool) True ;
d14a1e28
RD
25668 wxRect *arg3 = (wxRect *) NULL ;
25669 PyObject * obj0 = 0 ;
25670 PyObject * obj1 = 0 ;
25671 PyObject * obj2 = 0 ;
25672 char *kwnames[] = {
25673 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25674 };
25675
25676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 25679 if (obj1) {
15afbcd0
RD
25680 arg2 = (bool) SWIG_AsBool(obj1);
25681 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25682 }
25683 if (obj2) {
15afbcd0
RD
25684 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
25685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25686 }
25687 {
25688 PyThreadState* __tstate = wxPyBeginAllowThreads();
25689 (arg1)->Refresh(arg2,(wxRect const *)arg3);
25690
25691 wxPyEndAllowThreads(__tstate);
25692 if (PyErr_Occurred()) SWIG_fail;
25693 }
25694 Py_INCREF(Py_None); resultobj = Py_None;
25695 return resultobj;
25696 fail:
25697 return NULL;
25698}
25699
25700
25701static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25702 PyObject *resultobj;
25703 wxWindow *arg1 = (wxWindow *) 0 ;
25704 wxRect *arg2 = 0 ;
25705 wxRect temp2 ;
25706 PyObject * obj0 = 0 ;
25707 PyObject * obj1 = 0 ;
25708 char *kwnames[] = {
25709 (char *) "self",(char *) "rect", NULL
25710 };
25711
25712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25715 {
25716 arg2 = &temp2;
25717 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25718 }
25719 {
25720 PyThreadState* __tstate = wxPyBeginAllowThreads();
25721 (arg1)->RefreshRect((wxRect const &)*arg2);
25722
25723 wxPyEndAllowThreads(__tstate);
25724 if (PyErr_Occurred()) SWIG_fail;
25725 }
25726 Py_INCREF(Py_None); resultobj = Py_None;
25727 return resultobj;
25728 fail:
25729 return NULL;
25730}
25731
25732
25733static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
25734 PyObject *resultobj;
25735 wxWindow *arg1 = (wxWindow *) 0 ;
25736 PyObject * obj0 = 0 ;
25737 char *kwnames[] = {
25738 (char *) "self", NULL
25739 };
25740
25741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
15afbcd0
RD
25742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25744 {
25745 PyThreadState* __tstate = wxPyBeginAllowThreads();
25746 (arg1)->Update();
25747
25748 wxPyEndAllowThreads(__tstate);
25749 if (PyErr_Occurred()) SWIG_fail;
25750 }
25751 Py_INCREF(Py_None); resultobj = Py_None;
25752 return resultobj;
25753 fail:
25754 return NULL;
25755}
25756
25757
25758static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
25759 PyObject *resultobj;
25760 wxWindow *arg1 = (wxWindow *) 0 ;
25761 PyObject * obj0 = 0 ;
25762 char *kwnames[] = {
25763 (char *) "self", NULL
25764 };
25765
25766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
25767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25769 {
25770 PyThreadState* __tstate = wxPyBeginAllowThreads();
25771 (arg1)->ClearBackground();
25772
25773 wxPyEndAllowThreads(__tstate);
25774 if (PyErr_Occurred()) SWIG_fail;
25775 }
25776 Py_INCREF(Py_None); resultobj = Py_None;
25777 return resultobj;
25778 fail:
25779 return NULL;
25780}
25781
25782
25783static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
25784 PyObject *resultobj;
25785 wxWindow *arg1 = (wxWindow *) 0 ;
25786 PyObject * obj0 = 0 ;
25787 char *kwnames[] = {
25788 (char *) "self", NULL
25789 };
25790
25791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
15afbcd0
RD
25792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25794 {
25795 PyThreadState* __tstate = wxPyBeginAllowThreads();
25796 (arg1)->Freeze();
25797
25798 wxPyEndAllowThreads(__tstate);
25799 if (PyErr_Occurred()) SWIG_fail;
25800 }
25801 Py_INCREF(Py_None); resultobj = Py_None;
25802 return resultobj;
25803 fail:
25804 return NULL;
25805}
25806
25807
25808static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
25809 PyObject *resultobj;
25810 wxWindow *arg1 = (wxWindow *) 0 ;
25811 PyObject * obj0 = 0 ;
25812 char *kwnames[] = {
25813 (char *) "self", NULL
25814 };
25815
25816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
15afbcd0
RD
25817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 (arg1)->Thaw();
25822
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
25826 Py_INCREF(Py_None); resultobj = Py_None;
25827 return resultobj;
25828 fail:
25829 return NULL;
25830}
25831
25832
25833static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
25834 PyObject *resultobj;
25835 wxWindow *arg1 = (wxWindow *) 0 ;
25836 wxDC *arg2 = 0 ;
25837 PyObject * obj0 = 0 ;
25838 PyObject * obj1 = 0 ;
25839 char *kwnames[] = {
25840 (char *) "self",(char *) "dc", NULL
25841 };
25842
25843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25846 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25847 SWIG_POINTER_EXCEPTION | 0)) == -1)
25848 SWIG_fail;
d14a1e28 25849 if (arg2 == NULL) {
15afbcd0
RD
25850 PyErr_SetString(PyExc_TypeError,"null reference");
25851 SWIG_fail;
d14a1e28
RD
25852 }
25853 {
25854 PyThreadState* __tstate = wxPyBeginAllowThreads();
25855 (arg1)->PrepareDC(*arg2);
25856
25857 wxPyEndAllowThreads(__tstate);
25858 if (PyErr_Occurred()) SWIG_fail;
25859 }
25860 Py_INCREF(Py_None); resultobj = Py_None;
25861 return resultobj;
25862 fail:
25863 return NULL;
25864}
25865
25866
25867static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25868 PyObject *resultobj;
25869 wxWindow *arg1 = (wxWindow *) 0 ;
25870 wxRegion *result;
25871 PyObject * obj0 = 0 ;
25872 char *kwnames[] = {
25873 (char *) "self", NULL
25874 };
25875
25876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
15afbcd0
RD
25877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25879 {
25880 PyThreadState* __tstate = wxPyBeginAllowThreads();
25881 {
25882 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
25883 result = (wxRegion *) &_result_ref;
25884 }
25885
25886 wxPyEndAllowThreads(__tstate);
25887 if (PyErr_Occurred()) SWIG_fail;
25888 }
15afbcd0 25889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
d14a1e28
RD
25890 return resultobj;
25891 fail:
25892 return NULL;
25893}
25894
25895
25896static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25897 PyObject *resultobj;
25898 wxWindow *arg1 = (wxWindow *) 0 ;
25899 wxRect result;
25900 PyObject * obj0 = 0 ;
25901 char *kwnames[] = {
25902 (char *) "self", NULL
25903 };
25904
25905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
25906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25908 {
25909 PyThreadState* __tstate = wxPyBeginAllowThreads();
25910 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
25911
25912 wxPyEndAllowThreads(__tstate);
25913 if (PyErr_Occurred()) SWIG_fail;
25914 }
25915 {
25916 wxRect * resultptr;
25917 resultptr = new wxRect((wxRect &) result);
15afbcd0 25918 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
25919 }
25920 return resultobj;
25921 fail:
25922 return NULL;
25923}
25924
25925
25926static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
25927 PyObject *resultobj;
25928 wxWindow *arg1 = (wxWindow *) 0 ;
25929 int arg2 ;
25930 int arg3 ;
25931 int arg4 = (int) 1 ;
25932 int arg5 = (int) 1 ;
25933 bool result;
25934 PyObject * obj0 = 0 ;
994141e6
RD
25935 PyObject * obj1 = 0 ;
25936 PyObject * obj2 = 0 ;
25937 PyObject * obj3 = 0 ;
25938 PyObject * obj4 = 0 ;
d14a1e28
RD
25939 char *kwnames[] = {
25940 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25941 };
25942
994141e6 25943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
25944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25946 arg2 = (int) SWIG_AsInt(obj1);
25947 if (PyErr_Occurred()) SWIG_fail;
25948 arg3 = (int) SWIG_AsInt(obj2);
25949 if (PyErr_Occurred()) SWIG_fail;
994141e6 25950 if (obj3) {
15afbcd0
RD
25951 arg4 = (int) SWIG_AsInt(obj3);
25952 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
25953 }
25954 if (obj4) {
15afbcd0
RD
25955 arg5 = (int) SWIG_AsInt(obj4);
25956 if (PyErr_Occurred()) SWIG_fail;
994141e6 25957 }
d14a1e28
RD
25958 {
25959 PyThreadState* __tstate = wxPyBeginAllowThreads();
25960 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
25961
25962 wxPyEndAllowThreads(__tstate);
25963 if (PyErr_Occurred()) SWIG_fail;
25964 }
4f89f6a3
RD
25965 {
25966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25967 }
d14a1e28
RD
25968 return resultobj;
25969 fail:
25970 return NULL;
25971}
25972
25973
25974static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
25975 PyObject *resultobj;
25976 wxWindow *arg1 = (wxWindow *) 0 ;
25977 wxPoint *arg2 = 0 ;
25978 bool result;
25979 wxPoint temp2 ;
25980 PyObject * obj0 = 0 ;
25981 PyObject * obj1 = 0 ;
25982 char *kwnames[] = {
25983 (char *) "self",(char *) "pt", NULL
25984 };
25985
25986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25989 {
25990 arg2 = &temp2;
25991 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25992 }
25993 {
25994 PyThreadState* __tstate = wxPyBeginAllowThreads();
25995 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
25996
25997 wxPyEndAllowThreads(__tstate);
25998 if (PyErr_Occurred()) SWIG_fail;
25999 }
4f89f6a3
RD
26000 {
26001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26002 }
d14a1e28
RD
26003 return resultobj;
26004 fail:
26005 return NULL;
26006}
26007
26008
4276dc52 26009static PyObject *_wrap_Window_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26010 PyObject *resultobj;
26011 wxWindow *arg1 = (wxWindow *) 0 ;
26012 wxRect *arg2 = 0 ;
26013 bool result;
26014 wxRect temp2 ;
26015 PyObject * obj0 = 0 ;
26016 PyObject * obj1 = 0 ;
26017 char *kwnames[] = {
26018 (char *) "self",(char *) "rect", NULL
26019 };
26020
4276dc52 26021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26024 {
26025 arg2 = &temp2;
26026 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
26027 }
26028 {
26029 PyThreadState* __tstate = wxPyBeginAllowThreads();
26030 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
26031
26032 wxPyEndAllowThreads(__tstate);
26033 if (PyErr_Occurred()) SWIG_fail;
26034 }
4f89f6a3
RD
26035 {
26036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26037 }
d14a1e28
RD
26038 return resultobj;
26039 fail:
26040 return NULL;
26041}
26042
26043
74a57fcd
RD
26044static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
26045 PyObject *resultobj;
26046 wxWindow *arg1 = (wxWindow *) 0 ;
26047 wxVisualAttributes result;
26048 PyObject * obj0 = 0 ;
26049 char *kwnames[] = {
26050 (char *) "self", NULL
26051 };
26052
26053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
26054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26056 {
26057 PyThreadState* __tstate = wxPyBeginAllowThreads();
26058 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
26059
26060 wxPyEndAllowThreads(__tstate);
26061 if (PyErr_Occurred()) SWIG_fail;
26062 }
26063 {
26064 wxVisualAttributes * resultptr;
26065 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26066 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26067 }
26068 return resultobj;
26069 fail:
26070 return NULL;
26071}
26072
26073
26074static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
26075 PyObject *resultobj;
26076 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
26077 wxVisualAttributes result;
26078 PyObject * obj0 = 0 ;
26079 char *kwnames[] = {
26080 (char *) "variant", NULL
26081 };
26082
26083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26084 if (obj0) {
26085 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
26086 if (PyErr_Occurred()) SWIG_fail;
26087 }
26088 {
e3b71cb8 26089 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
26090 PyThreadState* __tstate = wxPyBeginAllowThreads();
26091 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
26092
26093 wxPyEndAllowThreads(__tstate);
110da5b0 26094 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
26095 }
26096 {
26097 wxVisualAttributes * resultptr;
26098 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26100 }
26101 return resultobj;
26102 fail:
26103 return NULL;
26104}
26105
26106
d14a1e28
RD
26107static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26108 PyObject *resultobj;
26109 wxWindow *arg1 = (wxWindow *) 0 ;
26110 wxColour *arg2 = 0 ;
26111 bool result;
26112 wxColour temp2 ;
26113 PyObject * obj0 = 0 ;
26114 PyObject * obj1 = 0 ;
26115 char *kwnames[] = {
26116 (char *) "self",(char *) "colour", NULL
26117 };
26118
26119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26122 {
26123 arg2 = &temp2;
26124 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26125 }
26126 {
26127 PyThreadState* __tstate = wxPyBeginAllowThreads();
26128 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
26129
26130 wxPyEndAllowThreads(__tstate);
26131 if (PyErr_Occurred()) SWIG_fail;
26132 }
4f89f6a3
RD
26133 {
26134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26135 }
d14a1e28
RD
26136 return resultobj;
26137 fail:
26138 return NULL;
26139}
26140
26141
412d302d 26142static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
b2df227b
RD
26143 PyObject *resultobj;
26144 wxWindow *arg1 = (wxWindow *) 0 ;
26145 wxColour *arg2 = 0 ;
26146 wxColour temp2 ;
26147 PyObject * obj0 = 0 ;
26148 PyObject * obj1 = 0 ;
26149 char *kwnames[] = {
26150 (char *) "self",(char *) "colour", NULL
26151 };
26152
412d302d 26153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
26154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26156 {
26157 arg2 = &temp2;
26158 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26159 }
26160 {
26161 PyThreadState* __tstate = wxPyBeginAllowThreads();
412d302d 26162 (arg1)->SetOwnBackgroundColour((wxColour const &)*arg2);
b2df227b
RD
26163
26164 wxPyEndAllowThreads(__tstate);
26165 if (PyErr_Occurred()) SWIG_fail;
26166 }
26167 Py_INCREF(Py_None); resultobj = Py_None;
26168 return resultobj;
26169 fail:
26170 return NULL;
26171}
26172
26173
d14a1e28
RD
26174static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26175 PyObject *resultobj;
26176 wxWindow *arg1 = (wxWindow *) 0 ;
26177 wxColour *arg2 = 0 ;
26178 bool result;
26179 wxColour temp2 ;
26180 PyObject * obj0 = 0 ;
26181 PyObject * obj1 = 0 ;
26182 char *kwnames[] = {
26183 (char *) "self",(char *) "colour", NULL
26184 };
26185
26186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26189 {
26190 arg2 = &temp2;
26191 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26192 }
26193 {
26194 PyThreadState* __tstate = wxPyBeginAllowThreads();
26195 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
26196
26197 wxPyEndAllowThreads(__tstate);
26198 if (PyErr_Occurred()) SWIG_fail;
26199 }
4f89f6a3
RD
26200 {
26201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26202 }
d14a1e28
RD
26203 return resultobj;
26204 fail:
26205 return NULL;
26206}
26207
26208
fa47d7a7 26209static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
b2df227b
RD
26210 PyObject *resultobj;
26211 wxWindow *arg1 = (wxWindow *) 0 ;
26212 wxColour *arg2 = 0 ;
26213 wxColour temp2 ;
26214 PyObject * obj0 = 0 ;
26215 PyObject * obj1 = 0 ;
26216 char *kwnames[] = {
26217 (char *) "self",(char *) "colour", NULL
26218 };
26219
fa47d7a7 26220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnForegroundColour",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
26221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26223 {
26224 arg2 = &temp2;
26225 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26226 }
26227 {
26228 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 26229 (arg1)->SetOwnForegroundColour((wxColour const &)*arg2);
b2df227b
RD
26230
26231 wxPyEndAllowThreads(__tstate);
26232 if (PyErr_Occurred()) SWIG_fail;
26233 }
26234 Py_INCREF(Py_None); resultobj = Py_None;
26235 return resultobj;
26236 fail:
26237 return NULL;
26238}
26239
26240
d14a1e28
RD
26241static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26242 PyObject *resultobj;
26243 wxWindow *arg1 = (wxWindow *) 0 ;
26244 wxColour result;
26245 PyObject * obj0 = 0 ;
26246 char *kwnames[] = {
26247 (char *) "self", NULL
26248 };
26249
26250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
26251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26253 {
26254 PyThreadState* __tstate = wxPyBeginAllowThreads();
26255 result = ((wxWindow const *)arg1)->GetBackgroundColour();
26256
26257 wxPyEndAllowThreads(__tstate);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 }
26260 {
26261 wxColour * resultptr;
26262 resultptr = new wxColour((wxColour &) result);
15afbcd0 26263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26264 }
26265 return resultobj;
26266 fail:
26267 return NULL;
26268}
26269
26270
26271static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26272 PyObject *resultobj;
26273 wxWindow *arg1 = (wxWindow *) 0 ;
26274 wxColour result;
26275 PyObject * obj0 = 0 ;
26276 char *kwnames[] = {
26277 (char *) "self", NULL
26278 };
26279
26280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
26281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26283 {
26284 PyThreadState* __tstate = wxPyBeginAllowThreads();
26285 result = ((wxWindow const *)arg1)->GetForegroundColour();
26286
26287 wxPyEndAllowThreads(__tstate);
26288 if (PyErr_Occurred()) SWIG_fail;
26289 }
26290 {
26291 wxColour * resultptr;
26292 resultptr = new wxColour((wxColour &) result);
15afbcd0 26293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26294 }
26295 return resultobj;
26296 fail:
26297 return NULL;
26298}
26299
26300
26301static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26302 PyObject *resultobj;
26303 wxWindow *arg1 = (wxWindow *) 0 ;
26304 wxCursor *arg2 = 0 ;
26305 bool result;
26306 PyObject * obj0 = 0 ;
26307 PyObject * obj1 = 0 ;
26308 char *kwnames[] = {
26309 (char *) "self",(char *) "cursor", NULL
26310 };
26311
26312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
26316 SWIG_POINTER_EXCEPTION | 0)) == -1)
26317 SWIG_fail;
d14a1e28 26318 if (arg2 == NULL) {
15afbcd0
RD
26319 PyErr_SetString(PyExc_TypeError,"null reference");
26320 SWIG_fail;
d14a1e28
RD
26321 }
26322 {
26323 PyThreadState* __tstate = wxPyBeginAllowThreads();
26324 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
26325
26326 wxPyEndAllowThreads(__tstate);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 }
4f89f6a3
RD
26329 {
26330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26331 }
d14a1e28
RD
26332 return resultobj;
26333 fail:
26334 return NULL;
26335}
26336
26337
26338static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26339 PyObject *resultobj;
26340 wxWindow *arg1 = (wxWindow *) 0 ;
dfbb5885 26341 wxCursor result;
d14a1e28
RD
26342 PyObject * obj0 = 0 ;
26343 char *kwnames[] = {
26344 (char *) "self", NULL
26345 };
26346
26347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
26348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26350 {
26351 PyThreadState* __tstate = wxPyBeginAllowThreads();
dfbb5885 26352 result = (arg1)->GetCursor();
d14a1e28
RD
26353
26354 wxPyEndAllowThreads(__tstate);
26355 if (PyErr_Occurred()) SWIG_fail;
26356 }
4276dc52 26357 {
dfbb5885
RD
26358 wxCursor * resultptr;
26359 resultptr = new wxCursor((wxCursor &) result);
26360 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
4276dc52 26361 }
d14a1e28
RD
26362 return resultobj;
26363 fail:
26364 return NULL;
26365}
26366
26367
26368static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26369 PyObject *resultobj;
26370 wxWindow *arg1 = (wxWindow *) 0 ;
26371 wxFont *arg2 = 0 ;
26372 bool result;
26373 PyObject * obj0 = 0 ;
26374 PyObject * obj1 = 0 ;
26375 char *kwnames[] = {
26376 (char *) "self",(char *) "font", NULL
26377 };
26378
26379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26382 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26383 SWIG_POINTER_EXCEPTION | 0)) == -1)
26384 SWIG_fail;
d14a1e28 26385 if (arg2 == NULL) {
15afbcd0
RD
26386 PyErr_SetString(PyExc_TypeError,"null reference");
26387 SWIG_fail;
d14a1e28
RD
26388 }
26389 {
26390 PyThreadState* __tstate = wxPyBeginAllowThreads();
26391 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
26392
26393 wxPyEndAllowThreads(__tstate);
26394 if (PyErr_Occurred()) SWIG_fail;
26395 }
4f89f6a3
RD
26396 {
26397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26398 }
d14a1e28
RD
26399 return resultobj;
26400 fail:
26401 return NULL;
26402}
26403
26404
fa47d7a7 26405static PyObject *_wrap_Window_SetOwnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
b2df227b
RD
26406 PyObject *resultobj;
26407 wxWindow *arg1 = (wxWindow *) 0 ;
26408 wxFont *arg2 = 0 ;
26409 PyObject * obj0 = 0 ;
26410 PyObject * obj1 = 0 ;
26411 char *kwnames[] = {
26412 (char *) "self",(char *) "font", NULL
26413 };
26414
fa47d7a7 26415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnFont",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
26416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26419 SWIG_POINTER_EXCEPTION | 0)) == -1)
26420 SWIG_fail;
26421 if (arg2 == NULL) {
26422 PyErr_SetString(PyExc_TypeError,"null reference");
26423 SWIG_fail;
26424 }
26425 {
26426 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 26427 (arg1)->SetOwnFont((wxFont const &)*arg2);
b2df227b
RD
26428
26429 wxPyEndAllowThreads(__tstate);
26430 if (PyErr_Occurred()) SWIG_fail;
26431 }
26432 Py_INCREF(Py_None); resultobj = Py_None;
26433 return resultobj;
26434 fail:
26435 return NULL;
26436}
26437
26438
d14a1e28
RD
26439static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26440 PyObject *resultobj;
26441 wxWindow *arg1 = (wxWindow *) 0 ;
dfbb5885 26442 wxFont result;
d14a1e28
RD
26443 PyObject * obj0 = 0 ;
26444 char *kwnames[] = {
26445 (char *) "self", NULL
26446 };
26447
26448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
26449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26451 {
26452 PyThreadState* __tstate = wxPyBeginAllowThreads();
dfbb5885 26453 result = (arg1)->GetFont();
d14a1e28
RD
26454
26455 wxPyEndAllowThreads(__tstate);
26456 if (PyErr_Occurred()) SWIG_fail;
26457 }
4276dc52 26458 {
dfbb5885
RD
26459 wxFont * resultptr;
26460 resultptr = new wxFont((wxFont &) result);
26461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
4276dc52 26462 }
d14a1e28
RD
26463 return resultobj;
26464 fail:
26465 return NULL;
26466}
26467
26468
26469static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26470 PyObject *resultobj;
26471 wxWindow *arg1 = (wxWindow *) 0 ;
26472 wxCaret *arg2 = (wxCaret *) 0 ;
26473 PyObject * obj0 = 0 ;
26474 PyObject * obj1 = 0 ;
26475 char *kwnames[] = {
26476 (char *) "self",(char *) "caret", NULL
26477 };
26478
26479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
26483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26484 {
26485 PyThreadState* __tstate = wxPyBeginAllowThreads();
26486 (arg1)->SetCaret(arg2);
26487
26488 wxPyEndAllowThreads(__tstate);
26489 if (PyErr_Occurred()) SWIG_fail;
26490 }
26491 Py_INCREF(Py_None); resultobj = Py_None;
26492 return resultobj;
26493 fail:
26494 return NULL;
26495}
26496
26497
26498static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26499 PyObject *resultobj;
26500 wxWindow *arg1 = (wxWindow *) 0 ;
26501 wxCaret *result;
26502 PyObject * obj0 = 0 ;
26503 char *kwnames[] = {
26504 (char *) "self", NULL
26505 };
26506
26507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
15afbcd0
RD
26508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26510 {
26511 PyThreadState* __tstate = wxPyBeginAllowThreads();
26512 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
26513
26514 wxPyEndAllowThreads(__tstate);
26515 if (PyErr_Occurred()) SWIG_fail;
26516 }
15afbcd0 26517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
d14a1e28
RD
26518 return resultobj;
26519 fail:
26520 return NULL;
26521}
26522
26523
26524static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
26525 PyObject *resultobj;
26526 wxWindow *arg1 = (wxWindow *) 0 ;
26527 int result;
26528 PyObject * obj0 = 0 ;
26529 char *kwnames[] = {
26530 (char *) "self", NULL
26531 };
26532
26533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
26534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26536 {
26537 PyThreadState* __tstate = wxPyBeginAllowThreads();
26538 result = (int)((wxWindow const *)arg1)->GetCharHeight();
26539
26540 wxPyEndAllowThreads(__tstate);
26541 if (PyErr_Occurred()) SWIG_fail;
26542 }
15afbcd0 26543 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26544 return resultobj;
26545 fail:
26546 return NULL;
26547}
26548
26549
26550static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
26551 PyObject *resultobj;
26552 wxWindow *arg1 = (wxWindow *) 0 ;
26553 int result;
26554 PyObject * obj0 = 0 ;
26555 char *kwnames[] = {
26556 (char *) "self", NULL
26557 };
26558
26559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
26560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26562 {
26563 PyThreadState* __tstate = wxPyBeginAllowThreads();
26564 result = (int)((wxWindow const *)arg1)->GetCharWidth();
26565
26566 wxPyEndAllowThreads(__tstate);
26567 if (PyErr_Occurred()) SWIG_fail;
26568 }
15afbcd0 26569 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26570 return resultobj;
26571 fail:
26572 return NULL;
26573}
26574
26575
26576static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26577 PyObject *resultobj;
26578 wxWindow *arg1 = (wxWindow *) 0 ;
26579 wxString *arg2 = 0 ;
26580 int *arg3 = (int *) 0 ;
26581 int *arg4 = (int *) 0 ;
e811c8ce 26582 bool temp2 = False ;
d14a1e28
RD
26583 int temp3 ;
26584 int temp4 ;
26585 PyObject * obj0 = 0 ;
26586 PyObject * obj1 = 0 ;
26587 char *kwnames[] = {
26588 (char *) "self",(char *) "string", NULL
26589 };
26590
26591 arg3 = &temp3;
26592 arg4 = &temp4;
26593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26596 {
26597 arg2 = wxString_in_helper(obj1);
26598 if (arg2 == NULL) SWIG_fail;
e811c8ce 26599 temp2 = True;
d14a1e28
RD
26600 }
26601 {
26602 PyThreadState* __tstate = wxPyBeginAllowThreads();
26603 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
26604
26605 wxPyEndAllowThreads(__tstate);
26606 if (PyErr_Occurred()) SWIG_fail;
26607 }
26608 Py_INCREF(Py_None); resultobj = Py_None;
26609 {
26610 PyObject *o = PyInt_FromLong((long) (*arg3));
26611 resultobj = t_output_helper(resultobj,o);
26612 }
26613 {
26614 PyObject *o = PyInt_FromLong((long) (*arg4));
26615 resultobj = t_output_helper(resultobj,o);
26616 }
26617 {
26618 if (temp2)
26619 delete arg2;
26620 }
26621 return resultobj;
26622 fail:
26623 {
26624 if (temp2)
26625 delete arg2;
26626 }
26627 return NULL;
26628}
26629
26630
26631static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26632 PyObject *resultobj;
26633 wxWindow *arg1 = (wxWindow *) 0 ;
26634 wxString *arg2 = 0 ;
26635 int *arg3 = (int *) 0 ;
26636 int *arg4 = (int *) 0 ;
26637 int *arg5 = (int *) 0 ;
26638 int *arg6 = (int *) 0 ;
26639 wxFont *arg7 = (wxFont *) NULL ;
e811c8ce 26640 bool temp2 = False ;
d14a1e28
RD
26641 int temp3 ;
26642 int temp4 ;
26643 int temp5 ;
26644 int temp6 ;
26645 PyObject * obj0 = 0 ;
26646 PyObject * obj1 = 0 ;
26647 PyObject * obj2 = 0 ;
26648 char *kwnames[] = {
26649 (char *) "self",(char *) "string",(char *) "font", NULL
26650 };
26651
26652 arg3 = &temp3;
26653 arg4 = &temp4;
26654 arg5 = &temp5;
26655 arg6 = &temp6;
26656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26659 {
26660 arg2 = wxString_in_helper(obj1);
26661 if (arg2 == NULL) SWIG_fail;
e811c8ce 26662 temp2 = True;
d14a1e28
RD
26663 }
26664 if (obj2) {
15afbcd0
RD
26665 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
26666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26667 }
26668 {
26669 PyThreadState* __tstate = wxPyBeginAllowThreads();
26670 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
26671
26672 wxPyEndAllowThreads(__tstate);
26673 if (PyErr_Occurred()) SWIG_fail;
26674 }
26675 Py_INCREF(Py_None); resultobj = Py_None;
26676 {
26677 PyObject *o = PyInt_FromLong((long) (*arg3));
26678 resultobj = t_output_helper(resultobj,o);
26679 }
26680 {
26681 PyObject *o = PyInt_FromLong((long) (*arg4));
26682 resultobj = t_output_helper(resultobj,o);
26683 }
26684 {
26685 PyObject *o = PyInt_FromLong((long) (*arg5));
26686 resultobj = t_output_helper(resultobj,o);
26687 }
26688 {
26689 PyObject *o = PyInt_FromLong((long) (*arg6));
26690 resultobj = t_output_helper(resultobj,o);
26691 }
26692 {
26693 if (temp2)
26694 delete arg2;
26695 }
26696 return resultobj;
26697 fail:
26698 {
26699 if (temp2)
26700 delete arg2;
26701 }
26702 return NULL;
26703}
26704
26705
26706static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26707 PyObject *resultobj;
26708 wxWindow *arg1 = (wxWindow *) 0 ;
26709 int *arg2 = (int *) 0 ;
26710 int *arg3 = (int *) 0 ;
26711 int temp2 ;
26712 int temp3 ;
26713 PyObject * obj0 = 0 ;
26714 PyObject * obj1 = 0 ;
26715 PyObject * obj2 = 0 ;
26716 char *kwnames[] = {
26717 (char *) "self",(char *) "x",(char *) "y", NULL
26718 };
26719
26720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26723 {
26724 temp2 = PyInt_AsLong(obj1);
26725 if (PyErr_Occurred()) SWIG_fail;
26726 arg2 = &temp2;
26727 }
26728 {
26729 temp3 = PyInt_AsLong(obj2);
26730 if (PyErr_Occurred()) SWIG_fail;
26731 arg3 = &temp3;
26732 }
26733 {
26734 PyThreadState* __tstate = wxPyBeginAllowThreads();
26735 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
26736
26737 wxPyEndAllowThreads(__tstate);
26738 if (PyErr_Occurred()) SWIG_fail;
26739 }
26740 Py_INCREF(Py_None); resultobj = Py_None;
26741 {
26742 PyObject *o = PyInt_FromLong((long) (*arg2));
26743 resultobj = t_output_helper(resultobj,o);
26744 }
26745 {
26746 PyObject *o = PyInt_FromLong((long) (*arg3));
26747 resultobj = t_output_helper(resultobj,o);
26748 }
26749 return resultobj;
26750 fail:
26751 return NULL;
26752}
26753
26754
26755static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26756 PyObject *resultobj;
26757 wxWindow *arg1 = (wxWindow *) 0 ;
26758 int *arg2 = (int *) 0 ;
26759 int *arg3 = (int *) 0 ;
26760 int temp2 ;
26761 int temp3 ;
26762 PyObject * obj0 = 0 ;
26763 PyObject * obj1 = 0 ;
26764 PyObject * obj2 = 0 ;
26765 char *kwnames[] = {
26766 (char *) "self",(char *) "x",(char *) "y", NULL
26767 };
26768
26769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26772 {
26773 temp2 = PyInt_AsLong(obj1);
26774 if (PyErr_Occurred()) SWIG_fail;
26775 arg2 = &temp2;
26776 }
26777 {
26778 temp3 = PyInt_AsLong(obj2);
26779 if (PyErr_Occurred()) SWIG_fail;
26780 arg3 = &temp3;
26781 }
26782 {
26783 PyThreadState* __tstate = wxPyBeginAllowThreads();
26784 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
26785
26786 wxPyEndAllowThreads(__tstate);
26787 if (PyErr_Occurred()) SWIG_fail;
26788 }
26789 Py_INCREF(Py_None); resultobj = Py_None;
26790 {
26791 PyObject *o = PyInt_FromLong((long) (*arg2));
26792 resultobj = t_output_helper(resultobj,o);
26793 }
26794 {
26795 PyObject *o = PyInt_FromLong((long) (*arg3));
26796 resultobj = t_output_helper(resultobj,o);
26797 }
26798 return resultobj;
26799 fail:
26800 return NULL;
26801}
26802
26803
26804static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
26805 PyObject *resultobj;
26806 wxWindow *arg1 = (wxWindow *) 0 ;
26807 wxPoint *arg2 = 0 ;
26808 wxPoint result;
26809 wxPoint temp2 ;
26810 PyObject * obj0 = 0 ;
26811 PyObject * obj1 = 0 ;
26812 char *kwnames[] = {
26813 (char *) "self",(char *) "pt", NULL
26814 };
26815
26816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26819 {
26820 arg2 = &temp2;
26821 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26822 }
26823 {
26824 PyThreadState* __tstate = wxPyBeginAllowThreads();
26825 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
26826
26827 wxPyEndAllowThreads(__tstate);
26828 if (PyErr_Occurred()) SWIG_fail;
26829 }
26830 {
26831 wxPoint * resultptr;
26832 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 26833 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26834 }
26835 return resultobj;
26836 fail:
26837 return NULL;
26838}
26839
26840
26841static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
26842 PyObject *resultobj;
26843 wxWindow *arg1 = (wxWindow *) 0 ;
26844 wxPoint *arg2 = 0 ;
26845 wxPoint result;
26846 wxPoint temp2 ;
26847 PyObject * obj0 = 0 ;
26848 PyObject * obj1 = 0 ;
26849 char *kwnames[] = {
26850 (char *) "self",(char *) "pt", NULL
26851 };
26852
26853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26856 {
26857 arg2 = &temp2;
26858 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26859 }
26860 {
26861 PyThreadState* __tstate = wxPyBeginAllowThreads();
26862 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
26863
26864 wxPyEndAllowThreads(__tstate);
26865 if (PyErr_Occurred()) SWIG_fail;
26866 }
26867 {
26868 wxPoint * resultptr;
26869 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 26870 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26871 }
26872 return resultobj;
26873 fail:
26874 return NULL;
26875}
26876
26877
26878static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26879 PyObject *resultobj;
26880 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce
RD
26881 int arg2 ;
26882 int arg3 ;
d14a1e28
RD
26883 int result;
26884 PyObject * obj0 = 0 ;
994141e6
RD
26885 PyObject * obj1 = 0 ;
26886 PyObject * obj2 = 0 ;
d14a1e28
RD
26887 char *kwnames[] = {
26888 (char *) "self",(char *) "x",(char *) "y", NULL
26889 };
26890
994141e6 26891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26894 arg2 = (int) SWIG_AsInt(obj1);
26895 if (PyErr_Occurred()) SWIG_fail;
26896 arg3 = (int) SWIG_AsInt(obj2);
26897 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26898 {
26899 PyThreadState* __tstate = wxPyBeginAllowThreads();
26900 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
26901
26902 wxPyEndAllowThreads(__tstate);
26903 if (PyErr_Occurred()) SWIG_fail;
26904 }
15afbcd0 26905 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26906 return resultobj;
26907 fail:
26908 return NULL;
26909}
26910
26911
26912static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26913 PyObject *resultobj;
26914 wxWindow *arg1 = (wxWindow *) 0 ;
26915 wxPoint *arg2 = 0 ;
26916 int result;
26917 wxPoint temp2 ;
26918 PyObject * obj0 = 0 ;
26919 PyObject * obj1 = 0 ;
26920 char *kwnames[] = {
26921 (char *) "self",(char *) "pt", NULL
26922 };
26923
26924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26927 {
26928 arg2 = &temp2;
26929 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26930 }
26931 {
26932 PyThreadState* __tstate = wxPyBeginAllowThreads();
26933 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
26934
26935 wxPyEndAllowThreads(__tstate);
26936 if (PyErr_Occurred()) SWIG_fail;
26937 }
15afbcd0 26938 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26939 return resultobj;
26940 fail:
26941 return NULL;
26942}
26943
26944
15afbcd0 26945static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
26946 PyObject *resultobj;
26947 wxWindow *arg1 = (wxWindow *) 0 ;
26948 long arg2 ;
26949 int result;
26950 PyObject * obj0 = 0 ;
994141e6 26951 PyObject * obj1 = 0 ;
d14a1e28 26952
15afbcd0
RD
26953 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
26954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26956 arg2 = (long) SWIG_AsLong(obj1);
26957 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26958 {
26959 PyThreadState* __tstate = wxPyBeginAllowThreads();
26960 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
26961
26962 wxPyEndAllowThreads(__tstate);
26963 if (PyErr_Occurred()) SWIG_fail;
26964 }
15afbcd0 26965 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26966 return resultobj;
26967 fail:
26968 return NULL;
26969}
26970
26971
15afbcd0 26972static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
26973 PyObject *resultobj;
26974 wxWindow *arg1 = (wxWindow *) 0 ;
26975 int result;
26976 PyObject * obj0 = 0 ;
d14a1e28 26977
15afbcd0
RD
26978 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
26979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26981 {
26982 PyThreadState* __tstate = wxPyBeginAllowThreads();
26983 result = (int)((wxWindow const *)arg1)->GetBorder();
26984
26985 wxPyEndAllowThreads(__tstate);
26986 if (PyErr_Occurred()) SWIG_fail;
26987 }
15afbcd0 26988 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26989 return resultobj;
26990 fail:
26991 return NULL;
26992}
26993
26994
15afbcd0
RD
26995static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
26996 int argc;
26997 PyObject *argv[3];
26998 int ii;
26999
27000 argc = PyObject_Length(args);
27001 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
27002 argv[ii] = PyTuple_GetItem(args,ii);
27003 }
27004 if (argc == 1) {
27005 int _v;
27006 {
27007 void *ptr;
27008 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
27009 _v = 0;
27010 PyErr_Clear();
27011 } else {
27012 _v = 1;
27013 }
27014 }
27015 if (_v) {
27016 return _wrap_Window_GetBorder__SWIG_1(self,args);
27017 }
27018 }
27019 if (argc == 2) {
27020 int _v;
27021 {
27022 void *ptr;
27023 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
27024 _v = 0;
27025 PyErr_Clear();
27026 } else {
27027 _v = 1;
27028 }
27029 }
27030 if (_v) {
27031 _v = SWIG_CheckLong(argv[1]);
27032 if (_v) {
27033 return _wrap_Window_GetBorder__SWIG_0(self,args);
27034 }
27035 }
27036 }
27037
27038 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
27039 return NULL;
27040}
27041
27042
d14a1e28
RD
27043static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
27044 PyObject *resultobj;
27045 wxWindow *arg1 = (wxWindow *) 0 ;
27046 long arg2 = (long) wxUPDATE_UI_NONE ;
27047 PyObject * obj0 = 0 ;
994141e6 27048 PyObject * obj1 = 0 ;
d14a1e28
RD
27049 char *kwnames[] = {
27050 (char *) "self",(char *) "flags", NULL
27051 };
27052
994141e6 27053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 27056 if (obj1) {
15afbcd0
RD
27057 arg2 = (long) SWIG_AsLong(obj1);
27058 if (PyErr_Occurred()) SWIG_fail;
994141e6 27059 }
d14a1e28
RD
27060 {
27061 PyThreadState* __tstate = wxPyBeginAllowThreads();
27062 (arg1)->UpdateWindowUI(arg2);
27063
27064 wxPyEndAllowThreads(__tstate);
27065 if (PyErr_Occurred()) SWIG_fail;
27066 }
27067 Py_INCREF(Py_None); resultobj = Py_None;
27068 return resultobj;
27069 fail:
27070 return NULL;
27071}
27072
27073
27074static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
27075 PyObject *resultobj;
27076 wxWindow *arg1 = (wxWindow *) 0 ;
27077 wxMenu *arg2 = (wxMenu *) 0 ;
b0503257
RD
27078 int arg3 = (int) -1 ;
27079 int arg4 = (int) -1 ;
d14a1e28
RD
27080 bool result;
27081 PyObject * obj0 = 0 ;
27082 PyObject * obj1 = 0 ;
994141e6
RD
27083 PyObject * obj2 = 0 ;
27084 PyObject * obj3 = 0 ;
d14a1e28
RD
27085 char *kwnames[] = {
27086 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27087 };
27088
b0503257 27089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
27093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b0503257
RD
27094 if (obj2) {
27095 arg3 = (int) SWIG_AsInt(obj2);
27096 if (PyErr_Occurred()) SWIG_fail;
27097 }
27098 if (obj3) {
27099 arg4 = (int) SWIG_AsInt(obj3);
27100 if (PyErr_Occurred()) SWIG_fail;
27101 }
d14a1e28
RD
27102 {
27103 PyThreadState* __tstate = wxPyBeginAllowThreads();
27104 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
27105
27106 wxPyEndAllowThreads(__tstate);
27107 if (PyErr_Occurred()) SWIG_fail;
27108 }
4f89f6a3
RD
27109 {
27110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27111 }
d14a1e28
RD
27112 return resultobj;
27113 fail:
27114 return NULL;
27115}
27116
27117
27118static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27119 PyObject *resultobj;
27120 wxWindow *arg1 = (wxWindow *) 0 ;
27121 wxMenu *arg2 = (wxMenu *) 0 ;
b0503257
RD
27122 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27123 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
d14a1e28
RD
27124 bool result;
27125 wxPoint temp3 ;
27126 PyObject * obj0 = 0 ;
27127 PyObject * obj1 = 0 ;
27128 PyObject * obj2 = 0 ;
27129 char *kwnames[] = {
27130 (char *) "self",(char *) "menu",(char *) "pos", NULL
27131 };
27132
b0503257 27133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
27137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b0503257
RD
27138 if (obj2) {
27139 {
27140 arg3 = &temp3;
27141 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27142 }
d14a1e28
RD
27143 }
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
27147
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
4f89f6a3
RD
27151 {
27152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27153 }
d14a1e28
RD
27154 return resultobj;
27155 fail:
27156 return NULL;
27157}
27158
27159
27160static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
27161 PyObject *resultobj;
27162 wxWindow *arg1 = (wxWindow *) 0 ;
27163 long result;
27164 PyObject * obj0 = 0 ;
27165 char *kwnames[] = {
27166 (char *) "self", NULL
27167 };
27168
27169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
15afbcd0
RD
27170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27172 {
27173 PyThreadState* __tstate = wxPyBeginAllowThreads();
27174 result = (long)wxWindow_GetHandle(arg1);
27175
27176 wxPyEndAllowThreads(__tstate);
27177 if (PyErr_Occurred()) SWIG_fail;
27178 }
15afbcd0 27179 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
27180 return resultobj;
27181 fail:
27182 return NULL;
27183}
27184
27185
27186static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
27187 PyObject *resultobj;
27188 wxWindow *arg1 = (wxWindow *) 0 ;
27189 int arg2 ;
27190 bool result;
27191 PyObject * obj0 = 0 ;
994141e6 27192 PyObject * obj1 = 0 ;
d14a1e28
RD
27193 char *kwnames[] = {
27194 (char *) "self",(char *) "orient", NULL
27195 };
27196
994141e6 27197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27200 arg2 = (int) SWIG_AsInt(obj1);
27201 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27202 {
27203 PyThreadState* __tstate = wxPyBeginAllowThreads();
27204 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
27205
27206 wxPyEndAllowThreads(__tstate);
27207 if (PyErr_Occurred()) SWIG_fail;
27208 }
4f89f6a3
RD
27209 {
27210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27211 }
d14a1e28
RD
27212 return resultobj;
27213 fail:
27214 return NULL;
27215}
27216
27217
27218static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
27219 PyObject *resultobj;
27220 wxWindow *arg1 = (wxWindow *) 0 ;
27221 int arg2 ;
27222 int arg3 ;
27223 int arg4 ;
27224 int arg5 ;
e811c8ce 27225 bool arg6 = (bool) True ;
d14a1e28 27226 PyObject * obj0 = 0 ;
994141e6
RD
27227 PyObject * obj1 = 0 ;
27228 PyObject * obj2 = 0 ;
27229 PyObject * obj3 = 0 ;
27230 PyObject * obj4 = 0 ;
d14a1e28
RD
27231 PyObject * obj5 = 0 ;
27232 char *kwnames[] = {
41e2b43e 27233 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
d14a1e28
RD
27234 };
27235
994141e6 27236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
27237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27239 arg2 = (int) SWIG_AsInt(obj1);
27240 if (PyErr_Occurred()) SWIG_fail;
27241 arg3 = (int) SWIG_AsInt(obj2);
27242 if (PyErr_Occurred()) SWIG_fail;
27243 arg4 = (int) SWIG_AsInt(obj3);
27244 if (PyErr_Occurred()) SWIG_fail;
27245 arg5 = (int) SWIG_AsInt(obj4);
27246 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27247 if (obj5) {
15afbcd0
RD
27248 arg6 = (bool) SWIG_AsBool(obj5);
27249 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27250 }
27251 {
27252 PyThreadState* __tstate = wxPyBeginAllowThreads();
27253 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
27254
27255 wxPyEndAllowThreads(__tstate);
27256 if (PyErr_Occurred()) SWIG_fail;
27257 }
27258 Py_INCREF(Py_None); resultobj = Py_None;
27259 return resultobj;
27260 fail:
27261 return NULL;
27262}
27263
27264
27265static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27266 PyObject *resultobj;
27267 wxWindow *arg1 = (wxWindow *) 0 ;
27268 int arg2 ;
27269 int arg3 ;
e811c8ce 27270 bool arg4 = (bool) True ;
d14a1e28 27271 PyObject * obj0 = 0 ;
994141e6
RD
27272 PyObject * obj1 = 0 ;
27273 PyObject * obj2 = 0 ;
d14a1e28
RD
27274 PyObject * obj3 = 0 ;
27275 char *kwnames[] = {
15afbcd0 27276 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
d14a1e28
RD
27277 };
27278
994141e6 27279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27282 arg2 = (int) SWIG_AsInt(obj1);
27283 if (PyErr_Occurred()) SWIG_fail;
27284 arg3 = (int) SWIG_AsInt(obj2);
27285 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27286 if (obj3) {
15afbcd0
RD
27287 arg4 = (bool) SWIG_AsBool(obj3);
27288 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27289 }
27290 {
27291 PyThreadState* __tstate = wxPyBeginAllowThreads();
27292 (arg1)->SetScrollPos(arg2,arg3,arg4);
27293
27294 wxPyEndAllowThreads(__tstate);
27295 if (PyErr_Occurred()) SWIG_fail;
27296 }
27297 Py_INCREF(Py_None); resultobj = Py_None;
27298 return resultobj;
27299 fail:
27300 return NULL;
27301}
27302
27303
27304static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27305 PyObject *resultobj;
27306 wxWindow *arg1 = (wxWindow *) 0 ;
27307 int arg2 ;
27308 int result;
27309 PyObject * obj0 = 0 ;
994141e6 27310 PyObject * obj1 = 0 ;
d14a1e28 27311 char *kwnames[] = {
15afbcd0 27312 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27313 };
27314
994141e6 27315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27318 arg2 = (int) SWIG_AsInt(obj1);
27319 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27320 {
27321 PyThreadState* __tstate = wxPyBeginAllowThreads();
27322 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
27323
27324 wxPyEndAllowThreads(__tstate);
27325 if (PyErr_Occurred()) SWIG_fail;
27326 }
15afbcd0 27327 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27328 return resultobj;
27329 fail:
27330 return NULL;
27331}
27332
27333
27334static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
27335 PyObject *resultobj;
27336 wxWindow *arg1 = (wxWindow *) 0 ;
27337 int arg2 ;
27338 int result;
27339 PyObject * obj0 = 0 ;
994141e6 27340 PyObject * obj1 = 0 ;
d14a1e28 27341 char *kwnames[] = {
15afbcd0 27342 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27343 };
27344
994141e6 27345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27348 arg2 = (int) SWIG_AsInt(obj1);
27349 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27350 {
27351 PyThreadState* __tstate = wxPyBeginAllowThreads();
27352 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
27353
27354 wxPyEndAllowThreads(__tstate);
27355 if (PyErr_Occurred()) SWIG_fail;
27356 }
15afbcd0 27357 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27358 return resultobj;
27359 fail:
27360 return NULL;
27361}
27362
27363
27364static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
27365 PyObject *resultobj;
27366 wxWindow *arg1 = (wxWindow *) 0 ;
27367 int arg2 ;
27368 int result;
27369 PyObject * obj0 = 0 ;
994141e6 27370 PyObject * obj1 = 0 ;
d14a1e28 27371 char *kwnames[] = {
15afbcd0 27372 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27373 };
27374
994141e6 27375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27378 arg2 = (int) SWIG_AsInt(obj1);
27379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27380 {
27381 PyThreadState* __tstate = wxPyBeginAllowThreads();
27382 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
27383
27384 wxPyEndAllowThreads(__tstate);
27385 if (PyErr_Occurred()) SWIG_fail;
27386 }
15afbcd0 27387 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27388 return resultobj;
27389 fail:
27390 return NULL;
27391}
27392
27393
27394static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27395 PyObject *resultobj;
27396 wxWindow *arg1 = (wxWindow *) 0 ;
27397 int arg2 ;
27398 int arg3 ;
27399 wxRect *arg4 = (wxRect *) NULL ;
27400 PyObject * obj0 = 0 ;
994141e6
RD
27401 PyObject * obj1 = 0 ;
27402 PyObject * obj2 = 0 ;
d14a1e28
RD
27403 PyObject * obj3 = 0 ;
27404 char *kwnames[] = {
27405 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27406 };
27407
994141e6 27408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27411 arg2 = (int) SWIG_AsInt(obj1);
27412 if (PyErr_Occurred()) SWIG_fail;
27413 arg3 = (int) SWIG_AsInt(obj2);
27414 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27415 if (obj3) {
15afbcd0
RD
27416 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
27417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27418 }
27419 {
27420 PyThreadState* __tstate = wxPyBeginAllowThreads();
27421 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
27422
27423 wxPyEndAllowThreads(__tstate);
27424 if (PyErr_Occurred()) SWIG_fail;
27425 }
27426 Py_INCREF(Py_None); resultobj = Py_None;
27427 return resultobj;
27428 fail:
27429 return NULL;
27430}
27431
27432
27433static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
27434 PyObject *resultobj;
27435 wxWindow *arg1 = (wxWindow *) 0 ;
27436 int arg2 ;
27437 bool result;
27438 PyObject * obj0 = 0 ;
994141e6 27439 PyObject * obj1 = 0 ;
d14a1e28
RD
27440 char *kwnames[] = {
27441 (char *) "self",(char *) "lines", NULL
27442 };
27443
994141e6 27444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27447 arg2 = (int) SWIG_AsInt(obj1);
27448 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27449 {
27450 PyThreadState* __tstate = wxPyBeginAllowThreads();
27451 result = (bool)(arg1)->ScrollLines(arg2);
27452
27453 wxPyEndAllowThreads(__tstate);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
4f89f6a3
RD
27456 {
27457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27458 }
d14a1e28
RD
27459 return resultobj;
27460 fail:
27461 return NULL;
27462}
27463
27464
27465static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
27466 PyObject *resultobj;
27467 wxWindow *arg1 = (wxWindow *) 0 ;
27468 int arg2 ;
27469 bool result;
27470 PyObject * obj0 = 0 ;
994141e6 27471 PyObject * obj1 = 0 ;
d14a1e28
RD
27472 char *kwnames[] = {
27473 (char *) "self",(char *) "pages", NULL
27474 };
27475
994141e6 27476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27479 arg2 = (int) SWIG_AsInt(obj1);
27480 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27481 {
27482 PyThreadState* __tstate = wxPyBeginAllowThreads();
27483 result = (bool)(arg1)->ScrollPages(arg2);
27484
27485 wxPyEndAllowThreads(__tstate);
27486 if (PyErr_Occurred()) SWIG_fail;
27487 }
4f89f6a3
RD
27488 {
27489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27490 }
d14a1e28
RD
27491 return resultobj;
27492 fail:
27493 return NULL;
27494}
27495
27496
27497static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27498 PyObject *resultobj;
27499 wxWindow *arg1 = (wxWindow *) 0 ;
27500 bool result;
27501 PyObject * obj0 = 0 ;
27502 char *kwnames[] = {
27503 (char *) "self", NULL
27504 };
27505
27506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
27507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27509 {
27510 PyThreadState* __tstate = wxPyBeginAllowThreads();
27511 result = (bool)(arg1)->LineUp();
27512
27513 wxPyEndAllowThreads(__tstate);
27514 if (PyErr_Occurred()) SWIG_fail;
27515 }
4f89f6a3
RD
27516 {
27517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27518 }
d14a1e28
RD
27519 return resultobj;
27520 fail:
27521 return NULL;
27522}
27523
27524
27525static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27526 PyObject *resultobj;
27527 wxWindow *arg1 = (wxWindow *) 0 ;
27528 bool result;
27529 PyObject * obj0 = 0 ;
27530 char *kwnames[] = {
27531 (char *) "self", NULL
27532 };
27533
27534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
27535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27537 {
27538 PyThreadState* __tstate = wxPyBeginAllowThreads();
27539 result = (bool)(arg1)->LineDown();
27540
27541 wxPyEndAllowThreads(__tstate);
27542 if (PyErr_Occurred()) SWIG_fail;
27543 }
4f89f6a3
RD
27544 {
27545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27546 }
d14a1e28
RD
27547 return resultobj;
27548 fail:
27549 return NULL;
27550}
27551
27552
27553static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27554 PyObject *resultobj;
27555 wxWindow *arg1 = (wxWindow *) 0 ;
27556 bool result;
27557 PyObject * obj0 = 0 ;
27558 char *kwnames[] = {
27559 (char *) "self", NULL
27560 };
27561
27562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
27563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27565 {
27566 PyThreadState* __tstate = wxPyBeginAllowThreads();
27567 result = (bool)(arg1)->PageUp();
27568
27569 wxPyEndAllowThreads(__tstate);
27570 if (PyErr_Occurred()) SWIG_fail;
27571 }
4f89f6a3
RD
27572 {
27573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27574 }
d14a1e28
RD
27575 return resultobj;
27576 fail:
27577 return NULL;
27578}
27579
27580
27581static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27582 PyObject *resultobj;
27583 wxWindow *arg1 = (wxWindow *) 0 ;
27584 bool result;
27585 PyObject * obj0 = 0 ;
27586 char *kwnames[] = {
27587 (char *) "self", NULL
27588 };
27589
27590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
27591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27593 {
27594 PyThreadState* __tstate = wxPyBeginAllowThreads();
27595 result = (bool)(arg1)->PageDown();
27596
27597 wxPyEndAllowThreads(__tstate);
27598 if (PyErr_Occurred()) SWIG_fail;
27599 }
4f89f6a3
RD
27600 {
27601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27602 }
d14a1e28
RD
27603 return resultobj;
27604 fail:
27605 return NULL;
27606}
27607
27608
27609static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27610 PyObject *resultobj;
27611 wxWindow *arg1 = (wxWindow *) 0 ;
27612 wxString *arg2 = 0 ;
e811c8ce 27613 bool temp2 = False ;
d14a1e28
RD
27614 PyObject * obj0 = 0 ;
27615 PyObject * obj1 = 0 ;
27616 char *kwnames[] = {
27617 (char *) "self",(char *) "text", NULL
27618 };
27619
27620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27623 {
27624 arg2 = wxString_in_helper(obj1);
27625 if (arg2 == NULL) SWIG_fail;
e811c8ce 27626 temp2 = True;
d14a1e28
RD
27627 }
27628 {
27629 PyThreadState* __tstate = wxPyBeginAllowThreads();
27630 (arg1)->SetHelpText((wxString const &)*arg2);
27631
27632 wxPyEndAllowThreads(__tstate);
27633 if (PyErr_Occurred()) SWIG_fail;
27634 }
27635 Py_INCREF(Py_None); resultobj = Py_None;
27636 {
27637 if (temp2)
27638 delete arg2;
27639 }
27640 return resultobj;
27641 fail:
27642 {
27643 if (temp2)
27644 delete arg2;
27645 }
27646 return NULL;
27647}
27648
27649
27650static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
27651 PyObject *resultobj;
27652 wxWindow *arg1 = (wxWindow *) 0 ;
27653 wxString *arg2 = 0 ;
e811c8ce 27654 bool temp2 = False ;
d14a1e28
RD
27655 PyObject * obj0 = 0 ;
27656 PyObject * obj1 = 0 ;
27657 char *kwnames[] = {
27658 (char *) "self",(char *) "text", NULL
27659 };
27660
27661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27664 {
27665 arg2 = wxString_in_helper(obj1);
27666 if (arg2 == NULL) SWIG_fail;
e811c8ce 27667 temp2 = True;
d14a1e28
RD
27668 }
27669 {
27670 PyThreadState* __tstate = wxPyBeginAllowThreads();
27671 (arg1)->SetHelpTextForId((wxString const &)*arg2);
27672
27673 wxPyEndAllowThreads(__tstate);
27674 if (PyErr_Occurred()) SWIG_fail;
27675 }
27676 Py_INCREF(Py_None); resultobj = Py_None;
27677 {
27678 if (temp2)
27679 delete arg2;
27680 }
27681 return resultobj;
27682 fail:
27683 {
27684 if (temp2)
27685 delete arg2;
27686 }
27687 return NULL;
27688}
27689
27690
27691static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27692 PyObject *resultobj;
27693 wxWindow *arg1 = (wxWindow *) 0 ;
27694 wxString result;
27695 PyObject * obj0 = 0 ;
27696 char *kwnames[] = {
27697 (char *) "self", NULL
27698 };
27699
27700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
15afbcd0
RD
27701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27703 {
27704 PyThreadState* __tstate = wxPyBeginAllowThreads();
27705 result = ((wxWindow const *)arg1)->GetHelpText();
27706
27707 wxPyEndAllowThreads(__tstate);
27708 if (PyErr_Occurred()) SWIG_fail;
27709 }
27710 {
27711#if wxUSE_UNICODE
27712 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27713#else
27714 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27715#endif
27716 }
27717 return resultobj;
27718 fail:
27719 return NULL;
27720}
27721
27722
27723static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
27724 PyObject *resultobj;
27725 wxWindow *arg1 = (wxWindow *) 0 ;
27726 wxString *arg2 = 0 ;
e811c8ce 27727 bool temp2 = False ;
d14a1e28
RD
27728 PyObject * obj0 = 0 ;
27729 PyObject * obj1 = 0 ;
27730 char *kwnames[] = {
27731 (char *) "self",(char *) "tip", NULL
27732 };
27733
27734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27737 {
27738 arg2 = wxString_in_helper(obj1);
27739 if (arg2 == NULL) SWIG_fail;
e811c8ce 27740 temp2 = True;
d14a1e28
RD
27741 }
27742 {
27743 PyThreadState* __tstate = wxPyBeginAllowThreads();
27744 (arg1)->SetToolTip((wxString const &)*arg2);
27745
27746 wxPyEndAllowThreads(__tstate);
27747 if (PyErr_Occurred()) SWIG_fail;
27748 }
27749 Py_INCREF(Py_None); resultobj = Py_None;
27750 {
27751 if (temp2)
27752 delete arg2;
27753 }
27754 return resultobj;
27755 fail:
27756 {
27757 if (temp2)
27758 delete arg2;
27759 }
27760 return NULL;
27761}
27762
27763
27764static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27765 PyObject *resultobj;
27766 wxWindow *arg1 = (wxWindow *) 0 ;
27767 wxToolTip *arg2 = (wxToolTip *) 0 ;
27768 PyObject * obj0 = 0 ;
27769 PyObject * obj1 = 0 ;
27770 char *kwnames[] = {
27771 (char *) "self",(char *) "tip", NULL
27772 };
27773
27774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
27778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27779 {
27780 PyThreadState* __tstate = wxPyBeginAllowThreads();
27781 (arg1)->SetToolTip(arg2);
27782
27783 wxPyEndAllowThreads(__tstate);
27784 if (PyErr_Occurred()) SWIG_fail;
27785 }
27786 Py_INCREF(Py_None); resultobj = Py_None;
27787 return resultobj;
27788 fail:
27789 return NULL;
27790}
27791
27792
27793static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27794 PyObject *resultobj;
27795 wxWindow *arg1 = (wxWindow *) 0 ;
27796 wxToolTip *result;
27797 PyObject * obj0 = 0 ;
27798 char *kwnames[] = {
27799 (char *) "self", NULL
27800 };
27801
27802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
15afbcd0
RD
27803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27805 {
27806 PyThreadState* __tstate = wxPyBeginAllowThreads();
27807 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
27808
27809 wxPyEndAllowThreads(__tstate);
27810 if (PyErr_Occurred()) SWIG_fail;
27811 }
27812 {
412d302d 27813 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
27814 }
27815 return resultobj;
27816 fail:
27817 return NULL;
27818}
27819
27820
27821static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27822 PyObject *resultobj;
27823 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 27824 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
27825 PyObject * obj0 = 0 ;
27826 PyObject * obj1 = 0 ;
27827 char *kwnames[] = {
27828 (char *) "self",(char *) "dropTarget", NULL
27829 };
27830
27831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
27835 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
27836 {
27837 PyThreadState* __tstate = wxPyBeginAllowThreads();
27838 (arg1)->SetDropTarget(arg2);
27839
27840 wxPyEndAllowThreads(__tstate);
27841 if (PyErr_Occurred()) SWIG_fail;
27842 }
27843 Py_INCREF(Py_None); resultobj = Py_None;
27844 return resultobj;
27845 fail:
27846 return NULL;
27847}
27848
27849
27850static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27851 PyObject *resultobj;
27852 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 27853 wxPyDropTarget *result;
d14a1e28
RD
27854 PyObject * obj0 = 0 ;
27855 char *kwnames[] = {
27856 (char *) "self", NULL
27857 };
27858
27859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
27860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27862 {
27863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 27864 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
27865
27866 wxPyEndAllowThreads(__tstate);
27867 if (PyErr_Occurred()) SWIG_fail;
27868 }
15afbcd0 27869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
27870 return resultobj;
27871 fail:
27872 return NULL;
27873}
27874
27875
27876static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27877 PyObject *resultobj;
27878 wxWindow *arg1 = (wxWindow *) 0 ;
27879 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
27880 PyObject * obj0 = 0 ;
27881 PyObject * obj1 = 0 ;
27882 char *kwnames[] = {
27883 (char *) "self",(char *) "constraints", NULL
27884 };
27885
27886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27889 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
27890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27891 {
27892 PyThreadState* __tstate = wxPyBeginAllowThreads();
27893 (arg1)->SetConstraints(arg2);
27894
27895 wxPyEndAllowThreads(__tstate);
27896 if (PyErr_Occurred()) SWIG_fail;
27897 }
27898 Py_INCREF(Py_None); resultobj = Py_None;
27899 return resultobj;
27900 fail:
27901 return NULL;
27902}
27903
27904
27905static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27906 PyObject *resultobj;
27907 wxWindow *arg1 = (wxWindow *) 0 ;
27908 wxLayoutConstraints *result;
27909 PyObject * obj0 = 0 ;
27910 char *kwnames[] = {
27911 (char *) "self", NULL
27912 };
27913
27914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
15afbcd0
RD
27915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27917 {
27918 PyThreadState* __tstate = wxPyBeginAllowThreads();
27919 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
27920
27921 wxPyEndAllowThreads(__tstate);
27922 if (PyErr_Occurred()) SWIG_fail;
27923 }
15afbcd0 27924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
d14a1e28
RD
27925 return resultobj;
27926 fail:
27927 return NULL;
27928}
27929
27930
27931static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27932 PyObject *resultobj;
27933 wxWindow *arg1 = (wxWindow *) 0 ;
27934 bool arg2 ;
27935 PyObject * obj0 = 0 ;
27936 PyObject * obj1 = 0 ;
27937 char *kwnames[] = {
27938 (char *) "self",(char *) "autoLayout", NULL
27939 };
27940
27941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27944 arg2 = (bool) SWIG_AsBool(obj1);
27945 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27946 {
27947 PyThreadState* __tstate = wxPyBeginAllowThreads();
27948 (arg1)->SetAutoLayout(arg2);
27949
27950 wxPyEndAllowThreads(__tstate);
27951 if (PyErr_Occurred()) SWIG_fail;
27952 }
27953 Py_INCREF(Py_None); resultobj = Py_None;
27954 return resultobj;
27955 fail:
27956 return NULL;
27957}
27958
27959
27960static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27961 PyObject *resultobj;
27962 wxWindow *arg1 = (wxWindow *) 0 ;
27963 bool result;
27964 PyObject * obj0 = 0 ;
27965 char *kwnames[] = {
27966 (char *) "self", NULL
27967 };
27968
27969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
15afbcd0
RD
27970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27972 {
27973 PyThreadState* __tstate = wxPyBeginAllowThreads();
27974 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
27975
27976 wxPyEndAllowThreads(__tstate);
27977 if (PyErr_Occurred()) SWIG_fail;
27978 }
4f89f6a3
RD
27979 {
27980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27981 }
d14a1e28
RD
27982 return resultobj;
27983 fail:
27984 return NULL;
27985}
27986
27987
27988static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
27989 PyObject *resultobj;
27990 wxWindow *arg1 = (wxWindow *) 0 ;
27991 bool result;
27992 PyObject * obj0 = 0 ;
27993 char *kwnames[] = {
27994 (char *) "self", NULL
27995 };
27996
27997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
27998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28000 {
28001 PyThreadState* __tstate = wxPyBeginAllowThreads();
28002 result = (bool)(arg1)->Layout();
28003
28004 wxPyEndAllowThreads(__tstate);
28005 if (PyErr_Occurred()) SWIG_fail;
28006 }
4f89f6a3
RD
28007 {
28008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28009 }
d14a1e28
RD
28010 return resultobj;
28011 fail:
28012 return NULL;
28013}
28014
28015
28016static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28017 PyObject *resultobj;
28018 wxWindow *arg1 = (wxWindow *) 0 ;
28019 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 28020 bool arg3 = (bool) True ;
d14a1e28
RD
28021 PyObject * obj0 = 0 ;
28022 PyObject * obj1 = 0 ;
28023 PyObject * obj2 = 0 ;
28024 char *kwnames[] = {
28025 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28026 };
28027
28028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28031 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 28033 if (obj2) {
15afbcd0
RD
28034 arg3 = (bool) SWIG_AsBool(obj2);
28035 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28036 }
28037 {
28038 PyThreadState* __tstate = wxPyBeginAllowThreads();
28039 (arg1)->SetSizer(arg2,arg3);
28040
28041 wxPyEndAllowThreads(__tstate);
28042 if (PyErr_Occurred()) SWIG_fail;
28043 }
28044 Py_INCREF(Py_None); resultobj = Py_None;
28045 return resultobj;
28046 fail:
28047 return NULL;
28048}
28049
28050
28051static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
28052 PyObject *resultobj;
28053 wxWindow *arg1 = (wxWindow *) 0 ;
28054 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 28055 bool arg3 = (bool) True ;
d14a1e28
RD
28056 PyObject * obj0 = 0 ;
28057 PyObject * obj1 = 0 ;
28058 PyObject * obj2 = 0 ;
28059 char *kwnames[] = {
28060 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28061 };
28062
28063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28066 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 28068 if (obj2) {
15afbcd0
RD
28069 arg3 = (bool) SWIG_AsBool(obj2);
28070 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28071 }
28072 {
28073 PyThreadState* __tstate = wxPyBeginAllowThreads();
28074 (arg1)->SetSizerAndFit(arg2,arg3);
28075
28076 wxPyEndAllowThreads(__tstate);
28077 if (PyErr_Occurred()) SWIG_fail;
28078 }
28079 Py_INCREF(Py_None); resultobj = Py_None;
28080 return resultobj;
28081 fail:
28082 return NULL;
28083}
28084
28085
28086static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28087 PyObject *resultobj;
28088 wxWindow *arg1 = (wxWindow *) 0 ;
28089 wxSizer *result;
28090 PyObject * obj0 = 0 ;
28091 char *kwnames[] = {
28092 (char *) "self", NULL
28093 };
28094
28095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
28096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28098 {
28099 PyThreadState* __tstate = wxPyBeginAllowThreads();
28100 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
28101
28102 wxPyEndAllowThreads(__tstate);
28103 if (PyErr_Occurred()) SWIG_fail;
28104 }
28105 {
412d302d 28106 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
28107 }
28108 return resultobj;
28109 fail:
28110 return NULL;
28111}
28112
28113
28114static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28115 PyObject *resultobj;
28116 wxWindow *arg1 = (wxWindow *) 0 ;
28117 wxSizer *arg2 = (wxSizer *) 0 ;
28118 PyObject * obj0 = 0 ;
28119 PyObject * obj1 = 0 ;
28120 char *kwnames[] = {
28121 (char *) "self",(char *) "sizer", NULL
28122 };
28123
28124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28127 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28129 {
28130 PyThreadState* __tstate = wxPyBeginAllowThreads();
28131 (arg1)->SetContainingSizer(arg2);
28132
28133 wxPyEndAllowThreads(__tstate);
28134 if (PyErr_Occurred()) SWIG_fail;
28135 }
28136 Py_INCREF(Py_None); resultobj = Py_None;
28137 return resultobj;
28138 fail:
28139 return NULL;
28140}
28141
28142
28143static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28144 PyObject *resultobj;
28145 wxWindow *arg1 = (wxWindow *) 0 ;
28146 wxSizer *result;
28147 PyObject * obj0 = 0 ;
28148 char *kwnames[] = {
28149 (char *) "self", NULL
28150 };
28151
28152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
28153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28155 {
28156 PyThreadState* __tstate = wxPyBeginAllowThreads();
28157 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
28158
28159 wxPyEndAllowThreads(__tstate);
28160 if (PyErr_Occurred()) SWIG_fail;
28161 }
28162 {
412d302d 28163 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
28164 }
28165 return resultobj;
28166 fail:
28167 return NULL;
28168}
28169
28170
a95a7133
RD
28171static PyObject *_wrap_Window_InheritAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
28172 PyObject *resultobj;
28173 wxWindow *arg1 = (wxWindow *) 0 ;
28174 PyObject * obj0 = 0 ;
28175 char *kwnames[] = {
28176 (char *) "self", NULL
28177 };
28178
28179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail;
28180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28182 {
28183 PyThreadState* __tstate = wxPyBeginAllowThreads();
28184 (arg1)->InheritAttributes();
28185
28186 wxPyEndAllowThreads(__tstate);
28187 if (PyErr_Occurred()) SWIG_fail;
28188 }
28189 Py_INCREF(Py_None); resultobj = Py_None;
28190 return resultobj;
28191 fail:
28192 return NULL;
28193}
28194
28195
28196static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
28197 PyObject *resultobj;
28198 wxWindow *arg1 = (wxWindow *) 0 ;
28199 bool result;
28200 PyObject * obj0 = 0 ;
28201 char *kwnames[] = {
28202 (char *) "self", NULL
28203 };
28204
28205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
28206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28208 {
28209 PyThreadState* __tstate = wxPyBeginAllowThreads();
28210 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
28211
28212 wxPyEndAllowThreads(__tstate);
28213 if (PyErr_Occurred()) SWIG_fail;
28214 }
28215 {
28216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28217 }
28218 return resultobj;
28219 fail:
28220 return NULL;
28221}
28222
28223
d14a1e28
RD
28224static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
28225 PyObject *obj;
28226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28227 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
28228 Py_INCREF(obj);
28229 return Py_BuildValue((char *)"");
28230}
28231static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
28232 PyObject *resultobj;
28233 long arg1 ;
28234 wxWindow *arg2 = (wxWindow *) NULL ;
28235 wxWindow *result;
994141e6 28236 PyObject * obj0 = 0 ;
d14a1e28
RD
28237 PyObject * obj1 = 0 ;
28238 char *kwnames[] = {
28239 (char *) "id",(char *) "parent", NULL
28240 };
28241
994141e6 28242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28243 arg1 = (long) SWIG_AsLong(obj0);
28244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28245 if (obj1) {
15afbcd0
RD
28246 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28248 }
28249 {
e3b71cb8 28250 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28251 PyThreadState* __tstate = wxPyBeginAllowThreads();
28252 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
28253
28254 wxPyEndAllowThreads(__tstate);
110da5b0 28255 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28256 }
28257 {
412d302d 28258 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28259 }
28260 return resultobj;
28261 fail:
28262 return NULL;
28263}
28264
28265
28266static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
28267 PyObject *resultobj;
28268 wxString *arg1 = 0 ;
28269 wxWindow *arg2 = (wxWindow *) NULL ;
28270 wxWindow *result;
e811c8ce 28271 bool temp1 = False ;
d14a1e28
RD
28272 PyObject * obj0 = 0 ;
28273 PyObject * obj1 = 0 ;
28274 char *kwnames[] = {
28275 (char *) "name",(char *) "parent", NULL
28276 };
28277
28278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
28279 {
28280 arg1 = wxString_in_helper(obj0);
28281 if (arg1 == NULL) SWIG_fail;
e811c8ce 28282 temp1 = True;
d14a1e28
RD
28283 }
28284 if (obj1) {
15afbcd0
RD
28285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28287 }
28288 {
e3b71cb8 28289 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28290 PyThreadState* __tstate = wxPyBeginAllowThreads();
28291 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
28292
28293 wxPyEndAllowThreads(__tstate);
110da5b0 28294 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28295 }
28296 {
412d302d 28297 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28298 }
28299 {
28300 if (temp1)
28301 delete arg1;
28302 }
28303 return resultobj;
28304 fail:
28305 {
28306 if (temp1)
28307 delete arg1;
28308 }
28309 return NULL;
28310}
28311
28312
28313static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28314 PyObject *resultobj;
28315 wxString *arg1 = 0 ;
28316 wxWindow *arg2 = (wxWindow *) NULL ;
28317 wxWindow *result;
e811c8ce 28318 bool temp1 = False ;
d14a1e28
RD
28319 PyObject * obj0 = 0 ;
28320 PyObject * obj1 = 0 ;
28321 char *kwnames[] = {
28322 (char *) "label",(char *) "parent", NULL
28323 };
28324
28325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
28326 {
28327 arg1 = wxString_in_helper(obj0);
28328 if (arg1 == NULL) SWIG_fail;
e811c8ce 28329 temp1 = True;
d14a1e28
RD
28330 }
28331 if (obj1) {
15afbcd0
RD
28332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28334 }
28335 {
e3b71cb8 28336 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28337 PyThreadState* __tstate = wxPyBeginAllowThreads();
28338 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
28339
28340 wxPyEndAllowThreads(__tstate);
110da5b0 28341 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28342 }
28343 {
412d302d 28344 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28345 }
28346 {
28347 if (temp1)
28348 delete arg1;
28349 }
28350 return resultobj;
28351 fail:
28352 {
28353 if (temp1)
28354 delete arg1;
28355 }
28356 return NULL;
28357}
28358
28359
28360static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
28361 PyObject *resultobj;
4276dc52
RD
28362 wxWindow *arg1 = (wxWindow *) 0 ;
28363 unsigned long arg2 ;
d14a1e28
RD
28364 wxWindow *result;
28365 PyObject * obj0 = 0 ;
4276dc52 28366 PyObject * obj1 = 0 ;
d14a1e28 28367 char *kwnames[] = {
4276dc52 28368 (char *) "parent",(char *) "_hWnd", NULL
d14a1e28
RD
28369 };
28370
4276dc52
RD
28371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
28372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28374 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
15afbcd0 28375 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28376 {
28377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 28378 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
d14a1e28
RD
28379
28380 wxPyEndAllowThreads(__tstate);
28381 if (PyErr_Occurred()) SWIG_fail;
28382 }
28383 {
412d302d 28384 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28385 }
28386 return resultobj;
28387 fail:
28388 return NULL;
28389}
28390
28391
28392static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
28393 PyObject *resultobj;
28394 wxValidator *result;
28395 char *kwnames[] = {
28396 NULL
28397 };
28398
28399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
28400 {
28401 PyThreadState* __tstate = wxPyBeginAllowThreads();
28402 result = (wxValidator *)new wxValidator();
28403
28404 wxPyEndAllowThreads(__tstate);
28405 if (PyErr_Occurred()) SWIG_fail;
28406 }
b0f7404b 28407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxValidator, 1);
d14a1e28
RD
28408 return resultobj;
28409 fail:
28410 return NULL;
28411}
28412
28413
28414static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
28415 PyObject *resultobj;
28416 wxValidator *arg1 = (wxValidator *) 0 ;
28417 wxValidator *result;
28418 PyObject * obj0 = 0 ;
28419 char *kwnames[] = {
28420 (char *) "self", NULL
28421 };
28422
28423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
28424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28426 {
28427 PyThreadState* __tstate = wxPyBeginAllowThreads();
28428 result = (wxValidator *)(arg1)->Clone();
28429
28430 wxPyEndAllowThreads(__tstate);
28431 if (PyErr_Occurred()) SWIG_fail;
28432 }
28433 {
412d302d 28434 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28435 }
28436 return resultobj;
28437 fail:
28438 return NULL;
28439}
28440
28441
28442static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28443 PyObject *resultobj;
28444 wxValidator *arg1 = (wxValidator *) 0 ;
28445 wxWindow *arg2 = (wxWindow *) 0 ;
28446 bool result;
28447 PyObject * obj0 = 0 ;
28448 PyObject * obj1 = 0 ;
28449 char *kwnames[] = {
28450 (char *) "self",(char *) "parent", NULL
28451 };
28452
28453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28456 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28458 {
28459 PyThreadState* __tstate = wxPyBeginAllowThreads();
28460 result = (bool)(arg1)->Validate(arg2);
28461
28462 wxPyEndAllowThreads(__tstate);
28463 if (PyErr_Occurred()) SWIG_fail;
28464 }
4f89f6a3
RD
28465 {
28466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28467 }
d14a1e28
RD
28468 return resultobj;
28469 fail:
28470 return NULL;
28471}
28472
28473
28474static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28475 PyObject *resultobj;
28476 wxValidator *arg1 = (wxValidator *) 0 ;
28477 bool result;
28478 PyObject * obj0 = 0 ;
28479 char *kwnames[] = {
28480 (char *) "self", NULL
28481 };
28482
28483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28486 {
28487 PyThreadState* __tstate = wxPyBeginAllowThreads();
28488 result = (bool)(arg1)->TransferToWindow();
28489
28490 wxPyEndAllowThreads(__tstate);
28491 if (PyErr_Occurred()) SWIG_fail;
28492 }
4f89f6a3
RD
28493 {
28494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28495 }
d14a1e28
RD
28496 return resultobj;
28497 fail:
28498 return NULL;
28499}
28500
28501
28502static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28503 PyObject *resultobj;
28504 wxValidator *arg1 = (wxValidator *) 0 ;
28505 bool result;
28506 PyObject * obj0 = 0 ;
28507 char *kwnames[] = {
28508 (char *) "self", NULL
28509 };
28510
28511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28514 {
28515 PyThreadState* __tstate = wxPyBeginAllowThreads();
28516 result = (bool)(arg1)->TransferFromWindow();
28517
28518 wxPyEndAllowThreads(__tstate);
28519 if (PyErr_Occurred()) SWIG_fail;
28520 }
4f89f6a3
RD
28521 {
28522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28523 }
d14a1e28
RD
28524 return resultobj;
28525 fail:
28526 return NULL;
28527}
28528
28529
28530static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28531 PyObject *resultobj;
28532 wxValidator *arg1 = (wxValidator *) 0 ;
28533 wxWindow *result;
28534 PyObject * obj0 = 0 ;
28535 char *kwnames[] = {
28536 (char *) "self", NULL
28537 };
28538
28539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28542 {
28543 PyThreadState* __tstate = wxPyBeginAllowThreads();
28544 result = (wxWindow *)(arg1)->GetWindow();
28545
28546 wxPyEndAllowThreads(__tstate);
28547 if (PyErr_Occurred()) SWIG_fail;
28548 }
28549 {
412d302d 28550 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28551 }
28552 return resultobj;
28553 fail:
28554 return NULL;
28555}
28556
28557
28558static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28559 PyObject *resultobj;
28560 wxValidator *arg1 = (wxValidator *) 0 ;
28561 wxWindow *arg2 = (wxWindow *) 0 ;
28562 PyObject * obj0 = 0 ;
28563 PyObject * obj1 = 0 ;
28564 char *kwnames[] = {
28565 (char *) "self",(char *) "window", NULL
28566 };
28567
28568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28573 {
28574 PyThreadState* __tstate = wxPyBeginAllowThreads();
28575 (arg1)->SetWindow(arg2);
28576
28577 wxPyEndAllowThreads(__tstate);
28578 if (PyErr_Occurred()) SWIG_fail;
28579 }
28580 Py_INCREF(Py_None); resultobj = Py_None;
28581 return resultobj;
28582 fail:
28583 return NULL;
28584}
28585
28586
28587static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
28588 PyObject *resultobj;
28589 bool result;
28590 char *kwnames[] = {
28591 NULL
28592 };
28593
28594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
28595 {
28596 PyThreadState* __tstate = wxPyBeginAllowThreads();
28597 result = (bool)wxValidator::IsSilent();
28598
28599 wxPyEndAllowThreads(__tstate);
28600 if (PyErr_Occurred()) SWIG_fail;
28601 }
4f89f6a3
RD
28602 {
28603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28604 }
d14a1e28
RD
28605 return resultobj;
28606 fail:
28607 return NULL;
28608}
28609
28610
28611static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
28612 PyObject *resultobj;
e811c8ce 28613 int arg1 = (int) True ;
994141e6 28614 PyObject * obj0 = 0 ;
d14a1e28
RD
28615 char *kwnames[] = {
28616 (char *) "doIt", NULL
28617 };
28618
994141e6
RD
28619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
28620 if (obj0) {
15afbcd0
RD
28621 arg1 = (int) SWIG_AsInt(obj0);
28622 if (PyErr_Occurred()) SWIG_fail;
994141e6 28623 }
d14a1e28
RD
28624 {
28625 PyThreadState* __tstate = wxPyBeginAllowThreads();
28626 wxValidator::SetBellOnError(arg1);
28627
28628 wxPyEndAllowThreads(__tstate);
28629 if (PyErr_Occurred()) SWIG_fail;
28630 }
28631 Py_INCREF(Py_None); resultobj = Py_None;
28632 return resultobj;
28633 fail:
28634 return NULL;
28635}
28636
28637
28638static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
28639 PyObject *obj;
28640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28641 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
28642 Py_INCREF(obj);
28643 return Py_BuildValue((char *)"");
28644}
28645static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
28646 PyObject *resultobj;
28647 wxPyValidator *result;
28648 char *kwnames[] = {
28649 NULL
28650 };
28651
28652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
28653 {
28654 PyThreadState* __tstate = wxPyBeginAllowThreads();
28655 result = (wxPyValidator *)new wxPyValidator();
28656
28657 wxPyEndAllowThreads(__tstate);
28658 if (PyErr_Occurred()) SWIG_fail;
28659 }
15afbcd0 28660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
d14a1e28
RD
28661 return resultobj;
28662 fail:
28663 return NULL;
28664}
28665
28666
28667static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28668 PyObject *resultobj;
28669 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
28670 PyObject *arg2 = (PyObject *) 0 ;
28671 PyObject *arg3 = (PyObject *) 0 ;
e811c8ce 28672 int arg4 = (int) True ;
d14a1e28
RD
28673 PyObject * obj0 = 0 ;
28674 PyObject * obj1 = 0 ;
28675 PyObject * obj2 = 0 ;
994141e6 28676 PyObject * obj3 = 0 ;
d14a1e28
RD
28677 char *kwnames[] = {
28678 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28679 };
28680
994141e6 28681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
28683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28684 arg2 = obj1;
28685 arg3 = obj2;
994141e6 28686 if (obj3) {
15afbcd0
RD
28687 arg4 = (int) SWIG_AsInt(obj3);
28688 if (PyErr_Occurred()) SWIG_fail;
994141e6 28689 }
d14a1e28
RD
28690 {
28691 PyThreadState* __tstate = wxPyBeginAllowThreads();
28692 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28693
28694 wxPyEndAllowThreads(__tstate);
28695 if (PyErr_Occurred()) SWIG_fail;
28696 }
28697 Py_INCREF(Py_None); resultobj = Py_None;
28698 return resultobj;
28699 fail:
28700 return NULL;
28701}
28702
28703
28704static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
28705 PyObject *obj;
28706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28707 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
28708 Py_INCREF(obj);
28709 return Py_BuildValue((char *)"");
28710}
28711static int _wrap_DefaultValidator_set(PyObject *_val) {
28712 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
28713 return 1;
28714}
28715
28716
28717static PyObject *_wrap_DefaultValidator_get() {
28718 PyObject *pyobj;
28719
15afbcd0 28720 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
d14a1e28
RD
28721 return pyobj;
28722}
28723
28724
28725static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
28726 PyObject *resultobj;
28727 wxString const &arg1_defvalue = wxPyEmptyString ;
28728 wxString *arg1 = (wxString *) &arg1_defvalue ;
28729 long arg2 = (long) 0 ;
28730 wxMenu *result;
e811c8ce 28731 bool temp1 = False ;
d14a1e28 28732 PyObject * obj0 = 0 ;
994141e6 28733 PyObject * obj1 = 0 ;
d14a1e28
RD
28734 char *kwnames[] = {
28735 (char *) "title",(char *) "style", NULL
28736 };
28737
994141e6 28738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
28739 if (obj0) {
28740 {
28741 arg1 = wxString_in_helper(obj0);
28742 if (arg1 == NULL) SWIG_fail;
e811c8ce 28743 temp1 = True;
d14a1e28
RD
28744 }
28745 }
994141e6 28746 if (obj1) {
15afbcd0
RD
28747 arg2 = (long) SWIG_AsLong(obj1);
28748 if (PyErr_Occurred()) SWIG_fail;
994141e6 28749 }
d14a1e28 28750 {
e3b71cb8 28751 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28752 PyThreadState* __tstate = wxPyBeginAllowThreads();
28753 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
28754
28755 wxPyEndAllowThreads(__tstate);
110da5b0 28756 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28757 }
b0f7404b 28758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenu, 1);
d14a1e28
RD
28759 {
28760 if (temp1)
28761 delete arg1;
28762 }
28763 return resultobj;
28764 fail:
28765 {
28766 if (temp1)
28767 delete arg1;
28768 }
28769 return NULL;
28770}
28771
28772
28773static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28774 PyObject *resultobj;
28775 wxMenu *arg1 = (wxMenu *) 0 ;
28776 int arg2 ;
28777 wxString *arg3 = 0 ;
28778 wxString const &arg4_defvalue = wxPyEmptyString ;
28779 wxString *arg4 = (wxString *) &arg4_defvalue ;
28780 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 28781 wxMenuItem *result;
e811c8ce
RD
28782 bool temp3 = False ;
28783 bool temp4 = False ;
d14a1e28 28784 PyObject * obj0 = 0 ;
994141e6 28785 PyObject * obj1 = 0 ;
d14a1e28
RD
28786 PyObject * obj2 = 0 ;
28787 PyObject * obj3 = 0 ;
994141e6 28788 PyObject * obj4 = 0 ;
d14a1e28 28789 char *kwnames[] = {
242b7b46 28790 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
28791 };
28792
994141e6 28793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28796 arg2 = (int) SWIG_AsInt(obj1);
28797 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28798 {
28799 arg3 = wxString_in_helper(obj2);
28800 if (arg3 == NULL) SWIG_fail;
e811c8ce 28801 temp3 = True;
d14a1e28
RD
28802 }
28803 if (obj3) {
28804 {
28805 arg4 = wxString_in_helper(obj3);
28806 if (arg4 == NULL) SWIG_fail;
e811c8ce 28807 temp4 = True;
d14a1e28
RD
28808 }
28809 }
994141e6 28810 if (obj4) {
15afbcd0
RD
28811 arg5 = (wxItemKind) SWIG_AsInt(obj4);
28812 if (PyErr_Occurred()) SWIG_fail;
994141e6 28813 }
d14a1e28
RD
28814 {
28815 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28816 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
28817
28818 wxPyEndAllowThreads(__tstate);
28819 if (PyErr_Occurred()) SWIG_fail;
28820 }
a41e16b6 28821 {
412d302d 28822 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 28823 }
d14a1e28
RD
28824 {
28825 if (temp3)
28826 delete arg3;
28827 }
28828 {
28829 if (temp4)
28830 delete arg4;
28831 }
28832 return resultobj;
28833 fail:
28834 {
28835 if (temp3)
28836 delete arg3;
28837 }
28838 {
28839 if (temp4)
28840 delete arg4;
28841 }
28842 return NULL;
28843}
28844
28845
28846static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28847 PyObject *resultobj;
28848 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 28849 wxMenuItem *result;
d14a1e28
RD
28850 PyObject * obj0 = 0 ;
28851 char *kwnames[] = {
28852 (char *) "self", NULL
28853 };
28854
28855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
28856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28858 {
28859 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28860 result = (wxMenuItem *)(arg1)->AppendSeparator();
d14a1e28
RD
28861
28862 wxPyEndAllowThreads(__tstate);
28863 if (PyErr_Occurred()) SWIG_fail;
28864 }
a41e16b6 28865 {
412d302d 28866 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 28867 }
d14a1e28
RD
28868 return resultobj;
28869 fail:
28870 return NULL;
28871}
28872
28873
28874static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28875 PyObject *resultobj;
28876 wxMenu *arg1 = (wxMenu *) 0 ;
28877 int arg2 ;
28878 wxString *arg3 = 0 ;
28879 wxString const &arg4_defvalue = wxPyEmptyString ;
28880 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 28881 wxMenuItem *result;
e811c8ce
RD
28882 bool temp3 = False ;
28883 bool temp4 = False ;
d14a1e28 28884 PyObject * obj0 = 0 ;
994141e6 28885 PyObject * obj1 = 0 ;
d14a1e28
RD
28886 PyObject * obj2 = 0 ;
28887 PyObject * obj3 = 0 ;
28888 char *kwnames[] = {
242b7b46 28889 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28890 };
28891
994141e6 28892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28895 arg2 = (int) SWIG_AsInt(obj1);
28896 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28897 {
28898 arg3 = wxString_in_helper(obj2);
28899 if (arg3 == NULL) SWIG_fail;
e811c8ce 28900 temp3 = True;
d14a1e28
RD
28901 }
28902 if (obj3) {
28903 {
28904 arg4 = wxString_in_helper(obj3);
28905 if (arg4 == NULL) SWIG_fail;
e811c8ce 28906 temp4 = True;
d14a1e28
RD
28907 }
28908 }
28909 {
28910 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28911 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28912
28913 wxPyEndAllowThreads(__tstate);
28914 if (PyErr_Occurred()) SWIG_fail;
28915 }
a41e16b6 28916 {
412d302d 28917 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 28918 }
d14a1e28
RD
28919 {
28920 if (temp3)
28921 delete arg3;
28922 }
28923 {
28924 if (temp4)
28925 delete arg4;
28926 }
28927 return resultobj;
28928 fail:
28929 {
28930 if (temp3)
28931 delete arg3;
28932 }
28933 {
28934 if (temp4)
28935 delete arg4;
28936 }
28937 return NULL;
28938}
28939
28940
28941static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28942 PyObject *resultobj;
28943 wxMenu *arg1 = (wxMenu *) 0 ;
28944 int arg2 ;
28945 wxString *arg3 = 0 ;
28946 wxString const &arg4_defvalue = wxPyEmptyString ;
28947 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 28948 wxMenuItem *result;
e811c8ce
RD
28949 bool temp3 = False ;
28950 bool temp4 = False ;
d14a1e28 28951 PyObject * obj0 = 0 ;
994141e6 28952 PyObject * obj1 = 0 ;
d14a1e28
RD
28953 PyObject * obj2 = 0 ;
28954 PyObject * obj3 = 0 ;
28955 char *kwnames[] = {
242b7b46 28956 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28957 };
28958
994141e6 28959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28962 arg2 = (int) SWIG_AsInt(obj1);
28963 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28964 {
28965 arg3 = wxString_in_helper(obj2);
28966 if (arg3 == NULL) SWIG_fail;
e811c8ce 28967 temp3 = True;
d14a1e28
RD
28968 }
28969 if (obj3) {
28970 {
28971 arg4 = wxString_in_helper(obj3);
28972 if (arg4 == NULL) SWIG_fail;
e811c8ce 28973 temp4 = True;
d14a1e28
RD
28974 }
28975 }
28976 {
28977 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28978 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28979
28980 wxPyEndAllowThreads(__tstate);
28981 if (PyErr_Occurred()) SWIG_fail;
28982 }
a41e16b6 28983 {
412d302d 28984 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 28985 }
d14a1e28
RD
28986 {
28987 if (temp3)
28988 delete arg3;
28989 }
28990 {
28991 if (temp4)
28992 delete arg4;
28993 }
28994 return resultobj;
28995 fail:
28996 {
28997 if (temp3)
28998 delete arg3;
28999 }
29000 {
29001 if (temp4)
29002 delete arg4;
29003 }
29004 return NULL;
29005}
29006
29007
29008static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29009 PyObject *resultobj;
29010 wxMenu *arg1 = (wxMenu *) 0 ;
29011 int arg2 ;
29012 wxString *arg3 = 0 ;
29013 wxMenu *arg4 = (wxMenu *) 0 ;
29014 wxString const &arg5_defvalue = wxPyEmptyString ;
29015 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29016 wxMenuItem *result;
e811c8ce
RD
29017 bool temp3 = False ;
29018 bool temp5 = False ;
d14a1e28 29019 PyObject * obj0 = 0 ;
994141e6 29020 PyObject * obj1 = 0 ;
d14a1e28
RD
29021 PyObject * obj2 = 0 ;
29022 PyObject * obj3 = 0 ;
29023 PyObject * obj4 = 0 ;
29024 char *kwnames[] = {
242b7b46 29025 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29026 };
29027
994141e6 29028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29031 arg2 = (int) SWIG_AsInt(obj1);
29032 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29033 {
29034 arg3 = wxString_in_helper(obj2);
29035 if (arg3 == NULL) SWIG_fail;
e811c8ce 29036 temp3 = True;
d14a1e28 29037 }
15afbcd0
RD
29038 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29040 if (obj4) {
29041 {
29042 arg5 = wxString_in_helper(obj4);
29043 if (arg5 == NULL) SWIG_fail;
e811c8ce 29044 temp5 = True;
d14a1e28
RD
29045 }
29046 }
29047 {
29048 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29049 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
29050
29051 wxPyEndAllowThreads(__tstate);
29052 if (PyErr_Occurred()) SWIG_fail;
29053 }
a41e16b6 29054 {
412d302d 29055 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29056 }
d14a1e28
RD
29057 {
29058 if (temp3)
29059 delete arg3;
29060 }
29061 {
29062 if (temp5)
29063 delete arg5;
29064 }
29065 return resultobj;
29066 fail:
29067 {
29068 if (temp3)
29069 delete arg3;
29070 }
29071 {
29072 if (temp5)
29073 delete arg5;
29074 }
29075 return NULL;
29076}
29077
29078
29079static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29080 PyObject *resultobj;
29081 wxMenu *arg1 = (wxMenu *) 0 ;
29082 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 29083 wxMenuItem *result;
d14a1e28
RD
29084 PyObject * obj0 = 0 ;
29085 PyObject * obj1 = 0 ;
29086 char *kwnames[] = {
29087 (char *) "self",(char *) "item", NULL
29088 };
29089
29090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29095 {
29096 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29097 result = (wxMenuItem *)(arg1)->Append(arg2);
d14a1e28
RD
29098
29099 wxPyEndAllowThreads(__tstate);
29100 if (PyErr_Occurred()) SWIG_fail;
29101 }
a41e16b6 29102 {
412d302d 29103 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29104 }
d14a1e28
RD
29105 return resultobj;
29106 fail:
29107 return NULL;
29108}
29109
29110
29111static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
29112 PyObject *resultobj;
29113 wxMenu *arg1 = (wxMenu *) 0 ;
29114 PyObject * obj0 = 0 ;
29115 char *kwnames[] = {
29116 (char *) "self", NULL
29117 };
29118
29119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
15afbcd0
RD
29120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29122 {
29123 PyThreadState* __tstate = wxPyBeginAllowThreads();
29124 (arg1)->Break();
29125
29126 wxPyEndAllowThreads(__tstate);
29127 if (PyErr_Occurred()) SWIG_fail;
29128 }
29129 Py_INCREF(Py_None); resultobj = Py_None;
29130 return resultobj;
29131 fail:
29132 return NULL;
29133}
29134
29135
29136static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29137 PyObject *resultobj;
29138 wxMenu *arg1 = (wxMenu *) 0 ;
29139 size_t arg2 ;
29140 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
a41e16b6 29141 wxMenuItem *result;
d14a1e28
RD
29142 PyObject * obj0 = 0 ;
29143 PyObject * obj1 = 0 ;
29144 PyObject * obj2 = 0 ;
29145 char *kwnames[] = {
29146 (char *) "self",(char *) "pos",(char *) "item", NULL
29147 };
29148
29149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29152 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29153 if (PyErr_Occurred()) SWIG_fail;
29154 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
29155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29156 {
29157 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29158 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
29159
29160 wxPyEndAllowThreads(__tstate);
29161 if (PyErr_Occurred()) SWIG_fail;
29162 }
a41e16b6 29163 {
412d302d 29164 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29165 }
d14a1e28
RD
29166 return resultobj;
29167 fail:
29168 return NULL;
29169}
29170
29171
29172static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29173 PyObject *resultobj;
29174 wxMenu *arg1 = (wxMenu *) 0 ;
29175 size_t arg2 ;
29176 int arg3 ;
29177 wxString *arg4 = 0 ;
29178 wxString const &arg5_defvalue = wxPyEmptyString ;
29179 wxString *arg5 = (wxString *) &arg5_defvalue ;
29180 int arg6 = (int) wxITEM_NORMAL ;
a41e16b6 29181 wxMenuItem *result;
e811c8ce
RD
29182 bool temp4 = False ;
29183 bool temp5 = False ;
d14a1e28
RD
29184 PyObject * obj0 = 0 ;
29185 PyObject * obj1 = 0 ;
994141e6 29186 PyObject * obj2 = 0 ;
d14a1e28
RD
29187 PyObject * obj3 = 0 ;
29188 PyObject * obj4 = 0 ;
994141e6 29189 PyObject * obj5 = 0 ;
d14a1e28 29190 char *kwnames[] = {
242b7b46 29191 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29192 };
29193
994141e6 29194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
29195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29197 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29198 if (PyErr_Occurred()) SWIG_fail;
29199 arg3 = (int) SWIG_AsInt(obj2);
29200 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29201 {
29202 arg4 = wxString_in_helper(obj3);
29203 if (arg4 == NULL) SWIG_fail;
e811c8ce 29204 temp4 = True;
d14a1e28
RD
29205 }
29206 if (obj4) {
29207 {
29208 arg5 = wxString_in_helper(obj4);
29209 if (arg5 == NULL) SWIG_fail;
e811c8ce 29210 temp5 = True;
d14a1e28
RD
29211 }
29212 }
994141e6 29213 if (obj5) {
15afbcd0
RD
29214 arg6 = (wxItemKind) SWIG_AsInt(obj5);
29215 if (PyErr_Occurred()) SWIG_fail;
994141e6 29216 }
d14a1e28
RD
29217 {
29218 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29219 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
d14a1e28
RD
29220
29221 wxPyEndAllowThreads(__tstate);
29222 if (PyErr_Occurred()) SWIG_fail;
29223 }
a41e16b6 29224 {
412d302d 29225 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29226 }
d14a1e28
RD
29227 {
29228 if (temp4)
29229 delete arg4;
29230 }
29231 {
29232 if (temp5)
29233 delete arg5;
29234 }
29235 return resultobj;
29236 fail:
29237 {
29238 if (temp4)
29239 delete arg4;
29240 }
29241 {
29242 if (temp5)
29243 delete arg5;
29244 }
29245 return NULL;
29246}
29247
29248
29249static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29250 PyObject *resultobj;
29251 wxMenu *arg1 = (wxMenu *) 0 ;
29252 size_t arg2 ;
a41e16b6 29253 wxMenuItem *result;
d14a1e28
RD
29254 PyObject * obj0 = 0 ;
29255 PyObject * obj1 = 0 ;
29256 char *kwnames[] = {
29257 (char *) "self",(char *) "pos", NULL
29258 };
29259
29260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29263 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29264 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29265 {
29266 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29267 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
d14a1e28
RD
29268
29269 wxPyEndAllowThreads(__tstate);
29270 if (PyErr_Occurred()) SWIG_fail;
29271 }
a41e16b6 29272 {
412d302d 29273 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29274 }
d14a1e28
RD
29275 return resultobj;
29276 fail:
29277 return NULL;
29278}
29279
29280
29281static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29282 PyObject *resultobj;
29283 wxMenu *arg1 = (wxMenu *) 0 ;
29284 size_t arg2 ;
29285 int arg3 ;
29286 wxString *arg4 = 0 ;
29287 wxString const &arg5_defvalue = wxPyEmptyString ;
29288 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29289 wxMenuItem *result;
e811c8ce
RD
29290 bool temp4 = False ;
29291 bool temp5 = False ;
d14a1e28
RD
29292 PyObject * obj0 = 0 ;
29293 PyObject * obj1 = 0 ;
994141e6 29294 PyObject * obj2 = 0 ;
d14a1e28
RD
29295 PyObject * obj3 = 0 ;
29296 PyObject * obj4 = 0 ;
29297 char *kwnames[] = {
242b7b46 29298 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29299 };
29300
994141e6 29301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29304 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29305 if (PyErr_Occurred()) SWIG_fail;
29306 arg3 = (int) SWIG_AsInt(obj2);
29307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29308 {
29309 arg4 = wxString_in_helper(obj3);
29310 if (arg4 == NULL) SWIG_fail;
e811c8ce 29311 temp4 = True;
d14a1e28
RD
29312 }
29313 if (obj4) {
29314 {
29315 arg5 = wxString_in_helper(obj4);
29316 if (arg5 == NULL) SWIG_fail;
e811c8ce 29317 temp5 = True;
d14a1e28
RD
29318 }
29319 }
29320 {
29321 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29322 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29323
29324 wxPyEndAllowThreads(__tstate);
29325 if (PyErr_Occurred()) SWIG_fail;
29326 }
a41e16b6 29327 {
412d302d 29328 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29329 }
d14a1e28
RD
29330 {
29331 if (temp4)
29332 delete arg4;
29333 }
29334 {
29335 if (temp5)
29336 delete arg5;
29337 }
29338 return resultobj;
29339 fail:
29340 {
29341 if (temp4)
29342 delete arg4;
29343 }
29344 {
29345 if (temp5)
29346 delete arg5;
29347 }
29348 return NULL;
29349}
29350
29351
29352static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29353 PyObject *resultobj;
29354 wxMenu *arg1 = (wxMenu *) 0 ;
29355 size_t arg2 ;
29356 int arg3 ;
29357 wxString *arg4 = 0 ;
29358 wxString const &arg5_defvalue = wxPyEmptyString ;
29359 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29360 wxMenuItem *result;
e811c8ce
RD
29361 bool temp4 = False ;
29362 bool temp5 = False ;
d14a1e28
RD
29363 PyObject * obj0 = 0 ;
29364 PyObject * obj1 = 0 ;
994141e6 29365 PyObject * obj2 = 0 ;
d14a1e28
RD
29366 PyObject * obj3 = 0 ;
29367 PyObject * obj4 = 0 ;
29368 char *kwnames[] = {
242b7b46 29369 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29370 };
29371
994141e6 29372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29375 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29376 if (PyErr_Occurred()) SWIG_fail;
29377 arg3 = (int) SWIG_AsInt(obj2);
29378 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29379 {
29380 arg4 = wxString_in_helper(obj3);
29381 if (arg4 == NULL) SWIG_fail;
e811c8ce 29382 temp4 = True;
d14a1e28
RD
29383 }
29384 if (obj4) {
29385 {
29386 arg5 = wxString_in_helper(obj4);
29387 if (arg5 == NULL) SWIG_fail;
e811c8ce 29388 temp5 = True;
d14a1e28
RD
29389 }
29390 }
29391 {
29392 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29393 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29394
29395 wxPyEndAllowThreads(__tstate);
29396 if (PyErr_Occurred()) SWIG_fail;
29397 }
a41e16b6 29398 {
412d302d 29399 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29400 }
d14a1e28
RD
29401 {
29402 if (temp4)
29403 delete arg4;
29404 }
29405 {
29406 if (temp5)
29407 delete arg5;
29408 }
29409 return resultobj;
29410 fail:
29411 {
29412 if (temp4)
29413 delete arg4;
29414 }
29415 {
29416 if (temp5)
29417 delete arg5;
29418 }
29419 return NULL;
29420}
29421
29422
29423static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29424 PyObject *resultobj;
29425 wxMenu *arg1 = (wxMenu *) 0 ;
29426 size_t arg2 ;
29427 int arg3 ;
29428 wxString *arg4 = 0 ;
29429 wxMenu *arg5 = (wxMenu *) 0 ;
29430 wxString const &arg6_defvalue = wxPyEmptyString ;
29431 wxString *arg6 = (wxString *) &arg6_defvalue ;
a41e16b6 29432 wxMenuItem *result;
e811c8ce
RD
29433 bool temp4 = False ;
29434 bool temp6 = False ;
d14a1e28
RD
29435 PyObject * obj0 = 0 ;
29436 PyObject * obj1 = 0 ;
994141e6 29437 PyObject * obj2 = 0 ;
d14a1e28
RD
29438 PyObject * obj3 = 0 ;
29439 PyObject * obj4 = 0 ;
29440 PyObject * obj5 = 0 ;
29441 char *kwnames[] = {
242b7b46 29442 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29443 };
29444
994141e6 29445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
29446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29448 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29449 if (PyErr_Occurred()) SWIG_fail;
29450 arg3 = (int) SWIG_AsInt(obj2);
29451 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29452 {
29453 arg4 = wxString_in_helper(obj3);
29454 if (arg4 == NULL) SWIG_fail;
e811c8ce 29455 temp4 = True;
d14a1e28 29456 }
15afbcd0
RD
29457 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
29458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29459 if (obj5) {
29460 {
29461 arg6 = wxString_in_helper(obj5);
29462 if (arg6 == NULL) SWIG_fail;
e811c8ce 29463 temp6 = True;
d14a1e28
RD
29464 }
29465 }
29466 {
29467 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29468 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
29469
29470 wxPyEndAllowThreads(__tstate);
29471 if (PyErr_Occurred()) SWIG_fail;
29472 }
a41e16b6 29473 {
412d302d 29474 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29475 }
d14a1e28
RD
29476 {
29477 if (temp4)
29478 delete arg4;
29479 }
29480 {
29481 if (temp6)
29482 delete arg6;
29483 }
29484 return resultobj;
29485 fail:
29486 {
29487 if (temp4)
29488 delete arg4;
29489 }
29490 {
29491 if (temp6)
29492 delete arg6;
29493 }
29494 return NULL;
29495}
29496
29497
29498static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29499 PyObject *resultobj;
29500 wxMenu *arg1 = (wxMenu *) 0 ;
29501 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 29502 wxMenuItem *result;
d14a1e28
RD
29503 PyObject * obj0 = 0 ;
29504 PyObject * obj1 = 0 ;
29505 char *kwnames[] = {
29506 (char *) "self",(char *) "item", NULL
29507 };
29508
29509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29514 {
29515 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29516 result = (wxMenuItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
29517
29518 wxPyEndAllowThreads(__tstate);
29519 if (PyErr_Occurred()) SWIG_fail;
29520 }
a41e16b6 29521 {
412d302d 29522 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29523 }
d14a1e28
RD
29524 return resultobj;
29525 fail:
29526 return NULL;
29527}
29528
29529
29530static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
29531 PyObject *resultobj;
29532 wxMenu *arg1 = (wxMenu *) 0 ;
29533 int arg2 ;
29534 wxString *arg3 = 0 ;
29535 wxString const &arg4_defvalue = wxPyEmptyString ;
29536 wxString *arg4 = (wxString *) &arg4_defvalue ;
29537 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 29538 wxMenuItem *result;
e811c8ce
RD
29539 bool temp3 = False ;
29540 bool temp4 = False ;
d14a1e28 29541 PyObject * obj0 = 0 ;
994141e6 29542 PyObject * obj1 = 0 ;
d14a1e28
RD
29543 PyObject * obj2 = 0 ;
29544 PyObject * obj3 = 0 ;
994141e6 29545 PyObject * obj4 = 0 ;
d14a1e28 29546 char *kwnames[] = {
242b7b46 29547 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29548 };
29549
994141e6 29550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29553 arg2 = (int) SWIG_AsInt(obj1);
29554 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29555 {
29556 arg3 = wxString_in_helper(obj2);
29557 if (arg3 == NULL) SWIG_fail;
e811c8ce 29558 temp3 = True;
d14a1e28
RD
29559 }
29560 if (obj3) {
29561 {
29562 arg4 = wxString_in_helper(obj3);
29563 if (arg4 == NULL) SWIG_fail;
e811c8ce 29564 temp4 = True;
d14a1e28
RD
29565 }
29566 }
994141e6 29567 if (obj4) {
15afbcd0
RD
29568 arg5 = (wxItemKind) SWIG_AsInt(obj4);
29569 if (PyErr_Occurred()) SWIG_fail;
994141e6 29570 }
d14a1e28
RD
29571 {
29572 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29573 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
29574
29575 wxPyEndAllowThreads(__tstate);
29576 if (PyErr_Occurred()) SWIG_fail;
29577 }
a41e16b6 29578 {
412d302d 29579 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29580 }
d14a1e28
RD
29581 {
29582 if (temp3)
29583 delete arg3;
29584 }
29585 {
29586 if (temp4)
29587 delete arg4;
29588 }
29589 return resultobj;
29590 fail:
29591 {
29592 if (temp3)
29593 delete arg3;
29594 }
29595 {
29596 if (temp4)
29597 delete arg4;
29598 }
29599 return NULL;
29600}
29601
29602
29603static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29604 PyObject *resultobj;
29605 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 29606 wxMenuItem *result;
d14a1e28
RD
29607 PyObject * obj0 = 0 ;
29608 char *kwnames[] = {
29609 (char *) "self", NULL
29610 };
29611
29612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
29613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29615 {
29616 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29617 result = (wxMenuItem *)(arg1)->PrependSeparator();
d14a1e28
RD
29618
29619 wxPyEndAllowThreads(__tstate);
29620 if (PyErr_Occurred()) SWIG_fail;
29621 }
a41e16b6 29622 {
412d302d 29623 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29624 }
d14a1e28
RD
29625 return resultobj;
29626 fail:
29627 return NULL;
29628}
29629
29630
29631static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29632 PyObject *resultobj;
29633 wxMenu *arg1 = (wxMenu *) 0 ;
29634 int arg2 ;
29635 wxString *arg3 = 0 ;
29636 wxString const &arg4_defvalue = wxPyEmptyString ;
29637 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 29638 wxMenuItem *result;
e811c8ce
RD
29639 bool temp3 = False ;
29640 bool temp4 = False ;
d14a1e28 29641 PyObject * obj0 = 0 ;
994141e6 29642 PyObject * obj1 = 0 ;
d14a1e28
RD
29643 PyObject * obj2 = 0 ;
29644 PyObject * obj3 = 0 ;
29645 char *kwnames[] = {
242b7b46 29646 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29647 };
29648
994141e6 29649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29652 arg2 = (int) SWIG_AsInt(obj1);
29653 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29654 {
29655 arg3 = wxString_in_helper(obj2);
29656 if (arg3 == NULL) SWIG_fail;
e811c8ce 29657 temp3 = True;
d14a1e28
RD
29658 }
29659 if (obj3) {
29660 {
29661 arg4 = wxString_in_helper(obj3);
29662 if (arg4 == NULL) SWIG_fail;
e811c8ce 29663 temp4 = True;
d14a1e28
RD
29664 }
29665 }
29666 {
29667 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29668 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29669
29670 wxPyEndAllowThreads(__tstate);
29671 if (PyErr_Occurred()) SWIG_fail;
29672 }
a41e16b6 29673 {
412d302d 29674 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29675 }
d14a1e28
RD
29676 {
29677 if (temp3)
29678 delete arg3;
29679 }
29680 {
29681 if (temp4)
29682 delete arg4;
29683 }
29684 return resultobj;
29685 fail:
29686 {
29687 if (temp3)
29688 delete arg3;
29689 }
29690 {
29691 if (temp4)
29692 delete arg4;
29693 }
29694 return NULL;
29695}
29696
29697
29698static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29699 PyObject *resultobj;
29700 wxMenu *arg1 = (wxMenu *) 0 ;
29701 int arg2 ;
29702 wxString *arg3 = 0 ;
29703 wxString const &arg4_defvalue = wxPyEmptyString ;
29704 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 29705 wxMenuItem *result;
e811c8ce
RD
29706 bool temp3 = False ;
29707 bool temp4 = False ;
d14a1e28 29708 PyObject * obj0 = 0 ;
994141e6 29709 PyObject * obj1 = 0 ;
d14a1e28
RD
29710 PyObject * obj2 = 0 ;
29711 PyObject * obj3 = 0 ;
29712 char *kwnames[] = {
242b7b46 29713 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29714 };
29715
994141e6 29716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29719 arg2 = (int) SWIG_AsInt(obj1);
29720 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29721 {
29722 arg3 = wxString_in_helper(obj2);
29723 if (arg3 == NULL) SWIG_fail;
e811c8ce 29724 temp3 = True;
d14a1e28
RD
29725 }
29726 if (obj3) {
29727 {
29728 arg4 = wxString_in_helper(obj3);
29729 if (arg4 == NULL) SWIG_fail;
e811c8ce 29730 temp4 = True;
d14a1e28
RD
29731 }
29732 }
29733 {
29734 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29735 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29736
29737 wxPyEndAllowThreads(__tstate);
29738 if (PyErr_Occurred()) SWIG_fail;
29739 }
a41e16b6 29740 {
412d302d 29741 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29742 }
d14a1e28
RD
29743 {
29744 if (temp3)
29745 delete arg3;
29746 }
29747 {
29748 if (temp4)
29749 delete arg4;
29750 }
29751 return resultobj;
29752 fail:
29753 {
29754 if (temp3)
29755 delete arg3;
29756 }
29757 {
29758 if (temp4)
29759 delete arg4;
29760 }
29761 return NULL;
29762}
29763
29764
29765static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29766 PyObject *resultobj;
29767 wxMenu *arg1 = (wxMenu *) 0 ;
29768 int arg2 ;
29769 wxString *arg3 = 0 ;
29770 wxMenu *arg4 = (wxMenu *) 0 ;
29771 wxString const &arg5_defvalue = wxPyEmptyString ;
29772 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29773 wxMenuItem *result;
e811c8ce
RD
29774 bool temp3 = False ;
29775 bool temp5 = False ;
d14a1e28 29776 PyObject * obj0 = 0 ;
994141e6 29777 PyObject * obj1 = 0 ;
d14a1e28
RD
29778 PyObject * obj2 = 0 ;
29779 PyObject * obj3 = 0 ;
29780 PyObject * obj4 = 0 ;
29781 char *kwnames[] = {
242b7b46 29782 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29783 };
29784
994141e6 29785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29788 arg2 = (int) SWIG_AsInt(obj1);
29789 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29790 {
29791 arg3 = wxString_in_helper(obj2);
29792 if (arg3 == NULL) SWIG_fail;
e811c8ce 29793 temp3 = True;
d14a1e28 29794 }
15afbcd0
RD
29795 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29797 if (obj4) {
29798 {
29799 arg5 = wxString_in_helper(obj4);
29800 if (arg5 == NULL) SWIG_fail;
e811c8ce 29801 temp5 = True;
d14a1e28
RD
29802 }
29803 }
29804 {
29805 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29806 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
29807
29808 wxPyEndAllowThreads(__tstate);
29809 if (PyErr_Occurred()) SWIG_fail;
29810 }
a41e16b6 29811 {
412d302d 29812 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29813 }
d14a1e28
RD
29814 {
29815 if (temp3)
29816 delete arg3;
29817 }
29818 {
29819 if (temp5)
29820 delete arg5;
29821 }
29822 return resultobj;
29823 fail:
29824 {
29825 if (temp3)
29826 delete arg3;
29827 }
29828 {
29829 if (temp5)
29830 delete arg5;
29831 }
29832 return NULL;
29833}
29834
29835
29836static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
29837 PyObject *resultobj;
29838 wxMenu *arg1 = (wxMenu *) 0 ;
29839 int arg2 ;
29840 wxMenuItem *result;
29841 PyObject * obj0 = 0 ;
994141e6 29842 PyObject * obj1 = 0 ;
d14a1e28 29843 char *kwnames[] = {
242b7b46 29844 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29845 };
29846
994141e6 29847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29850 arg2 = (int) SWIG_AsInt(obj1);
29851 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29852 {
29853 PyThreadState* __tstate = wxPyBeginAllowThreads();
29854 result = (wxMenuItem *)(arg1)->Remove(arg2);
29855
29856 wxPyEndAllowThreads(__tstate);
29857 if (PyErr_Occurred()) SWIG_fail;
29858 }
29859 {
412d302d 29860 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29861 }
29862 return resultobj;
29863 fail:
29864 return NULL;
29865}
29866
29867
29868static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29869 PyObject *resultobj;
29870 wxMenu *arg1 = (wxMenu *) 0 ;
29871 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29872 wxMenuItem *result;
29873 PyObject * obj0 = 0 ;
29874 PyObject * obj1 = 0 ;
29875 char *kwnames[] = {
29876 (char *) "self",(char *) "item", NULL
29877 };
29878
29879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29884 {
29885 PyThreadState* __tstate = wxPyBeginAllowThreads();
29886 result = (wxMenuItem *)(arg1)->Remove(arg2);
29887
29888 wxPyEndAllowThreads(__tstate);
29889 if (PyErr_Occurred()) SWIG_fail;
29890 }
29891 {
412d302d 29892 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29893 }
29894 return resultobj;
29895 fail:
29896 return NULL;
29897}
29898
29899
29900static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
29901 PyObject *resultobj;
29902 wxMenu *arg1 = (wxMenu *) 0 ;
29903 int arg2 ;
29904 bool result;
29905 PyObject * obj0 = 0 ;
994141e6 29906 PyObject * obj1 = 0 ;
d14a1e28 29907 char *kwnames[] = {
242b7b46 29908 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29909 };
29910
994141e6 29911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29914 arg2 = (int) SWIG_AsInt(obj1);
29915 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29916 {
29917 PyThreadState* __tstate = wxPyBeginAllowThreads();
29918 result = (bool)(arg1)->Delete(arg2);
29919
29920 wxPyEndAllowThreads(__tstate);
29921 if (PyErr_Occurred()) SWIG_fail;
29922 }
4f89f6a3
RD
29923 {
29924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29925 }
d14a1e28
RD
29926 return resultobj;
29927 fail:
29928 return NULL;
29929}
29930
29931
29932static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29933 PyObject *resultobj;
29934 wxMenu *arg1 = (wxMenu *) 0 ;
29935 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29936 bool result;
29937 PyObject * obj0 = 0 ;
29938 PyObject * obj1 = 0 ;
29939 char *kwnames[] = {
29940 (char *) "self",(char *) "item", NULL
29941 };
29942
29943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29948 {
29949 PyThreadState* __tstate = wxPyBeginAllowThreads();
29950 result = (bool)(arg1)->Delete(arg2);
29951
29952 wxPyEndAllowThreads(__tstate);
29953 if (PyErr_Occurred()) SWIG_fail;
29954 }
4f89f6a3
RD
29955 {
29956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29957 }
d14a1e28
RD
29958 return resultobj;
29959 fail:
29960 return NULL;
29961}
29962
29963
29964static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29965 PyObject *resultobj;
29966 wxMenu *arg1 = (wxMenu *) 0 ;
29967 PyObject * obj0 = 0 ;
29968 char *kwnames[] = {
29969 (char *) "self", NULL
29970 };
29971
29972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
29973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29975 {
29976 PyThreadState* __tstate = wxPyBeginAllowThreads();
29977 wxMenu_Destroy(arg1);
29978
29979 wxPyEndAllowThreads(__tstate);
29980 if (PyErr_Occurred()) SWIG_fail;
29981 }
29982 Py_INCREF(Py_None); resultobj = Py_None;
29983 return resultobj;
29984 fail:
29985 return NULL;
29986}
29987
29988
29989static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
29990 PyObject *resultobj;
29991 wxMenu *arg1 = (wxMenu *) 0 ;
29992 int arg2 ;
29993 bool result;
29994 PyObject * obj0 = 0 ;
994141e6 29995 PyObject * obj1 = 0 ;
d14a1e28 29996 char *kwnames[] = {
242b7b46 29997 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29998 };
29999
994141e6 30000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30003 arg2 = (int) SWIG_AsInt(obj1);
30004 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30005 {
30006 PyThreadState* __tstate = wxPyBeginAllowThreads();
30007 result = (bool)(arg1)->Destroy(arg2);
30008
30009 wxPyEndAllowThreads(__tstate);
30010 if (PyErr_Occurred()) SWIG_fail;
30011 }
4f89f6a3
RD
30012 {
30013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30014 }
d14a1e28
RD
30015 return resultobj;
30016 fail:
30017 return NULL;
30018}
30019
30020
30021static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30022 PyObject *resultobj;
30023 wxMenu *arg1 = (wxMenu *) 0 ;
30024 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
30025 bool result;
30026 PyObject * obj0 = 0 ;
30027 PyObject * obj1 = 0 ;
30028 char *kwnames[] = {
30029 (char *) "self",(char *) "item", NULL
30030 };
30031
30032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
30036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30037 {
30038 PyThreadState* __tstate = wxPyBeginAllowThreads();
30039 result = (bool)(arg1)->Destroy(arg2);
30040
30041 wxPyEndAllowThreads(__tstate);
30042 if (PyErr_Occurred()) SWIG_fail;
30043 }
4f89f6a3
RD
30044 {
30045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30046 }
d14a1e28
RD
30047 return resultobj;
30048 fail:
30049 return NULL;
30050}
30051
30052
30053static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
30054 PyObject *resultobj;
30055 wxMenu *arg1 = (wxMenu *) 0 ;
30056 size_t result;
30057 PyObject * obj0 = 0 ;
30058 char *kwnames[] = {
30059 (char *) "self", NULL
30060 };
30061
30062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
30063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30065 {
30066 PyThreadState* __tstate = wxPyBeginAllowThreads();
30067 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
30068
30069 wxPyEndAllowThreads(__tstate);
30070 if (PyErr_Occurred()) SWIG_fail;
30071 }
15afbcd0 30072 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
30073 return resultobj;
30074 fail:
30075 return NULL;
30076}
30077
30078
30079static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
30080 PyObject *resultobj;
30081 wxMenu *arg1 = (wxMenu *) 0 ;
30082 PyObject *result;
30083 PyObject * obj0 = 0 ;
30084 char *kwnames[] = {
30085 (char *) "self", NULL
30086 };
30087
30088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
30089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30091 {
30092 PyThreadState* __tstate = wxPyBeginAllowThreads();
30093 result = (PyObject *)wxMenu_GetMenuItems(arg1);
30094
30095 wxPyEndAllowThreads(__tstate);
30096 if (PyErr_Occurred()) SWIG_fail;
30097 }
30098 resultobj = result;
30099 return resultobj;
30100 fail:
30101 return NULL;
30102}
30103
30104
30105static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30106 PyObject *resultobj;
30107 wxMenu *arg1 = (wxMenu *) 0 ;
30108 wxString *arg2 = 0 ;
30109 int result;
e811c8ce 30110 bool temp2 = False ;
d14a1e28
RD
30111 PyObject * obj0 = 0 ;
30112 PyObject * obj1 = 0 ;
30113 char *kwnames[] = {
30114 (char *) "self",(char *) "item", NULL
30115 };
30116
30117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30120 {
30121 arg2 = wxString_in_helper(obj1);
30122 if (arg2 == NULL) SWIG_fail;
e811c8ce 30123 temp2 = True;
d14a1e28
RD
30124 }
30125 {
30126 PyThreadState* __tstate = wxPyBeginAllowThreads();
30127 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
30128
30129 wxPyEndAllowThreads(__tstate);
30130 if (PyErr_Occurred()) SWIG_fail;
30131 }
15afbcd0 30132 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
30133 {
30134 if (temp2)
30135 delete arg2;
30136 }
30137 return resultobj;
30138 fail:
30139 {
30140 if (temp2)
30141 delete arg2;
30142 }
30143 return NULL;
30144}
30145
30146
30147static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
30148 PyObject *resultobj;
30149 wxMenu *arg1 = (wxMenu *) 0 ;
30150 int arg2 ;
30151 wxMenuItem *result;
30152 PyObject * obj0 = 0 ;
994141e6 30153 PyObject * obj1 = 0 ;
d14a1e28 30154 char *kwnames[] = {
242b7b46 30155 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30156 };
30157
994141e6 30158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30161 arg2 = (int) SWIG_AsInt(obj1);
30162 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30163 {
30164 PyThreadState* __tstate = wxPyBeginAllowThreads();
30165 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
30166
30167 wxPyEndAllowThreads(__tstate);
30168 if (PyErr_Occurred()) SWIG_fail;
30169 }
30170 {
412d302d 30171 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30172 }
30173 return resultobj;
30174 fail:
30175 return NULL;
30176}
30177
30178
30179static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30180 PyObject *resultobj;
30181 wxMenu *arg1 = (wxMenu *) 0 ;
30182 size_t arg2 ;
30183 wxMenuItem *result;
30184 PyObject * obj0 = 0 ;
30185 PyObject * obj1 = 0 ;
30186 char *kwnames[] = {
30187 (char *) "self",(char *) "position", NULL
30188 };
30189
30190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30193 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30194 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30195 {
30196 PyThreadState* __tstate = wxPyBeginAllowThreads();
30197 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
30198
30199 wxPyEndAllowThreads(__tstate);
30200 if (PyErr_Occurred()) SWIG_fail;
30201 }
30202 {
412d302d 30203 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30204 }
30205 return resultobj;
30206 fail:
30207 return NULL;
30208}
30209
30210
30211static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
30212 PyObject *resultobj;
30213 wxMenu *arg1 = (wxMenu *) 0 ;
30214 int arg2 ;
30215 bool arg3 ;
30216 PyObject * obj0 = 0 ;
994141e6 30217 PyObject * obj1 = 0 ;
d14a1e28
RD
30218 PyObject * obj2 = 0 ;
30219 char *kwnames[] = {
242b7b46 30220 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
30221 };
30222
994141e6 30223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30226 arg2 = (int) SWIG_AsInt(obj1);
30227 if (PyErr_Occurred()) SWIG_fail;
30228 arg3 = (bool) SWIG_AsBool(obj2);
30229 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30230 {
30231 PyThreadState* __tstate = wxPyBeginAllowThreads();
30232 (arg1)->Enable(arg2,arg3);
30233
30234 wxPyEndAllowThreads(__tstate);
30235 if (PyErr_Occurred()) SWIG_fail;
30236 }
30237 Py_INCREF(Py_None); resultobj = Py_None;
30238 return resultobj;
30239 fail:
30240 return NULL;
30241}
30242
30243
30244static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
30245 PyObject *resultobj;
30246 wxMenu *arg1 = (wxMenu *) 0 ;
30247 int arg2 ;
30248 bool result;
30249 PyObject * obj0 = 0 ;
994141e6 30250 PyObject * obj1 = 0 ;
d14a1e28 30251 char *kwnames[] = {
242b7b46 30252 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30253 };
30254
994141e6 30255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30258 arg2 = (int) SWIG_AsInt(obj1);
30259 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30260 {
30261 PyThreadState* __tstate = wxPyBeginAllowThreads();
30262 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
30263
30264 wxPyEndAllowThreads(__tstate);
30265 if (PyErr_Occurred()) SWIG_fail;
30266 }
4f89f6a3
RD
30267 {
30268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30269 }
d14a1e28
RD
30270 return resultobj;
30271 fail:
30272 return NULL;
30273}
30274
30275
30276static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
30277 PyObject *resultobj;
30278 wxMenu *arg1 = (wxMenu *) 0 ;
30279 int arg2 ;
30280 bool arg3 ;
30281 PyObject * obj0 = 0 ;
994141e6 30282 PyObject * obj1 = 0 ;
d14a1e28
RD
30283 PyObject * obj2 = 0 ;
30284 char *kwnames[] = {
242b7b46 30285 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
30286 };
30287
994141e6 30288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30291 arg2 = (int) SWIG_AsInt(obj1);
30292 if (PyErr_Occurred()) SWIG_fail;
30293 arg3 = (bool) SWIG_AsBool(obj2);
30294 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30295 {
30296 PyThreadState* __tstate = wxPyBeginAllowThreads();
30297 (arg1)->Check(arg2,arg3);
30298
30299 wxPyEndAllowThreads(__tstate);
30300 if (PyErr_Occurred()) SWIG_fail;
30301 }
30302 Py_INCREF(Py_None); resultobj = Py_None;
30303 return resultobj;
30304 fail:
30305 return NULL;
30306}
30307
30308
30309static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
30310 PyObject *resultobj;
30311 wxMenu *arg1 = (wxMenu *) 0 ;
30312 int arg2 ;
30313 bool result;
30314 PyObject * obj0 = 0 ;
994141e6 30315 PyObject * obj1 = 0 ;
d14a1e28 30316 char *kwnames[] = {
242b7b46 30317 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30318 };
30319
994141e6 30320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30323 arg2 = (int) SWIG_AsInt(obj1);
30324 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30325 {
30326 PyThreadState* __tstate = wxPyBeginAllowThreads();
30327 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
30328
30329 wxPyEndAllowThreads(__tstate);
30330 if (PyErr_Occurred()) SWIG_fail;
30331 }
4f89f6a3
RD
30332 {
30333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30334 }
d14a1e28
RD
30335 return resultobj;
30336 fail:
30337 return NULL;
30338}
30339
30340
30341static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30342 PyObject *resultobj;
30343 wxMenu *arg1 = (wxMenu *) 0 ;
30344 int arg2 ;
30345 wxString *arg3 = 0 ;
e811c8ce 30346 bool temp3 = False ;
d14a1e28 30347 PyObject * obj0 = 0 ;
994141e6 30348 PyObject * obj1 = 0 ;
d14a1e28
RD
30349 PyObject * obj2 = 0 ;
30350 char *kwnames[] = {
242b7b46 30351 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
30352 };
30353
994141e6 30354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30357 arg2 = (int) SWIG_AsInt(obj1);
30358 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30359 {
30360 arg3 = wxString_in_helper(obj2);
30361 if (arg3 == NULL) SWIG_fail;
e811c8ce 30362 temp3 = True;
d14a1e28
RD
30363 }
30364 {
30365 PyThreadState* __tstate = wxPyBeginAllowThreads();
30366 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
30367
30368 wxPyEndAllowThreads(__tstate);
30369 if (PyErr_Occurred()) SWIG_fail;
30370 }
30371 Py_INCREF(Py_None); resultobj = Py_None;
30372 {
30373 if (temp3)
30374 delete arg3;
30375 }
30376 return resultobj;
30377 fail:
30378 {
30379 if (temp3)
30380 delete arg3;
30381 }
30382 return NULL;
30383}
30384
30385
30386static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30387 PyObject *resultobj;
30388 wxMenu *arg1 = (wxMenu *) 0 ;
30389 int arg2 ;
30390 wxString result;
30391 PyObject * obj0 = 0 ;
994141e6 30392 PyObject * obj1 = 0 ;
d14a1e28 30393 char *kwnames[] = {
242b7b46 30394 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30395 };
30396
994141e6 30397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30400 arg2 = (int) SWIG_AsInt(obj1);
30401 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30402 {
30403 PyThreadState* __tstate = wxPyBeginAllowThreads();
30404 result = ((wxMenu const *)arg1)->GetLabel(arg2);
30405
30406 wxPyEndAllowThreads(__tstate);
30407 if (PyErr_Occurred()) SWIG_fail;
30408 }
30409 {
30410#if wxUSE_UNICODE
30411 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30412#else
30413 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30414#endif
30415 }
30416 return resultobj;
30417 fail:
30418 return NULL;
30419}
30420
30421
30422static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30423 PyObject *resultobj;
30424 wxMenu *arg1 = (wxMenu *) 0 ;
30425 int arg2 ;
30426 wxString *arg3 = 0 ;
e811c8ce 30427 bool temp3 = False ;
d14a1e28 30428 PyObject * obj0 = 0 ;
994141e6 30429 PyObject * obj1 = 0 ;
d14a1e28
RD
30430 PyObject * obj2 = 0 ;
30431 char *kwnames[] = {
242b7b46 30432 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
30433 };
30434
994141e6 30435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30438 arg2 = (int) SWIG_AsInt(obj1);
30439 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30440 {
30441 arg3 = wxString_in_helper(obj2);
30442 if (arg3 == NULL) SWIG_fail;
e811c8ce 30443 temp3 = True;
d14a1e28
RD
30444 }
30445 {
30446 PyThreadState* __tstate = wxPyBeginAllowThreads();
30447 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
30448
30449 wxPyEndAllowThreads(__tstate);
30450 if (PyErr_Occurred()) SWIG_fail;
30451 }
30452 Py_INCREF(Py_None); resultobj = Py_None;
30453 {
30454 if (temp3)
30455 delete arg3;
30456 }
30457 return resultobj;
30458 fail:
30459 {
30460 if (temp3)
30461 delete arg3;
30462 }
30463 return NULL;
30464}
30465
30466
30467static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30468 PyObject *resultobj;
30469 wxMenu *arg1 = (wxMenu *) 0 ;
30470 int arg2 ;
30471 wxString result;
30472 PyObject * obj0 = 0 ;
994141e6 30473 PyObject * obj1 = 0 ;
d14a1e28 30474 char *kwnames[] = {
242b7b46 30475 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30476 };
30477
994141e6 30478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30481 arg2 = (int) SWIG_AsInt(obj1);
30482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30483 {
30484 PyThreadState* __tstate = wxPyBeginAllowThreads();
30485 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
30486
30487 wxPyEndAllowThreads(__tstate);
30488 if (PyErr_Occurred()) SWIG_fail;
30489 }
30490 {
30491#if wxUSE_UNICODE
30492 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30493#else
30494 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30495#endif
30496 }
30497 return resultobj;
30498 fail:
30499 return NULL;
30500}
30501
30502
30503static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30504 PyObject *resultobj;
30505 wxMenu *arg1 = (wxMenu *) 0 ;
30506 wxString *arg2 = 0 ;
e811c8ce 30507 bool temp2 = False ;
d14a1e28
RD
30508 PyObject * obj0 = 0 ;
30509 PyObject * obj1 = 0 ;
30510 char *kwnames[] = {
30511 (char *) "self",(char *) "title", NULL
30512 };
30513
30514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30517 {
30518 arg2 = wxString_in_helper(obj1);
30519 if (arg2 == NULL) SWIG_fail;
e811c8ce 30520 temp2 = True;
d14a1e28
RD
30521 }
30522 {
30523 PyThreadState* __tstate = wxPyBeginAllowThreads();
30524 (arg1)->SetTitle((wxString const &)*arg2);
30525
30526 wxPyEndAllowThreads(__tstate);
30527 if (PyErr_Occurred()) SWIG_fail;
30528 }
30529 Py_INCREF(Py_None); resultobj = Py_None;
30530 {
30531 if (temp2)
30532 delete arg2;
30533 }
30534 return resultobj;
30535 fail:
30536 {
30537 if (temp2)
30538 delete arg2;
30539 }
30540 return NULL;
30541}
30542
30543
30544static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30545 PyObject *resultobj;
30546 wxMenu *arg1 = (wxMenu *) 0 ;
30547 wxString result;
30548 PyObject * obj0 = 0 ;
30549 char *kwnames[] = {
30550 (char *) "self", NULL
30551 };
30552
30553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
30554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30556 {
30557 PyThreadState* __tstate = wxPyBeginAllowThreads();
30558 result = ((wxMenu const *)arg1)->GetTitle();
30559
30560 wxPyEndAllowThreads(__tstate);
30561 if (PyErr_Occurred()) SWIG_fail;
30562 }
30563 {
30564#if wxUSE_UNICODE
30565 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30566#else
30567 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30568#endif
30569 }
30570 return resultobj;
30571 fail:
30572 return NULL;
30573}
30574
30575
30576static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30577 PyObject *resultobj;
30578 wxMenu *arg1 = (wxMenu *) 0 ;
30579 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
30580 PyObject * obj0 = 0 ;
30581 PyObject * obj1 = 0 ;
30582 char *kwnames[] = {
30583 (char *) "self",(char *) "handler", NULL
30584 };
30585
30586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30591 {
30592 PyThreadState* __tstate = wxPyBeginAllowThreads();
30593 (arg1)->SetEventHandler(arg2);
30594
30595 wxPyEndAllowThreads(__tstate);
30596 if (PyErr_Occurred()) SWIG_fail;
30597 }
30598 Py_INCREF(Py_None); resultobj = Py_None;
30599 return resultobj;
30600 fail:
30601 return NULL;
30602}
30603
30604
30605static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30606 PyObject *resultobj;
30607 wxMenu *arg1 = (wxMenu *) 0 ;
30608 wxEvtHandler *result;
30609 PyObject * obj0 = 0 ;
30610 char *kwnames[] = {
30611 (char *) "self", NULL
30612 };
30613
30614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
30615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30617 {
30618 PyThreadState* __tstate = wxPyBeginAllowThreads();
30619 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
30620
30621 wxPyEndAllowThreads(__tstate);
30622 if (PyErr_Occurred()) SWIG_fail;
30623 }
30624 {
412d302d 30625 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30626 }
30627 return resultobj;
30628 fail:
30629 return NULL;
30630}
30631
30632
30633static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30634 PyObject *resultobj;
30635 wxMenu *arg1 = (wxMenu *) 0 ;
30636 wxWindow *arg2 = (wxWindow *) 0 ;
30637 PyObject * obj0 = 0 ;
30638 PyObject * obj1 = 0 ;
30639 char *kwnames[] = {
30640 (char *) "self",(char *) "win", NULL
30641 };
30642
30643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30646 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30648 {
30649 PyThreadState* __tstate = wxPyBeginAllowThreads();
30650 (arg1)->SetInvokingWindow(arg2);
30651
30652 wxPyEndAllowThreads(__tstate);
30653 if (PyErr_Occurred()) SWIG_fail;
30654 }
30655 Py_INCREF(Py_None); resultobj = Py_None;
30656 return resultobj;
30657 fail:
30658 return NULL;
30659}
30660
30661
30662static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30663 PyObject *resultobj;
30664 wxMenu *arg1 = (wxMenu *) 0 ;
30665 wxWindow *result;
30666 PyObject * obj0 = 0 ;
30667 char *kwnames[] = {
30668 (char *) "self", NULL
30669 };
30670
30671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
30672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30674 {
30675 PyThreadState* __tstate = wxPyBeginAllowThreads();
30676 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
30677
30678 wxPyEndAllowThreads(__tstate);
30679 if (PyErr_Occurred()) SWIG_fail;
30680 }
30681 {
412d302d 30682 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30683 }
30684 return resultobj;
30685 fail:
30686 return NULL;
30687}
30688
30689
30690static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
30691 PyObject *resultobj;
30692 wxMenu *arg1 = (wxMenu *) 0 ;
30693 long result;
30694 PyObject * obj0 = 0 ;
30695 char *kwnames[] = {
30696 (char *) "self", NULL
30697 };
30698
30699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
30700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30702 {
30703 PyThreadState* __tstate = wxPyBeginAllowThreads();
30704 result = (long)((wxMenu const *)arg1)->GetStyle();
30705
30706 wxPyEndAllowThreads(__tstate);
30707 if (PyErr_Occurred()) SWIG_fail;
30708 }
15afbcd0 30709 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
30710 return resultobj;
30711 fail:
30712 return NULL;
30713}
30714
30715
30716static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
30717 PyObject *resultobj;
30718 wxMenu *arg1 = (wxMenu *) 0 ;
30719 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
30720 PyObject * obj0 = 0 ;
30721 PyObject * obj1 = 0 ;
30722 char *kwnames[] = {
30723 (char *) "self",(char *) "source", NULL
30724 };
30725
30726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30729 if (obj1) {
15afbcd0
RD
30730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30732 }
30733 {
30734 PyThreadState* __tstate = wxPyBeginAllowThreads();
30735 (arg1)->UpdateUI(arg2);
30736
30737 wxPyEndAllowThreads(__tstate);
30738 if (PyErr_Occurred()) SWIG_fail;
30739 }
30740 Py_INCREF(Py_None); resultobj = Py_None;
30741 return resultobj;
30742 fail:
30743 return NULL;
30744}
30745
30746
30747static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30748 PyObject *resultobj;
30749 wxMenu *arg1 = (wxMenu *) 0 ;
30750 wxMenuBar *result;
30751 PyObject * obj0 = 0 ;
30752 char *kwnames[] = {
30753 (char *) "self", NULL
30754 };
30755
30756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
30757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30759 {
30760 PyThreadState* __tstate = wxPyBeginAllowThreads();
30761 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
30762
30763 wxPyEndAllowThreads(__tstate);
30764 if (PyErr_Occurred()) SWIG_fail;
30765 }
30766 {
412d302d 30767 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30768 }
30769 return resultobj;
30770 fail:
30771 return NULL;
30772}
30773
30774
30775static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
30776 PyObject *resultobj;
30777 wxMenu *arg1 = (wxMenu *) 0 ;
30778 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
30779 PyObject * obj0 = 0 ;
30780 PyObject * obj1 = 0 ;
30781 char *kwnames[] = {
30782 (char *) "self",(char *) "menubar", NULL
30783 };
30784
30785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30788 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
30789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30790 {
30791 PyThreadState* __tstate = wxPyBeginAllowThreads();
30792 (arg1)->Attach(arg2);
30793
30794 wxPyEndAllowThreads(__tstate);
30795 if (PyErr_Occurred()) SWIG_fail;
30796 }
30797 Py_INCREF(Py_None); resultobj = Py_None;
30798 return resultobj;
30799 fail:
30800 return NULL;
30801}
30802
30803
30804static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
30805 PyObject *resultobj;
30806 wxMenu *arg1 = (wxMenu *) 0 ;
30807 PyObject * obj0 = 0 ;
30808 char *kwnames[] = {
30809 (char *) "self", NULL
30810 };
30811
30812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
30813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30815 {
30816 PyThreadState* __tstate = wxPyBeginAllowThreads();
30817 (arg1)->Detach();
30818
30819 wxPyEndAllowThreads(__tstate);
30820 if (PyErr_Occurred()) SWIG_fail;
30821 }
30822 Py_INCREF(Py_None); resultobj = Py_None;
30823 return resultobj;
30824 fail:
30825 return NULL;
30826}
30827
30828
30829static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
30830 PyObject *resultobj;
30831 wxMenu *arg1 = (wxMenu *) 0 ;
30832 bool result;
30833 PyObject * obj0 = 0 ;
30834 char *kwnames[] = {
30835 (char *) "self", NULL
30836 };
30837
30838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
30839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30841 {
30842 PyThreadState* __tstate = wxPyBeginAllowThreads();
30843 result = (bool)((wxMenu const *)arg1)->IsAttached();
30844
30845 wxPyEndAllowThreads(__tstate);
30846 if (PyErr_Occurred()) SWIG_fail;
30847 }
4f89f6a3
RD
30848 {
30849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30850 }
d14a1e28
RD
30851 return resultobj;
30852 fail:
30853 return NULL;
30854}
30855
30856
30857static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30858 PyObject *resultobj;
30859 wxMenu *arg1 = (wxMenu *) 0 ;
30860 wxMenu *arg2 = (wxMenu *) 0 ;
30861 PyObject * obj0 = 0 ;
30862 PyObject * obj1 = 0 ;
30863 char *kwnames[] = {
30864 (char *) "self",(char *) "parent", NULL
30865 };
30866
30867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30870 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30872 {
30873 PyThreadState* __tstate = wxPyBeginAllowThreads();
30874 (arg1)->SetParent(arg2);
30875
30876 wxPyEndAllowThreads(__tstate);
30877 if (PyErr_Occurred()) SWIG_fail;
30878 }
30879 Py_INCREF(Py_None); resultobj = Py_None;
30880 return resultobj;
30881 fail:
30882 return NULL;
30883}
30884
30885
30886static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30887 PyObject *resultobj;
30888 wxMenu *arg1 = (wxMenu *) 0 ;
30889 wxMenu *result;
30890 PyObject * obj0 = 0 ;
30891 char *kwnames[] = {
30892 (char *) "self", NULL
30893 };
30894
30895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
30896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30898 {
30899 PyThreadState* __tstate = wxPyBeginAllowThreads();
30900 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
30901
30902 wxPyEndAllowThreads(__tstate);
30903 if (PyErr_Occurred()) SWIG_fail;
30904 }
30905 {
412d302d 30906 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30907 }
30908 return resultobj;
30909 fail:
30910 return NULL;
30911}
30912
30913
30914static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
30915 PyObject *obj;
30916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30917 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
30918 Py_INCREF(obj);
30919 return Py_BuildValue((char *)"");
30920}
30921static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30922 PyObject *resultobj;
30923 long arg1 = (long) 0 ;
30924 wxMenuBar *result;
994141e6 30925 PyObject * obj0 = 0 ;
d14a1e28
RD
30926 char *kwnames[] = {
30927 (char *) "style", NULL
30928 };
30929
994141e6
RD
30930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
30931 if (obj0) {
15afbcd0
RD
30932 arg1 = (long) SWIG_AsLong(obj0);
30933 if (PyErr_Occurred()) SWIG_fail;
994141e6 30934 }
d14a1e28 30935 {
e3b71cb8 30936 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
30937 PyThreadState* __tstate = wxPyBeginAllowThreads();
30938 result = (wxMenuBar *)new wxMenuBar(arg1);
30939
30940 wxPyEndAllowThreads(__tstate);
110da5b0 30941 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 30942 }
b0f7404b 30943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuBar, 1);
d14a1e28
RD
30944 return resultobj;
30945 fail:
30946 return NULL;
30947}
30948
30949
30950static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
30951 PyObject *resultobj;
30952 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30953 wxMenu *arg2 = (wxMenu *) 0 ;
30954 wxString *arg3 = 0 ;
30955 bool result;
e811c8ce 30956 bool temp3 = False ;
d14a1e28
RD
30957 PyObject * obj0 = 0 ;
30958 PyObject * obj1 = 0 ;
30959 PyObject * obj2 = 0 ;
30960 char *kwnames[] = {
30961 (char *) "self",(char *) "menu",(char *) "title", NULL
30962 };
30963
30964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30967 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30969 {
30970 arg3 = wxString_in_helper(obj2);
30971 if (arg3 == NULL) SWIG_fail;
e811c8ce 30972 temp3 = True;
d14a1e28
RD
30973 }
30974 {
30975 PyThreadState* __tstate = wxPyBeginAllowThreads();
30976 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
30977
30978 wxPyEndAllowThreads(__tstate);
30979 if (PyErr_Occurred()) SWIG_fail;
30980 }
4f89f6a3
RD
30981 {
30982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30983 }
d14a1e28
RD
30984 {
30985 if (temp3)
30986 delete arg3;
30987 }
30988 return resultobj;
30989 fail:
30990 {
30991 if (temp3)
30992 delete arg3;
30993 }
30994 return NULL;
30995}
30996
30997
30998static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
30999 PyObject *resultobj;
31000 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31001 size_t arg2 ;
31002 wxMenu *arg3 = (wxMenu *) 0 ;
31003 wxString *arg4 = 0 ;
31004 bool result;
e811c8ce 31005 bool temp4 = False ;
d14a1e28
RD
31006 PyObject * obj0 = 0 ;
31007 PyObject * obj1 = 0 ;
31008 PyObject * obj2 = 0 ;
31009 PyObject * obj3 = 0 ;
31010 char *kwnames[] = {
31011 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31012 };
31013
31014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
31015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31017 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31018 if (PyErr_Occurred()) SWIG_fail;
31019 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
31020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31021 {
31022 arg4 = wxString_in_helper(obj3);
31023 if (arg4 == NULL) SWIG_fail;
e811c8ce 31024 temp4 = True;
d14a1e28
RD
31025 }
31026 {
31027 PyThreadState* __tstate = wxPyBeginAllowThreads();
31028 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
31029
31030 wxPyEndAllowThreads(__tstate);
31031 if (PyErr_Occurred()) SWIG_fail;
31032 }
4f89f6a3
RD
31033 {
31034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31035 }
d14a1e28
RD
31036 {
31037 if (temp4)
31038 delete arg4;
31039 }
31040 return resultobj;
31041 fail:
31042 {
31043 if (temp4)
31044 delete arg4;
31045 }
31046 return NULL;
31047}
31048
31049
31050static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
31051 PyObject *resultobj;
31052 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31053 size_t result;
31054 PyObject * obj0 = 0 ;
31055 char *kwnames[] = {
31056 (char *) "self", NULL
31057 };
31058
31059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
31060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31062 {
31063 PyThreadState* __tstate = wxPyBeginAllowThreads();
31064 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
31065
31066 wxPyEndAllowThreads(__tstate);
31067 if (PyErr_Occurred()) SWIG_fail;
31068 }
15afbcd0 31069 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
31070 return resultobj;
31071 fail:
31072 return NULL;
31073}
31074
31075
31076static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31077 PyObject *resultobj;
31078 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31079 size_t arg2 ;
31080 wxMenu *result;
31081 PyObject * obj0 = 0 ;
31082 PyObject * obj1 = 0 ;
31083 char *kwnames[] = {
31084 (char *) "self",(char *) "pos", NULL
31085 };
31086
31087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31090 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31091 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31092 {
31093 PyThreadState* __tstate = wxPyBeginAllowThreads();
31094 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
31095
31096 wxPyEndAllowThreads(__tstate);
31097 if (PyErr_Occurred()) SWIG_fail;
31098 }
31099 {
412d302d 31100 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31101 }
31102 return resultobj;
31103 fail:
31104 return NULL;
31105}
31106
31107
31108static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
31109 PyObject *resultobj;
31110 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31111 size_t arg2 ;
31112 wxMenu *arg3 = (wxMenu *) 0 ;
31113 wxString *arg4 = 0 ;
31114 wxMenu *result;
e811c8ce 31115 bool temp4 = False ;
d14a1e28
RD
31116 PyObject * obj0 = 0 ;
31117 PyObject * obj1 = 0 ;
31118 PyObject * obj2 = 0 ;
31119 PyObject * obj3 = 0 ;
31120 char *kwnames[] = {
31121 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31122 };
31123
31124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
31125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31127 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31128 if (PyErr_Occurred()) SWIG_fail;
31129 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
31130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31131 {
31132 arg4 = wxString_in_helper(obj3);
31133 if (arg4 == NULL) SWIG_fail;
e811c8ce 31134 temp4 = True;
d14a1e28
RD
31135 }
31136 {
31137 PyThreadState* __tstate = wxPyBeginAllowThreads();
31138 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
31139
31140 wxPyEndAllowThreads(__tstate);
31141 if (PyErr_Occurred()) SWIG_fail;
31142 }
31143 {
412d302d 31144 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31145 }
31146 {
31147 if (temp4)
31148 delete arg4;
31149 }
31150 return resultobj;
31151 fail:
31152 {
31153 if (temp4)
31154 delete arg4;
31155 }
31156 return NULL;
31157}
31158
31159
31160static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
31161 PyObject *resultobj;
31162 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31163 size_t arg2 ;
31164 wxMenu *result;
31165 PyObject * obj0 = 0 ;
31166 PyObject * obj1 = 0 ;
31167 char *kwnames[] = {
31168 (char *) "self",(char *) "pos", NULL
31169 };
31170
31171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31174 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31175 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31176 {
31177 PyThreadState* __tstate = wxPyBeginAllowThreads();
31178 result = (wxMenu *)(arg1)->Remove(arg2);
31179
31180 wxPyEndAllowThreads(__tstate);
31181 if (PyErr_Occurred()) SWIG_fail;
31182 }
31183 {
412d302d 31184 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31185 }
31186 return resultobj;
31187 fail:
31188 return NULL;
31189}
31190
31191
31192static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31193 PyObject *resultobj;
31194 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31195 size_t arg2 ;
31196 bool arg3 ;
31197 PyObject * obj0 = 0 ;
31198 PyObject * obj1 = 0 ;
31199 PyObject * obj2 = 0 ;
31200 char *kwnames[] = {
31201 (char *) "self",(char *) "pos",(char *) "enable", NULL
31202 };
31203
31204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31207 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31208 if (PyErr_Occurred()) SWIG_fail;
31209 arg3 = (bool) SWIG_AsBool(obj2);
31210 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31211 {
31212 PyThreadState* __tstate = wxPyBeginAllowThreads();
31213 (arg1)->EnableTop(arg2,arg3);
31214
31215 wxPyEndAllowThreads(__tstate);
31216 if (PyErr_Occurred()) SWIG_fail;
31217 }
31218 Py_INCREF(Py_None); resultobj = Py_None;
31219 return resultobj;
31220 fail:
31221 return NULL;
31222}
31223
31224
31225static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31226 PyObject *resultobj;
31227 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31228 size_t arg2 ;
31229 bool result;
31230 PyObject * obj0 = 0 ;
31231 PyObject * obj1 = 0 ;
31232 char *kwnames[] = {
31233 (char *) "self",(char *) "pos", NULL
31234 };
31235
31236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31239 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31240 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31241 {
31242 PyThreadState* __tstate = wxPyBeginAllowThreads();
31243 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
31244
31245 wxPyEndAllowThreads(__tstate);
31246 if (PyErr_Occurred()) SWIG_fail;
31247 }
4f89f6a3
RD
31248 {
31249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31250 }
d14a1e28
RD
31251 return resultobj;
31252 fail:
31253 return NULL;
31254}
31255
31256
31257static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31258 PyObject *resultobj;
31259 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31260 size_t arg2 ;
31261 wxString *arg3 = 0 ;
e811c8ce 31262 bool temp3 = False ;
d14a1e28
RD
31263 PyObject * obj0 = 0 ;
31264 PyObject * obj1 = 0 ;
31265 PyObject * obj2 = 0 ;
31266 char *kwnames[] = {
31267 (char *) "self",(char *) "pos",(char *) "label", NULL
31268 };
31269
31270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31273 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31274 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31275 {
31276 arg3 = wxString_in_helper(obj2);
31277 if (arg3 == NULL) SWIG_fail;
e811c8ce 31278 temp3 = True;
d14a1e28
RD
31279 }
31280 {
31281 PyThreadState* __tstate = wxPyBeginAllowThreads();
31282 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
31283
31284 wxPyEndAllowThreads(__tstate);
31285 if (PyErr_Occurred()) SWIG_fail;
31286 }
31287 Py_INCREF(Py_None); resultobj = Py_None;
31288 {
31289 if (temp3)
31290 delete arg3;
31291 }
31292 return resultobj;
31293 fail:
31294 {
31295 if (temp3)
31296 delete arg3;
31297 }
31298 return NULL;
31299}
31300
31301
31302static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31303 PyObject *resultobj;
31304 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31305 size_t arg2 ;
31306 wxString result;
31307 PyObject * obj0 = 0 ;
31308 PyObject * obj1 = 0 ;
31309 char *kwnames[] = {
31310 (char *) "self",(char *) "pos", NULL
31311 };
31312
31313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31316 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31317 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31318 {
31319 PyThreadState* __tstate = wxPyBeginAllowThreads();
31320 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
31321
31322 wxPyEndAllowThreads(__tstate);
31323 if (PyErr_Occurred()) SWIG_fail;
31324 }
31325 {
31326#if wxUSE_UNICODE
31327 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31328#else
31329 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31330#endif
31331 }
31332 return resultobj;
31333 fail:
31334 return NULL;
31335}
31336
31337
31338static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31339 PyObject *resultobj;
31340 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31341 wxString *arg2 = 0 ;
31342 wxString *arg3 = 0 ;
31343 int result;
e811c8ce
RD
31344 bool temp2 = False ;
31345 bool temp3 = False ;
d14a1e28
RD
31346 PyObject * obj0 = 0 ;
31347 PyObject * obj1 = 0 ;
31348 PyObject * obj2 = 0 ;
31349 char *kwnames[] = {
31350 (char *) "self",(char *) "menu",(char *) "item", NULL
31351 };
31352
31353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31356 {
31357 arg2 = wxString_in_helper(obj1);
31358 if (arg2 == NULL) SWIG_fail;
e811c8ce 31359 temp2 = True;
d14a1e28
RD
31360 }
31361 {
31362 arg3 = wxString_in_helper(obj2);
31363 if (arg3 == NULL) SWIG_fail;
e811c8ce 31364 temp3 = True;
d14a1e28
RD
31365 }
31366 {
31367 PyThreadState* __tstate = wxPyBeginAllowThreads();
31368 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
31369
31370 wxPyEndAllowThreads(__tstate);
31371 if (PyErr_Occurred()) SWIG_fail;
31372 }
15afbcd0 31373 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31374 {
31375 if (temp2)
31376 delete arg2;
31377 }
31378 {
31379 if (temp3)
31380 delete arg3;
31381 }
31382 return resultobj;
31383 fail:
31384 {
31385 if (temp2)
31386 delete arg2;
31387 }
31388 {
31389 if (temp3)
31390 delete arg3;
31391 }
31392 return NULL;
31393}
31394
31395
31396static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
31397 PyObject *resultobj;
31398 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31399 int arg2 ;
31400 wxMenuItem *result;
31401 PyObject * obj0 = 0 ;
994141e6 31402 PyObject * obj1 = 0 ;
d14a1e28 31403 char *kwnames[] = {
242b7b46 31404 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31405 };
31406
994141e6 31407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31410 arg2 = (int) SWIG_AsInt(obj1);
31411 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31412 {
31413 PyThreadState* __tstate = wxPyBeginAllowThreads();
31414 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
31415
31416 wxPyEndAllowThreads(__tstate);
31417 if (PyErr_Occurred()) SWIG_fail;
31418 }
31419 {
412d302d 31420 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31421 }
31422 return resultobj;
31423 fail:
31424 return NULL;
31425}
31426
31427
31428static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31429 PyObject *resultobj;
31430 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31431 wxString *arg2 = 0 ;
31432 int result;
e811c8ce 31433 bool temp2 = False ;
d14a1e28
RD
31434 PyObject * obj0 = 0 ;
31435 PyObject * obj1 = 0 ;
31436 char *kwnames[] = {
31437 (char *) "self",(char *) "title", NULL
31438 };
31439
31440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31443 {
31444 arg2 = wxString_in_helper(obj1);
31445 if (arg2 == NULL) SWIG_fail;
e811c8ce 31446 temp2 = True;
d14a1e28
RD
31447 }
31448 {
31449 PyThreadState* __tstate = wxPyBeginAllowThreads();
31450 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
31451
31452 wxPyEndAllowThreads(__tstate);
31453 if (PyErr_Occurred()) SWIG_fail;
31454 }
15afbcd0 31455 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31456 {
31457 if (temp2)
31458 delete arg2;
31459 }
31460 return resultobj;
31461 fail:
31462 {
31463 if (temp2)
31464 delete arg2;
31465 }
31466 return NULL;
31467}
31468
31469
31470static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
31471 PyObject *resultobj;
31472 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31473 int arg2 ;
31474 bool arg3 ;
31475 PyObject * obj0 = 0 ;
994141e6 31476 PyObject * obj1 = 0 ;
d14a1e28
RD
31477 PyObject * obj2 = 0 ;
31478 char *kwnames[] = {
242b7b46 31479 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
31480 };
31481
994141e6 31482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31485 arg2 = (int) SWIG_AsInt(obj1);
31486 if (PyErr_Occurred()) SWIG_fail;
31487 arg3 = (bool) SWIG_AsBool(obj2);
31488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31489 {
31490 PyThreadState* __tstate = wxPyBeginAllowThreads();
31491 (arg1)->Enable(arg2,arg3);
31492
31493 wxPyEndAllowThreads(__tstate);
31494 if (PyErr_Occurred()) SWIG_fail;
31495 }
31496 Py_INCREF(Py_None); resultobj = Py_None;
31497 return resultobj;
31498 fail:
31499 return NULL;
31500}
31501
31502
31503static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
31504 PyObject *resultobj;
31505 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31506 int arg2 ;
31507 bool arg3 ;
31508 PyObject * obj0 = 0 ;
994141e6 31509 PyObject * obj1 = 0 ;
d14a1e28
RD
31510 PyObject * obj2 = 0 ;
31511 char *kwnames[] = {
242b7b46 31512 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
31513 };
31514
994141e6 31515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31518 arg2 = (int) SWIG_AsInt(obj1);
31519 if (PyErr_Occurred()) SWIG_fail;
31520 arg3 = (bool) SWIG_AsBool(obj2);
31521 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31522 {
31523 PyThreadState* __tstate = wxPyBeginAllowThreads();
31524 (arg1)->Check(arg2,arg3);
31525
31526 wxPyEndAllowThreads(__tstate);
31527 if (PyErr_Occurred()) SWIG_fail;
31528 }
31529 Py_INCREF(Py_None); resultobj = Py_None;
31530 return resultobj;
31531 fail:
31532 return NULL;
31533}
31534
31535
31536static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
31537 PyObject *resultobj;
31538 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31539 int arg2 ;
31540 bool result;
31541 PyObject * obj0 = 0 ;
994141e6 31542 PyObject * obj1 = 0 ;
d14a1e28 31543 char *kwnames[] = {
242b7b46 31544 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31545 };
31546
994141e6 31547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31550 arg2 = (int) SWIG_AsInt(obj1);
31551 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31552 {
31553 PyThreadState* __tstate = wxPyBeginAllowThreads();
31554 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
31555
31556 wxPyEndAllowThreads(__tstate);
31557 if (PyErr_Occurred()) SWIG_fail;
31558 }
4f89f6a3
RD
31559 {
31560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31561 }
d14a1e28
RD
31562 return resultobj;
31563 fail:
31564 return NULL;
31565}
31566
31567
31568static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
31569 PyObject *resultobj;
31570 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31571 int arg2 ;
31572 bool result;
31573 PyObject * obj0 = 0 ;
994141e6 31574 PyObject * obj1 = 0 ;
d14a1e28 31575 char *kwnames[] = {
242b7b46 31576 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31577 };
31578
994141e6 31579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31582 arg2 = (int) SWIG_AsInt(obj1);
31583 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31584 {
31585 PyThreadState* __tstate = wxPyBeginAllowThreads();
31586 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
31587
31588 wxPyEndAllowThreads(__tstate);
31589 if (PyErr_Occurred()) SWIG_fail;
31590 }
4f89f6a3
RD
31591 {
31592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31593 }
d14a1e28
RD
31594 return resultobj;
31595 fail:
31596 return NULL;
31597}
31598
31599
31600static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31601 PyObject *resultobj;
31602 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31603 int arg2 ;
31604 wxString *arg3 = 0 ;
e811c8ce 31605 bool temp3 = False ;
d14a1e28 31606 PyObject * obj0 = 0 ;
994141e6 31607 PyObject * obj1 = 0 ;
d14a1e28
RD
31608 PyObject * obj2 = 0 ;
31609 char *kwnames[] = {
242b7b46 31610 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
31611 };
31612
994141e6 31613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31616 arg2 = (int) SWIG_AsInt(obj1);
31617 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31618 {
31619 arg3 = wxString_in_helper(obj2);
31620 if (arg3 == NULL) SWIG_fail;
e811c8ce 31621 temp3 = True;
d14a1e28
RD
31622 }
31623 {
31624 PyThreadState* __tstate = wxPyBeginAllowThreads();
31625 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
31626
31627 wxPyEndAllowThreads(__tstate);
31628 if (PyErr_Occurred()) SWIG_fail;
31629 }
31630 Py_INCREF(Py_None); resultobj = Py_None;
31631 {
31632 if (temp3)
31633 delete arg3;
31634 }
31635 return resultobj;
31636 fail:
31637 {
31638 if (temp3)
31639 delete arg3;
31640 }
31641 return NULL;
31642}
31643
31644
31645static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31646 PyObject *resultobj;
31647 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31648 int arg2 ;
31649 wxString result;
31650 PyObject * obj0 = 0 ;
994141e6 31651 PyObject * obj1 = 0 ;
d14a1e28 31652 char *kwnames[] = {
242b7b46 31653 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31654 };
31655
994141e6 31656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31659 arg2 = (int) SWIG_AsInt(obj1);
31660 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31661 {
31662 PyThreadState* __tstate = wxPyBeginAllowThreads();
31663 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
31664
31665 wxPyEndAllowThreads(__tstate);
31666 if (PyErr_Occurred()) SWIG_fail;
31667 }
31668 {
31669#if wxUSE_UNICODE
31670 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31671#else
31672 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31673#endif
31674 }
31675 return resultobj;
31676 fail:
31677 return NULL;
31678}
31679
31680
31681static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31682 PyObject *resultobj;
31683 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31684 int arg2 ;
31685 wxString *arg3 = 0 ;
e811c8ce 31686 bool temp3 = False ;
d14a1e28 31687 PyObject * obj0 = 0 ;
994141e6 31688 PyObject * obj1 = 0 ;
d14a1e28
RD
31689 PyObject * obj2 = 0 ;
31690 char *kwnames[] = {
242b7b46 31691 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
31692 };
31693
994141e6 31694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31697 arg2 = (int) SWIG_AsInt(obj1);
31698 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31699 {
31700 arg3 = wxString_in_helper(obj2);
31701 if (arg3 == NULL) SWIG_fail;
e811c8ce 31702 temp3 = True;
d14a1e28
RD
31703 }
31704 {
31705 PyThreadState* __tstate = wxPyBeginAllowThreads();
31706 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
31707
31708 wxPyEndAllowThreads(__tstate);
31709 if (PyErr_Occurred()) SWIG_fail;
31710 }
31711 Py_INCREF(Py_None); resultobj = Py_None;
31712 {
31713 if (temp3)
31714 delete arg3;
31715 }
31716 return resultobj;
31717 fail:
31718 {
31719 if (temp3)
31720 delete arg3;
31721 }
31722 return NULL;
31723}
31724
31725
31726static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31727 PyObject *resultobj;
31728 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31729 int arg2 ;
31730 wxString result;
31731 PyObject * obj0 = 0 ;
994141e6 31732 PyObject * obj1 = 0 ;
d14a1e28 31733 char *kwnames[] = {
242b7b46 31734 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31735 };
31736
994141e6 31737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31740 arg2 = (int) SWIG_AsInt(obj1);
31741 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31742 {
31743 PyThreadState* __tstate = wxPyBeginAllowThreads();
31744 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
31745
31746 wxPyEndAllowThreads(__tstate);
31747 if (PyErr_Occurred()) SWIG_fail;
31748 }
31749 {
31750#if wxUSE_UNICODE
31751 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31752#else
31753 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31754#endif
31755 }
31756 return resultobj;
31757 fail:
31758 return NULL;
31759}
31760
31761
31762static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
31763 PyObject *resultobj;
31764 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31765 wxFrame *result;
31766 PyObject * obj0 = 0 ;
31767 char *kwnames[] = {
31768 (char *) "self", NULL
31769 };
31770
31771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
15afbcd0
RD
31772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31774 {
31775 PyThreadState* __tstate = wxPyBeginAllowThreads();
31776 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
31777
31778 wxPyEndAllowThreads(__tstate);
31779 if (PyErr_Occurred()) SWIG_fail;
31780 }
31781 {
412d302d 31782 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31783 }
31784 return resultobj;
31785 fail:
31786 return NULL;
31787}
31788
31789
31790static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
31791 PyObject *resultobj;
31792 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31793 bool result;
31794 PyObject * obj0 = 0 ;
31795 char *kwnames[] = {
31796 (char *) "self", NULL
31797 };
31798
31799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
31800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31802 {
31803 PyThreadState* __tstate = wxPyBeginAllowThreads();
31804 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
31805
31806 wxPyEndAllowThreads(__tstate);
31807 if (PyErr_Occurred()) SWIG_fail;
31808 }
4f89f6a3
RD
31809 {
31810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31811 }
d14a1e28
RD
31812 return resultobj;
31813 fail:
31814 return NULL;
31815}
31816
31817
31818static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
31819 PyObject *resultobj;
31820 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31821 wxFrame *arg2 = (wxFrame *) 0 ;
31822 PyObject * obj0 = 0 ;
31823 PyObject * obj1 = 0 ;
31824 char *kwnames[] = {
31825 (char *) "self",(char *) "frame", NULL
31826 };
31827
31828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31831 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
31832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31833 {
31834 PyThreadState* __tstate = wxPyBeginAllowThreads();
31835 (arg1)->Attach(arg2);
31836
31837 wxPyEndAllowThreads(__tstate);
31838 if (PyErr_Occurred()) SWIG_fail;
31839 }
31840 Py_INCREF(Py_None); resultobj = Py_None;
31841 return resultobj;
31842 fail:
31843 return NULL;
31844}
31845
31846
31847static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
31848 PyObject *resultobj;
31849 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31850 PyObject * obj0 = 0 ;
31851 char *kwnames[] = {
31852 (char *) "self", NULL
31853 };
31854
31855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
31856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31858 {
31859 PyThreadState* __tstate = wxPyBeginAllowThreads();
31860 (arg1)->Detach();
31861
31862 wxPyEndAllowThreads(__tstate);
31863 if (PyErr_Occurred()) SWIG_fail;
31864 }
31865 Py_INCREF(Py_None); resultobj = Py_None;
31866 return resultobj;
31867 fail:
31868 return NULL;
31869}
31870
31871
31872static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
31873 PyObject *obj;
31874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31875 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
31876 Py_INCREF(obj);
31877 return Py_BuildValue((char *)"");
31878}
31879static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31880 PyObject *resultobj;
31881 wxMenu *arg1 = (wxMenu *) NULL ;
a95a7133 31882 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
31883 wxString const &arg3_defvalue = wxPyEmptyString ;
31884 wxString *arg3 = (wxString *) &arg3_defvalue ;
31885 wxString const &arg4_defvalue = wxPyEmptyString ;
31886 wxString *arg4 = (wxString *) &arg4_defvalue ;
31887 int arg5 = (int) wxITEM_NORMAL ;
31888 wxMenu *arg6 = (wxMenu *) NULL ;
31889 wxMenuItem *result;
e811c8ce
RD
31890 bool temp3 = False ;
31891 bool temp4 = False ;
d14a1e28 31892 PyObject * obj0 = 0 ;
994141e6 31893 PyObject * obj1 = 0 ;
d14a1e28
RD
31894 PyObject * obj2 = 0 ;
31895 PyObject * obj3 = 0 ;
994141e6 31896 PyObject * obj4 = 0 ;
d14a1e28
RD
31897 PyObject * obj5 = 0 ;
31898 char *kwnames[] = {
31899 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31900 };
31901
994141e6 31902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 31903 if (obj0) {
15afbcd0
RD
31904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 31906 }
994141e6 31907 if (obj1) {
15afbcd0
RD
31908 arg2 = (int) SWIG_AsInt(obj1);
31909 if (PyErr_Occurred()) SWIG_fail;
994141e6 31910 }
d14a1e28
RD
31911 if (obj2) {
31912 {
31913 arg3 = wxString_in_helper(obj2);
31914 if (arg3 == NULL) SWIG_fail;
e811c8ce 31915 temp3 = True;
d14a1e28
RD
31916 }
31917 }
31918 if (obj3) {
31919 {
31920 arg4 = wxString_in_helper(obj3);
31921 if (arg4 == NULL) SWIG_fail;
e811c8ce 31922 temp4 = True;
d14a1e28
RD
31923 }
31924 }
994141e6 31925 if (obj4) {
15afbcd0
RD
31926 arg5 = (wxItemKind) SWIG_AsInt(obj4);
31927 if (PyErr_Occurred()) SWIG_fail;
994141e6 31928 }
d14a1e28 31929 if (obj5) {
15afbcd0
RD
31930 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
31931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31932 }
31933 {
31934 PyThreadState* __tstate = wxPyBeginAllowThreads();
31935 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
31936
31937 wxPyEndAllowThreads(__tstate);
31938 if (PyErr_Occurred()) SWIG_fail;
31939 }
31940 {
412d302d 31941 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
31942 }
31943 {
31944 if (temp3)
31945 delete arg3;
31946 }
31947 {
31948 if (temp4)
31949 delete arg4;
31950 }
31951 return resultobj;
31952 fail:
31953 {
31954 if (temp3)
31955 delete arg3;
31956 }
31957 {
31958 if (temp4)
31959 delete arg4;
31960 }
31961 return NULL;
31962}
31963
31964
31965static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31966 PyObject *resultobj;
31967 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31968 wxMenu *result;
31969 PyObject * obj0 = 0 ;
31970 char *kwnames[] = {
31971 (char *) "self", NULL
31972 };
31973
31974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
31975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31977 {
31978 PyThreadState* __tstate = wxPyBeginAllowThreads();
31979 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
31980
31981 wxPyEndAllowThreads(__tstate);
31982 if (PyErr_Occurred()) SWIG_fail;
31983 }
31984 {
412d302d 31985 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31986 }
31987 return resultobj;
31988 fail:
31989 return NULL;
31990}
31991
31992
31993static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31994 PyObject *resultobj;
31995 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31996 wxMenu *arg2 = (wxMenu *) 0 ;
31997 PyObject * obj0 = 0 ;
31998 PyObject * obj1 = 0 ;
31999 char *kwnames[] = {
32000 (char *) "self",(char *) "menu", NULL
32001 };
32002
32003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32008 {
32009 PyThreadState* __tstate = wxPyBeginAllowThreads();
32010 (arg1)->SetMenu(arg2);
32011
32012 wxPyEndAllowThreads(__tstate);
32013 if (PyErr_Occurred()) SWIG_fail;
32014 }
32015 Py_INCREF(Py_None); resultobj = Py_None;
32016 return resultobj;
32017 fail:
32018 return NULL;
32019}
32020
32021
32022static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
32023 PyObject *resultobj;
32024 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32025 int arg2 ;
32026 PyObject * obj0 = 0 ;
994141e6 32027 PyObject * obj1 = 0 ;
d14a1e28 32028 char *kwnames[] = {
242b7b46 32029 (char *) "self",(char *) "id", NULL
d14a1e28
RD
32030 };
32031
994141e6 32032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32035 arg2 = (int) SWIG_AsInt(obj1);
32036 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32037 {
32038 PyThreadState* __tstate = wxPyBeginAllowThreads();
32039 (arg1)->SetId(arg2);
32040
32041 wxPyEndAllowThreads(__tstate);
32042 if (PyErr_Occurred()) SWIG_fail;
32043 }
32044 Py_INCREF(Py_None); resultobj = Py_None;
32045 return resultobj;
32046 fail:
32047 return NULL;
32048}
32049
32050
32051static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
32052 PyObject *resultobj;
32053 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32054 int result;
32055 PyObject * obj0 = 0 ;
32056 char *kwnames[] = {
32057 (char *) "self", NULL
32058 };
32059
32060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
32061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32063 {
32064 PyThreadState* __tstate = wxPyBeginAllowThreads();
32065 result = (int)((wxMenuItem const *)arg1)->GetId();
32066
32067 wxPyEndAllowThreads(__tstate);
32068 if (PyErr_Occurred()) SWIG_fail;
32069 }
15afbcd0 32070 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32071 return resultobj;
32072 fail:
32073 return NULL;
32074}
32075
32076
32077static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
32078 PyObject *resultobj;
32079 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32080 bool result;
32081 PyObject * obj0 = 0 ;
32082 char *kwnames[] = {
32083 (char *) "self", NULL
32084 };
32085
32086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
32087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32089 {
32090 PyThreadState* __tstate = wxPyBeginAllowThreads();
32091 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
32092
32093 wxPyEndAllowThreads(__tstate);
32094 if (PyErr_Occurred()) SWIG_fail;
32095 }
4f89f6a3
RD
32096 {
32097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32098 }
d14a1e28
RD
32099 return resultobj;
32100 fail:
32101 return NULL;
32102}
32103
32104
32105static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
32106 PyObject *resultobj;
32107 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32108 wxString *arg2 = 0 ;
e811c8ce 32109 bool temp2 = False ;
d14a1e28
RD
32110 PyObject * obj0 = 0 ;
32111 PyObject * obj1 = 0 ;
32112 char *kwnames[] = {
32113 (char *) "self",(char *) "str", NULL
32114 };
32115
32116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32119 {
32120 arg2 = wxString_in_helper(obj1);
32121 if (arg2 == NULL) SWIG_fail;
e811c8ce 32122 temp2 = True;
d14a1e28
RD
32123 }
32124 {
32125 PyThreadState* __tstate = wxPyBeginAllowThreads();
32126 (arg1)->SetText((wxString const &)*arg2);
32127
32128 wxPyEndAllowThreads(__tstate);
32129 if (PyErr_Occurred()) SWIG_fail;
32130 }
32131 Py_INCREF(Py_None); resultobj = Py_None;
32132 {
32133 if (temp2)
32134 delete arg2;
32135 }
32136 return resultobj;
32137 fail:
32138 {
32139 if (temp2)
32140 delete arg2;
32141 }
32142 return NULL;
32143}
32144
32145
32146static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
32147 PyObject *resultobj;
32148 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32149 wxString result;
32150 PyObject * obj0 = 0 ;
32151 char *kwnames[] = {
32152 (char *) "self", NULL
32153 };
32154
32155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
32156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32158 {
32159 PyThreadState* __tstate = wxPyBeginAllowThreads();
32160 result = ((wxMenuItem const *)arg1)->GetLabel();
32161
32162 wxPyEndAllowThreads(__tstate);
32163 if (PyErr_Occurred()) SWIG_fail;
32164 }
32165 {
32166#if wxUSE_UNICODE
32167 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32168#else
32169 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32170#endif
32171 }
32172 return resultobj;
32173 fail:
32174 return NULL;
32175}
32176
32177
32178static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
32179 PyObject *resultobj;
32180 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32181 wxString *result;
32182 PyObject * obj0 = 0 ;
32183 char *kwnames[] = {
32184 (char *) "self", NULL
32185 };
32186
32187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
32188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32190 {
32191 PyThreadState* __tstate = wxPyBeginAllowThreads();
32192 {
32193 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
32194 result = (wxString *) &_result_ref;
32195 }
32196
32197 wxPyEndAllowThreads(__tstate);
32198 if (PyErr_Occurred()) SWIG_fail;
32199 }
cc6dd355
RD
32200 {
32201#if wxUSE_UNICODE
32202 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32203#else
32204 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32205#endif
32206 }
d14a1e28
RD
32207 return resultobj;
32208 fail:
32209 return NULL;
32210}
32211
32212
32213static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
32214 PyObject *resultobj;
32215 wxString *arg1 = 0 ;
32216 wxString result;
e811c8ce 32217 bool temp1 = False ;
d14a1e28
RD
32218 PyObject * obj0 = 0 ;
32219 char *kwnames[] = {
32220 (char *) "text", NULL
32221 };
32222
32223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
32224 {
32225 arg1 = wxString_in_helper(obj0);
32226 if (arg1 == NULL) SWIG_fail;
e811c8ce 32227 temp1 = True;
d14a1e28
RD
32228 }
32229 {
32230 PyThreadState* __tstate = wxPyBeginAllowThreads();
32231 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
32232
32233 wxPyEndAllowThreads(__tstate);
32234 if (PyErr_Occurred()) SWIG_fail;
32235 }
32236 {
32237#if wxUSE_UNICODE
32238 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32239#else
32240 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32241#endif
32242 }
32243 {
32244 if (temp1)
32245 delete arg1;
32246 }
32247 return resultobj;
32248 fail:
32249 {
32250 if (temp1)
32251 delete arg1;
32252 }
32253 return NULL;
32254}
32255
32256
32257static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
32258 PyObject *resultobj;
32259 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32260 int result;
32261 PyObject * obj0 = 0 ;
32262 char *kwnames[] = {
32263 (char *) "self", NULL
32264 };
32265
32266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
15afbcd0
RD
32267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32269 {
32270 PyThreadState* __tstate = wxPyBeginAllowThreads();
32271 result = (int)((wxMenuItem const *)arg1)->GetKind();
32272
32273 wxPyEndAllowThreads(__tstate);
32274 if (PyErr_Occurred()) SWIG_fail;
32275 }
15afbcd0 32276 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32277 return resultobj;
32278 fail:
32279 return NULL;
32280}
32281
32282
a95a7133
RD
32283static PyObject *_wrap_MenuItem_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
32284 PyObject *resultobj;
32285 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32286 int arg2 ;
32287 PyObject * obj0 = 0 ;
32288 PyObject * obj1 = 0 ;
32289 char *kwnames[] = {
32290 (char *) "self",(char *) "kind", NULL
32291 };
32292
32293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail;
32294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32296 arg2 = (wxItemKind) SWIG_AsInt(obj1);
32297 if (PyErr_Occurred()) SWIG_fail;
32298 {
32299 PyThreadState* __tstate = wxPyBeginAllowThreads();
32300 (arg1)->SetKind((wxItemKind )arg2);
32301
32302 wxPyEndAllowThreads(__tstate);
32303 if (PyErr_Occurred()) SWIG_fail;
32304 }
32305 Py_INCREF(Py_None); resultobj = Py_None;
32306 return resultobj;
32307 fail:
32308 return NULL;
32309}
32310
32311
d14a1e28
RD
32312static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32313 PyObject *resultobj;
32314 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32315 bool arg2 ;
32316 PyObject * obj0 = 0 ;
32317 PyObject * obj1 = 0 ;
32318 char *kwnames[] = {
32319 (char *) "self",(char *) "checkable", NULL
32320 };
32321
32322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32325 arg2 = (bool) SWIG_AsBool(obj1);
32326 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32327 {
32328 PyThreadState* __tstate = wxPyBeginAllowThreads();
32329 (arg1)->SetCheckable(arg2);
32330
32331 wxPyEndAllowThreads(__tstate);
32332 if (PyErr_Occurred()) SWIG_fail;
32333 }
32334 Py_INCREF(Py_None); resultobj = Py_None;
32335 return resultobj;
32336 fail:
32337 return NULL;
32338}
32339
32340
32341static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32342 PyObject *resultobj;
32343 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32344 bool result;
32345 PyObject * obj0 = 0 ;
32346 char *kwnames[] = {
32347 (char *) "self", NULL
32348 };
32349
32350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
15afbcd0
RD
32351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32353 {
32354 PyThreadState* __tstate = wxPyBeginAllowThreads();
32355 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
32356
32357 wxPyEndAllowThreads(__tstate);
32358 if (PyErr_Occurred()) SWIG_fail;
32359 }
4f89f6a3
RD
32360 {
32361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32362 }
d14a1e28
RD
32363 return resultobj;
32364 fail:
32365 return NULL;
32366}
32367
32368
32369static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32370 PyObject *resultobj;
32371 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32372 bool result;
32373 PyObject * obj0 = 0 ;
32374 char *kwnames[] = {
32375 (char *) "self", NULL
32376 };
32377
32378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
32379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32381 {
32382 PyThreadState* __tstate = wxPyBeginAllowThreads();
32383 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
32384
32385 wxPyEndAllowThreads(__tstate);
32386 if (PyErr_Occurred()) SWIG_fail;
32387 }
4f89f6a3
RD
32388 {
32389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32390 }
d14a1e28
RD
32391 return resultobj;
32392 fail:
32393 return NULL;
32394}
32395
32396
32397static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32398 PyObject *resultobj;
32399 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32400 wxMenu *arg2 = (wxMenu *) 0 ;
32401 PyObject * obj0 = 0 ;
32402 PyObject * obj1 = 0 ;
32403 char *kwnames[] = {
32404 (char *) "self",(char *) "menu", NULL
32405 };
32406
32407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32412 {
32413 PyThreadState* __tstate = wxPyBeginAllowThreads();
32414 (arg1)->SetSubMenu(arg2);
32415
32416 wxPyEndAllowThreads(__tstate);
32417 if (PyErr_Occurred()) SWIG_fail;
32418 }
32419 Py_INCREF(Py_None); resultobj = Py_None;
32420 return resultobj;
32421 fail:
32422 return NULL;
32423}
32424
32425
32426static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32427 PyObject *resultobj;
32428 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32429 wxMenu *result;
32430 PyObject * obj0 = 0 ;
32431 char *kwnames[] = {
32432 (char *) "self", NULL
32433 };
32434
32435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
32436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32438 {
32439 PyThreadState* __tstate = wxPyBeginAllowThreads();
32440 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
32441
32442 wxPyEndAllowThreads(__tstate);
32443 if (PyErr_Occurred()) SWIG_fail;
32444 }
32445 {
412d302d 32446 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
32447 }
32448 return resultobj;
32449 fail:
32450 return NULL;
32451}
32452
32453
32454static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
32455 PyObject *resultobj;
32456 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 32457 bool arg2 = (bool) True ;
d14a1e28
RD
32458 PyObject * obj0 = 0 ;
32459 PyObject * obj1 = 0 ;
32460 char *kwnames[] = {
32461 (char *) "self",(char *) "enable", NULL
32462 };
32463
32464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32467 if (obj1) {
15afbcd0
RD
32468 arg2 = (bool) SWIG_AsBool(obj1);
32469 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32470 }
32471 {
32472 PyThreadState* __tstate = wxPyBeginAllowThreads();
32473 (arg1)->Enable(arg2);
32474
32475 wxPyEndAllowThreads(__tstate);
32476 if (PyErr_Occurred()) SWIG_fail;
32477 }
32478 Py_INCREF(Py_None); resultobj = Py_None;
32479 return resultobj;
32480 fail:
32481 return NULL;
32482}
32483
32484
32485static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
32486 PyObject *resultobj;
32487 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32488 bool result;
32489 PyObject * obj0 = 0 ;
32490 char *kwnames[] = {
32491 (char *) "self", NULL
32492 };
32493
32494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
32495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32497 {
32498 PyThreadState* __tstate = wxPyBeginAllowThreads();
32499 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
32500
32501 wxPyEndAllowThreads(__tstate);
32502 if (PyErr_Occurred()) SWIG_fail;
32503 }
4f89f6a3
RD
32504 {
32505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32506 }
d14a1e28
RD
32507 return resultobj;
32508 fail:
32509 return NULL;
32510}
32511
32512
32513static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
32514 PyObject *resultobj;
32515 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 32516 bool arg2 = (bool) True ;
d14a1e28
RD
32517 PyObject * obj0 = 0 ;
32518 PyObject * obj1 = 0 ;
32519 char *kwnames[] = {
32520 (char *) "self",(char *) "check", NULL
32521 };
32522
32523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32526 if (obj1) {
15afbcd0
RD
32527 arg2 = (bool) SWIG_AsBool(obj1);
32528 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32529 }
32530 {
32531 PyThreadState* __tstate = wxPyBeginAllowThreads();
32532 (arg1)->Check(arg2);
32533
32534 wxPyEndAllowThreads(__tstate);
32535 if (PyErr_Occurred()) SWIG_fail;
32536 }
32537 Py_INCREF(Py_None); resultobj = Py_None;
32538 return resultobj;
32539 fail:
32540 return NULL;
32541}
32542
32543
32544static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
32545 PyObject *resultobj;
32546 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32547 bool result;
32548 PyObject * obj0 = 0 ;
32549 char *kwnames[] = {
32550 (char *) "self", NULL
32551 };
32552
32553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
32554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32556 {
32557 PyThreadState* __tstate = wxPyBeginAllowThreads();
32558 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
32559
32560 wxPyEndAllowThreads(__tstate);
32561 if (PyErr_Occurred()) SWIG_fail;
32562 }
4f89f6a3
RD
32563 {
32564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32565 }
d14a1e28
RD
32566 return resultobj;
32567 fail:
32568 return NULL;
32569}
32570
32571
32572static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
32573 PyObject *resultobj;
32574 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32575 PyObject * obj0 = 0 ;
32576 char *kwnames[] = {
32577 (char *) "self", NULL
32578 };
32579
32580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
15afbcd0
RD
32581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32583 {
32584 PyThreadState* __tstate = wxPyBeginAllowThreads();
32585 (arg1)->Toggle();
32586
32587 wxPyEndAllowThreads(__tstate);
32588 if (PyErr_Occurred()) SWIG_fail;
32589 }
32590 Py_INCREF(Py_None); resultobj = Py_None;
32591 return resultobj;
32592 fail:
32593 return NULL;
32594}
32595
32596
32597static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32598 PyObject *resultobj;
32599 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32600 wxString *arg2 = 0 ;
e811c8ce 32601 bool temp2 = False ;
d14a1e28
RD
32602 PyObject * obj0 = 0 ;
32603 PyObject * obj1 = 0 ;
32604 char *kwnames[] = {
32605 (char *) "self",(char *) "str", NULL
32606 };
32607
32608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32611 {
32612 arg2 = wxString_in_helper(obj1);
32613 if (arg2 == NULL) SWIG_fail;
e811c8ce 32614 temp2 = True;
d14a1e28
RD
32615 }
32616 {
32617 PyThreadState* __tstate = wxPyBeginAllowThreads();
32618 (arg1)->SetHelp((wxString const &)*arg2);
32619
32620 wxPyEndAllowThreads(__tstate);
32621 if (PyErr_Occurred()) SWIG_fail;
32622 }
32623 Py_INCREF(Py_None); resultobj = Py_None;
32624 {
32625 if (temp2)
32626 delete arg2;
32627 }
32628 return resultobj;
32629 fail:
32630 {
32631 if (temp2)
32632 delete arg2;
32633 }
32634 return NULL;
32635}
32636
32637
32638static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32639 PyObject *resultobj;
32640 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32641 wxString *result;
32642 PyObject * obj0 = 0 ;
32643 char *kwnames[] = {
32644 (char *) "self", NULL
32645 };
32646
32647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
32648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32650 {
32651 PyThreadState* __tstate = wxPyBeginAllowThreads();
32652 {
32653 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
32654 result = (wxString *) &_result_ref;
32655 }
32656
32657 wxPyEndAllowThreads(__tstate);
32658 if (PyErr_Occurred()) SWIG_fail;
32659 }
cc6dd355
RD
32660 {
32661#if wxUSE_UNICODE
32662 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32663#else
32664 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32665#endif
32666 }
d14a1e28
RD
32667 return resultobj;
32668 fail:
32669 return NULL;
32670}
32671
32672
32673static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32674 PyObject *resultobj;
32675 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32676 wxAcceleratorEntry *result;
32677 PyObject * obj0 = 0 ;
32678 char *kwnames[] = {
32679 (char *) "self", NULL
32680 };
32681
32682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
15afbcd0
RD
32683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32685 {
32686 PyThreadState* __tstate = wxPyBeginAllowThreads();
32687 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
32688
32689 wxPyEndAllowThreads(__tstate);
32690 if (PyErr_Occurred()) SWIG_fail;
32691 }
15afbcd0 32692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
d14a1e28
RD
32693 return resultobj;
32694 fail:
32695 return NULL;
32696}
32697
32698
32699static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32700 PyObject *resultobj;
32701 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32702 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
32703 PyObject * obj0 = 0 ;
32704 PyObject * obj1 = 0 ;
32705 char *kwnames[] = {
32706 (char *) "self",(char *) "accel", NULL
32707 };
32708
32709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
32713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32714 {
32715 PyThreadState* __tstate = wxPyBeginAllowThreads();
32716 (arg1)->SetAccel(arg2);
32717
32718 wxPyEndAllowThreads(__tstate);
32719 if (PyErr_Occurred()) SWIG_fail;
32720 }
32721 Py_INCREF(Py_None); resultobj = Py_None;
32722 return resultobj;
32723 fail:
32724 return NULL;
32725}
32726
32727
32728static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
32729 PyObject *resultobj;
32730 int result;
32731 char *kwnames[] = {
32732 NULL
32733 };
32734
32735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
32736 {
32737 PyThreadState* __tstate = wxPyBeginAllowThreads();
32738 result = (int)MenuItem_GetDefaultMarginWidth();
32739
32740 wxPyEndAllowThreads(__tstate);
32741 if (PyErr_Occurred()) SWIG_fail;
32742 }
15afbcd0 32743 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32744 return resultobj;
32745 fail:
32746 return NULL;
32747}
32748
32749
32750static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32751 PyObject *resultobj;
32752 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32753 wxBitmap *arg2 = 0 ;
32754 PyObject * obj0 = 0 ;
32755 PyObject * obj1 = 0 ;
32756 char *kwnames[] = {
32757 (char *) "self",(char *) "bitmap", NULL
32758 };
32759
32760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32763 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
32764 SWIG_POINTER_EXCEPTION | 0)) == -1)
32765 SWIG_fail;
d14a1e28 32766 if (arg2 == NULL) {
15afbcd0
RD
32767 PyErr_SetString(PyExc_TypeError,"null reference");
32768 SWIG_fail;
d14a1e28
RD
32769 }
32770 {
32771 PyThreadState* __tstate = wxPyBeginAllowThreads();
32772 (arg1)->SetBitmap((wxBitmap const &)*arg2);
32773
32774 wxPyEndAllowThreads(__tstate);
32775 if (PyErr_Occurred()) SWIG_fail;
32776 }
32777 Py_INCREF(Py_None); resultobj = Py_None;
32778 return resultobj;
32779 fail:
32780 return NULL;
32781}
32782
32783
32784static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32785 PyObject *resultobj;
32786 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32787 wxBitmap *result;
32788 PyObject * obj0 = 0 ;
32789 char *kwnames[] = {
32790 (char *) "self", NULL
32791 };
32792
32793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
32794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32796 {
32797 PyThreadState* __tstate = wxPyBeginAllowThreads();
32798 {
32799 wxBitmap const &_result_ref = (arg1)->GetBitmap();
32800 result = (wxBitmap *) &_result_ref;
32801 }
32802
32803 wxPyEndAllowThreads(__tstate);
32804 if (PyErr_Occurred()) SWIG_fail;
32805 }
4276dc52
RD
32806 {
32807 wxBitmap* resultptr = new wxBitmap(*result);
32808 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
32809 }
d14a1e28
RD
32810 return resultobj;
32811 fail:
32812 return NULL;
32813}
32814
32815
32816static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
32817 PyObject *obj;
32818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32819 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
32820 Py_INCREF(obj);
32821 return Py_BuildValue((char *)"");
32822}
b2dc1044
RD
32823static int _wrap_ControlNameStr_set(PyObject *_val) {
32824 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
32825 return 1;
32826}
32827
32828
32829static PyObject *_wrap_ControlNameStr_get() {
32830 PyObject *pyobj;
32831
32832 {
32833#if wxUSE_UNICODE
32834 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32835#else
32836 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32837#endif
32838 }
32839 return pyobj;
32840}
32841
32842
d14a1e28
RD
32843static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
32844 PyObject *resultobj;
32845 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 32846 int arg2 = (int) -1 ;
d14a1e28
RD
32847 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32848 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32849 wxSize const &arg4_defvalue = wxDefaultSize ;
32850 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32851 long arg5 = (long) 0 ;
32852 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32853 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32854 wxString const &arg7_defvalue = wxPyControlNameStr ;
32855 wxString *arg7 = (wxString *) &arg7_defvalue ;
32856 wxControl *result;
32857 wxPoint temp3 ;
32858 wxSize temp4 ;
e811c8ce 32859 bool temp7 = False ;
d14a1e28 32860 PyObject * obj0 = 0 ;
994141e6 32861 PyObject * obj1 = 0 ;
d14a1e28
RD
32862 PyObject * obj2 = 0 ;
32863 PyObject * obj3 = 0 ;
994141e6 32864 PyObject * obj4 = 0 ;
d14a1e28
RD
32865 PyObject * obj5 = 0 ;
32866 PyObject * obj6 = 0 ;
32867 char *kwnames[] = {
32868 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32869 };
32870
248ed943 32871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
32872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
32873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
32874 if (obj1) {
32875 arg2 = (int) SWIG_AsInt(obj1);
32876 if (PyErr_Occurred()) SWIG_fail;
32877 }
d14a1e28
RD
32878 if (obj2) {
32879 {
32880 arg3 = &temp3;
32881 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32882 }
32883 }
32884 if (obj3) {
32885 {
32886 arg4 = &temp4;
32887 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32888 }
32889 }
994141e6 32890 if (obj4) {
15afbcd0
RD
32891 arg5 = (long) SWIG_AsLong(obj4);
32892 if (PyErr_Occurred()) SWIG_fail;
994141e6 32893 }
d14a1e28 32894 if (obj5) {
15afbcd0
RD
32895 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
32896 SWIG_POINTER_EXCEPTION | 0)) == -1)
32897 SWIG_fail;
d14a1e28 32898 if (arg6 == NULL) {
15afbcd0
RD
32899 PyErr_SetString(PyExc_TypeError,"null reference");
32900 SWIG_fail;
d14a1e28
RD
32901 }
32902 }
32903 if (obj6) {
32904 {
32905 arg7 = wxString_in_helper(obj6);
32906 if (arg7 == NULL) SWIG_fail;
e811c8ce 32907 temp7 = True;
d14a1e28
RD
32908 }
32909 }
32910 {
e3b71cb8 32911 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
32912 PyThreadState* __tstate = wxPyBeginAllowThreads();
32913 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32914
32915 wxPyEndAllowThreads(__tstate);
110da5b0 32916 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 32917 }
b0f7404b 32918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
d14a1e28
RD
32919 {
32920 if (temp7)
32921 delete arg7;
32922 }
32923 return resultobj;
32924 fail:
32925 {
32926 if (temp7)
32927 delete arg7;
32928 }
32929 return NULL;
32930}
32931
32932
32933static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
32934 PyObject *resultobj;
32935 wxControl *result;
32936 char *kwnames[] = {
32937 NULL
32938 };
32939
32940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
32941 {
e3b71cb8 32942 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
32943 PyThreadState* __tstate = wxPyBeginAllowThreads();
32944 result = (wxControl *)new wxControl();
32945
32946 wxPyEndAllowThreads(__tstate);
110da5b0 32947 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 32948 }
b0f7404b 32949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
d14a1e28
RD
32950 return resultobj;
32951 fail:
32952 return NULL;
32953}
32954
32955
32956static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
32957 PyObject *resultobj;
32958 wxControl *arg1 = (wxControl *) 0 ;
32959 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 32960 int arg3 = (int) -1 ;
d14a1e28
RD
32961 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32962 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32963 wxSize const &arg5_defvalue = wxDefaultSize ;
32964 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32965 long arg6 = (long) 0 ;
32966 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32967 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32968 wxString const &arg8_defvalue = wxPyControlNameStr ;
32969 wxString *arg8 = (wxString *) &arg8_defvalue ;
32970 bool result;
32971 wxPoint temp4 ;
32972 wxSize temp5 ;
e811c8ce 32973 bool temp8 = False ;
d14a1e28
RD
32974 PyObject * obj0 = 0 ;
32975 PyObject * obj1 = 0 ;
994141e6 32976 PyObject * obj2 = 0 ;
d14a1e28
RD
32977 PyObject * obj3 = 0 ;
32978 PyObject * obj4 = 0 ;
994141e6 32979 PyObject * obj5 = 0 ;
d14a1e28
RD
32980 PyObject * obj6 = 0 ;
32981 PyObject * obj7 = 0 ;
32982 char *kwnames[] = {
32983 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32984 };
32985
248ed943 32986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
32987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
32990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
32991 if (obj2) {
32992 arg3 = (int) SWIG_AsInt(obj2);
32993 if (PyErr_Occurred()) SWIG_fail;
32994 }
d14a1e28
RD
32995 if (obj3) {
32996 {
32997 arg4 = &temp4;
32998 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32999 }
33000 }
33001 if (obj4) {
33002 {
33003 arg5 = &temp5;
33004 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33005 }
33006 }
994141e6 33007 if (obj5) {
15afbcd0
RD
33008 arg6 = (long) SWIG_AsLong(obj5);
33009 if (PyErr_Occurred()) SWIG_fail;
994141e6 33010 }
d14a1e28 33011 if (obj6) {
15afbcd0
RD
33012 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
33013 SWIG_POINTER_EXCEPTION | 0)) == -1)
33014 SWIG_fail;
d14a1e28 33015 if (arg7 == NULL) {
15afbcd0
RD
33016 PyErr_SetString(PyExc_TypeError,"null reference");
33017 SWIG_fail;
d14a1e28
RD
33018 }
33019 }
33020 if (obj7) {
33021 {
33022 arg8 = wxString_in_helper(obj7);
33023 if (arg8 == NULL) SWIG_fail;
e811c8ce 33024 temp8 = True;
d14a1e28
RD
33025 }
33026 }
33027 {
33028 PyThreadState* __tstate = wxPyBeginAllowThreads();
33029 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
33030
33031 wxPyEndAllowThreads(__tstate);
33032 if (PyErr_Occurred()) SWIG_fail;
33033 }
4f89f6a3
RD
33034 {
33035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33036 }
d14a1e28
RD
33037 {
33038 if (temp8)
33039 delete arg8;
33040 }
33041 return resultobj;
33042 fail:
33043 {
33044 if (temp8)
33045 delete arg8;
33046 }
33047 return NULL;
33048}
33049
33050
33051static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
33052 PyObject *resultobj;
33053 wxControl *arg1 = (wxControl *) 0 ;
33054 wxCommandEvent *arg2 = 0 ;
33055 PyObject * obj0 = 0 ;
33056 PyObject * obj1 = 0 ;
33057 char *kwnames[] = {
33058 (char *) "self",(char *) "event", NULL
33059 };
33060
33061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33064 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
33065 SWIG_POINTER_EXCEPTION | 0)) == -1)
33066 SWIG_fail;
d14a1e28 33067 if (arg2 == NULL) {
15afbcd0
RD
33068 PyErr_SetString(PyExc_TypeError,"null reference");
33069 SWIG_fail;
d14a1e28
RD
33070 }
33071 {
33072 PyThreadState* __tstate = wxPyBeginAllowThreads();
33073 (arg1)->Command(*arg2);
33074
33075 wxPyEndAllowThreads(__tstate);
33076 if (PyErr_Occurred()) SWIG_fail;
33077 }
33078 Py_INCREF(Py_None); resultobj = Py_None;
33079 return resultobj;
33080 fail:
33081 return NULL;
33082}
33083
33084
33085static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
33086 PyObject *resultobj;
33087 wxControl *arg1 = (wxControl *) 0 ;
33088 wxString result;
33089 PyObject * obj0 = 0 ;
33090 char *kwnames[] = {
33091 (char *) "self", NULL
33092 };
33093
33094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
33095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33097 {
33098 PyThreadState* __tstate = wxPyBeginAllowThreads();
33099 result = (arg1)->GetLabel();
33100
33101 wxPyEndAllowThreads(__tstate);
33102 if (PyErr_Occurred()) SWIG_fail;
33103 }
33104 {
33105#if wxUSE_UNICODE
33106 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33107#else
33108 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33109#endif
33110 }
33111 return resultobj;
33112 fail:
33113 return NULL;
33114}
33115
33116
33117static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
33118 PyObject *resultobj;
33119 wxControl *arg1 = (wxControl *) 0 ;
33120 wxString *arg2 = 0 ;
e811c8ce 33121 bool temp2 = False ;
d14a1e28
RD
33122 PyObject * obj0 = 0 ;
33123 PyObject * obj1 = 0 ;
33124 char *kwnames[] = {
33125 (char *) "self",(char *) "label", NULL
33126 };
33127
33128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33131 {
33132 arg2 = wxString_in_helper(obj1);
33133 if (arg2 == NULL) SWIG_fail;
e811c8ce 33134 temp2 = True;
d14a1e28
RD
33135 }
33136 {
33137 PyThreadState* __tstate = wxPyBeginAllowThreads();
33138 (arg1)->SetLabel((wxString const &)*arg2);
33139
33140 wxPyEndAllowThreads(__tstate);
33141 if (PyErr_Occurred()) SWIG_fail;
33142 }
33143 Py_INCREF(Py_None); resultobj = Py_None;
33144 {
33145 if (temp2)
33146 delete arg2;
33147 }
33148 return resultobj;
33149 fail:
33150 {
33151 if (temp2)
33152 delete arg2;
33153 }
33154 return NULL;
33155}
33156
33157
74a57fcd
RD
33158static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
33159 PyObject *resultobj;
33160 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
33161 wxVisualAttributes result;
33162 PyObject * obj0 = 0 ;
33163 char *kwnames[] = {
33164 (char *) "variant", NULL
33165 };
33166
33167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
33168 if (obj0) {
33169 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
33170 if (PyErr_Occurred()) SWIG_fail;
33171 }
33172 {
110da5b0 33173 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
33174 PyThreadState* __tstate = wxPyBeginAllowThreads();
33175 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
33176
33177 wxPyEndAllowThreads(__tstate);
dfbb5885 33178 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
33179 }
33180 {
33181 wxVisualAttributes * resultptr;
33182 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
33183 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33184 }
33185 return resultobj;
33186 fail:
33187 return NULL;
33188}
33189
33190
d14a1e28
RD
33191static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
33192 PyObject *obj;
33193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33194 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
33195 Py_INCREF(obj);
33196 return Py_BuildValue((char *)"");
33197}
33198static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
33199 PyObject *resultobj;
33200 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33201 wxString *arg2 = 0 ;
33202 PyObject *arg3 = (PyObject *) NULL ;
33203 int result;
e811c8ce 33204 bool temp2 = False ;
d14a1e28
RD
33205 PyObject * obj0 = 0 ;
33206 PyObject * obj1 = 0 ;
33207 PyObject * obj2 = 0 ;
33208 char *kwnames[] = {
33209 (char *) "self",(char *) "item",(char *) "clientData", NULL
33210 };
33211
33212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33215 {
33216 arg2 = wxString_in_helper(obj1);
33217 if (arg2 == NULL) SWIG_fail;
e811c8ce 33218 temp2 = True;
d14a1e28
RD
33219 }
33220 if (obj2) {
33221 arg3 = obj2;
33222 }
33223 {
33224 PyThreadState* __tstate = wxPyBeginAllowThreads();
33225 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
33226
33227 wxPyEndAllowThreads(__tstate);
33228 if (PyErr_Occurred()) SWIG_fail;
33229 }
15afbcd0 33230 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33231 {
33232 if (temp2)
33233 delete arg2;
33234 }
33235 return resultobj;
33236 fail:
33237 {
33238 if (temp2)
33239 delete arg2;
33240 }
33241 return NULL;
33242}
33243
33244
33245static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
33246 PyObject *resultobj;
33247 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33248 wxArrayString *arg2 = 0 ;
3adfb63b 33249 bool temp2 = False ;
d14a1e28
RD
33250 PyObject * obj0 = 0 ;
33251 PyObject * obj1 = 0 ;
33252 char *kwnames[] = {
33253 (char *) "self",(char *) "strings", NULL
33254 };
33255
33256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33259 {
33260 if (! PySequence_Check(obj1)) {
33261 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
33262 SWIG_fail;
33263 }
33264 arg2 = new wxArrayString;
3adfb63b 33265 temp2 = True;
d14a1e28
RD
33266 int i, len=PySequence_Length(obj1);
33267 for (i=0; i<len; i++) {
33268 PyObject* item = PySequence_GetItem(obj1, i);
33269#if wxUSE_UNICODE
33270 PyObject* str = PyObject_Unicode(item);
33271#else
33272 PyObject* str = PyObject_Str(item);
33273#endif
74a57fcd 33274 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33275 arg2->Add(Py2wxString(str));
33276 Py_DECREF(item);
33277 Py_DECREF(str);
33278 }
33279 }
33280 {
33281 PyThreadState* __tstate = wxPyBeginAllowThreads();
33282 (arg1)->Append((wxArrayString const &)*arg2);
33283
33284 wxPyEndAllowThreads(__tstate);
33285 if (PyErr_Occurred()) SWIG_fail;
33286 }
33287 Py_INCREF(Py_None); resultobj = Py_None;
33288 {
3adfb63b 33289 if (temp2) delete arg2;
d14a1e28
RD
33290 }
33291 return resultobj;
33292 fail:
33293 {
3adfb63b 33294 if (temp2) delete arg2;
d14a1e28
RD
33295 }
33296 return NULL;
33297}
33298
33299
33300static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
33301 PyObject *resultobj;
33302 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33303 wxString *arg2 = 0 ;
33304 int arg3 ;
33305 PyObject *arg4 = (PyObject *) NULL ;
33306 int result;
e811c8ce 33307 bool temp2 = False ;
d14a1e28
RD
33308 PyObject * obj0 = 0 ;
33309 PyObject * obj1 = 0 ;
994141e6 33310 PyObject * obj2 = 0 ;
d14a1e28
RD
33311 PyObject * obj3 = 0 ;
33312 char *kwnames[] = {
33313 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33314 };
33315
994141e6 33316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
33317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33319 {
33320 arg2 = wxString_in_helper(obj1);
33321 if (arg2 == NULL) SWIG_fail;
e811c8ce 33322 temp2 = True;
d14a1e28 33323 }
15afbcd0
RD
33324 arg3 = (int) SWIG_AsInt(obj2);
33325 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33326 if (obj3) {
33327 arg4 = obj3;
33328 }
33329 {
33330 PyThreadState* __tstate = wxPyBeginAllowThreads();
33331 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
33332
33333 wxPyEndAllowThreads(__tstate);
33334 if (PyErr_Occurred()) SWIG_fail;
33335 }
15afbcd0 33336 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33337 {
33338 if (temp2)
33339 delete arg2;
33340 }
33341 return resultobj;
33342 fail:
33343 {
33344 if (temp2)
33345 delete arg2;
33346 }
33347 return NULL;
33348}
33349
33350
33351static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
33352 PyObject *resultobj;
33353 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33354 PyObject * obj0 = 0 ;
33355 char *kwnames[] = {
33356 (char *) "self", NULL
33357 };
33358
33359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
33360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33362 {
33363 PyThreadState* __tstate = wxPyBeginAllowThreads();
33364 (arg1)->Clear();
33365
33366 wxPyEndAllowThreads(__tstate);
33367 if (PyErr_Occurred()) SWIG_fail;
33368 }
33369 Py_INCREF(Py_None); resultobj = Py_None;
33370 return resultobj;
33371 fail:
33372 return NULL;
33373}
33374
33375
33376static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
33377 PyObject *resultobj;
33378 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33379 int arg2 ;
33380 PyObject * obj0 = 0 ;
994141e6 33381 PyObject * obj1 = 0 ;
d14a1e28
RD
33382 char *kwnames[] = {
33383 (char *) "self",(char *) "n", NULL
33384 };
33385
994141e6 33386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33389 arg2 = (int) SWIG_AsInt(obj1);
33390 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33391 {
33392 PyThreadState* __tstate = wxPyBeginAllowThreads();
33393 (arg1)->Delete(arg2);
33394
33395 wxPyEndAllowThreads(__tstate);
33396 if (PyErr_Occurred()) SWIG_fail;
33397 }
33398 Py_INCREF(Py_None); resultobj = Py_None;
33399 return resultobj;
33400 fail:
33401 return NULL;
33402}
33403
33404
33405static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
33406 PyObject *resultobj;
33407 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33408 int result;
33409 PyObject * obj0 = 0 ;
33410 char *kwnames[] = {
33411 (char *) "self", NULL
33412 };
33413
33414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
33415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33417 {
33418 PyThreadState* __tstate = wxPyBeginAllowThreads();
33419 result = (int)((wxItemContainer const *)arg1)->GetCount();
33420
33421 wxPyEndAllowThreads(__tstate);
33422 if (PyErr_Occurred()) SWIG_fail;
33423 }
15afbcd0 33424 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33425 return resultobj;
33426 fail:
33427 return NULL;
33428}
33429
33430
33431static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
33432 PyObject *resultobj;
33433 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33434 bool result;
33435 PyObject * obj0 = 0 ;
33436 char *kwnames[] = {
33437 (char *) "self", NULL
33438 };
33439
33440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
15afbcd0
RD
33441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33443 {
33444 PyThreadState* __tstate = wxPyBeginAllowThreads();
33445 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
33446
33447 wxPyEndAllowThreads(__tstate);
33448 if (PyErr_Occurred()) SWIG_fail;
33449 }
4f89f6a3
RD
33450 {
33451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33452 }
d14a1e28
RD
33453 return resultobj;
33454 fail:
33455 return NULL;
33456}
33457
33458
33459static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33460 PyObject *resultobj;
33461 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33462 int arg2 ;
33463 wxString result;
33464 PyObject * obj0 = 0 ;
994141e6 33465 PyObject * obj1 = 0 ;
d14a1e28
RD
33466 char *kwnames[] = {
33467 (char *) "self",(char *) "n", NULL
33468 };
33469
994141e6 33470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33473 arg2 = (int) SWIG_AsInt(obj1);
33474 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33475 {
33476 PyThreadState* __tstate = wxPyBeginAllowThreads();
33477 result = ((wxItemContainer const *)arg1)->GetString(arg2);
33478
33479 wxPyEndAllowThreads(__tstate);
33480 if (PyErr_Occurred()) SWIG_fail;
33481 }
33482 {
33483#if wxUSE_UNICODE
33484 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33485#else
33486 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33487#endif
33488 }
33489 return resultobj;
33490 fail:
33491 return NULL;
33492}
33493
33494
33495static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
33496 PyObject *resultobj;
33497 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33498 wxArrayString result;
33499 PyObject * obj0 = 0 ;
33500 char *kwnames[] = {
33501 (char *) "self", NULL
33502 };
33503
33504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
15afbcd0
RD
33505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33507 {
33508 PyThreadState* __tstate = wxPyBeginAllowThreads();
33509 result = ((wxItemContainer const *)arg1)->GetStrings();
33510
33511 wxPyEndAllowThreads(__tstate);
33512 if (PyErr_Occurred()) SWIG_fail;
33513 }
33514 {
33515 resultobj = wxArrayString2PyList_helper(result);
33516 }
33517 return resultobj;
33518 fail:
33519 return NULL;
33520}
33521
33522
33523static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33524 PyObject *resultobj;
33525 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33526 int arg2 ;
33527 wxString *arg3 = 0 ;
e811c8ce 33528 bool temp3 = False ;
d14a1e28 33529 PyObject * obj0 = 0 ;
994141e6 33530 PyObject * obj1 = 0 ;
d14a1e28
RD
33531 PyObject * obj2 = 0 ;
33532 char *kwnames[] = {
33533 (char *) "self",(char *) "n",(char *) "s", NULL
33534 };
33535
994141e6 33536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33539 arg2 = (int) SWIG_AsInt(obj1);
33540 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33541 {
33542 arg3 = wxString_in_helper(obj2);
33543 if (arg3 == NULL) SWIG_fail;
e811c8ce 33544 temp3 = True;
d14a1e28
RD
33545 }
33546 {
33547 PyThreadState* __tstate = wxPyBeginAllowThreads();
33548 (arg1)->SetString(arg2,(wxString const &)*arg3);
33549
33550 wxPyEndAllowThreads(__tstate);
33551 if (PyErr_Occurred()) SWIG_fail;
33552 }
33553 Py_INCREF(Py_None); resultobj = Py_None;
33554 {
33555 if (temp3)
33556 delete arg3;
33557 }
33558 return resultobj;
33559 fail:
33560 {
33561 if (temp3)
33562 delete arg3;
33563 }
33564 return NULL;
33565}
33566
33567
33568static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
33569 PyObject *resultobj;
33570 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33571 wxString *arg2 = 0 ;
33572 int result;
e811c8ce 33573 bool temp2 = False ;
d14a1e28
RD
33574 PyObject * obj0 = 0 ;
33575 PyObject * obj1 = 0 ;
33576 char *kwnames[] = {
33577 (char *) "self",(char *) "s", NULL
33578 };
33579
33580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33583 {
33584 arg2 = wxString_in_helper(obj1);
33585 if (arg2 == NULL) SWIG_fail;
e811c8ce 33586 temp2 = True;
d14a1e28
RD
33587 }
33588 {
33589 PyThreadState* __tstate = wxPyBeginAllowThreads();
33590 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
33591
33592 wxPyEndAllowThreads(__tstate);
33593 if (PyErr_Occurred()) SWIG_fail;
33594 }
15afbcd0 33595 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33596 {
33597 if (temp2)
33598 delete arg2;
33599 }
33600 return resultobj;
33601 fail:
33602 {
33603 if (temp2)
33604 delete arg2;
33605 }
33606 return NULL;
33607}
33608
33609
33610static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
33611 PyObject *resultobj;
33612 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33613 int arg2 ;
33614 PyObject * obj0 = 0 ;
994141e6 33615 PyObject * obj1 = 0 ;
d14a1e28
RD
33616 char *kwnames[] = {
33617 (char *) "self",(char *) "n", NULL
33618 };
33619
994141e6 33620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33623 arg2 = (int) SWIG_AsInt(obj1);
33624 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33625 {
33626 PyThreadState* __tstate = wxPyBeginAllowThreads();
33627 (arg1)->Select(arg2);
33628
33629 wxPyEndAllowThreads(__tstate);
33630 if (PyErr_Occurred()) SWIG_fail;
33631 }
33632 Py_INCREF(Py_None); resultobj = Py_None;
33633 return resultobj;
33634 fail:
33635 return NULL;
33636}
33637
33638
33639static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33640 PyObject *resultobj;
33641 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33642 int result;
33643 PyObject * obj0 = 0 ;
33644 char *kwnames[] = {
33645 (char *) "self", NULL
33646 };
33647
33648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
33649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33651 {
33652 PyThreadState* __tstate = wxPyBeginAllowThreads();
33653 result = (int)((wxItemContainer const *)arg1)->GetSelection();
33654
33655 wxPyEndAllowThreads(__tstate);
33656 if (PyErr_Occurred()) SWIG_fail;
33657 }
15afbcd0 33658 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33659 return resultobj;
33660 fail:
33661 return NULL;
33662}
33663
33664
33665static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33666 PyObject *resultobj;
33667 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33668 wxString result;
33669 PyObject * obj0 = 0 ;
33670 char *kwnames[] = {
33671 (char *) "self", NULL
33672 };
33673
33674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
33675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33677 {
33678 PyThreadState* __tstate = wxPyBeginAllowThreads();
33679 result = ((wxItemContainer const *)arg1)->GetStringSelection();
33680
33681 wxPyEndAllowThreads(__tstate);
33682 if (PyErr_Occurred()) SWIG_fail;
33683 }
33684 {
33685#if wxUSE_UNICODE
33686 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33687#else
33688 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33689#endif
33690 }
33691 return resultobj;
33692 fail:
33693 return NULL;
33694}
33695
33696
33697static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33698 PyObject *resultobj;
33699 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33700 int arg2 ;
33701 PyObject *result;
33702 PyObject * obj0 = 0 ;
994141e6 33703 PyObject * obj1 = 0 ;
d14a1e28
RD
33704 char *kwnames[] = {
33705 (char *) "self",(char *) "n", NULL
33706 };
33707
994141e6 33708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33711 arg2 = (int) SWIG_AsInt(obj1);
33712 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33713 {
33714 PyThreadState* __tstate = wxPyBeginAllowThreads();
33715 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
33716
33717 wxPyEndAllowThreads(__tstate);
33718 if (PyErr_Occurred()) SWIG_fail;
33719 }
33720 resultobj = result;
33721 return resultobj;
33722 fail:
33723 return NULL;
33724}
33725
33726
33727static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33728 PyObject *resultobj;
33729 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33730 int arg2 ;
33731 PyObject *arg3 = (PyObject *) 0 ;
33732 PyObject * obj0 = 0 ;
994141e6 33733 PyObject * obj1 = 0 ;
d14a1e28
RD
33734 PyObject * obj2 = 0 ;
33735 char *kwnames[] = {
33736 (char *) "self",(char *) "n",(char *) "clientData", NULL
33737 };
33738
994141e6 33739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33742 arg2 = (int) SWIG_AsInt(obj1);
33743 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33744 arg3 = obj2;
33745 {
33746 PyThreadState* __tstate = wxPyBeginAllowThreads();
33747 wxItemContainer_SetClientData(arg1,arg2,arg3);
33748
33749 wxPyEndAllowThreads(__tstate);
33750 if (PyErr_Occurred()) SWIG_fail;
33751 }
33752 Py_INCREF(Py_None); resultobj = Py_None;
33753 return resultobj;
33754 fail:
33755 return NULL;
33756}
33757
33758
33759static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
33760 PyObject *obj;
33761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33762 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
33763 Py_INCREF(obj);
33764 return Py_BuildValue((char *)"");
33765}
33766static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
33767 PyObject *obj;
33768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33769 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
33770 Py_INCREF(obj);
33771 return Py_BuildValue((char *)"");
33772}
33773static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33774 PyObject *resultobj;
33775 wxSizerItem *result;
33776 char *kwnames[] = {
33777 NULL
33778 };
33779
33780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
33781 {
33782 PyThreadState* __tstate = wxPyBeginAllowThreads();
33783 result = (wxSizerItem *)new wxSizerItem();
33784
33785 wxPyEndAllowThreads(__tstate);
33786 if (PyErr_Occurred()) SWIG_fail;
33787 }
15afbcd0 33788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33789 return resultobj;
33790 fail:
33791 return NULL;
33792}
33793
33794
248ed943 33795static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 33796 PyObject *resultobj;
248ed943 33797 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
33798 int arg2 ;
33799 int arg3 ;
33800 int arg4 ;
248ed943 33801 PyObject *arg5 = (PyObject *) NULL ;
d14a1e28 33802 wxSizerItem *result;
994141e6
RD
33803 PyObject * obj0 = 0 ;
33804 PyObject * obj1 = 0 ;
33805 PyObject * obj2 = 0 ;
33806 PyObject * obj3 = 0 ;
33807 PyObject * obj4 = 0 ;
d14a1e28 33808 char *kwnames[] = {
248ed943 33809 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d14a1e28
RD
33810 };
33811
248ed943
RD
33812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
33814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15afbcd0
RD
33815 arg2 = (int) SWIG_AsInt(obj1);
33816 if (PyErr_Occurred()) SWIG_fail;
33817 arg3 = (int) SWIG_AsInt(obj2);
33818 if (PyErr_Occurred()) SWIG_fail;
33819 arg4 = (int) SWIG_AsInt(obj3);
33820 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
33821 if (obj4) {
33822 arg5 = obj4;
33823 }
d14a1e28
RD
33824 {
33825 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 33826 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d14a1e28
RD
33827
33828 wxPyEndAllowThreads(__tstate);
33829 if (PyErr_Occurred()) SWIG_fail;
33830 }
15afbcd0 33831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33832 return resultobj;
33833 fail:
33834 return NULL;
33835}
33836
33837
248ed943 33838static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 33839 PyObject *resultobj;
248ed943 33840 int arg1 ;
d14a1e28
RD
33841 int arg2 ;
33842 int arg3 ;
33843 int arg4 ;
248ed943
RD
33844 int arg5 ;
33845 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
33846 wxSizerItem *result;
33847 PyObject * obj0 = 0 ;
994141e6
RD
33848 PyObject * obj1 = 0 ;
33849 PyObject * obj2 = 0 ;
33850 PyObject * obj3 = 0 ;
d14a1e28 33851 PyObject * obj4 = 0 ;
248ed943 33852 PyObject * obj5 = 0 ;
d14a1e28 33853 char *kwnames[] = {
248ed943 33854 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d14a1e28
RD
33855 };
33856
248ed943
RD
33857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33858 arg1 = (int) SWIG_AsInt(obj0);
33859 if (PyErr_Occurred()) SWIG_fail;
15afbcd0
RD
33860 arg2 = (int) SWIG_AsInt(obj1);
33861 if (PyErr_Occurred()) SWIG_fail;
33862 arg3 = (int) SWIG_AsInt(obj2);
33863 if (PyErr_Occurred()) SWIG_fail;
33864 arg4 = (int) SWIG_AsInt(obj3);
33865 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
33866 arg5 = (int) SWIG_AsInt(obj4);
33867 if (PyErr_Occurred()) SWIG_fail;
33868 if (obj5) {
33869 arg6 = obj5;
33870 }
d14a1e28
RD
33871 {
33872 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 33873 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
33874
33875 wxPyEndAllowThreads(__tstate);
33876 if (PyErr_Occurred()) SWIG_fail;
33877 }
15afbcd0 33878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33879 return resultobj;
33880 fail:
33881 return NULL;
33882}
33883
33884
33885static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33886 PyObject *resultobj;
33887 wxSizer *arg1 = (wxSizer *) 0 ;
33888 int arg2 ;
33889 int arg3 ;
33890 int arg4 ;
248ed943 33891 PyObject *arg5 = (PyObject *) NULL ;
d14a1e28
RD
33892 wxSizerItem *result;
33893 PyObject * obj0 = 0 ;
994141e6
RD
33894 PyObject * obj1 = 0 ;
33895 PyObject * obj2 = 0 ;
33896 PyObject * obj3 = 0 ;
d14a1e28
RD
33897 PyObject * obj4 = 0 ;
33898 char *kwnames[] = {
33899 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33900 };
33901
248ed943 33902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
33903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33905 arg2 = (int) SWIG_AsInt(obj1);
33906 if (PyErr_Occurred()) SWIG_fail;
33907 arg3 = (int) SWIG_AsInt(obj2);
33908 if (PyErr_Occurred()) SWIG_fail;
33909 arg4 = (int) SWIG_AsInt(obj3);
33910 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
33911 if (obj4) {
33912 arg5 = obj4;
33913 }
d14a1e28
RD
33914 {
33915 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 33916 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d14a1e28
RD
33917
33918 wxPyEndAllowThreads(__tstate);
33919 if (PyErr_Occurred()) SWIG_fail;
33920 }
15afbcd0 33921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33922 return resultobj;
33923 fail:
33924 return NULL;
33925}
33926
33927
33928static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
33929 PyObject *resultobj;
33930 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33931 PyObject * obj0 = 0 ;
33932 char *kwnames[] = {
33933 (char *) "self", NULL
33934 };
33935
33936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
33937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33939 {
33940 PyThreadState* __tstate = wxPyBeginAllowThreads();
33941 (arg1)->DeleteWindows();
33942
33943 wxPyEndAllowThreads(__tstate);
33944 if (PyErr_Occurred()) SWIG_fail;
33945 }
33946 Py_INCREF(Py_None); resultobj = Py_None;
33947 return resultobj;
33948 fail:
33949 return NULL;
33950}
33951
33952
33953static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33954 PyObject *resultobj;
33955 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33956 PyObject * obj0 = 0 ;
33957 char *kwnames[] = {
33958 (char *) "self", NULL
33959 };
33960
33961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
33962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33964 {
33965 PyThreadState* __tstate = wxPyBeginAllowThreads();
33966 (arg1)->DetachSizer();
33967
33968 wxPyEndAllowThreads(__tstate);
33969 if (PyErr_Occurred()) SWIG_fail;
33970 }
33971 Py_INCREF(Py_None); resultobj = Py_None;
33972 return resultobj;
33973 fail:
33974 return NULL;
33975}
33976
33977
33978static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33979 PyObject *resultobj;
33980 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33981 wxSize result;
33982 PyObject * obj0 = 0 ;
33983 char *kwnames[] = {
33984 (char *) "self", NULL
33985 };
33986
33987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
33988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33990 {
33991 PyThreadState* __tstate = wxPyBeginAllowThreads();
33992 result = (arg1)->GetSize();
33993
33994 wxPyEndAllowThreads(__tstate);
33995 if (PyErr_Occurred()) SWIG_fail;
33996 }
33997 {
33998 wxSize * resultptr;
33999 resultptr = new wxSize((wxSize &) result);
15afbcd0 34000 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34001 }
34002 return resultobj;
34003 fail:
34004 return NULL;
34005}
34006
34007
34008static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34009 PyObject *resultobj;
34010 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34011 wxSize result;
34012 PyObject * obj0 = 0 ;
34013 char *kwnames[] = {
34014 (char *) "self", NULL
34015 };
34016
34017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
34018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34020 {
34021 PyThreadState* __tstate = wxPyBeginAllowThreads();
34022 result = (arg1)->CalcMin();
34023
34024 wxPyEndAllowThreads(__tstate);
34025 if (PyErr_Occurred()) SWIG_fail;
34026 }
34027 {
34028 wxSize * resultptr;
34029 resultptr = new wxSize((wxSize &) result);
15afbcd0 34030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34031 }
34032 return resultobj;
34033 fail:
34034 return NULL;
34035}
34036
34037
34038static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
34039 PyObject *resultobj;
34040 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34041 wxPoint arg2 ;
34042 wxSize arg3 ;
34043 wxPoint *argp2 ;
34044 wxSize *argp3 ;
34045 PyObject * obj0 = 0 ;
34046 PyObject * obj1 = 0 ;
34047 PyObject * obj2 = 0 ;
34048 char *kwnames[] = {
34049 (char *) "self",(char *) "pos",(char *) "size", NULL
34050 };
34051
34052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34055 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
34056 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34057 arg2 = *argp2;
34058 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
34059 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34060 arg3 = *argp3;
d14a1e28
RD
34061 {
34062 PyThreadState* __tstate = wxPyBeginAllowThreads();
34063 (arg1)->SetDimension(arg2,arg3);
34064
34065 wxPyEndAllowThreads(__tstate);
34066 if (PyErr_Occurred()) SWIG_fail;
34067 }
34068 Py_INCREF(Py_None); resultobj = Py_None;
34069 return resultobj;
34070 fail:
34071 return NULL;
34072}
34073
34074
34075static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34076 PyObject *resultobj;
34077 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34078 wxSize result;
34079 PyObject * obj0 = 0 ;
34080 char *kwnames[] = {
34081 (char *) "self", NULL
34082 };
34083
34084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
34085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34087 {
34088 PyThreadState* __tstate = wxPyBeginAllowThreads();
34089 result = (arg1)->GetMinSize();
34090
34091 wxPyEndAllowThreads(__tstate);
34092 if (PyErr_Occurred()) SWIG_fail;
34093 }
34094 {
34095 wxSize * resultptr;
34096 resultptr = new wxSize((wxSize &) result);
15afbcd0 34097 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34098 }
34099 return resultobj;
34100 fail:
34101 return NULL;
34102}
34103
34104
dfbb5885
RD
34105static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34106 PyObject *resultobj;
34107 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34108 wxSize result;
34109 PyObject * obj0 = 0 ;
34110 char *kwnames[] = {
34111 (char *) "self", NULL
34112 };
34113
34114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames,&obj0)) goto fail;
34115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34117 {
34118 PyThreadState* __tstate = wxPyBeginAllowThreads();
34119 result = ((wxSizerItem const *)arg1)->GetMinSizeWithBorder();
34120
34121 wxPyEndAllowThreads(__tstate);
34122 if (PyErr_Occurred()) SWIG_fail;
34123 }
34124 {
34125 wxSize * resultptr;
34126 resultptr = new wxSize((wxSize &) result);
34127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34128 }
34129 return resultobj;
34130 fail:
34131 return NULL;
34132}
34133
34134
d14a1e28
RD
34135static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34136 PyObject *resultobj;
34137 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34138 int arg2 ;
34139 int arg3 ;
34140 PyObject * obj0 = 0 ;
994141e6
RD
34141 PyObject * obj1 = 0 ;
34142 PyObject * obj2 = 0 ;
d14a1e28
RD
34143 char *kwnames[] = {
34144 (char *) "self",(char *) "x",(char *) "y", NULL
34145 };
34146
994141e6 34147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34150 arg2 = (int) SWIG_AsInt(obj1);
34151 if (PyErr_Occurred()) SWIG_fail;
34152 arg3 = (int) SWIG_AsInt(obj2);
34153 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34154 {
34155 PyThreadState* __tstate = wxPyBeginAllowThreads();
34156 (arg1)->SetInitSize(arg2,arg3);
34157
34158 wxPyEndAllowThreads(__tstate);
34159 if (PyErr_Occurred()) SWIG_fail;
34160 }
34161 Py_INCREF(Py_None); resultobj = Py_None;
34162 return resultobj;
34163 fail:
34164 return NULL;
34165}
34166
34167
34168static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
34169 PyObject *resultobj;
34170 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34171 int arg2 ;
34172 int arg3 ;
34173 PyObject * obj0 = 0 ;
994141e6
RD
34174 PyObject * obj1 = 0 ;
34175 PyObject * obj2 = 0 ;
d14a1e28
RD
34176 char *kwnames[] = {
34177 (char *) "self",(char *) "width",(char *) "height", NULL
34178 };
34179
994141e6 34180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34183 arg2 = (int) SWIG_AsInt(obj1);
34184 if (PyErr_Occurred()) SWIG_fail;
34185 arg3 = (int) SWIG_AsInt(obj2);
34186 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34187 {
34188 PyThreadState* __tstate = wxPyBeginAllowThreads();
34189 (arg1)->SetRatio(arg2,arg3);
34190
34191 wxPyEndAllowThreads(__tstate);
34192 if (PyErr_Occurred()) SWIG_fail;
34193 }
34194 Py_INCREF(Py_None); resultobj = Py_None;
34195 return resultobj;
34196 fail:
34197 return NULL;
34198}
34199
34200
34201static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34202 PyObject *resultobj;
34203 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34204 wxSize arg2 ;
34205 wxSize *argp2 ;
34206 PyObject * obj0 = 0 ;
34207 PyObject * obj1 = 0 ;
34208 char *kwnames[] = {
34209 (char *) "self",(char *) "size", NULL
34210 };
34211
34212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34215 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
34216 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34217 arg2 = *argp2;
d14a1e28
RD
34218 {
34219 PyThreadState* __tstate = wxPyBeginAllowThreads();
34220 (arg1)->SetRatio(arg2);
34221
34222 wxPyEndAllowThreads(__tstate);
34223 if (PyErr_Occurred()) SWIG_fail;
34224 }
34225 Py_INCREF(Py_None); resultobj = Py_None;
34226 return resultobj;
34227 fail:
34228 return NULL;
34229}
34230
34231
34232static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
34233 PyObject *resultobj;
34234 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34235 float arg2 ;
34236 PyObject * obj0 = 0 ;
994141e6 34237 PyObject * obj1 = 0 ;
d14a1e28
RD
34238 char *kwnames[] = {
34239 (char *) "self",(char *) "ratio", NULL
34240 };
34241
994141e6 34242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34245 arg2 = (float) SWIG_AsFloat(obj1);
34246 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34247 {
34248 PyThreadState* __tstate = wxPyBeginAllowThreads();
34249 (arg1)->SetRatio(arg2);
34250
34251 wxPyEndAllowThreads(__tstate);
34252 if (PyErr_Occurred()) SWIG_fail;
34253 }
34254 Py_INCREF(Py_None); resultobj = Py_None;
34255 return resultobj;
34256 fail:
34257 return NULL;
34258}
34259
34260
34261static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
34262 PyObject *resultobj;
34263 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34264 float result;
34265 PyObject * obj0 = 0 ;
34266 char *kwnames[] = {
34267 (char *) "self", NULL
34268 };
34269
34270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
15afbcd0
RD
34271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34273 {
34274 PyThreadState* __tstate = wxPyBeginAllowThreads();
34275 result = (float)(arg1)->GetRatio();
34276
34277 wxPyEndAllowThreads(__tstate);
34278 if (PyErr_Occurred()) SWIG_fail;
34279 }
15afbcd0 34280 resultobj = SWIG_FromFloat((float)result);
d14a1e28
RD
34281 return resultobj;
34282 fail:
34283 return NULL;
34284}
34285
34286
34287static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34288 PyObject *resultobj;
34289 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34290 bool result;
34291 PyObject * obj0 = 0 ;
34292 char *kwnames[] = {
34293 (char *) "self", NULL
34294 };
34295
34296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
34297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34299 {
34300 PyThreadState* __tstate = wxPyBeginAllowThreads();
34301 result = (bool)(arg1)->IsWindow();
34302
34303 wxPyEndAllowThreads(__tstate);
34304 if (PyErr_Occurred()) SWIG_fail;
34305 }
4f89f6a3
RD
34306 {
34307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34308 }
d14a1e28
RD
34309 return resultobj;
34310 fail:
34311 return NULL;
34312}
34313
34314
34315static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34316 PyObject *resultobj;
34317 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34318 bool result;
34319 PyObject * obj0 = 0 ;
34320 char *kwnames[] = {
34321 (char *) "self", NULL
34322 };
34323
34324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34327 {
34328 PyThreadState* __tstate = wxPyBeginAllowThreads();
34329 result = (bool)(arg1)->IsSizer();
34330
34331 wxPyEndAllowThreads(__tstate);
34332 if (PyErr_Occurred()) SWIG_fail;
34333 }
4f89f6a3
RD
34334 {
34335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34336 }
d14a1e28
RD
34337 return resultobj;
34338 fail:
34339 return NULL;
34340}
34341
34342
34343static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34344 PyObject *resultobj;
34345 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34346 bool result;
34347 PyObject * obj0 = 0 ;
34348 char *kwnames[] = {
34349 (char *) "self", NULL
34350 };
34351
34352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34355 {
34356 PyThreadState* __tstate = wxPyBeginAllowThreads();
34357 result = (bool)(arg1)->IsSpacer();
34358
34359 wxPyEndAllowThreads(__tstate);
34360 if (PyErr_Occurred()) SWIG_fail;
34361 }
4f89f6a3
RD
34362 {
34363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34364 }
d14a1e28
RD
34365 return resultobj;
34366 fail:
34367 return NULL;
34368}
34369
34370
34371static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34372 PyObject *resultobj;
34373 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34374 int arg2 ;
34375 PyObject * obj0 = 0 ;
994141e6 34376 PyObject * obj1 = 0 ;
d14a1e28
RD
34377 char *kwnames[] = {
34378 (char *) "self",(char *) "proportion", NULL
34379 };
34380
994141e6 34381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34384 arg2 = (int) SWIG_AsInt(obj1);
34385 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34386 {
34387 PyThreadState* __tstate = wxPyBeginAllowThreads();
34388 (arg1)->SetProportion(arg2);
34389
34390 wxPyEndAllowThreads(__tstate);
34391 if (PyErr_Occurred()) SWIG_fail;
34392 }
34393 Py_INCREF(Py_None); resultobj = Py_None;
34394 return resultobj;
34395 fail:
34396 return NULL;
34397}
34398
34399
34400static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34401 PyObject *resultobj;
34402 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34403 int result;
34404 PyObject * obj0 = 0 ;
34405 char *kwnames[] = {
34406 (char *) "self", NULL
34407 };
34408
34409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
15afbcd0
RD
34410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34412 {
34413 PyThreadState* __tstate = wxPyBeginAllowThreads();
34414 result = (int)(arg1)->GetProportion();
34415
34416 wxPyEndAllowThreads(__tstate);
34417 if (PyErr_Occurred()) SWIG_fail;
34418 }
15afbcd0 34419 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34420 return resultobj;
34421 fail:
34422 return NULL;
34423}
34424
34425
34426static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34427 PyObject *resultobj;
34428 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34429 int arg2 ;
34430 PyObject * obj0 = 0 ;
994141e6 34431 PyObject * obj1 = 0 ;
d14a1e28
RD
34432 char *kwnames[] = {
34433 (char *) "self",(char *) "flag", NULL
34434 };
34435
994141e6 34436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34439 arg2 = (int) SWIG_AsInt(obj1);
34440 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34441 {
34442 PyThreadState* __tstate = wxPyBeginAllowThreads();
34443 (arg1)->SetFlag(arg2);
34444
34445 wxPyEndAllowThreads(__tstate);
34446 if (PyErr_Occurred()) SWIG_fail;
34447 }
34448 Py_INCREF(Py_None); resultobj = Py_None;
34449 return resultobj;
34450 fail:
34451 return NULL;
34452}
34453
34454
34455static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34456 PyObject *resultobj;
34457 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34458 int result;
34459 PyObject * obj0 = 0 ;
34460 char *kwnames[] = {
34461 (char *) "self", NULL
34462 };
34463
34464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
34465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34467 {
34468 PyThreadState* __tstate = wxPyBeginAllowThreads();
34469 result = (int)(arg1)->GetFlag();
34470
34471 wxPyEndAllowThreads(__tstate);
34472 if (PyErr_Occurred()) SWIG_fail;
34473 }
15afbcd0 34474 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34475 return resultobj;
34476 fail:
34477 return NULL;
34478}
34479
34480
34481static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34482 PyObject *resultobj;
34483 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34484 int arg2 ;
34485 PyObject * obj0 = 0 ;
994141e6 34486 PyObject * obj1 = 0 ;
d14a1e28
RD
34487 char *kwnames[] = {
34488 (char *) "self",(char *) "border", NULL
34489 };
34490
994141e6 34491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34494 arg2 = (int) SWIG_AsInt(obj1);
34495 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34496 {
34497 PyThreadState* __tstate = wxPyBeginAllowThreads();
34498 (arg1)->SetBorder(arg2);
34499
34500 wxPyEndAllowThreads(__tstate);
34501 if (PyErr_Occurred()) SWIG_fail;
34502 }
34503 Py_INCREF(Py_None); resultobj = Py_None;
34504 return resultobj;
34505 fail:
34506 return NULL;
34507}
34508
34509
34510static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34511 PyObject *resultobj;
34512 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34513 int result;
34514 PyObject * obj0 = 0 ;
34515 char *kwnames[] = {
34516 (char *) "self", NULL
34517 };
34518
34519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
15afbcd0
RD
34520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34522 {
34523 PyThreadState* __tstate = wxPyBeginAllowThreads();
34524 result = (int)(arg1)->GetBorder();
34525
34526 wxPyEndAllowThreads(__tstate);
34527 if (PyErr_Occurred()) SWIG_fail;
34528 }
15afbcd0 34529 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34530 return resultobj;
34531 fail:
34532 return NULL;
34533}
34534
34535
34536static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34537 PyObject *resultobj;
34538 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34539 wxWindow *result;
34540 PyObject * obj0 = 0 ;
34541 char *kwnames[] = {
34542 (char *) "self", NULL
34543 };
34544
34545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
34546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34548 {
34549 PyThreadState* __tstate = wxPyBeginAllowThreads();
34550 result = (wxWindow *)(arg1)->GetWindow();
34551
34552 wxPyEndAllowThreads(__tstate);
34553 if (PyErr_Occurred()) SWIG_fail;
34554 }
34555 {
412d302d 34556 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
34557 }
34558 return resultobj;
34559 fail:
34560 return NULL;
34561}
34562
34563
34564static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34565 PyObject *resultobj;
34566 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34567 wxWindow *arg2 = (wxWindow *) 0 ;
34568 PyObject * obj0 = 0 ;
34569 PyObject * obj1 = 0 ;
34570 char *kwnames[] = {
34571 (char *) "self",(char *) "window", NULL
34572 };
34573
34574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34579 {
34580 PyThreadState* __tstate = wxPyBeginAllowThreads();
34581 (arg1)->SetWindow(arg2);
34582
34583 wxPyEndAllowThreads(__tstate);
34584 if (PyErr_Occurred()) SWIG_fail;
34585 }
34586 Py_INCREF(Py_None); resultobj = Py_None;
34587 return resultobj;
34588 fail:
34589 return NULL;
34590}
34591
34592
34593static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34594 PyObject *resultobj;
34595 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34596 wxSizer *result;
34597 PyObject * obj0 = 0 ;
34598 char *kwnames[] = {
34599 (char *) "self", NULL
34600 };
34601
34602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34605 {
34606 PyThreadState* __tstate = wxPyBeginAllowThreads();
34607 result = (wxSizer *)(arg1)->GetSizer();
34608
34609 wxPyEndAllowThreads(__tstate);
34610 if (PyErr_Occurred()) SWIG_fail;
34611 }
34612 {
412d302d 34613 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
34614 }
34615 return resultobj;
34616 fail:
34617 return NULL;
34618}
34619
34620
34621static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34622 PyObject *resultobj;
34623 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34624 wxSizer *arg2 = (wxSizer *) 0 ;
34625 PyObject * obj0 = 0 ;
34626 PyObject * obj1 = 0 ;
34627 char *kwnames[] = {
34628 (char *) "self",(char *) "sizer", NULL
34629 };
34630
34631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
34635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34636 {
34637 PyThreadState* __tstate = wxPyBeginAllowThreads();
34638 (arg1)->SetSizer(arg2);
34639
34640 wxPyEndAllowThreads(__tstate);
34641 if (PyErr_Occurred()) SWIG_fail;
34642 }
34643 Py_INCREF(Py_None); resultobj = Py_None;
34644 return resultobj;
34645 fail:
34646 return NULL;
34647}
34648
34649
34650static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34651 PyObject *resultobj;
34652 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34653 wxSize *result;
34654 PyObject * obj0 = 0 ;
34655 char *kwnames[] = {
34656 (char *) "self", NULL
34657 };
34658
34659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34662 {
34663 PyThreadState* __tstate = wxPyBeginAllowThreads();
34664 {
34665 wxSize const &_result_ref = (arg1)->GetSpacer();
34666 result = (wxSize *) &_result_ref;
34667 }
34668
34669 wxPyEndAllowThreads(__tstate);
34670 if (PyErr_Occurred()) SWIG_fail;
34671 }
15afbcd0 34672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
34673 return resultobj;
34674 fail:
34675 return NULL;
34676}
34677
34678
34679static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34680 PyObject *resultobj;
34681 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34682 wxSize *arg2 = 0 ;
34683 wxSize temp2 ;
34684 PyObject * obj0 = 0 ;
34685 PyObject * obj1 = 0 ;
34686 char *kwnames[] = {
34687 (char *) "self",(char *) "size", NULL
34688 };
34689
34690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34693 {
34694 arg2 = &temp2;
34695 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34696 }
34697 {
34698 PyThreadState* __tstate = wxPyBeginAllowThreads();
34699 (arg1)->SetSpacer((wxSize const &)*arg2);
34700
34701 wxPyEndAllowThreads(__tstate);
34702 if (PyErr_Occurred()) SWIG_fail;
34703 }
34704 Py_INCREF(Py_None); resultobj = Py_None;
34705 return resultobj;
34706 fail:
34707 return NULL;
34708}
34709
34710
34711static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
34712 PyObject *resultobj;
34713 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34714 bool arg2 ;
34715 PyObject * obj0 = 0 ;
34716 PyObject * obj1 = 0 ;
34717 char *kwnames[] = {
34718 (char *) "self",(char *) "show", NULL
34719 };
34720
34721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34724 arg2 = (bool) SWIG_AsBool(obj1);
34725 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34726 {
34727 PyThreadState* __tstate = wxPyBeginAllowThreads();
34728 (arg1)->Show(arg2);
34729
34730 wxPyEndAllowThreads(__tstate);
34731 if (PyErr_Occurred()) SWIG_fail;
34732 }
34733 Py_INCREF(Py_None); resultobj = Py_None;
34734 return resultobj;
34735 fail:
34736 return NULL;
34737}
34738
34739
34740static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
34741 PyObject *resultobj;
34742 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34743 bool result;
34744 PyObject * obj0 = 0 ;
34745 char *kwnames[] = {
34746 (char *) "self", NULL
34747 };
34748
34749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
34750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34752 {
34753 PyThreadState* __tstate = wxPyBeginAllowThreads();
34754 result = (bool)(arg1)->IsShown();
34755
34756 wxPyEndAllowThreads(__tstate);
34757 if (PyErr_Occurred()) SWIG_fail;
34758 }
4f89f6a3
RD
34759 {
34760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34761 }
d14a1e28
RD
34762 return resultobj;
34763 fail:
34764 return NULL;
34765}
34766
34767
34768static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34769 PyObject *resultobj;
34770 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34771 wxPoint result;
34772 PyObject * obj0 = 0 ;
34773 char *kwnames[] = {
34774 (char *) "self", NULL
34775 };
34776
34777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
34778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34780 {
34781 PyThreadState* __tstate = wxPyBeginAllowThreads();
34782 result = (arg1)->GetPosition();
34783
34784 wxPyEndAllowThreads(__tstate);
34785 if (PyErr_Occurred()) SWIG_fail;
34786 }
34787 {
34788 wxPoint * resultptr;
34789 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 34790 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
34791 }
34792 return resultobj;
34793 fail:
34794 return NULL;
34795}
34796
34797
34798static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
34799 PyObject *resultobj;
34800 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34801 PyObject *result;
34802 PyObject * obj0 = 0 ;
34803 char *kwnames[] = {
34804 (char *) "self", NULL
34805 };
34806
34807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
15afbcd0
RD
34808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34810 {
34811 PyThreadState* __tstate = wxPyBeginAllowThreads();
34812 result = (PyObject *)wxSizerItem_GetUserData(arg1);
34813
34814 wxPyEndAllowThreads(__tstate);
34815 if (PyErr_Occurred()) SWIG_fail;
34816 }
34817 resultobj = result;
34818 return resultobj;
34819 fail:
34820 return NULL;
34821}
34822
34823
34824static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
34825 PyObject *obj;
34826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34827 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
34828 Py_INCREF(obj);
34829 return Py_BuildValue((char *)"");
34830}
34831static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
34832 PyObject *resultobj;
34833 wxSizer *arg1 = (wxSizer *) 0 ;
34834 PyObject *arg2 = (PyObject *) 0 ;
34835 PyObject * obj0 = 0 ;
34836 PyObject * obj1 = 0 ;
34837 char *kwnames[] = {
34838 (char *) "self",(char *) "_self", NULL
34839 };
34840
34841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34844 arg2 = obj1;
34845 {
34846 PyThreadState* __tstate = wxPyBeginAllowThreads();
34847 wxSizer__setOORInfo(arg1,arg2);
34848
34849 wxPyEndAllowThreads(__tstate);
34850 if (PyErr_Occurred()) SWIG_fail;
34851 }
34852 Py_INCREF(Py_None); resultobj = Py_None;
34853 return resultobj;
34854 fail:
34855 return NULL;
34856}
34857
34858
34859static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
34860 PyObject *resultobj;
34861 wxSizer *arg1 = (wxSizer *) 0 ;
34862 PyObject *arg2 = (PyObject *) 0 ;
34863 int arg3 = (int) 0 ;
34864 int arg4 = (int) 0 ;
34865 int arg5 = (int) 0 ;
34866 PyObject *arg6 = (PyObject *) NULL ;
34867 PyObject * obj0 = 0 ;
34868 PyObject * obj1 = 0 ;
994141e6
RD
34869 PyObject * obj2 = 0 ;
34870 PyObject * obj3 = 0 ;
34871 PyObject * obj4 = 0 ;
d14a1e28
RD
34872 PyObject * obj5 = 0 ;
34873 char *kwnames[] = {
34874 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34875 };
34876
994141e6 34877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
34878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34880 arg2 = obj1;
994141e6 34881 if (obj2) {
15afbcd0
RD
34882 arg3 = (int) SWIG_AsInt(obj2);
34883 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34884 }
34885 if (obj3) {
15afbcd0
RD
34886 arg4 = (int) SWIG_AsInt(obj3);
34887 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34888 }
34889 if (obj4) {
15afbcd0
RD
34890 arg5 = (int) SWIG_AsInt(obj4);
34891 if (PyErr_Occurred()) SWIG_fail;
994141e6 34892 }
d14a1e28
RD
34893 if (obj5) {
34894 arg6 = obj5;
34895 }
34896 {
34897 PyThreadState* __tstate = wxPyBeginAllowThreads();
34898 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
34899
34900 wxPyEndAllowThreads(__tstate);
34901 if (PyErr_Occurred()) SWIG_fail;
34902 }
34903 Py_INCREF(Py_None); resultobj = Py_None;
34904 return resultobj;
34905 fail:
34906 return NULL;
34907}
34908
34909
34910static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
34911 PyObject *resultobj;
34912 wxSizer *arg1 = (wxSizer *) 0 ;
34913 int arg2 ;
34914 PyObject *arg3 = (PyObject *) 0 ;
34915 int arg4 = (int) 0 ;
34916 int arg5 = (int) 0 ;
34917 int arg6 = (int) 0 ;
34918 PyObject *arg7 = (PyObject *) NULL ;
34919 PyObject * obj0 = 0 ;
994141e6 34920 PyObject * obj1 = 0 ;
d14a1e28 34921 PyObject * obj2 = 0 ;
994141e6
RD
34922 PyObject * obj3 = 0 ;
34923 PyObject * obj4 = 0 ;
34924 PyObject * obj5 = 0 ;
d14a1e28
RD
34925 PyObject * obj6 = 0 ;
34926 char *kwnames[] = {
34927 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34928 };
34929
994141e6 34930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
34931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34933 arg2 = (int) SWIG_AsInt(obj1);
34934 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 34935 arg3 = obj2;
994141e6 34936 if (obj3) {
15afbcd0
RD
34937 arg4 = (int) SWIG_AsInt(obj3);
34938 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34939 }
34940 if (obj4) {
15afbcd0
RD
34941 arg5 = (int) SWIG_AsInt(obj4);
34942 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34943 }
34944 if (obj5) {
15afbcd0
RD
34945 arg6 = (int) SWIG_AsInt(obj5);
34946 if (PyErr_Occurred()) SWIG_fail;
994141e6 34947 }
d14a1e28
RD
34948 if (obj6) {
34949 arg7 = obj6;
34950 }
34951 {
34952 PyThreadState* __tstate = wxPyBeginAllowThreads();
34953 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
34954
34955 wxPyEndAllowThreads(__tstate);
34956 if (PyErr_Occurred()) SWIG_fail;
34957 }
34958 Py_INCREF(Py_None); resultobj = Py_None;
34959 return resultobj;
34960 fail:
34961 return NULL;
34962}
34963
34964
34965static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
34966 PyObject *resultobj;
34967 wxSizer *arg1 = (wxSizer *) 0 ;
34968 PyObject *arg2 = (PyObject *) 0 ;
34969 int arg3 = (int) 0 ;
34970 int arg4 = (int) 0 ;
34971 int arg5 = (int) 0 ;
34972 PyObject *arg6 = (PyObject *) NULL ;
34973 PyObject * obj0 = 0 ;
34974 PyObject * obj1 = 0 ;
994141e6
RD
34975 PyObject * obj2 = 0 ;
34976 PyObject * obj3 = 0 ;
34977 PyObject * obj4 = 0 ;
d14a1e28
RD
34978 PyObject * obj5 = 0 ;
34979 char *kwnames[] = {
34980 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34981 };
34982
994141e6 34983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
34984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34986 arg2 = obj1;
994141e6 34987 if (obj2) {
15afbcd0
RD
34988 arg3 = (int) SWIG_AsInt(obj2);
34989 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34990 }
34991 if (obj3) {
15afbcd0
RD
34992 arg4 = (int) SWIG_AsInt(obj3);
34993 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34994 }
34995 if (obj4) {
15afbcd0
RD
34996 arg5 = (int) SWIG_AsInt(obj4);
34997 if (PyErr_Occurred()) SWIG_fail;
994141e6 34998 }
d14a1e28
RD
34999 if (obj5) {
35000 arg6 = obj5;
35001 }
35002 {
35003 PyThreadState* __tstate = wxPyBeginAllowThreads();
35004 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
35005
35006 wxPyEndAllowThreads(__tstate);
35007 if (PyErr_Occurred()) SWIG_fail;
35008 }
35009 Py_INCREF(Py_None); resultobj = Py_None;
35010 return resultobj;
35011 fail:
35012 return NULL;
35013}
35014
35015
35016static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
35017 PyObject *resultobj;
35018 wxSizer *arg1 = (wxSizer *) 0 ;
35019 PyObject *arg2 = (PyObject *) 0 ;
35020 bool result;
35021 PyObject * obj0 = 0 ;
35022 PyObject * obj1 = 0 ;
35023 char *kwnames[] = {
35024 (char *) "self",(char *) "item", NULL
35025 };
35026
35027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35030 arg2 = obj1;
35031 {
35032 PyThreadState* __tstate = wxPyBeginAllowThreads();
35033 result = (bool)wxSizer_Remove(arg1,arg2);
35034
35035 wxPyEndAllowThreads(__tstate);
35036 if (PyErr_Occurred()) SWIG_fail;
35037 }
4f89f6a3
RD
35038 {
35039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35040 }
d14a1e28
RD
35041 return resultobj;
35042 fail:
35043 return NULL;
35044}
35045
35046
1c0f361b
RD
35047static PyObject *_wrap_Sizer_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
35048 PyObject *resultobj;
35049 wxSizer *arg1 = (wxSizer *) 0 ;
35050 PyObject *arg2 = (PyObject *) 0 ;
35051 bool result;
35052 PyObject * obj0 = 0 ;
35053 PyObject * obj1 = 0 ;
35054 char *kwnames[] = {
35055 (char *) "self",(char *) "item", NULL
35056 };
35057
35058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Detach",kwnames,&obj0,&obj1)) goto fail;
35059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35061 arg2 = obj1;
35062 {
35063 PyThreadState* __tstate = wxPyBeginAllowThreads();
35064 result = (bool)wxSizer_Detach(arg1,arg2);
35065
35066 wxPyEndAllowThreads(__tstate);
35067 if (PyErr_Occurred()) SWIG_fail;
35068 }
35069 {
35070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35071 }
35072 return resultobj;
35073 fail:
35074 return NULL;
35075}
35076
35077
d14a1e28
RD
35078static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35079 PyObject *resultobj;
35080 wxSizer *arg1 = (wxSizer *) 0 ;
35081 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce
RD
35082 wxSize *arg3 = 0 ;
35083 wxSize temp3 ;
d14a1e28
RD
35084 PyObject * obj0 = 0 ;
35085 PyObject * obj1 = 0 ;
35086 PyObject * obj2 = 0 ;
35087 char *kwnames[] = {
35088 (char *) "self",(char *) "item",(char *) "size", NULL
35089 };
35090
35091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35094 arg2 = obj1;
e811c8ce
RD
35095 {
35096 arg3 = &temp3;
35097 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
35098 }
d14a1e28
RD
35099 {
35100 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 35101 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
35102
35103 wxPyEndAllowThreads(__tstate);
35104 if (PyErr_Occurred()) SWIG_fail;
35105 }
35106 Py_INCREF(Py_None); resultobj = Py_None;
35107 return resultobj;
35108 fail:
35109 return NULL;
35110}
35111
35112
35113static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35114 PyObject *resultobj;
35115 wxSizer *arg1 = (wxSizer *) 0 ;
35116 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
35117 PyObject * obj0 = 0 ;
35118 PyObject * obj1 = 0 ;
35119 char *kwnames[] = {
35120 (char *) "self",(char *) "item", NULL
35121 };
35122
35123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35128 {
35129 PyThreadState* __tstate = wxPyBeginAllowThreads();
35130 (arg1)->Add(arg2);
35131
35132 wxPyEndAllowThreads(__tstate);
35133 if (PyErr_Occurred()) SWIG_fail;
35134 }
35135 Py_INCREF(Py_None); resultobj = Py_None;
35136 return resultobj;
35137 fail:
35138 return NULL;
35139}
35140
35141
35142static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35143 PyObject *resultobj;
35144 wxSizer *arg1 = (wxSizer *) 0 ;
35145 size_t arg2 ;
35146 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
35147 PyObject * obj0 = 0 ;
35148 PyObject * obj1 = 0 ;
35149 PyObject * obj2 = 0 ;
35150 char *kwnames[] = {
35151 (char *) "self",(char *) "index",(char *) "item", NULL
35152 };
35153
35154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35157 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35158 if (PyErr_Occurred()) SWIG_fail;
35159 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
35160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35161 {
35162 PyThreadState* __tstate = wxPyBeginAllowThreads();
35163 (arg1)->Insert(arg2,arg3);
35164
35165 wxPyEndAllowThreads(__tstate);
35166 if (PyErr_Occurred()) SWIG_fail;
35167 }
35168 Py_INCREF(Py_None); resultobj = Py_None;
35169 return resultobj;
35170 fail:
35171 return NULL;
35172}
35173
35174
35175static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35176 PyObject *resultobj;
35177 wxSizer *arg1 = (wxSizer *) 0 ;
35178 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
35179 PyObject * obj0 = 0 ;
35180 PyObject * obj1 = 0 ;
35181 char *kwnames[] = {
35182 (char *) "self",(char *) "item", NULL
35183 };
35184
35185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35188 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35190 {
35191 PyThreadState* __tstate = wxPyBeginAllowThreads();
35192 (arg1)->Prepend(arg2);
35193
35194 wxPyEndAllowThreads(__tstate);
35195 if (PyErr_Occurred()) SWIG_fail;
35196 }
35197 Py_INCREF(Py_None); resultobj = Py_None;
35198 return resultobj;
35199 fail:
35200 return NULL;
35201}
35202
35203
35204static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
35205 PyObject *resultobj;
35206 wxSizer *arg1 = (wxSizer *) 0 ;
35207 int arg2 ;
35208 int arg3 ;
35209 int arg4 ;
35210 int arg5 ;
35211 PyObject * obj0 = 0 ;
994141e6
RD
35212 PyObject * obj1 = 0 ;
35213 PyObject * obj2 = 0 ;
35214 PyObject * obj3 = 0 ;
35215 PyObject * obj4 = 0 ;
d14a1e28
RD
35216 char *kwnames[] = {
35217 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35218 };
35219
994141e6 35220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
35221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35223 arg2 = (int) SWIG_AsInt(obj1);
35224 if (PyErr_Occurred()) SWIG_fail;
35225 arg3 = (int) SWIG_AsInt(obj2);
35226 if (PyErr_Occurred()) SWIG_fail;
35227 arg4 = (int) SWIG_AsInt(obj3);
35228 if (PyErr_Occurred()) SWIG_fail;
35229 arg5 = (int) SWIG_AsInt(obj4);
35230 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35231 {
35232 PyThreadState* __tstate = wxPyBeginAllowThreads();
35233 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
35234
35235 wxPyEndAllowThreads(__tstate);
35236 if (PyErr_Occurred()) SWIG_fail;
35237 }
35238 Py_INCREF(Py_None); resultobj = Py_None;
35239 return resultobj;
35240 fail:
35241 return NULL;
35242}
35243
35244
35245static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35246 PyObject *resultobj;
35247 wxSizer *arg1 = (wxSizer *) 0 ;
1fc9204a
RD
35248 wxSize *arg2 = 0 ;
35249 wxSize temp2 ;
d14a1e28
RD
35250 PyObject * obj0 = 0 ;
35251 PyObject * obj1 = 0 ;
35252 char *kwnames[] = {
35253 (char *) "self",(char *) "size", NULL
35254 };
35255
35256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1fc9204a
RD
35259 {
35260 arg2 = &temp2;
35261 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
35262 }
d14a1e28
RD
35263 {
35264 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fc9204a 35265 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
35266
35267 wxPyEndAllowThreads(__tstate);
35268 if (PyErr_Occurred()) SWIG_fail;
35269 }
35270 Py_INCREF(Py_None); resultobj = Py_None;
35271 return resultobj;
35272 fail:
35273 return NULL;
35274}
35275
35276
35277static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35278 PyObject *resultobj;
35279 wxSizer *arg1 = (wxSizer *) 0 ;
35280 wxSize result;
35281 PyObject * obj0 = 0 ;
35282 char *kwnames[] = {
35283 (char *) "self", NULL
35284 };
35285
35286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
35287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35289 {
35290 PyThreadState* __tstate = wxPyBeginAllowThreads();
35291 result = (arg1)->GetSize();
35292
35293 wxPyEndAllowThreads(__tstate);
35294 if (PyErr_Occurred()) SWIG_fail;
35295 }
35296 {
35297 wxSize * resultptr;
35298 resultptr = new wxSize((wxSize &) result);
15afbcd0 35299 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35300 }
35301 return resultobj;
35302 fail:
35303 return NULL;
35304}
35305
35306
35307static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
35308 PyObject *resultobj;
35309 wxSizer *arg1 = (wxSizer *) 0 ;
35310 wxPoint result;
35311 PyObject * obj0 = 0 ;
35312 char *kwnames[] = {
35313 (char *) "self", NULL
35314 };
35315
35316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
35317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35319 {
35320 PyThreadState* __tstate = wxPyBeginAllowThreads();
35321 result = (arg1)->GetPosition();
35322
35323 wxPyEndAllowThreads(__tstate);
35324 if (PyErr_Occurred()) SWIG_fail;
35325 }
35326 {
35327 wxPoint * resultptr;
35328 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 35329 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
35330 }
35331 return resultobj;
35332 fail:
35333 return NULL;
35334}
35335
35336
35337static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35338 PyObject *resultobj;
35339 wxSizer *arg1 = (wxSizer *) 0 ;
35340 wxSize result;
35341 PyObject * obj0 = 0 ;
35342 char *kwnames[] = {
35343 (char *) "self", NULL
35344 };
35345
35346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
35347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35349 {
35350 PyThreadState* __tstate = wxPyBeginAllowThreads();
35351 result = (arg1)->GetMinSize();
35352
35353 wxPyEndAllowThreads(__tstate);
35354 if (PyErr_Occurred()) SWIG_fail;
35355 }
35356 {
35357 wxSize * resultptr;
35358 resultptr = new wxSize((wxSize &) result);
15afbcd0 35359 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35360 }
35361 return resultobj;
35362 fail:
35363 return NULL;
35364}
35365
35366
35367static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35368 PyObject *resultobj;
35369 wxSizer *arg1 = (wxSizer *) 0 ;
35370 PyObject * obj0 = 0 ;
35371 char *kwnames[] = {
35372 (char *) "self", NULL
35373 };
35374
35375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
35376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35378 {
35379 PyThreadState* __tstate = wxPyBeginAllowThreads();
35380 (arg1)->RecalcSizes();
35381
35382 wxPyEndAllowThreads(__tstate);
35383 if (PyErr_Occurred()) SWIG_fail;
35384 }
35385 Py_INCREF(Py_None); resultobj = Py_None;
35386 return resultobj;
35387 fail:
35388 return NULL;
35389}
35390
35391
35392static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35393 PyObject *resultobj;
35394 wxSizer *arg1 = (wxSizer *) 0 ;
35395 wxSize result;
35396 PyObject * obj0 = 0 ;
35397 char *kwnames[] = {
35398 (char *) "self", NULL
35399 };
35400
35401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
35402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35404 {
35405 PyThreadState* __tstate = wxPyBeginAllowThreads();
35406 result = (arg1)->CalcMin();
35407
35408 wxPyEndAllowThreads(__tstate);
35409 if (PyErr_Occurred()) SWIG_fail;
35410 }
35411 {
35412 wxSize * resultptr;
35413 resultptr = new wxSize((wxSize &) result);
15afbcd0 35414 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35415 }
35416 return resultobj;
35417 fail:
35418 return NULL;
35419}
35420
35421
35422static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
35423 PyObject *resultobj;
35424 wxSizer *arg1 = (wxSizer *) 0 ;
35425 PyObject * obj0 = 0 ;
35426 char *kwnames[] = {
35427 (char *) "self", NULL
35428 };
35429
35430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
35431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35433 {
35434 PyThreadState* __tstate = wxPyBeginAllowThreads();
35435 (arg1)->Layout();
35436
35437 wxPyEndAllowThreads(__tstate);
35438 if (PyErr_Occurred()) SWIG_fail;
35439 }
35440 Py_INCREF(Py_None); resultobj = Py_None;
35441 return resultobj;
35442 fail:
35443 return NULL;
35444}
35445
35446
35447static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
35448 PyObject *resultobj;
35449 wxSizer *arg1 = (wxSizer *) 0 ;
35450 wxWindow *arg2 = (wxWindow *) 0 ;
35451 wxSize result;
35452 PyObject * obj0 = 0 ;
35453 PyObject * obj1 = 0 ;
35454 char *kwnames[] = {
35455 (char *) "self",(char *) "window", NULL
35456 };
35457
35458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35463 {
35464 PyThreadState* __tstate = wxPyBeginAllowThreads();
35465 result = (arg1)->Fit(arg2);
35466
35467 wxPyEndAllowThreads(__tstate);
35468 if (PyErr_Occurred()) SWIG_fail;
35469 }
35470 {
35471 wxSize * resultptr;
35472 resultptr = new wxSize((wxSize &) result);
15afbcd0 35473 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35474 }
35475 return resultobj;
35476 fail:
35477 return NULL;
35478}
35479
35480
35481static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
35482 PyObject *resultobj;
35483 wxSizer *arg1 = (wxSizer *) 0 ;
35484 wxWindow *arg2 = (wxWindow *) 0 ;
35485 PyObject * obj0 = 0 ;
35486 PyObject * obj1 = 0 ;
35487 char *kwnames[] = {
35488 (char *) "self",(char *) "window", NULL
35489 };
35490
35491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35494 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35496 {
35497 PyThreadState* __tstate = wxPyBeginAllowThreads();
35498 (arg1)->FitInside(arg2);
35499
35500 wxPyEndAllowThreads(__tstate);
35501 if (PyErr_Occurred()) SWIG_fail;
35502 }
35503 Py_INCREF(Py_None); resultobj = Py_None;
35504 return resultobj;
35505 fail:
35506 return NULL;
35507}
35508
35509
35510static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35511 PyObject *resultobj;
35512 wxSizer *arg1 = (wxSizer *) 0 ;
35513 wxWindow *arg2 = (wxWindow *) 0 ;
35514 PyObject * obj0 = 0 ;
35515 PyObject * obj1 = 0 ;
35516 char *kwnames[] = {
35517 (char *) "self",(char *) "window", NULL
35518 };
35519
35520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35525 {
35526 PyThreadState* __tstate = wxPyBeginAllowThreads();
35527 (arg1)->SetSizeHints(arg2);
35528
35529 wxPyEndAllowThreads(__tstate);
35530 if (PyErr_Occurred()) SWIG_fail;
35531 }
35532 Py_INCREF(Py_None); resultobj = Py_None;
35533 return resultobj;
35534 fail:
35535 return NULL;
35536}
35537
35538
35539static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35540 PyObject *resultobj;
35541 wxSizer *arg1 = (wxSizer *) 0 ;
35542 wxWindow *arg2 = (wxWindow *) 0 ;
35543 PyObject * obj0 = 0 ;
35544 PyObject * obj1 = 0 ;
35545 char *kwnames[] = {
35546 (char *) "self",(char *) "window", NULL
35547 };
35548
35549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35554 {
35555 PyThreadState* __tstate = wxPyBeginAllowThreads();
35556 (arg1)->SetVirtualSizeHints(arg2);
35557
35558 wxPyEndAllowThreads(__tstate);
35559 if (PyErr_Occurred()) SWIG_fail;
35560 }
35561 Py_INCREF(Py_None); resultobj = Py_None;
35562 return resultobj;
35563 fail:
35564 return NULL;
35565}
35566
35567
35568static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
35569 PyObject *resultobj;
35570 wxSizer *arg1 = (wxSizer *) 0 ;
e811c8ce 35571 bool arg2 = (bool) False ;
d14a1e28
RD
35572 PyObject * obj0 = 0 ;
35573 PyObject * obj1 = 0 ;
35574 char *kwnames[] = {
248ed943 35575 (char *) "self",(char *) "deleteWindows", NULL
d14a1e28
RD
35576 };
35577
35578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35581 if (obj1) {
15afbcd0
RD
35582 arg2 = (bool) SWIG_AsBool(obj1);
35583 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35584 }
35585 {
35586 PyThreadState* __tstate = wxPyBeginAllowThreads();
35587 (arg1)->Clear(arg2);
35588
35589 wxPyEndAllowThreads(__tstate);
35590 if (PyErr_Occurred()) SWIG_fail;
35591 }
35592 Py_INCREF(Py_None); resultobj = Py_None;
35593 return resultobj;
35594 fail:
35595 return NULL;
35596}
35597
35598
35599static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
35600 PyObject *resultobj;
35601 wxSizer *arg1 = (wxSizer *) 0 ;
35602 PyObject * obj0 = 0 ;
35603 char *kwnames[] = {
35604 (char *) "self", NULL
35605 };
35606
35607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
35608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35610 {
35611 PyThreadState* __tstate = wxPyBeginAllowThreads();
35612 (arg1)->DeleteWindows();
35613
35614 wxPyEndAllowThreads(__tstate);
35615 if (PyErr_Occurred()) SWIG_fail;
35616 }
35617 Py_INCREF(Py_None); resultobj = Py_None;
35618 return resultobj;
35619 fail:
35620 return NULL;
35621}
35622
35623
35624static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
35625 PyObject *resultobj;
35626 wxSizer *arg1 = (wxSizer *) 0 ;
35627 PyObject *result;
35628 PyObject * obj0 = 0 ;
35629 char *kwnames[] = {
35630 (char *) "self", NULL
35631 };
35632
35633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
35634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35636 {
35637 PyThreadState* __tstate = wxPyBeginAllowThreads();
35638 result = (PyObject *)wxSizer_GetChildren(arg1);
35639
35640 wxPyEndAllowThreads(__tstate);
35641 if (PyErr_Occurred()) SWIG_fail;
35642 }
35643 resultobj = result;
35644 return resultobj;
35645 fail:
35646 return NULL;
35647}
35648
35649
35650static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
35651 PyObject *resultobj;
35652 wxSizer *arg1 = (wxSizer *) 0 ;
35653 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 35654 bool arg3 = (bool) True ;
d14a1e28
RD
35655 PyObject * obj0 = 0 ;
35656 PyObject * obj1 = 0 ;
35657 PyObject * obj2 = 0 ;
35658 char *kwnames[] = {
35659 (char *) "self",(char *) "item",(char *) "show", NULL
35660 };
35661
35662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35665 arg2 = obj1;
35666 if (obj2) {
15afbcd0
RD
35667 arg3 = (bool) SWIG_AsBool(obj2);
35668 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35669 }
35670 {
35671 PyThreadState* __tstate = wxPyBeginAllowThreads();
35672 wxSizer_Show(arg1,arg2,arg3);
35673
35674 wxPyEndAllowThreads(__tstate);
35675 if (PyErr_Occurred()) SWIG_fail;
35676 }
35677 Py_INCREF(Py_None); resultobj = Py_None;
35678 return resultobj;
35679 fail:
35680 return NULL;
35681}
35682
35683
d14a1e28
RD
35684static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
35685 PyObject *resultobj;
35686 wxSizer *arg1 = (wxSizer *) 0 ;
35687 PyObject *arg2 = (PyObject *) 0 ;
35688 bool result;
35689 PyObject * obj0 = 0 ;
35690 PyObject * obj1 = 0 ;
35691 char *kwnames[] = {
35692 (char *) "self",(char *) "item", NULL
35693 };
35694
35695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35698 arg2 = obj1;
35699 {
35700 PyThreadState* __tstate = wxPyBeginAllowThreads();
35701 result = (bool)wxSizer_IsShown(arg1,arg2);
35702
35703 wxPyEndAllowThreads(__tstate);
35704 if (PyErr_Occurred()) SWIG_fail;
35705 }
4f89f6a3
RD
35706 {
35707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35708 }
d14a1e28
RD
35709 return resultobj;
35710 fail:
35711 return NULL;
35712}
35713
35714
35715static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
35716 PyObject *resultobj;
35717 wxSizer *arg1 = (wxSizer *) 0 ;
35718 bool arg2 ;
35719 PyObject * obj0 = 0 ;
35720 PyObject * obj1 = 0 ;
35721 char *kwnames[] = {
35722 (char *) "self",(char *) "show", NULL
35723 };
35724
35725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35728 arg2 = (bool) SWIG_AsBool(obj1);
35729 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35730 {
35731 PyThreadState* __tstate = wxPyBeginAllowThreads();
35732 (arg1)->ShowItems(arg2);
35733
35734 wxPyEndAllowThreads(__tstate);
35735 if (PyErr_Occurred()) SWIG_fail;
35736 }
35737 Py_INCREF(Py_None); resultobj = Py_None;
35738 return resultobj;
35739 fail:
35740 return NULL;
35741}
35742
35743
35744static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
35745 PyObject *obj;
35746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35747 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
35748 Py_INCREF(obj);
35749 return Py_BuildValue((char *)"");
35750}
35751static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35752 PyObject *resultobj;
35753 wxPySizer *result;
35754 char *kwnames[] = {
35755 NULL
35756 };
35757
35758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
35759 {
35760 PyThreadState* __tstate = wxPyBeginAllowThreads();
35761 result = (wxPySizer *)new wxPySizer();
35762
35763 wxPyEndAllowThreads(__tstate);
35764 if (PyErr_Occurred()) SWIG_fail;
35765 }
15afbcd0 35766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
d14a1e28
RD
35767 return resultobj;
35768 fail:
35769 return NULL;
35770}
35771
35772
35773static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
35774 PyObject *resultobj;
35775 wxPySizer *arg1 = (wxPySizer *) 0 ;
35776 PyObject *arg2 = (PyObject *) 0 ;
35777 PyObject *arg3 = (PyObject *) 0 ;
35778 PyObject * obj0 = 0 ;
35779 PyObject * obj1 = 0 ;
35780 PyObject * obj2 = 0 ;
35781 char *kwnames[] = {
35782 (char *) "self",(char *) "self",(char *) "_class", NULL
35783 };
35784
35785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
35787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35788 arg2 = obj1;
35789 arg3 = obj2;
35790 {
35791 PyThreadState* __tstate = wxPyBeginAllowThreads();
35792 (arg1)->_setCallbackInfo(arg2,arg3);
35793
35794 wxPyEndAllowThreads(__tstate);
35795 if (PyErr_Occurred()) SWIG_fail;
35796 }
35797 Py_INCREF(Py_None); resultobj = Py_None;
35798 return resultobj;
35799 fail:
35800 return NULL;
35801}
35802
35803
35804static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
35805 PyObject *obj;
35806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35807 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
35808 Py_INCREF(obj);
35809 return Py_BuildValue((char *)"");
35810}
35811static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35812 PyObject *resultobj;
35813 int arg1 = (int) wxHORIZONTAL ;
35814 wxBoxSizer *result;
994141e6 35815 PyObject * obj0 = 0 ;
d14a1e28
RD
35816 char *kwnames[] = {
35817 (char *) "orient", NULL
35818 };
35819
994141e6
RD
35820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
35821 if (obj0) {
15afbcd0
RD
35822 arg1 = (int) SWIG_AsInt(obj0);
35823 if (PyErr_Occurred()) SWIG_fail;
994141e6 35824 }
d14a1e28
RD
35825 {
35826 PyThreadState* __tstate = wxPyBeginAllowThreads();
35827 result = (wxBoxSizer *)new wxBoxSizer(arg1);
35828
35829 wxPyEndAllowThreads(__tstate);
35830 if (PyErr_Occurred()) SWIG_fail;
35831 }
15afbcd0 35832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
d14a1e28
RD
35833 return resultobj;
35834 fail:
35835 return NULL;
35836}
35837
35838
35839static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
35840 PyObject *resultobj;
35841 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35842 int result;
35843 PyObject * obj0 = 0 ;
35844 char *kwnames[] = {
35845 (char *) "self", NULL
35846 };
35847
35848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
35849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35851 {
35852 PyThreadState* __tstate = wxPyBeginAllowThreads();
35853 result = (int)(arg1)->GetOrientation();
35854
35855 wxPyEndAllowThreads(__tstate);
35856 if (PyErr_Occurred()) SWIG_fail;
35857 }
15afbcd0 35858 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35859 return resultobj;
35860 fail:
35861 return NULL;
35862}
35863
35864
35865static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
35866 PyObject *resultobj;
35867 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35868 int arg2 ;
35869 PyObject * obj0 = 0 ;
994141e6 35870 PyObject * obj1 = 0 ;
d14a1e28
RD
35871 char *kwnames[] = {
35872 (char *) "self",(char *) "orient", NULL
35873 };
35874
994141e6 35875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35878 arg2 = (int) SWIG_AsInt(obj1);
35879 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35880 {
35881 PyThreadState* __tstate = wxPyBeginAllowThreads();
35882 (arg1)->SetOrientation(arg2);
35883
35884 wxPyEndAllowThreads(__tstate);
35885 if (PyErr_Occurred()) SWIG_fail;
35886 }
35887 Py_INCREF(Py_None); resultobj = Py_None;
35888 return resultobj;
35889 fail:
35890 return NULL;
35891}
35892
35893
d14a1e28
RD
35894static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
35895 PyObject *obj;
35896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35897 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
35898 Py_INCREF(obj);
35899 return Py_BuildValue((char *)"");
35900}
35901static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35902 PyObject *resultobj;
35903 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
35904 int arg2 = (int) wxHORIZONTAL ;
35905 wxStaticBoxSizer *result;
35906 PyObject * obj0 = 0 ;
994141e6 35907 PyObject * obj1 = 0 ;
d14a1e28
RD
35908 char *kwnames[] = {
35909 (char *) "box",(char *) "orient", NULL
35910 };
35911
994141e6 35912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
35914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 35915 if (obj1) {
15afbcd0
RD
35916 arg2 = (int) SWIG_AsInt(obj1);
35917 if (PyErr_Occurred()) SWIG_fail;
994141e6 35918 }
d14a1e28
RD
35919 {
35920 PyThreadState* __tstate = wxPyBeginAllowThreads();
35921 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
35922
35923 wxPyEndAllowThreads(__tstate);
35924 if (PyErr_Occurred()) SWIG_fail;
35925 }
15afbcd0 35926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
d14a1e28
RD
35927 return resultobj;
35928 fail:
35929 return NULL;
35930}
35931
35932
35933static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
35934 PyObject *resultobj;
35935 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35936 wxStaticBox *result;
35937 PyObject * obj0 = 0 ;
35938 char *kwnames[] = {
35939 (char *) "self", NULL
35940 };
35941
35942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
35943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35945 {
35946 PyThreadState* __tstate = wxPyBeginAllowThreads();
35947 result = (wxStaticBox *)(arg1)->GetStaticBox();
35948
35949 wxPyEndAllowThreads(__tstate);
35950 if (PyErr_Occurred()) SWIG_fail;
35951 }
35952 {
412d302d 35953 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
35954 }
35955 return resultobj;
35956 fail:
35957 return NULL;
35958}
35959
35960
d14a1e28
RD
35961static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
35962 PyObject *obj;
35963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35964 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
35965 Py_INCREF(obj);
35966 return Py_BuildValue((char *)"");
35967}
35968static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35969 PyObject *resultobj;
35970 int arg1 = (int) 1 ;
35971 int arg2 = (int) 0 ;
35972 int arg3 = (int) 0 ;
35973 int arg4 = (int) 0 ;
35974 wxGridSizer *result;
994141e6
RD
35975 PyObject * obj0 = 0 ;
35976 PyObject * obj1 = 0 ;
35977 PyObject * obj2 = 0 ;
35978 PyObject * obj3 = 0 ;
d14a1e28
RD
35979 char *kwnames[] = {
35980 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35981 };
35982
994141e6
RD
35983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35984 if (obj0) {
15afbcd0
RD
35985 arg1 = (int) SWIG_AsInt(obj0);
35986 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35987 }
35988 if (obj1) {
15afbcd0
RD
35989 arg2 = (int) SWIG_AsInt(obj1);
35990 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35991 }
35992 if (obj2) {
15afbcd0
RD
35993 arg3 = (int) SWIG_AsInt(obj2);
35994 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35995 }
35996 if (obj3) {
15afbcd0
RD
35997 arg4 = (int) SWIG_AsInt(obj3);
35998 if (PyErr_Occurred()) SWIG_fail;
994141e6 35999 }
d14a1e28
RD
36000 {
36001 PyThreadState* __tstate = wxPyBeginAllowThreads();
36002 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
36003
36004 wxPyEndAllowThreads(__tstate);
36005 if (PyErr_Occurred()) SWIG_fail;
36006 }
15afbcd0 36007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
d14a1e28
RD
36008 return resultobj;
36009 fail:
36010 return NULL;
36011}
36012
36013
d14a1e28
RD
36014static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
36015 PyObject *resultobj;
36016 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36017 int arg2 ;
36018 PyObject * obj0 = 0 ;
994141e6 36019 PyObject * obj1 = 0 ;
d14a1e28
RD
36020 char *kwnames[] = {
36021 (char *) "self",(char *) "cols", NULL
36022 };
36023
994141e6 36024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36027 arg2 = (int) SWIG_AsInt(obj1);
36028 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36029 {
36030 PyThreadState* __tstate = wxPyBeginAllowThreads();
36031 (arg1)->SetCols(arg2);
36032
36033 wxPyEndAllowThreads(__tstate);
36034 if (PyErr_Occurred()) SWIG_fail;
36035 }
36036 Py_INCREF(Py_None); resultobj = Py_None;
36037 return resultobj;
36038 fail:
36039 return NULL;
36040}
36041
36042
36043static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
36044 PyObject *resultobj;
36045 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36046 int arg2 ;
36047 PyObject * obj0 = 0 ;
994141e6 36048 PyObject * obj1 = 0 ;
d14a1e28
RD
36049 char *kwnames[] = {
36050 (char *) "self",(char *) "rows", NULL
36051 };
36052
994141e6 36053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36056 arg2 = (int) SWIG_AsInt(obj1);
36057 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36058 {
36059 PyThreadState* __tstate = wxPyBeginAllowThreads();
36060 (arg1)->SetRows(arg2);
36061
36062 wxPyEndAllowThreads(__tstate);
36063 if (PyErr_Occurred()) SWIG_fail;
36064 }
36065 Py_INCREF(Py_None); resultobj = Py_None;
36066 return resultobj;
36067 fail:
36068 return NULL;
36069}
36070
36071
36072static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36073 PyObject *resultobj;
36074 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36075 int arg2 ;
36076 PyObject * obj0 = 0 ;
994141e6 36077 PyObject * obj1 = 0 ;
d14a1e28
RD
36078 char *kwnames[] = {
36079 (char *) "self",(char *) "gap", NULL
36080 };
36081
994141e6 36082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36085 arg2 = (int) SWIG_AsInt(obj1);
36086 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36087 {
36088 PyThreadState* __tstate = wxPyBeginAllowThreads();
36089 (arg1)->SetVGap(arg2);
36090
36091 wxPyEndAllowThreads(__tstate);
36092 if (PyErr_Occurred()) SWIG_fail;
36093 }
36094 Py_INCREF(Py_None); resultobj = Py_None;
36095 return resultobj;
36096 fail:
36097 return NULL;
36098}
36099
36100
36101static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36102 PyObject *resultobj;
36103 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36104 int arg2 ;
36105 PyObject * obj0 = 0 ;
994141e6 36106 PyObject * obj1 = 0 ;
d14a1e28
RD
36107 char *kwnames[] = {
36108 (char *) "self",(char *) "gap", NULL
36109 };
36110
994141e6 36111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36114 arg2 = (int) SWIG_AsInt(obj1);
36115 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36116 {
36117 PyThreadState* __tstate = wxPyBeginAllowThreads();
36118 (arg1)->SetHGap(arg2);
36119
36120 wxPyEndAllowThreads(__tstate);
36121 if (PyErr_Occurred()) SWIG_fail;
36122 }
36123 Py_INCREF(Py_None); resultobj = Py_None;
36124 return resultobj;
36125 fail:
36126 return NULL;
36127}
36128
36129
36130static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
36131 PyObject *resultobj;
36132 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36133 int result;
36134 PyObject * obj0 = 0 ;
36135 char *kwnames[] = {
36136 (char *) "self", NULL
36137 };
36138
36139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
36140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36142 {
36143 PyThreadState* __tstate = wxPyBeginAllowThreads();
36144 result = (int)(arg1)->GetCols();
36145
36146 wxPyEndAllowThreads(__tstate);
36147 if (PyErr_Occurred()) SWIG_fail;
36148 }
15afbcd0 36149 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36150 return resultobj;
36151 fail:
36152 return NULL;
36153}
36154
36155
36156static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
36157 PyObject *resultobj;
36158 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36159 int result;
36160 PyObject * obj0 = 0 ;
36161 char *kwnames[] = {
36162 (char *) "self", NULL
36163 };
36164
36165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
36166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36168 {
36169 PyThreadState* __tstate = wxPyBeginAllowThreads();
36170 result = (int)(arg1)->GetRows();
36171
36172 wxPyEndAllowThreads(__tstate);
36173 if (PyErr_Occurred()) SWIG_fail;
36174 }
15afbcd0 36175 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36176 return resultobj;
36177 fail:
36178 return NULL;
36179}
36180
36181
36182static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36183 PyObject *resultobj;
36184 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36185 int result;
36186 PyObject * obj0 = 0 ;
36187 char *kwnames[] = {
36188 (char *) "self", NULL
36189 };
36190
36191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
36192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36194 {
36195 PyThreadState* __tstate = wxPyBeginAllowThreads();
36196 result = (int)(arg1)->GetVGap();
36197
36198 wxPyEndAllowThreads(__tstate);
36199 if (PyErr_Occurred()) SWIG_fail;
36200 }
15afbcd0 36201 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36202 return resultobj;
36203 fail:
36204 return NULL;
36205}
36206
36207
36208static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36209 PyObject *resultobj;
36210 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36211 int result;
36212 PyObject * obj0 = 0 ;
36213 char *kwnames[] = {
36214 (char *) "self", NULL
36215 };
36216
36217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
36218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36220 {
36221 PyThreadState* __tstate = wxPyBeginAllowThreads();
36222 result = (int)(arg1)->GetHGap();
36223
36224 wxPyEndAllowThreads(__tstate);
36225 if (PyErr_Occurred()) SWIG_fail;
36226 }
15afbcd0 36227 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36228 return resultobj;
36229 fail:
36230 return NULL;
36231}
36232
36233
36234static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
36235 PyObject *obj;
36236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36237 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
36238 Py_INCREF(obj);
36239 return Py_BuildValue((char *)"");
36240}
36241static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36242 PyObject *resultobj;
36243 int arg1 = (int) 1 ;
36244 int arg2 = (int) 0 ;
36245 int arg3 = (int) 0 ;
36246 int arg4 = (int) 0 ;
36247 wxFlexGridSizer *result;
994141e6
RD
36248 PyObject * obj0 = 0 ;
36249 PyObject * obj1 = 0 ;
36250 PyObject * obj2 = 0 ;
36251 PyObject * obj3 = 0 ;
d14a1e28
RD
36252 char *kwnames[] = {
36253 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36254 };
36255
994141e6
RD
36256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36257 if (obj0) {
15afbcd0
RD
36258 arg1 = (int) SWIG_AsInt(obj0);
36259 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36260 }
36261 if (obj1) {
15afbcd0
RD
36262 arg2 = (int) SWIG_AsInt(obj1);
36263 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36264 }
36265 if (obj2) {
15afbcd0
RD
36266 arg3 = (int) SWIG_AsInt(obj2);
36267 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36268 }
36269 if (obj3) {
15afbcd0
RD
36270 arg4 = (int) SWIG_AsInt(obj3);
36271 if (PyErr_Occurred()) SWIG_fail;
994141e6 36272 }
d14a1e28
RD
36273 {
36274 PyThreadState* __tstate = wxPyBeginAllowThreads();
36275 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
36276
36277 wxPyEndAllowThreads(__tstate);
36278 if (PyErr_Occurred()) SWIG_fail;
36279 }
15afbcd0 36280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
d14a1e28
RD
36281 return resultobj;
36282 fail:
36283 return NULL;
36284}
36285
36286
d14a1e28
RD
36287static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36288 PyObject *resultobj;
36289 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36290 size_t arg2 ;
36291 int arg3 = (int) 0 ;
36292 PyObject * obj0 = 0 ;
36293 PyObject * obj1 = 0 ;
994141e6 36294 PyObject * obj2 = 0 ;
d14a1e28
RD
36295 char *kwnames[] = {
36296 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36297 };
36298
994141e6 36299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36302 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36303 if (PyErr_Occurred()) SWIG_fail;
994141e6 36304 if (obj2) {
15afbcd0
RD
36305 arg3 = (int) SWIG_AsInt(obj2);
36306 if (PyErr_Occurred()) SWIG_fail;
994141e6 36307 }
d14a1e28
RD
36308 {
36309 PyThreadState* __tstate = wxPyBeginAllowThreads();
36310 (arg1)->AddGrowableRow(arg2,arg3);
36311
36312 wxPyEndAllowThreads(__tstate);
36313 if (PyErr_Occurred()) SWIG_fail;
36314 }
36315 Py_INCREF(Py_None); resultobj = Py_None;
36316 return resultobj;
36317 fail:
36318 return NULL;
36319}
36320
36321
36322static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36323 PyObject *resultobj;
36324 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36325 size_t arg2 ;
36326 PyObject * obj0 = 0 ;
36327 PyObject * obj1 = 0 ;
36328 char *kwnames[] = {
36329 (char *) "self",(char *) "idx", NULL
36330 };
36331
36332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36335 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36336 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36337 {
36338 PyThreadState* __tstate = wxPyBeginAllowThreads();
36339 (arg1)->RemoveGrowableRow(arg2);
36340
36341 wxPyEndAllowThreads(__tstate);
36342 if (PyErr_Occurred()) SWIG_fail;
36343 }
36344 Py_INCREF(Py_None); resultobj = Py_None;
36345 return resultobj;
36346 fail:
36347 return NULL;
36348}
36349
36350
36351static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36352 PyObject *resultobj;
36353 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36354 size_t arg2 ;
36355 int arg3 = (int) 0 ;
36356 PyObject * obj0 = 0 ;
36357 PyObject * obj1 = 0 ;
994141e6 36358 PyObject * obj2 = 0 ;
d14a1e28
RD
36359 char *kwnames[] = {
36360 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36361 };
36362
994141e6 36363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36366 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36367 if (PyErr_Occurred()) SWIG_fail;
994141e6 36368 if (obj2) {
15afbcd0
RD
36369 arg3 = (int) SWIG_AsInt(obj2);
36370 if (PyErr_Occurred()) SWIG_fail;
994141e6 36371 }
d14a1e28
RD
36372 {
36373 PyThreadState* __tstate = wxPyBeginAllowThreads();
36374 (arg1)->AddGrowableCol(arg2,arg3);
36375
36376 wxPyEndAllowThreads(__tstate);
36377 if (PyErr_Occurred()) SWIG_fail;
36378 }
36379 Py_INCREF(Py_None); resultobj = Py_None;
36380 return resultobj;
36381 fail:
36382 return NULL;
36383}
36384
36385
36386static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36387 PyObject *resultobj;
36388 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36389 size_t arg2 ;
36390 PyObject * obj0 = 0 ;
36391 PyObject * obj1 = 0 ;
36392 char *kwnames[] = {
36393 (char *) "self",(char *) "idx", NULL
36394 };
36395
36396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36399 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36400 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36401 {
36402 PyThreadState* __tstate = wxPyBeginAllowThreads();
36403 (arg1)->RemoveGrowableCol(arg2);
36404
36405 wxPyEndAllowThreads(__tstate);
36406 if (PyErr_Occurred()) SWIG_fail;
36407 }
36408 Py_INCREF(Py_None); resultobj = Py_None;
36409 return resultobj;
36410 fail:
36411 return NULL;
36412}
36413
36414
36415static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36416 PyObject *resultobj;
36417 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36418 int arg2 ;
36419 PyObject * obj0 = 0 ;
994141e6 36420 PyObject * obj1 = 0 ;
d14a1e28
RD
36421 char *kwnames[] = {
36422 (char *) "self",(char *) "direction", NULL
36423 };
36424
994141e6 36425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36428 arg2 = (int) SWIG_AsInt(obj1);
36429 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36430 {
36431 PyThreadState* __tstate = wxPyBeginAllowThreads();
36432 (arg1)->SetFlexibleDirection(arg2);
36433
36434 wxPyEndAllowThreads(__tstate);
36435 if (PyErr_Occurred()) SWIG_fail;
36436 }
36437 Py_INCREF(Py_None); resultobj = Py_None;
36438 return resultobj;
36439 fail:
36440 return NULL;
36441}
36442
36443
36444static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36445 PyObject *resultobj;
36446 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36447 int result;
36448 PyObject * obj0 = 0 ;
36449 char *kwnames[] = {
36450 (char *) "self", NULL
36451 };
36452
36453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
36454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36456 {
36457 PyThreadState* __tstate = wxPyBeginAllowThreads();
36458 result = (int)(arg1)->GetFlexibleDirection();
36459
36460 wxPyEndAllowThreads(__tstate);
36461 if (PyErr_Occurred()) SWIG_fail;
36462 }
15afbcd0 36463 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36464 return resultobj;
36465 fail:
36466 return NULL;
36467}
36468
36469
36470static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36471 PyObject *resultobj;
36472 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36473 int arg2 ;
36474 PyObject * obj0 = 0 ;
994141e6 36475 PyObject * obj1 = 0 ;
d14a1e28
RD
36476 char *kwnames[] = {
36477 (char *) "self",(char *) "mode", NULL
36478 };
36479
994141e6 36480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36483 arg2 = (wxFlexSizerGrowMode) SWIG_AsInt(obj1);
36484 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36485 {
36486 PyThreadState* __tstate = wxPyBeginAllowThreads();
36487 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
36488
36489 wxPyEndAllowThreads(__tstate);
36490 if (PyErr_Occurred()) SWIG_fail;
36491 }
36492 Py_INCREF(Py_None); resultobj = Py_None;
36493 return resultobj;
36494 fail:
36495 return NULL;
36496}
36497
36498
36499static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36500 PyObject *resultobj;
36501 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36502 int result;
36503 PyObject * obj0 = 0 ;
36504 char *kwnames[] = {
36505 (char *) "self", NULL
36506 };
36507
36508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
36509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36511 {
36512 PyThreadState* __tstate = wxPyBeginAllowThreads();
36513 result = (int)(arg1)->GetNonFlexibleGrowMode();
36514
36515 wxPyEndAllowThreads(__tstate);
36516 if (PyErr_Occurred()) SWIG_fail;
36517 }
15afbcd0 36518 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36519 return resultobj;
36520 fail:
36521 return NULL;
36522}
36523
36524
e811c8ce
RD
36525static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
36526 PyObject *resultobj;
36527 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36528 wxArrayInt *result;
36529 PyObject * obj0 = 0 ;
36530 char *kwnames[] = {
36531 (char *) "self", NULL
36532 };
36533
36534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
15afbcd0
RD
36535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
36537 {
36538 PyThreadState* __tstate = wxPyBeginAllowThreads();
36539 {
36540 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
36541 result = (wxArrayInt *) &_result_ref;
36542 }
36543
36544 wxPyEndAllowThreads(__tstate);
36545 if (PyErr_Occurred()) SWIG_fail;
36546 }
36547 {
36548 resultobj = PyList_New(0);
36549 size_t idx;
36550 for (idx = 0; idx < result->GetCount(); idx += 1) {
36551 PyObject* val = PyInt_FromLong( result->Item(idx) );
36552 PyList_Append(resultobj, val);
36553 Py_DECREF(val);
36554 }
36555 }
36556 return resultobj;
36557 fail:
36558 return NULL;
36559}
36560
36561
36562static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
36563 PyObject *resultobj;
36564 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36565 wxArrayInt *result;
36566 PyObject * obj0 = 0 ;
36567 char *kwnames[] = {
36568 (char *) "self", NULL
36569 };
36570
36571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
15afbcd0
RD
36572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
36574 {
36575 PyThreadState* __tstate = wxPyBeginAllowThreads();
36576 {
36577 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
36578 result = (wxArrayInt *) &_result_ref;
36579 }
36580
36581 wxPyEndAllowThreads(__tstate);
36582 if (PyErr_Occurred()) SWIG_fail;
36583 }
36584 {
36585 resultobj = PyList_New(0);
36586 size_t idx;
36587 for (idx = 0; idx < result->GetCount(); idx += 1) {
36588 PyObject* val = PyInt_FromLong( result->Item(idx) );
36589 PyList_Append(resultobj, val);
36590 Py_DECREF(val);
36591 }
36592 }
36593 return resultobj;
36594 fail:
36595 return NULL;
36596}
36597
36598
d14a1e28
RD
36599static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
36600 PyObject *obj;
36601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36602 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
36603 Py_INCREF(obj);
36604 return Py_BuildValue((char *)"");
36605}
36606static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
36607 PyObject *resultobj;
36608 int arg1 = (int) 0 ;
36609 int arg2 = (int) 0 ;
36610 wxGBPosition *result;
994141e6
RD
36611 PyObject * obj0 = 0 ;
36612 PyObject * obj1 = 0 ;
d14a1e28
RD
36613 char *kwnames[] = {
36614 (char *) "row",(char *) "col", NULL
36615 };
36616
994141e6
RD
36617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
36618 if (obj0) {
15afbcd0
RD
36619 arg1 = (int) SWIG_AsInt(obj0);
36620 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36621 }
36622 if (obj1) {
15afbcd0
RD
36623 arg2 = (int) SWIG_AsInt(obj1);
36624 if (PyErr_Occurred()) SWIG_fail;
994141e6 36625 }
d14a1e28
RD
36626 {
36627 PyThreadState* __tstate = wxPyBeginAllowThreads();
36628 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
36629
36630 wxPyEndAllowThreads(__tstate);
36631 if (PyErr_Occurred()) SWIG_fail;
36632 }
15afbcd0 36633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
36634 return resultobj;
36635 fail:
36636 return NULL;
36637}
36638
36639
36640static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36641 PyObject *resultobj;
36642 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36643 int result;
36644 PyObject * obj0 = 0 ;
36645 char *kwnames[] = {
36646 (char *) "self", NULL
36647 };
36648
36649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
36650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36652 {
36653 PyThreadState* __tstate = wxPyBeginAllowThreads();
36654 result = (int)((wxGBPosition const *)arg1)->GetRow();
36655
36656 wxPyEndAllowThreads(__tstate);
36657 if (PyErr_Occurred()) SWIG_fail;
36658 }
15afbcd0 36659 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36660 return resultobj;
36661 fail:
36662 return NULL;
36663}
36664
36665
36666static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36667 PyObject *resultobj;
36668 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36669 int result;
36670 PyObject * obj0 = 0 ;
36671 char *kwnames[] = {
36672 (char *) "self", NULL
36673 };
36674
36675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
36676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36678 {
36679 PyThreadState* __tstate = wxPyBeginAllowThreads();
36680 result = (int)((wxGBPosition const *)arg1)->GetCol();
36681
36682 wxPyEndAllowThreads(__tstate);
36683 if (PyErr_Occurred()) SWIG_fail;
36684 }
15afbcd0 36685 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36686 return resultobj;
36687 fail:
36688 return NULL;
36689}
36690
36691
36692static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36693 PyObject *resultobj;
36694 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36695 int arg2 ;
36696 PyObject * obj0 = 0 ;
994141e6 36697 PyObject * obj1 = 0 ;
d14a1e28
RD
36698 char *kwnames[] = {
36699 (char *) "self",(char *) "row", NULL
36700 };
36701
994141e6 36702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36705 arg2 = (int) SWIG_AsInt(obj1);
36706 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36707 {
36708 PyThreadState* __tstate = wxPyBeginAllowThreads();
36709 (arg1)->SetRow(arg2);
36710
36711 wxPyEndAllowThreads(__tstate);
36712 if (PyErr_Occurred()) SWIG_fail;
36713 }
36714 Py_INCREF(Py_None); resultobj = Py_None;
36715 return resultobj;
36716 fail:
36717 return NULL;
36718}
36719
36720
36721static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36722 PyObject *resultobj;
36723 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36724 int arg2 ;
36725 PyObject * obj0 = 0 ;
994141e6 36726 PyObject * obj1 = 0 ;
d14a1e28
RD
36727 char *kwnames[] = {
36728 (char *) "self",(char *) "col", NULL
36729 };
36730
994141e6 36731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36734 arg2 = (int) SWIG_AsInt(obj1);
36735 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36736 {
36737 PyThreadState* __tstate = wxPyBeginAllowThreads();
36738 (arg1)->SetCol(arg2);
36739
36740 wxPyEndAllowThreads(__tstate);
36741 if (PyErr_Occurred()) SWIG_fail;
36742 }
36743 Py_INCREF(Py_None); resultobj = Py_None;
36744 return resultobj;
36745 fail:
36746 return NULL;
36747}
36748
36749
36750static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
36751 PyObject *resultobj;
36752 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 36753 wxGBPosition *arg2 = 0 ;
d14a1e28 36754 bool result;
4f89f6a3 36755 wxGBPosition temp2 ;
d14a1e28
RD
36756 PyObject * obj0 = 0 ;
36757 PyObject * obj1 = 0 ;
36758 char *kwnames[] = {
22faec7d 36759 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36760 };
36761
36762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36765 {
36766 arg2 = &temp2;
36767 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36768 }
d14a1e28
RD
36769 {
36770 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36771 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
d14a1e28
RD
36772
36773 wxPyEndAllowThreads(__tstate);
36774 if (PyErr_Occurred()) SWIG_fail;
36775 }
4f89f6a3
RD
36776 {
36777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36778 }
d14a1e28
RD
36779 return resultobj;
36780 fail:
36781 return NULL;
36782}
36783
36784
36785static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
36786 PyObject *resultobj;
36787 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 36788 wxGBPosition *arg2 = 0 ;
d14a1e28 36789 bool result;
4f89f6a3 36790 wxGBPosition temp2 ;
d14a1e28
RD
36791 PyObject * obj0 = 0 ;
36792 PyObject * obj1 = 0 ;
36793 char *kwnames[] = {
22faec7d 36794 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36795 };
36796
36797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36800 {
36801 arg2 = &temp2;
36802 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36803 }
d14a1e28
RD
36804 {
36805 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36806 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
d14a1e28
RD
36807
36808 wxPyEndAllowThreads(__tstate);
36809 if (PyErr_Occurred()) SWIG_fail;
36810 }
4f89f6a3
RD
36811 {
36812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36813 }
d14a1e28
RD
36814 return resultobj;
36815 fail:
36816 return NULL;
36817}
36818
36819
e811c8ce
RD
36820static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
36821 PyObject *resultobj;
36822 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36823 int arg2 = (int) 0 ;
36824 int arg3 = (int) 0 ;
36825 PyObject * obj0 = 0 ;
994141e6
RD
36826 PyObject * obj1 = 0 ;
36827 PyObject * obj2 = 0 ;
e811c8ce
RD
36828 char *kwnames[] = {
36829 (char *) "self",(char *) "row",(char *) "col", NULL
36830 };
36831
994141e6 36832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 36835 if (obj1) {
15afbcd0
RD
36836 arg2 = (int) SWIG_AsInt(obj1);
36837 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36838 }
36839 if (obj2) {
15afbcd0
RD
36840 arg3 = (int) SWIG_AsInt(obj2);
36841 if (PyErr_Occurred()) SWIG_fail;
994141e6 36842 }
e811c8ce
RD
36843 {
36844 PyThreadState* __tstate = wxPyBeginAllowThreads();
36845 wxGBPosition_Set(arg1,arg2,arg3);
36846
36847 wxPyEndAllowThreads(__tstate);
36848 if (PyErr_Occurred()) SWIG_fail;
36849 }
36850 Py_INCREF(Py_None); resultobj = Py_None;
36851 return resultobj;
36852 fail:
36853 return NULL;
36854}
36855
36856
36857static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36858 PyObject *resultobj;
36859 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36860 PyObject *result;
36861 PyObject * obj0 = 0 ;
36862 char *kwnames[] = {
36863 (char *) "self", NULL
36864 };
36865
e811c8ce 36866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
36867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36869 {
36870 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 36871 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
36872
36873 wxPyEndAllowThreads(__tstate);
36874 if (PyErr_Occurred()) SWIG_fail;
36875 }
36876 resultobj = result;
36877 return resultobj;
36878 fail:
36879 return NULL;
36880}
36881
36882
36883static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
36884 PyObject *obj;
36885 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36886 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
36887 Py_INCREF(obj);
36888 return Py_BuildValue((char *)"");
36889}
36890static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
36891 PyObject *resultobj;
36892 int arg1 = (int) 1 ;
36893 int arg2 = (int) 1 ;
36894 wxGBSpan *result;
994141e6
RD
36895 PyObject * obj0 = 0 ;
36896 PyObject * obj1 = 0 ;
d14a1e28
RD
36897 char *kwnames[] = {
36898 (char *) "rowspan",(char *) "colspan", NULL
36899 };
36900
994141e6
RD
36901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
36902 if (obj0) {
15afbcd0
RD
36903 arg1 = (int) SWIG_AsInt(obj0);
36904 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36905 }
36906 if (obj1) {
15afbcd0
RD
36907 arg2 = (int) SWIG_AsInt(obj1);
36908 if (PyErr_Occurred()) SWIG_fail;
994141e6 36909 }
d14a1e28
RD
36910 {
36911 PyThreadState* __tstate = wxPyBeginAllowThreads();
36912 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
36913
36914 wxPyEndAllowThreads(__tstate);
36915 if (PyErr_Occurred()) SWIG_fail;
36916 }
15afbcd0 36917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
36918 return resultobj;
36919 fail:
36920 return NULL;
36921}
36922
36923
36924static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36925 PyObject *resultobj;
36926 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36927 int result;
36928 PyObject * obj0 = 0 ;
36929 char *kwnames[] = {
36930 (char *) "self", NULL
36931 };
36932
36933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
36934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36936 {
36937 PyThreadState* __tstate = wxPyBeginAllowThreads();
36938 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
36939
36940 wxPyEndAllowThreads(__tstate);
36941 if (PyErr_Occurred()) SWIG_fail;
36942 }
15afbcd0 36943 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36944 return resultobj;
36945 fail:
36946 return NULL;
36947}
36948
36949
36950static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36951 PyObject *resultobj;
36952 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36953 int result;
36954 PyObject * obj0 = 0 ;
36955 char *kwnames[] = {
36956 (char *) "self", NULL
36957 };
36958
36959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
36960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36962 {
36963 PyThreadState* __tstate = wxPyBeginAllowThreads();
36964 result = (int)((wxGBSpan const *)arg1)->GetColspan();
36965
36966 wxPyEndAllowThreads(__tstate);
36967 if (PyErr_Occurred()) SWIG_fail;
36968 }
15afbcd0 36969 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36970 return resultobj;
36971 fail:
36972 return NULL;
36973}
36974
36975
36976static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36977 PyObject *resultobj;
36978 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36979 int arg2 ;
36980 PyObject * obj0 = 0 ;
994141e6 36981 PyObject * obj1 = 0 ;
d14a1e28
RD
36982 char *kwnames[] = {
36983 (char *) "self",(char *) "rowspan", NULL
36984 };
36985
994141e6 36986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36989 arg2 = (int) SWIG_AsInt(obj1);
36990 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36991 {
36992 PyThreadState* __tstate = wxPyBeginAllowThreads();
36993 (arg1)->SetRowspan(arg2);
36994
36995 wxPyEndAllowThreads(__tstate);
36996 if (PyErr_Occurred()) SWIG_fail;
36997 }
36998 Py_INCREF(Py_None); resultobj = Py_None;
36999 return resultobj;
37000 fail:
37001 return NULL;
37002}
37003
37004
37005static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
37006 PyObject *resultobj;
37007 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37008 int arg2 ;
37009 PyObject * obj0 = 0 ;
994141e6 37010 PyObject * obj1 = 0 ;
d14a1e28
RD
37011 char *kwnames[] = {
37012 (char *) "self",(char *) "colspan", NULL
37013 };
37014
994141e6 37015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37018 arg2 = (int) SWIG_AsInt(obj1);
37019 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37020 {
37021 PyThreadState* __tstate = wxPyBeginAllowThreads();
37022 (arg1)->SetColspan(arg2);
37023
37024 wxPyEndAllowThreads(__tstate);
37025 if (PyErr_Occurred()) SWIG_fail;
37026 }
37027 Py_INCREF(Py_None); resultobj = Py_None;
37028 return resultobj;
37029 fail:
37030 return NULL;
37031}
37032
37033
37034static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
37035 PyObject *resultobj;
37036 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 37037 wxGBSpan *arg2 = 0 ;
d14a1e28 37038 bool result;
4f89f6a3 37039 wxGBSpan temp2 ;
d14a1e28
RD
37040 PyObject * obj0 = 0 ;
37041 PyObject * obj1 = 0 ;
37042 char *kwnames[] = {
22faec7d 37043 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37044 };
37045
37046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37049 {
37050 arg2 = &temp2;
37051 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37052 }
d14a1e28
RD
37053 {
37054 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37055 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
d14a1e28
RD
37056
37057 wxPyEndAllowThreads(__tstate);
37058 if (PyErr_Occurred()) SWIG_fail;
37059 }
4f89f6a3
RD
37060 {
37061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37062 }
d14a1e28
RD
37063 return resultobj;
37064 fail:
37065 return NULL;
37066}
37067
37068
37069static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
37070 PyObject *resultobj;
37071 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 37072 wxGBSpan *arg2 = 0 ;
d14a1e28 37073 bool result;
4f89f6a3 37074 wxGBSpan temp2 ;
d14a1e28
RD
37075 PyObject * obj0 = 0 ;
37076 PyObject * obj1 = 0 ;
37077 char *kwnames[] = {
22faec7d 37078 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37079 };
37080
37081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37084 {
37085 arg2 = &temp2;
37086 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37087 }
d14a1e28
RD
37088 {
37089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37090 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
d14a1e28
RD
37091
37092 wxPyEndAllowThreads(__tstate);
37093 if (PyErr_Occurred()) SWIG_fail;
37094 }
4f89f6a3
RD
37095 {
37096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37097 }
d14a1e28
RD
37098 return resultobj;
37099 fail:
37100 return NULL;
37101}
37102
37103
e811c8ce
RD
37104static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
37105 PyObject *resultobj;
37106 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37107 int arg2 = (int) 1 ;
37108 int arg3 = (int) 1 ;
37109 PyObject * obj0 = 0 ;
994141e6
RD
37110 PyObject * obj1 = 0 ;
37111 PyObject * obj2 = 0 ;
e811c8ce
RD
37112 char *kwnames[] = {
37113 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37114 };
37115
994141e6 37116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 37119 if (obj1) {
15afbcd0
RD
37120 arg2 = (int) SWIG_AsInt(obj1);
37121 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37122 }
37123 if (obj2) {
15afbcd0
RD
37124 arg3 = (int) SWIG_AsInt(obj2);
37125 if (PyErr_Occurred()) SWIG_fail;
994141e6 37126 }
e811c8ce
RD
37127 {
37128 PyThreadState* __tstate = wxPyBeginAllowThreads();
37129 wxGBSpan_Set(arg1,arg2,arg3);
37130
37131 wxPyEndAllowThreads(__tstate);
37132 if (PyErr_Occurred()) SWIG_fail;
37133 }
37134 Py_INCREF(Py_None); resultobj = Py_None;
37135 return resultobj;
37136 fail:
37137 return NULL;
37138}
37139
37140
37141static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37142 PyObject *resultobj;
37143 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37144 PyObject *result;
37145 PyObject * obj0 = 0 ;
37146 char *kwnames[] = {
37147 (char *) "self", NULL
37148 };
37149
e811c8ce 37150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
37151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37153 {
37154 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 37155 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
37156
37157 wxPyEndAllowThreads(__tstate);
37158 if (PyErr_Occurred()) SWIG_fail;
37159 }
37160 resultobj = result;
37161 return resultobj;
37162 fail:
37163 return NULL;
37164}
37165
37166
37167static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
37168 PyObject *obj;
37169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37170 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
37171 Py_INCREF(obj);
37172 return Py_BuildValue((char *)"");
37173}
37174static int _wrap_DefaultSpan_set(PyObject *_val) {
37175 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
37176 return 1;
37177}
37178
37179
37180static PyObject *_wrap_DefaultSpan_get() {
37181 PyObject *pyobj;
37182
15afbcd0 37183 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
d14a1e28
RD
37184 return pyobj;
37185}
37186
37187
37188static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37189 PyObject *resultobj;
37190 wxGBSizerItem *result;
37191 char *kwnames[] = {
37192 NULL
37193 };
37194
37195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
37196 {
37197 PyThreadState* __tstate = wxPyBeginAllowThreads();
37198 result = (wxGBSizerItem *)new wxGBSizerItem();
37199
37200 wxPyEndAllowThreads(__tstate);
37201 if (PyErr_Occurred()) SWIG_fail;
37202 }
15afbcd0 37203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37204 return resultobj;
37205 fail:
37206 return NULL;
37207}
37208
37209
37210static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
37211 PyObject *resultobj;
37212 wxWindow *arg1 = (wxWindow *) 0 ;
37213 wxGBPosition *arg2 = 0 ;
37214 wxGBSpan *arg3 = 0 ;
37215 int arg4 ;
37216 int arg5 ;
248ed943 37217 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
37218 wxGBSizerItem *result;
37219 wxGBPosition temp2 ;
37220 wxGBSpan temp3 ;
37221 PyObject * obj0 = 0 ;
37222 PyObject * obj1 = 0 ;
37223 PyObject * obj2 = 0 ;
994141e6
RD
37224 PyObject * obj3 = 0 ;
37225 PyObject * obj4 = 0 ;
d14a1e28
RD
37226 PyObject * obj5 = 0 ;
37227 char *kwnames[] = {
37228 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37229 };
37230
248ed943 37231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
37232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
37233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37234 {
37235 arg2 = &temp2;
37236 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37237 }
37238 {
37239 arg3 = &temp3;
37240 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37241 }
15afbcd0
RD
37242 arg4 = (int) SWIG_AsInt(obj3);
37243 if (PyErr_Occurred()) SWIG_fail;
37244 arg5 = (int) SWIG_AsInt(obj4);
37245 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
37246 if (obj5) {
37247 arg6 = obj5;
37248 }
d14a1e28
RD
37249 {
37250 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 37251 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d14a1e28
RD
37252
37253 wxPyEndAllowThreads(__tstate);
37254 if (PyErr_Occurred()) SWIG_fail;
37255 }
15afbcd0 37256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37257 return resultobj;
37258 fail:
37259 return NULL;
37260}
37261
37262
37263static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37264 PyObject *resultobj;
37265 wxSizer *arg1 = (wxSizer *) 0 ;
37266 wxGBPosition *arg2 = 0 ;
37267 wxGBSpan *arg3 = 0 ;
37268 int arg4 ;
37269 int arg5 ;
248ed943 37270 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
37271 wxGBSizerItem *result;
37272 wxGBPosition temp2 ;
37273 wxGBSpan temp3 ;
37274 PyObject * obj0 = 0 ;
37275 PyObject * obj1 = 0 ;
37276 PyObject * obj2 = 0 ;
994141e6
RD
37277 PyObject * obj3 = 0 ;
37278 PyObject * obj4 = 0 ;
d14a1e28
RD
37279 PyObject * obj5 = 0 ;
37280 char *kwnames[] = {
37281 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37282 };
37283
248ed943 37284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
37285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
37286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37287 {
37288 arg2 = &temp2;
37289 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37290 }
37291 {
37292 arg3 = &temp3;
37293 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37294 }
15afbcd0
RD
37295 arg4 = (int) SWIG_AsInt(obj3);
37296 if (PyErr_Occurred()) SWIG_fail;
37297 arg5 = (int) SWIG_AsInt(obj4);
37298 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
37299 if (obj5) {
37300 arg6 = obj5;
37301 }
d14a1e28
RD
37302 {
37303 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 37304 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d14a1e28
RD
37305
37306 wxPyEndAllowThreads(__tstate);
37307 if (PyErr_Occurred()) SWIG_fail;
37308 }
15afbcd0 37309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37310 return resultobj;
37311 fail:
37312 return NULL;
37313}
37314
37315
37316static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
37317 PyObject *resultobj;
37318 int arg1 ;
37319 int arg2 ;
37320 wxGBPosition *arg3 = 0 ;
37321 wxGBSpan *arg4 = 0 ;
37322 int arg5 ;
37323 int arg6 ;
248ed943 37324 PyObject *arg7 = (PyObject *) NULL ;
d14a1e28
RD
37325 wxGBSizerItem *result;
37326 wxGBPosition temp3 ;
37327 wxGBSpan temp4 ;
994141e6
RD
37328 PyObject * obj0 = 0 ;
37329 PyObject * obj1 = 0 ;
d14a1e28
RD
37330 PyObject * obj2 = 0 ;
37331 PyObject * obj3 = 0 ;
994141e6
RD
37332 PyObject * obj4 = 0 ;
37333 PyObject * obj5 = 0 ;
d14a1e28
RD
37334 PyObject * obj6 = 0 ;
37335 char *kwnames[] = {
37336 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37337 };
37338
248ed943 37339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
37340 arg1 = (int) SWIG_AsInt(obj0);
37341 if (PyErr_Occurred()) SWIG_fail;
37342 arg2 = (int) SWIG_AsInt(obj1);
37343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37344 {
37345 arg3 = &temp3;
37346 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37347 }
37348 {
37349 arg4 = &temp4;
37350 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37351 }
15afbcd0
RD
37352 arg5 = (int) SWIG_AsInt(obj4);
37353 if (PyErr_Occurred()) SWIG_fail;
37354 arg6 = (int) SWIG_AsInt(obj5);
37355 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
37356 if (obj6) {
37357 arg7 = obj6;
37358 }
d14a1e28
RD
37359 {
37360 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 37361 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
d14a1e28
RD
37362
37363 wxPyEndAllowThreads(__tstate);
37364 if (PyErr_Occurred()) SWIG_fail;
37365 }
15afbcd0 37366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37367 return resultobj;
37368 fail:
37369 return NULL;
37370}
37371
37372
37373static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37374 PyObject *resultobj;
37375 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37376 wxGBPosition result;
37377 PyObject * obj0 = 0 ;
37378 char *kwnames[] = {
37379 (char *) "self", NULL
37380 };
37381
37382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
37383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37385 {
37386 PyThreadState* __tstate = wxPyBeginAllowThreads();
37387 result = ((wxGBSizerItem const *)arg1)->GetPos();
37388
37389 wxPyEndAllowThreads(__tstate);
37390 if (PyErr_Occurred()) SWIG_fail;
37391 }
37392 {
37393 wxGBPosition * resultptr;
37394 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37395 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37396 }
37397 return resultobj;
37398 fail:
37399 return NULL;
37400}
37401
37402
37403static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37404 PyObject *resultobj;
37405 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37406 wxGBSpan result;
37407 PyObject * obj0 = 0 ;
37408 char *kwnames[] = {
37409 (char *) "self", NULL
37410 };
37411
37412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
15afbcd0
RD
37413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37415 {
37416 PyThreadState* __tstate = wxPyBeginAllowThreads();
37417 result = ((wxGBSizerItem const *)arg1)->GetSpan();
37418
37419 wxPyEndAllowThreads(__tstate);
37420 if (PyErr_Occurred()) SWIG_fail;
37421 }
37422 {
37423 wxGBSpan * resultptr;
37424 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 37425 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37426 }
37427 return resultobj;
37428 fail:
37429 return NULL;
37430}
37431
37432
37433static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37434 PyObject *resultobj;
37435 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37436 wxGBPosition *arg2 = 0 ;
37437 bool result;
37438 wxGBPosition temp2 ;
37439 PyObject * obj0 = 0 ;
37440 PyObject * obj1 = 0 ;
37441 char *kwnames[] = {
37442 (char *) "self",(char *) "pos", NULL
37443 };
37444
37445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37448 {
37449 arg2 = &temp2;
37450 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37451 }
37452 {
37453 PyThreadState* __tstate = wxPyBeginAllowThreads();
37454 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
37455
37456 wxPyEndAllowThreads(__tstate);
37457 if (PyErr_Occurred()) SWIG_fail;
37458 }
4f89f6a3
RD
37459 {
37460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37461 }
d14a1e28
RD
37462 return resultobj;
37463 fail:
37464 return NULL;
37465}
37466
37467
37468static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37469 PyObject *resultobj;
37470 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37471 wxGBSpan *arg2 = 0 ;
37472 bool result;
37473 wxGBSpan temp2 ;
37474 PyObject * obj0 = 0 ;
37475 PyObject * obj1 = 0 ;
37476 char *kwnames[] = {
37477 (char *) "self",(char *) "span", NULL
37478 };
37479
37480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37483 {
37484 arg2 = &temp2;
37485 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37486 }
37487 {
37488 PyThreadState* __tstate = wxPyBeginAllowThreads();
37489 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
37490
37491 wxPyEndAllowThreads(__tstate);
37492 if (PyErr_Occurred()) SWIG_fail;
37493 }
4f89f6a3
RD
37494 {
37495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37496 }
d14a1e28
RD
37497 return resultobj;
37498 fail:
37499 return NULL;
37500}
37501
37502
248ed943 37503static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37504 PyObject *resultobj;
37505 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37506 wxGBSizerItem *arg2 = 0 ;
37507 bool result;
37508 PyObject * obj0 = 0 ;
37509 PyObject * obj1 = 0 ;
248ed943
RD
37510 char *kwnames[] = {
37511 (char *) "self",(char *) "other", NULL
37512 };
d14a1e28 37513
248ed943 37514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_Intersects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37517 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37518 SWIG_POINTER_EXCEPTION | 0)) == -1)
37519 SWIG_fail;
d14a1e28 37520 if (arg2 == NULL) {
15afbcd0
RD
37521 PyErr_SetString(PyExc_TypeError,"null reference");
37522 SWIG_fail;
d14a1e28
RD
37523 }
37524 {
37525 PyThreadState* __tstate = wxPyBeginAllowThreads();
37526 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
37527
37528 wxPyEndAllowThreads(__tstate);
37529 if (PyErr_Occurred()) SWIG_fail;
37530 }
4f89f6a3
RD
37531 {
37532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37533 }
d14a1e28
RD
37534 return resultobj;
37535 fail:
37536 return NULL;
37537}
37538
37539
248ed943 37540static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37541 PyObject *resultobj;
37542 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37543 wxGBPosition *arg2 = 0 ;
37544 wxGBSpan *arg3 = 0 ;
37545 bool result;
37546 wxGBPosition temp2 ;
37547 wxGBSpan temp3 ;
37548 PyObject * obj0 = 0 ;
37549 PyObject * obj1 = 0 ;
37550 PyObject * obj2 = 0 ;
248ed943
RD
37551 char *kwnames[] = {
37552 (char *) "self",(char *) "pos",(char *) "span", NULL
37553 };
d14a1e28 37554
248ed943 37555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37558 {
37559 arg2 = &temp2;
37560 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37561 }
37562 {
37563 arg3 = &temp3;
37564 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37565 }
37566 {
37567 PyThreadState* __tstate = wxPyBeginAllowThreads();
37568 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
37569
37570 wxPyEndAllowThreads(__tstate);
37571 if (PyErr_Occurred()) SWIG_fail;
37572 }
4f89f6a3
RD
37573 {
37574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37575 }
d14a1e28
RD
37576 return resultobj;
37577 fail:
37578 return NULL;
37579}
37580
37581
d14a1e28
RD
37582static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37583 PyObject *resultobj;
37584 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
248ed943 37585 wxGBPosition result;
d14a1e28 37586 PyObject * obj0 = 0 ;
d14a1e28 37587 char *kwnames[] = {
248ed943 37588 (char *) "self", NULL
d14a1e28
RD
37589 };
37590
248ed943 37591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetEndPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
37592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37594 {
37595 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 37596 result = wxGBSizerItem_GetEndPos(arg1);
d14a1e28
RD
37597
37598 wxPyEndAllowThreads(__tstate);
37599 if (PyErr_Occurred()) SWIG_fail;
37600 }
248ed943
RD
37601 {
37602 wxGBPosition * resultptr;
37603 resultptr = new wxGBPosition((wxGBPosition &) result);
37604 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
37605 }
d14a1e28
RD
37606 return resultobj;
37607 fail:
37608 return NULL;
37609}
37610
37611
37612static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37613 PyObject *resultobj;
37614 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37615 wxGridBagSizer *result;
37616 PyObject * obj0 = 0 ;
37617 char *kwnames[] = {
37618 (char *) "self", NULL
37619 };
37620
37621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
37622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37624 {
37625 PyThreadState* __tstate = wxPyBeginAllowThreads();
37626 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
37627
37628 wxPyEndAllowThreads(__tstate);
37629 if (PyErr_Occurred()) SWIG_fail;
37630 }
15afbcd0 37631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
d14a1e28
RD
37632 return resultobj;
37633 fail:
37634 return NULL;
37635}
37636
37637
37638static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37639 PyObject *resultobj;
37640 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37641 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
37642 PyObject * obj0 = 0 ;
37643 PyObject * obj1 = 0 ;
37644 char *kwnames[] = {
37645 (char *) "self",(char *) "sizer", NULL
37646 };
37647
37648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37651 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
37652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37653 {
37654 PyThreadState* __tstate = wxPyBeginAllowThreads();
37655 (arg1)->SetGBSizer(arg2);
37656
37657 wxPyEndAllowThreads(__tstate);
37658 if (PyErr_Occurred()) SWIG_fail;
37659 }
37660 Py_INCREF(Py_None); resultobj = Py_None;
37661 return resultobj;
37662 fail:
37663 return NULL;
37664}
37665
37666
37667static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
37668 PyObject *obj;
37669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37670 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
37671 Py_INCREF(obj);
37672 return Py_BuildValue((char *)"");
37673}
37674static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37675 PyObject *resultobj;
37676 int arg1 = (int) 0 ;
37677 int arg2 = (int) 0 ;
37678 wxGridBagSizer *result;
994141e6
RD
37679 PyObject * obj0 = 0 ;
37680 PyObject * obj1 = 0 ;
d14a1e28
RD
37681 char *kwnames[] = {
37682 (char *) "vgap",(char *) "hgap", NULL
37683 };
37684
994141e6
RD
37685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
37686 if (obj0) {
15afbcd0
RD
37687 arg1 = (int) SWIG_AsInt(obj0);
37688 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37689 }
37690 if (obj1) {
15afbcd0
RD
37691 arg2 = (int) SWIG_AsInt(obj1);
37692 if (PyErr_Occurred()) SWIG_fail;
994141e6 37693 }
d14a1e28
RD
37694 {
37695 PyThreadState* __tstate = wxPyBeginAllowThreads();
37696 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
37697
37698 wxPyEndAllowThreads(__tstate);
37699 if (PyErr_Occurred()) SWIG_fail;
37700 }
15afbcd0 37701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
d14a1e28
RD
37702 return resultobj;
37703 fail:
37704 return NULL;
37705}
37706
37707
37708static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
37709 PyObject *resultobj;
37710 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37711 PyObject *arg2 = (PyObject *) 0 ;
37712 wxGBPosition *arg3 = 0 ;
37713 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
37714 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
37715 int arg5 = (int) 0 ;
37716 int arg6 = (int) 0 ;
37717 PyObject *arg7 = (PyObject *) NULL ;
37718 bool result;
37719 wxGBPosition temp3 ;
37720 wxGBSpan temp4 ;
37721 PyObject * obj0 = 0 ;
37722 PyObject * obj1 = 0 ;
37723 PyObject * obj2 = 0 ;
37724 PyObject * obj3 = 0 ;
994141e6
RD
37725 PyObject * obj4 = 0 ;
37726 PyObject * obj5 = 0 ;
d14a1e28
RD
37727 PyObject * obj6 = 0 ;
37728 char *kwnames[] = {
37729 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37730 };
37731
994141e6 37732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
37733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37735 arg2 = obj1;
37736 {
37737 arg3 = &temp3;
37738 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37739 }
37740 if (obj3) {
37741 {
37742 arg4 = &temp4;
37743 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37744 }
37745 }
994141e6 37746 if (obj4) {
15afbcd0
RD
37747 arg5 = (int) SWIG_AsInt(obj4);
37748 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37749 }
37750 if (obj5) {
15afbcd0
RD
37751 arg6 = (int) SWIG_AsInt(obj5);
37752 if (PyErr_Occurred()) SWIG_fail;
994141e6 37753 }
d14a1e28
RD
37754 if (obj6) {
37755 arg7 = obj6;
37756 }
37757 {
37758 PyThreadState* __tstate = wxPyBeginAllowThreads();
37759 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37760
37761 wxPyEndAllowThreads(__tstate);
37762 if (PyErr_Occurred()) SWIG_fail;
37763 }
4f89f6a3
RD
37764 {
37765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37766 }
d14a1e28
RD
37767 return resultobj;
37768 fail:
37769 return NULL;
37770}
37771
37772
37773static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37774 PyObject *resultobj;
37775 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37776 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
37777 bool result;
37778 PyObject * obj0 = 0 ;
37779 PyObject * obj1 = 0 ;
37780 char *kwnames[] = {
37781 (char *) "self",(char *) "item", NULL
37782 };
37783
37784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37789 {
37790 PyThreadState* __tstate = wxPyBeginAllowThreads();
37791 result = (bool)(arg1)->Add(arg2);
37792
37793 wxPyEndAllowThreads(__tstate);
37794 if (PyErr_Occurred()) SWIG_fail;
37795 }
4f89f6a3
RD
37796 {
37797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37798 }
d14a1e28
RD
37799 return resultobj;
37800 fail:
37801 return NULL;
37802}
37803
37804
37805static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37806 PyObject *resultobj;
37807 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37808 wxSize result;
37809 PyObject * obj0 = 0 ;
37810 char *kwnames[] = {
37811 (char *) "self", NULL
37812 };
37813
37814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
37815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37817 {
37818 PyThreadState* __tstate = wxPyBeginAllowThreads();
37819 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
37820
37821 wxPyEndAllowThreads(__tstate);
37822 if (PyErr_Occurred()) SWIG_fail;
37823 }
37824 {
37825 wxSize * resultptr;
37826 resultptr = new wxSize((wxSize &) result);
15afbcd0 37827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
37828 }
37829 return resultobj;
37830 fail:
37831 return NULL;
37832}
37833
37834
37835static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37836 PyObject *resultobj;
37837 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37838 wxSize *arg2 = 0 ;
37839 wxSize temp2 ;
37840 PyObject * obj0 = 0 ;
37841 PyObject * obj1 = 0 ;
37842 char *kwnames[] = {
37843 (char *) "self",(char *) "sz", NULL
37844 };
37845
37846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37849 {
37850 arg2 = &temp2;
37851 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
37852 }
37853 {
37854 PyThreadState* __tstate = wxPyBeginAllowThreads();
37855 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
37856
37857 wxPyEndAllowThreads(__tstate);
37858 if (PyErr_Occurred()) SWIG_fail;
37859 }
37860 Py_INCREF(Py_None); resultobj = Py_None;
37861 return resultobj;
37862 fail:
37863 return NULL;
37864}
37865
37866
37867static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
37868 PyObject *resultobj;
37869 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37870 wxWindow *arg2 = (wxWindow *) 0 ;
37871 wxGBPosition result;
37872 PyObject * obj0 = 0 ;
37873 PyObject * obj1 = 0 ;
37874
37875 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37880 {
37881 PyThreadState* __tstate = wxPyBeginAllowThreads();
37882 result = (arg1)->GetItemPosition(arg2);
37883
37884 wxPyEndAllowThreads(__tstate);
37885 if (PyErr_Occurred()) SWIG_fail;
37886 }
37887 {
37888 wxGBPosition * resultptr;
37889 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37891 }
37892 return resultobj;
37893 fail:
37894 return NULL;
37895}
37896
37897
37898static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
37899 PyObject *resultobj;
37900 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37901 wxSizer *arg2 = (wxSizer *) 0 ;
37902 wxGBPosition result;
37903 PyObject * obj0 = 0 ;
37904 PyObject * obj1 = 0 ;
37905
37906 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37909 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37911 {
37912 PyThreadState* __tstate = wxPyBeginAllowThreads();
37913 result = (arg1)->GetItemPosition(arg2);
37914
37915 wxPyEndAllowThreads(__tstate);
37916 if (PyErr_Occurred()) SWIG_fail;
37917 }
37918 {
37919 wxGBPosition * resultptr;
37920 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37922 }
37923 return resultobj;
37924 fail:
37925 return NULL;
37926}
37927
37928
37929static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
37930 PyObject *resultobj;
37931 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37932 size_t arg2 ;
37933 wxGBPosition result;
37934 PyObject * obj0 = 0 ;
37935 PyObject * obj1 = 0 ;
37936
37937 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37940 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37941 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37942 {
37943 PyThreadState* __tstate = wxPyBeginAllowThreads();
37944 result = (arg1)->GetItemPosition(arg2);
37945
37946 wxPyEndAllowThreads(__tstate);
37947 if (PyErr_Occurred()) SWIG_fail;
37948 }
37949 {
37950 wxGBPosition * resultptr;
37951 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37953 }
37954 return resultobj;
37955 fail:
37956 return NULL;
37957}
37958
37959
37960static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
37961 int argc;
37962 PyObject *argv[3];
37963 int ii;
37964
37965 argc = PyObject_Length(args);
37966 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37967 argv[ii] = PyTuple_GetItem(args,ii);
37968 }
37969 if (argc == 2) {
37970 int _v;
37971 {
37972 void *ptr;
15afbcd0 37973 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37974 _v = 0;
37975 PyErr_Clear();
37976 } else {
37977 _v = 1;
37978 }
37979 }
37980 if (_v) {
37981 {
37982 void *ptr;
15afbcd0 37983 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37984 _v = 0;
37985 PyErr_Clear();
37986 } else {
37987 _v = 1;
37988 }
37989 }
37990 if (_v) {
37991 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
37992 }
37993 }
37994 }
37995 if (argc == 2) {
37996 int _v;
37997 {
37998 void *ptr;
15afbcd0 37999 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38000 _v = 0;
38001 PyErr_Clear();
38002 } else {
38003 _v = 1;
38004 }
38005 }
38006 if (_v) {
38007 {
38008 void *ptr;
15afbcd0 38009 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38010 _v = 0;
38011 PyErr_Clear();
38012 } else {
38013 _v = 1;
38014 }
38015 }
38016 if (_v) {
38017 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
38018 }
38019 }
38020 }
38021 if (argc == 2) {
38022 int _v;
38023 {
38024 void *ptr;
15afbcd0 38025 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38026 _v = 0;
38027 PyErr_Clear();
38028 } else {
38029 _v = 1;
38030 }
38031 }
38032 if (_v) {
15afbcd0 38033 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38034 if (_v) {
38035 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
38036 }
38037 }
38038 }
38039
38040 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38041 return NULL;
38042}
38043
38044
38045static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
38046 PyObject *resultobj;
38047 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38048 wxWindow *arg2 = (wxWindow *) 0 ;
38049 wxGBPosition *arg3 = 0 ;
38050 bool result;
38051 wxGBPosition temp3 ;
38052 PyObject * obj0 = 0 ;
38053 PyObject * obj1 = 0 ;
38054 PyObject * obj2 = 0 ;
38055
38056 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38061 {
38062 arg3 = &temp3;
38063 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38064 }
38065 {
38066 PyThreadState* __tstate = wxPyBeginAllowThreads();
38067 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38068
38069 wxPyEndAllowThreads(__tstate);
38070 if (PyErr_Occurred()) SWIG_fail;
38071 }
4f89f6a3
RD
38072 {
38073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38074 }
d14a1e28
RD
38075 return resultobj;
38076 fail:
38077 return NULL;
38078}
38079
38080
38081static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
38082 PyObject *resultobj;
38083 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38084 wxSizer *arg2 = (wxSizer *) 0 ;
38085 wxGBPosition *arg3 = 0 ;
38086 bool result;
38087 wxGBPosition temp3 ;
38088 PyObject * obj0 = 0 ;
38089 PyObject * obj1 = 0 ;
38090 PyObject * obj2 = 0 ;
38091
38092 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38097 {
38098 arg3 = &temp3;
38099 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38100 }
38101 {
38102 PyThreadState* __tstate = wxPyBeginAllowThreads();
38103 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38104
38105 wxPyEndAllowThreads(__tstate);
38106 if (PyErr_Occurred()) SWIG_fail;
38107 }
4f89f6a3
RD
38108 {
38109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38110 }
d14a1e28
RD
38111 return resultobj;
38112 fail:
38113 return NULL;
38114}
38115
38116
38117static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
38118 PyObject *resultobj;
38119 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38120 size_t arg2 ;
38121 wxGBPosition *arg3 = 0 ;
38122 bool result;
38123 wxGBPosition temp3 ;
38124 PyObject * obj0 = 0 ;
38125 PyObject * obj1 = 0 ;
38126 PyObject * obj2 = 0 ;
38127
38128 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38131 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38132 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38133 {
38134 arg3 = &temp3;
38135 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38136 }
38137 {
38138 PyThreadState* __tstate = wxPyBeginAllowThreads();
38139 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38140
38141 wxPyEndAllowThreads(__tstate);
38142 if (PyErr_Occurred()) SWIG_fail;
38143 }
4f89f6a3
RD
38144 {
38145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38146 }
d14a1e28
RD
38147 return resultobj;
38148 fail:
38149 return NULL;
38150}
38151
38152
38153static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
38154 int argc;
38155 PyObject *argv[4];
38156 int ii;
38157
38158 argc = PyObject_Length(args);
38159 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38160 argv[ii] = PyTuple_GetItem(args,ii);
38161 }
38162 if (argc == 3) {
38163 int _v;
38164 {
38165 void *ptr;
15afbcd0 38166 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38167 _v = 0;
38168 PyErr_Clear();
38169 } else {
38170 _v = 1;
38171 }
38172 }
38173 if (_v) {
38174 {
38175 void *ptr;
15afbcd0 38176 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38177 _v = 0;
38178 PyErr_Clear();
38179 } else {
38180 _v = 1;
38181 }
38182 }
38183 if (_v) {
38184 {
38185 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38186 }
38187 if (_v) {
38188 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
38189 }
38190 }
38191 }
38192 }
38193 if (argc == 3) {
38194 int _v;
38195 {
38196 void *ptr;
15afbcd0 38197 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38198 _v = 0;
38199 PyErr_Clear();
38200 } else {
38201 _v = 1;
38202 }
38203 }
38204 if (_v) {
38205 {
38206 void *ptr;
15afbcd0 38207 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38208 _v = 0;
38209 PyErr_Clear();
38210 } else {
38211 _v = 1;
38212 }
38213 }
38214 if (_v) {
38215 {
38216 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38217 }
38218 if (_v) {
38219 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
38220 }
38221 }
38222 }
38223 }
38224 if (argc == 3) {
38225 int _v;
38226 {
38227 void *ptr;
15afbcd0 38228 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38229 _v = 0;
38230 PyErr_Clear();
38231 } else {
38232 _v = 1;
38233 }
38234 }
38235 if (_v) {
15afbcd0 38236 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38237 if (_v) {
38238 {
38239 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38240 }
38241 if (_v) {
38242 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
38243 }
38244 }
38245 }
38246 }
38247
38248 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38249 return NULL;
38250}
38251
38252
38253static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38254 PyObject *resultobj;
38255 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38256 wxWindow *arg2 = (wxWindow *) 0 ;
38257 wxGBSpan result;
38258 PyObject * obj0 = 0 ;
38259 PyObject * obj1 = 0 ;
38260
38261 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38266 {
38267 PyThreadState* __tstate = wxPyBeginAllowThreads();
38268 result = (arg1)->GetItemSpan(arg2);
38269
38270 wxPyEndAllowThreads(__tstate);
38271 if (PyErr_Occurred()) SWIG_fail;
38272 }
38273 {
38274 wxGBSpan * resultptr;
38275 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38276 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38277 }
38278 return resultobj;
38279 fail:
38280 return NULL;
38281}
38282
38283
38284static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38285 PyObject *resultobj;
38286 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38287 wxSizer *arg2 = (wxSizer *) 0 ;
38288 wxGBSpan result;
38289 PyObject * obj0 = 0 ;
38290 PyObject * obj1 = 0 ;
38291
38292 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38295 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38297 {
38298 PyThreadState* __tstate = wxPyBeginAllowThreads();
38299 result = (arg1)->GetItemSpan(arg2);
38300
38301 wxPyEndAllowThreads(__tstate);
38302 if (PyErr_Occurred()) SWIG_fail;
38303 }
38304 {
38305 wxGBSpan * resultptr;
38306 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38308 }
38309 return resultobj;
38310 fail:
38311 return NULL;
38312}
38313
38314
38315static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38316 PyObject *resultobj;
38317 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38318 size_t arg2 ;
38319 wxGBSpan result;
38320 PyObject * obj0 = 0 ;
38321 PyObject * obj1 = 0 ;
38322
38323 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38326 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38327 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38328 {
38329 PyThreadState* __tstate = wxPyBeginAllowThreads();
38330 result = (arg1)->GetItemSpan(arg2);
38331
38332 wxPyEndAllowThreads(__tstate);
38333 if (PyErr_Occurred()) SWIG_fail;
38334 }
38335 {
38336 wxGBSpan * resultptr;
38337 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38339 }
38340 return resultobj;
38341 fail:
38342 return NULL;
38343}
38344
38345
38346static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
38347 int argc;
38348 PyObject *argv[3];
38349 int ii;
38350
38351 argc = PyObject_Length(args);
38352 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38353 argv[ii] = PyTuple_GetItem(args,ii);
38354 }
38355 if (argc == 2) {
38356 int _v;
38357 {
38358 void *ptr;
15afbcd0 38359 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38360 _v = 0;
38361 PyErr_Clear();
38362 } else {
38363 _v = 1;
38364 }
38365 }
38366 if (_v) {
38367 {
38368 void *ptr;
15afbcd0 38369 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38370 _v = 0;
38371 PyErr_Clear();
38372 } else {
38373 _v = 1;
38374 }
38375 }
38376 if (_v) {
38377 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
38378 }
38379 }
38380 }
38381 if (argc == 2) {
38382 int _v;
38383 {
38384 void *ptr;
15afbcd0 38385 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38386 _v = 0;
38387 PyErr_Clear();
38388 } else {
38389 _v = 1;
38390 }
38391 }
38392 if (_v) {
38393 {
38394 void *ptr;
15afbcd0 38395 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38396 _v = 0;
38397 PyErr_Clear();
38398 } else {
38399 _v = 1;
38400 }
38401 }
38402 if (_v) {
38403 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
38404 }
38405 }
38406 }
38407 if (argc == 2) {
38408 int _v;
38409 {
38410 void *ptr;
15afbcd0 38411 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38412 _v = 0;
38413 PyErr_Clear();
38414 } else {
38415 _v = 1;
38416 }
38417 }
38418 if (_v) {
15afbcd0 38419 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38420 if (_v) {
38421 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
38422 }
38423 }
38424 }
38425
38426 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38427 return NULL;
38428}
38429
38430
38431static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38432 PyObject *resultobj;
38433 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38434 wxWindow *arg2 = (wxWindow *) 0 ;
38435 wxGBSpan *arg3 = 0 ;
38436 bool result;
38437 wxGBSpan temp3 ;
38438 PyObject * obj0 = 0 ;
38439 PyObject * obj1 = 0 ;
38440 PyObject * obj2 = 0 ;
38441
38442 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38447 {
38448 arg3 = &temp3;
38449 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38450 }
38451 {
38452 PyThreadState* __tstate = wxPyBeginAllowThreads();
38453 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38454
38455 wxPyEndAllowThreads(__tstate);
38456 if (PyErr_Occurred()) SWIG_fail;
38457 }
4f89f6a3
RD
38458 {
38459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38460 }
d14a1e28
RD
38461 return resultobj;
38462 fail:
38463 return NULL;
38464}
38465
38466
38467static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38468 PyObject *resultobj;
38469 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38470 wxSizer *arg2 = (wxSizer *) 0 ;
38471 wxGBSpan *arg3 = 0 ;
38472 bool result;
38473 wxGBSpan temp3 ;
38474 PyObject * obj0 = 0 ;
38475 PyObject * obj1 = 0 ;
38476 PyObject * obj2 = 0 ;
38477
38478 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38481 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38483 {
38484 arg3 = &temp3;
38485 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38486 }
38487 {
38488 PyThreadState* __tstate = wxPyBeginAllowThreads();
38489 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38490
38491 wxPyEndAllowThreads(__tstate);
38492 if (PyErr_Occurred()) SWIG_fail;
38493 }
4f89f6a3
RD
38494 {
38495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38496 }
d14a1e28
RD
38497 return resultobj;
38498 fail:
38499 return NULL;
38500}
38501
38502
38503static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38504 PyObject *resultobj;
38505 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38506 size_t arg2 ;
38507 wxGBSpan *arg3 = 0 ;
38508 bool result;
38509 wxGBSpan temp3 ;
38510 PyObject * obj0 = 0 ;
38511 PyObject * obj1 = 0 ;
38512 PyObject * obj2 = 0 ;
38513
38514 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38517 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38518 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38519 {
38520 arg3 = &temp3;
38521 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38522 }
38523 {
38524 PyThreadState* __tstate = wxPyBeginAllowThreads();
38525 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38526
38527 wxPyEndAllowThreads(__tstate);
38528 if (PyErr_Occurred()) SWIG_fail;
38529 }
4f89f6a3
RD
38530 {
38531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38532 }
d14a1e28
RD
38533 return resultobj;
38534 fail:
38535 return NULL;
38536}
38537
38538
38539static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
38540 int argc;
38541 PyObject *argv[4];
38542 int ii;
38543
38544 argc = PyObject_Length(args);
38545 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38546 argv[ii] = PyTuple_GetItem(args,ii);
38547 }
38548 if (argc == 3) {
38549 int _v;
38550 {
38551 void *ptr;
15afbcd0 38552 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38553 _v = 0;
38554 PyErr_Clear();
38555 } else {
38556 _v = 1;
38557 }
38558 }
38559 if (_v) {
38560 {
38561 void *ptr;
15afbcd0 38562 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38563 _v = 0;
38564 PyErr_Clear();
38565 } else {
38566 _v = 1;
38567 }
38568 }
38569 if (_v) {
38570 {
38571 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38572 }
38573 if (_v) {
38574 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
38575 }
38576 }
38577 }
38578 }
38579 if (argc == 3) {
38580 int _v;
38581 {
38582 void *ptr;
15afbcd0 38583 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38584 _v = 0;
38585 PyErr_Clear();
38586 } else {
38587 _v = 1;
38588 }
38589 }
38590 if (_v) {
38591 {
38592 void *ptr;
15afbcd0 38593 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38594 _v = 0;
38595 PyErr_Clear();
38596 } else {
38597 _v = 1;
38598 }
38599 }
38600 if (_v) {
38601 {
38602 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38603 }
38604 if (_v) {
38605 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
38606 }
38607 }
38608 }
38609 }
38610 if (argc == 3) {
38611 int _v;
38612 {
38613 void *ptr;
15afbcd0 38614 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38615 _v = 0;
38616 PyErr_Clear();
38617 } else {
38618 _v = 1;
38619 }
38620 }
38621 if (_v) {
15afbcd0 38622 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38623 if (_v) {
38624 {
38625 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38626 }
38627 if (_v) {
38628 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
38629 }
38630 }
38631 }
38632 }
38633
38634 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38635 return NULL;
38636}
38637
38638
38639static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
38640 PyObject *resultobj;
38641 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38642 wxWindow *arg2 = (wxWindow *) 0 ;
38643 wxGBSizerItem *result;
38644 PyObject * obj0 = 0 ;
38645 PyObject * obj1 = 0 ;
38646
38647 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
38648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38650 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38652 {
38653 PyThreadState* __tstate = wxPyBeginAllowThreads();
38654 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38655
38656 wxPyEndAllowThreads(__tstate);
38657 if (PyErr_Occurred()) SWIG_fail;
38658 }
15afbcd0 38659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38660 return resultobj;
38661 fail:
38662 return NULL;
38663}
38664
38665
38666static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
38667 PyObject *resultobj;
38668 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38669 wxSizer *arg2 = (wxSizer *) 0 ;
38670 wxGBSizerItem *result;
38671 PyObject * obj0 = 0 ;
38672 PyObject * obj1 = 0 ;
38673
38674 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
38675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38677 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38679 {
38680 PyThreadState* __tstate = wxPyBeginAllowThreads();
38681 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38682
38683 wxPyEndAllowThreads(__tstate);
38684 if (PyErr_Occurred()) SWIG_fail;
38685 }
15afbcd0 38686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38687 return resultobj;
38688 fail:
38689 return NULL;
38690}
38691
38692
38693static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
38694 int argc;
38695 PyObject *argv[3];
38696 int ii;
38697
38698 argc = PyObject_Length(args);
38699 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38700 argv[ii] = PyTuple_GetItem(args,ii);
38701 }
38702 if (argc == 2) {
38703 int _v;
38704 {
38705 void *ptr;
15afbcd0 38706 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38707 _v = 0;
38708 PyErr_Clear();
38709 } else {
38710 _v = 1;
38711 }
38712 }
38713 if (_v) {
38714 {
38715 void *ptr;
15afbcd0 38716 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38717 _v = 0;
38718 PyErr_Clear();
38719 } else {
38720 _v = 1;
38721 }
38722 }
38723 if (_v) {
38724 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
38725 }
38726 }
38727 }
38728 if (argc == 2) {
38729 int _v;
38730 {
38731 void *ptr;
15afbcd0 38732 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38733 _v = 0;
38734 PyErr_Clear();
38735 } else {
38736 _v = 1;
38737 }
38738 }
38739 if (_v) {
38740 {
38741 void *ptr;
15afbcd0 38742 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38743 _v = 0;
38744 PyErr_Clear();
38745 } else {
38746 _v = 1;
38747 }
38748 }
38749 if (_v) {
38750 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
38751 }
38752 }
38753 }
38754
38755 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
38756 return NULL;
38757}
38758
38759
38760static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
38761 PyObject *resultobj;
38762 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38763 wxGBPosition *arg2 = 0 ;
38764 wxGBSizerItem *result;
38765 wxGBPosition temp2 ;
38766 PyObject * obj0 = 0 ;
38767 PyObject * obj1 = 0 ;
38768 char *kwnames[] = {
38769 (char *) "self",(char *) "pos", NULL
38770 };
38771
38772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38775 {
38776 arg2 = &temp2;
38777 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38778 }
38779 {
38780 PyThreadState* __tstate = wxPyBeginAllowThreads();
38781 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
38782
38783 wxPyEndAllowThreads(__tstate);
38784 if (PyErr_Occurred()) SWIG_fail;
38785 }
15afbcd0 38786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38787 return resultobj;
38788 fail:
38789 return NULL;
38790}
38791
38792
e811c8ce
RD
38793static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
38794 PyObject *resultobj;
38795 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38796 wxPoint *arg2 = 0 ;
38797 wxGBSizerItem *result;
38798 wxPoint temp2 ;
38799 PyObject * obj0 = 0 ;
38800 PyObject * obj1 = 0 ;
38801 char *kwnames[] = {
38802 (char *) "self",(char *) "pt", NULL
38803 };
38804
38805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
38808 {
38809 arg2 = &temp2;
38810 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
38811 }
38812 {
38813 PyThreadState* __tstate = wxPyBeginAllowThreads();
38814 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
38815
38816 wxPyEndAllowThreads(__tstate);
38817 if (PyErr_Occurred()) SWIG_fail;
38818 }
15afbcd0 38819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
e811c8ce
RD
38820 return resultobj;
38821 fail:
38822 return NULL;
38823}
38824
38825
248ed943 38826static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38827 PyObject *resultobj;
38828 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38829 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
38830 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
38831 bool result;
38832 PyObject * obj0 = 0 ;
38833 PyObject * obj1 = 0 ;
38834 PyObject * obj2 = 0 ;
248ed943
RD
38835 char *kwnames[] = {
38836 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
38837 };
d14a1e28 38838
248ed943 38839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 38844 if (obj2) {
15afbcd0
RD
38845 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
38846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38847 }
38848 {
38849 PyThreadState* __tstate = wxPyBeginAllowThreads();
38850 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
38851
38852 wxPyEndAllowThreads(__tstate);
38853 if (PyErr_Occurred()) SWIG_fail;
38854 }
4f89f6a3
RD
38855 {
38856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38857 }
d14a1e28
RD
38858 return resultobj;
38859 fail:
38860 return NULL;
38861}
38862
38863
248ed943 38864static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38865 PyObject *resultobj;
38866 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38867 wxGBPosition *arg2 = 0 ;
38868 wxGBSpan *arg3 = 0 ;
38869 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
38870 bool result;
38871 wxGBPosition temp2 ;
38872 wxGBSpan temp3 ;
38873 PyObject * obj0 = 0 ;
38874 PyObject * obj1 = 0 ;
38875 PyObject * obj2 = 0 ;
38876 PyObject * obj3 = 0 ;
248ed943
RD
38877 char *kwnames[] = {
38878 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
38879 };
d14a1e28 38880
248ed943 38881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
38882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38884 {
38885 arg2 = &temp2;
38886 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38887 }
38888 {
38889 arg3 = &temp3;
38890 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38891 }
38892 if (obj3) {
15afbcd0
RD
38893 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
38894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38895 }
38896 {
38897 PyThreadState* __tstate = wxPyBeginAllowThreads();
38898 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
38899
38900 wxPyEndAllowThreads(__tstate);
38901 if (PyErr_Occurred()) SWIG_fail;
38902 }
4f89f6a3
RD
38903 {
38904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38905 }
d14a1e28
RD
38906 return resultobj;
38907 fail:
38908 return NULL;
38909}
38910
38911
d14a1e28
RD
38912static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
38913 PyObject *obj;
38914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38915 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
38916 Py_INCREF(obj);
38917 return Py_BuildValue((char *)"");
38918}
38919static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
38920 PyObject *resultobj;
38921 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38922 int arg2 ;
38923 wxWindow *arg3 = (wxWindow *) 0 ;
38924 int arg4 ;
38925 int arg5 = (int) 0 ;
38926 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
38927 PyObject * obj0 = 0 ;
994141e6 38928 PyObject * obj1 = 0 ;
d14a1e28 38929 PyObject * obj2 = 0 ;
994141e6
RD
38930 PyObject * obj3 = 0 ;
38931 PyObject * obj4 = 0 ;
38932 PyObject * obj5 = 0 ;
d14a1e28
RD
38933 char *kwnames[] = {
38934 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38935 };
38936
994141e6 38937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
38938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38940 arg2 = (wxRelationship) SWIG_AsInt(obj1);
38941 if (PyErr_Occurred()) SWIG_fail;
38942 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38944 arg4 = (wxEdge) SWIG_AsInt(obj3);
38945 if (PyErr_Occurred()) SWIG_fail;
994141e6 38946 if (obj4) {
15afbcd0
RD
38947 arg5 = (int) SWIG_AsInt(obj4);
38948 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
38949 }
38950 if (obj5) {
15afbcd0
RD
38951 arg6 = (int) SWIG_AsInt(obj5);
38952 if (PyErr_Occurred()) SWIG_fail;
994141e6 38953 }
d14a1e28
RD
38954 {
38955 PyThreadState* __tstate = wxPyBeginAllowThreads();
38956 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
38957
38958 wxPyEndAllowThreads(__tstate);
38959 if (PyErr_Occurred()) SWIG_fail;
38960 }
38961 Py_INCREF(Py_None); resultobj = Py_None;
38962 return resultobj;
38963 fail:
38964 return NULL;
38965}
38966
38967
38968static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
38969 PyObject *resultobj;
38970 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38971 wxWindow *arg2 = (wxWindow *) 0 ;
38972 int arg3 = (int) 0 ;
38973 PyObject * obj0 = 0 ;
38974 PyObject * obj1 = 0 ;
994141e6 38975 PyObject * obj2 = 0 ;
d14a1e28
RD
38976 char *kwnames[] = {
38977 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38978 };
38979
994141e6 38980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38983 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 38985 if (obj2) {
15afbcd0
RD
38986 arg3 = (int) SWIG_AsInt(obj2);
38987 if (PyErr_Occurred()) SWIG_fail;
994141e6 38988 }
d14a1e28
RD
38989 {
38990 PyThreadState* __tstate = wxPyBeginAllowThreads();
38991 (arg1)->LeftOf(arg2,arg3);
38992
38993 wxPyEndAllowThreads(__tstate);
38994 if (PyErr_Occurred()) SWIG_fail;
38995 }
38996 Py_INCREF(Py_None); resultobj = Py_None;
38997 return resultobj;
38998 fail:
38999 return NULL;
39000}
39001
39002
39003static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39004 PyObject *resultobj;
39005 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39006 wxWindow *arg2 = (wxWindow *) 0 ;
39007 int arg3 = (int) 0 ;
39008 PyObject * obj0 = 0 ;
39009 PyObject * obj1 = 0 ;
994141e6 39010 PyObject * obj2 = 0 ;
d14a1e28
RD
39011 char *kwnames[] = {
39012 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39013 };
39014
994141e6 39015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39020 if (obj2) {
15afbcd0
RD
39021 arg3 = (int) SWIG_AsInt(obj2);
39022 if (PyErr_Occurred()) SWIG_fail;
994141e6 39023 }
d14a1e28
RD
39024 {
39025 PyThreadState* __tstate = wxPyBeginAllowThreads();
39026 (arg1)->RightOf(arg2,arg3);
39027
39028 wxPyEndAllowThreads(__tstate);
39029 if (PyErr_Occurred()) SWIG_fail;
39030 }
39031 Py_INCREF(Py_None); resultobj = Py_None;
39032 return resultobj;
39033 fail:
39034 return NULL;
39035}
39036
39037
39038static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
39039 PyObject *resultobj;
39040 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39041 wxWindow *arg2 = (wxWindow *) 0 ;
39042 int arg3 = (int) 0 ;
39043 PyObject * obj0 = 0 ;
39044 PyObject * obj1 = 0 ;
994141e6 39045 PyObject * obj2 = 0 ;
d14a1e28
RD
39046 char *kwnames[] = {
39047 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39048 };
39049
994141e6 39050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39053 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39055 if (obj2) {
15afbcd0
RD
39056 arg3 = (int) SWIG_AsInt(obj2);
39057 if (PyErr_Occurred()) SWIG_fail;
994141e6 39058 }
d14a1e28
RD
39059 {
39060 PyThreadState* __tstate = wxPyBeginAllowThreads();
39061 (arg1)->Above(arg2,arg3);
39062
39063 wxPyEndAllowThreads(__tstate);
39064 if (PyErr_Occurred()) SWIG_fail;
39065 }
39066 Py_INCREF(Py_None); resultobj = Py_None;
39067 return resultobj;
39068 fail:
39069 return NULL;
39070}
39071
39072
39073static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
39074 PyObject *resultobj;
39075 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39076 wxWindow *arg2 = (wxWindow *) 0 ;
39077 int arg3 = (int) 0 ;
39078 PyObject * obj0 = 0 ;
39079 PyObject * obj1 = 0 ;
994141e6 39080 PyObject * obj2 = 0 ;
d14a1e28
RD
39081 char *kwnames[] = {
39082 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39083 };
39084
994141e6 39085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39088 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39090 if (obj2) {
15afbcd0
RD
39091 arg3 = (int) SWIG_AsInt(obj2);
39092 if (PyErr_Occurred()) SWIG_fail;
994141e6 39093 }
d14a1e28
RD
39094 {
39095 PyThreadState* __tstate = wxPyBeginAllowThreads();
39096 (arg1)->Below(arg2,arg3);
39097
39098 wxPyEndAllowThreads(__tstate);
39099 if (PyErr_Occurred()) SWIG_fail;
39100 }
39101 Py_INCREF(Py_None); resultobj = Py_None;
39102 return resultobj;
39103 fail:
39104 return NULL;
39105}
39106
39107
39108static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
39109 PyObject *resultobj;
39110 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39111 wxWindow *arg2 = (wxWindow *) 0 ;
39112 int arg3 ;
39113 int arg4 = (int) 0 ;
39114 PyObject * obj0 = 0 ;
39115 PyObject * obj1 = 0 ;
994141e6
RD
39116 PyObject * obj2 = 0 ;
39117 PyObject * obj3 = 0 ;
d14a1e28
RD
39118 char *kwnames[] = {
39119 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39120 };
39121
994141e6 39122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39127 arg3 = (wxEdge) SWIG_AsInt(obj2);
39128 if (PyErr_Occurred()) SWIG_fail;
994141e6 39129 if (obj3) {
15afbcd0
RD
39130 arg4 = (int) SWIG_AsInt(obj3);
39131 if (PyErr_Occurred()) SWIG_fail;
994141e6 39132 }
d14a1e28
RD
39133 {
39134 PyThreadState* __tstate = wxPyBeginAllowThreads();
39135 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
39136
39137 wxPyEndAllowThreads(__tstate);
39138 if (PyErr_Occurred()) SWIG_fail;
39139 }
39140 Py_INCREF(Py_None); resultobj = Py_None;
39141 return resultobj;
39142 fail:
39143 return NULL;
39144}
39145
39146
39147static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39148 PyObject *resultobj;
39149 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39150 wxWindow *arg2 = (wxWindow *) 0 ;
39151 int arg3 ;
39152 int arg4 ;
39153 PyObject * obj0 = 0 ;
39154 PyObject * obj1 = 0 ;
994141e6
RD
39155 PyObject * obj2 = 0 ;
39156 PyObject * obj3 = 0 ;
d14a1e28
RD
39157 char *kwnames[] = {
39158 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39159 };
39160
994141e6 39161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39166 arg3 = (wxEdge) SWIG_AsInt(obj2);
39167 if (PyErr_Occurred()) SWIG_fail;
39168 arg4 = (int) SWIG_AsInt(obj3);
39169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39170 {
39171 PyThreadState* __tstate = wxPyBeginAllowThreads();
39172 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
39173
39174 wxPyEndAllowThreads(__tstate);
39175 if (PyErr_Occurred()) SWIG_fail;
39176 }
39177 Py_INCREF(Py_None); resultobj = Py_None;
39178 return resultobj;
39179 fail:
39180 return NULL;
39181}
39182
39183
39184static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
39185 PyObject *resultobj;
39186 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39187 int arg2 ;
39188 PyObject * obj0 = 0 ;
994141e6 39189 PyObject * obj1 = 0 ;
d14a1e28
RD
39190 char *kwnames[] = {
39191 (char *) "self",(char *) "val", NULL
39192 };
39193
994141e6 39194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39197 arg2 = (int) SWIG_AsInt(obj1);
39198 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39199 {
39200 PyThreadState* __tstate = wxPyBeginAllowThreads();
39201 (arg1)->Absolute(arg2);
39202
39203 wxPyEndAllowThreads(__tstate);
39204 if (PyErr_Occurred()) SWIG_fail;
39205 }
39206 Py_INCREF(Py_None); resultobj = Py_None;
39207 return resultobj;
39208 fail:
39209 return NULL;
39210}
39211
39212
39213static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
39214 PyObject *resultobj;
39215 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39216 PyObject * obj0 = 0 ;
39217 char *kwnames[] = {
39218 (char *) "self", NULL
39219 };
39220
39221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
15afbcd0
RD
39222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39224 {
39225 PyThreadState* __tstate = wxPyBeginAllowThreads();
39226 (arg1)->Unconstrained();
39227
39228 wxPyEndAllowThreads(__tstate);
39229 if (PyErr_Occurred()) SWIG_fail;
39230 }
39231 Py_INCREF(Py_None); resultobj = Py_None;
39232 return resultobj;
39233 fail:
39234 return NULL;
39235}
39236
39237
39238static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
39239 PyObject *resultobj;
39240 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39241 PyObject * obj0 = 0 ;
39242 char *kwnames[] = {
39243 (char *) "self", NULL
39244 };
39245
39246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
15afbcd0
RD
39247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39249 {
39250 PyThreadState* __tstate = wxPyBeginAllowThreads();
39251 (arg1)->AsIs();
39252
39253 wxPyEndAllowThreads(__tstate);
39254 if (PyErr_Occurred()) SWIG_fail;
39255 }
39256 Py_INCREF(Py_None); resultobj = Py_None;
39257 return resultobj;
39258 fail:
39259 return NULL;
39260}
39261
39262
39263static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
39264 PyObject *resultobj;
39265 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39266 wxWindow *result;
39267 PyObject * obj0 = 0 ;
39268 char *kwnames[] = {
39269 (char *) "self", NULL
39270 };
39271
39272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
39273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39275 {
39276 PyThreadState* __tstate = wxPyBeginAllowThreads();
39277 result = (wxWindow *)(arg1)->GetOtherWindow();
39278
39279 wxPyEndAllowThreads(__tstate);
39280 if (PyErr_Occurred()) SWIG_fail;
39281 }
39282 {
412d302d 39283 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
39284 }
39285 return resultobj;
39286 fail:
39287 return NULL;
39288}
39289
39290
39291static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39292 PyObject *resultobj;
39293 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39294 int result;
39295 PyObject * obj0 = 0 ;
39296 char *kwnames[] = {
39297 (char *) "self", NULL
39298 };
39299
39300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
39301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39303 {
39304 PyThreadState* __tstate = wxPyBeginAllowThreads();
39305 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
39306
39307 wxPyEndAllowThreads(__tstate);
39308 if (PyErr_Occurred()) SWIG_fail;
39309 }
15afbcd0 39310 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39311 return resultobj;
39312 fail:
39313 return NULL;
39314}
39315
39316
39317static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39318 PyObject *resultobj;
39319 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39320 int arg2 ;
39321 PyObject * obj0 = 0 ;
994141e6 39322 PyObject * obj1 = 0 ;
d14a1e28
RD
39323 char *kwnames[] = {
39324 (char *) "self",(char *) "which", NULL
39325 };
39326
994141e6 39327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39330 arg2 = (wxEdge) SWIG_AsInt(obj1);
39331 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39332 {
39333 PyThreadState* __tstate = wxPyBeginAllowThreads();
39334 (arg1)->SetEdge((wxEdge )arg2);
39335
39336 wxPyEndAllowThreads(__tstate);
39337 if (PyErr_Occurred()) SWIG_fail;
39338 }
39339 Py_INCREF(Py_None); resultobj = Py_None;
39340 return resultobj;
39341 fail:
39342 return NULL;
39343}
39344
39345
39346static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
39347 PyObject *resultobj;
39348 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39349 int arg2 ;
39350 PyObject * obj0 = 0 ;
994141e6 39351 PyObject * obj1 = 0 ;
d14a1e28
RD
39352 char *kwnames[] = {
39353 (char *) "self",(char *) "v", NULL
39354 };
39355
994141e6 39356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39359 arg2 = (int) SWIG_AsInt(obj1);
39360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39361 {
39362 PyThreadState* __tstate = wxPyBeginAllowThreads();
39363 (arg1)->SetValue(arg2);
39364
39365 wxPyEndAllowThreads(__tstate);
39366 if (PyErr_Occurred()) SWIG_fail;
39367 }
39368 Py_INCREF(Py_None); resultobj = Py_None;
39369 return resultobj;
39370 fail:
39371 return NULL;
39372}
39373
39374
39375static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
39376 PyObject *resultobj;
39377 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39378 int result;
39379 PyObject * obj0 = 0 ;
39380 char *kwnames[] = {
39381 (char *) "self", NULL
39382 };
39383
39384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
15afbcd0
RD
39385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39387 {
39388 PyThreadState* __tstate = wxPyBeginAllowThreads();
39389 result = (int)(arg1)->GetMargin();
39390
39391 wxPyEndAllowThreads(__tstate);
39392 if (PyErr_Occurred()) SWIG_fail;
39393 }
15afbcd0 39394 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39395 return resultobj;
39396 fail:
39397 return NULL;
39398}
39399
39400
39401static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
39402 PyObject *resultobj;
39403 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39404 int arg2 ;
39405 PyObject * obj0 = 0 ;
994141e6 39406 PyObject * obj1 = 0 ;
d14a1e28
RD
39407 char *kwnames[] = {
39408 (char *) "self",(char *) "m", NULL
39409 };
39410
994141e6 39411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39414 arg2 = (int) SWIG_AsInt(obj1);
39415 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39416 {
39417 PyThreadState* __tstate = wxPyBeginAllowThreads();
39418 (arg1)->SetMargin(arg2);
39419
39420 wxPyEndAllowThreads(__tstate);
39421 if (PyErr_Occurred()) SWIG_fail;
39422 }
39423 Py_INCREF(Py_None); resultobj = Py_None;
39424 return resultobj;
39425 fail:
39426 return NULL;
39427}
39428
39429
39430static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
39431 PyObject *resultobj;
39432 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39433 int result;
39434 PyObject * obj0 = 0 ;
39435 char *kwnames[] = {
39436 (char *) "self", NULL
39437 };
39438
39439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
39440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39442 {
39443 PyThreadState* __tstate = wxPyBeginAllowThreads();
39444 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
39445
39446 wxPyEndAllowThreads(__tstate);
39447 if (PyErr_Occurred()) SWIG_fail;
39448 }
15afbcd0 39449 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39450 return resultobj;
39451 fail:
39452 return NULL;
39453}
39454
39455
39456static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
39457 PyObject *resultobj;
39458 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39459 int result;
39460 PyObject * obj0 = 0 ;
39461 char *kwnames[] = {
39462 (char *) "self", NULL
39463 };
39464
39465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
15afbcd0
RD
39466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39468 {
39469 PyThreadState* __tstate = wxPyBeginAllowThreads();
39470 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
39471
39472 wxPyEndAllowThreads(__tstate);
39473 if (PyErr_Occurred()) SWIG_fail;
39474 }
15afbcd0 39475 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39476 return resultobj;
39477 fail:
39478 return NULL;
39479}
39480
39481
39482static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39483 PyObject *resultobj;
39484 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39485 int result;
39486 PyObject * obj0 = 0 ;
39487 char *kwnames[] = {
39488 (char *) "self", NULL
39489 };
39490
39491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
39492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39494 {
39495 PyThreadState* __tstate = wxPyBeginAllowThreads();
39496 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
39497
39498 wxPyEndAllowThreads(__tstate);
39499 if (PyErr_Occurred()) SWIG_fail;
39500 }
15afbcd0 39501 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39502 return resultobj;
39503 fail:
39504 return NULL;
39505}
39506
39507
39508static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
39509 PyObject *resultobj;
39510 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39511 bool result;
39512 PyObject * obj0 = 0 ;
39513 char *kwnames[] = {
39514 (char *) "self", NULL
39515 };
39516
39517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
15afbcd0
RD
39518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39520 {
39521 PyThreadState* __tstate = wxPyBeginAllowThreads();
39522 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
39523
39524 wxPyEndAllowThreads(__tstate);
39525 if (PyErr_Occurred()) SWIG_fail;
39526 }
4f89f6a3
RD
39527 {
39528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39529 }
d14a1e28
RD
39530 return resultobj;
39531 fail:
39532 return NULL;
39533}
39534
39535
39536static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
39537 PyObject *resultobj;
39538 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39539 bool arg2 ;
39540 PyObject * obj0 = 0 ;
39541 PyObject * obj1 = 0 ;
39542 char *kwnames[] = {
39543 (char *) "self",(char *) "d", NULL
39544 };
39545
39546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39549 arg2 = (bool) SWIG_AsBool(obj1);
39550 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39551 {
39552 PyThreadState* __tstate = wxPyBeginAllowThreads();
39553 (arg1)->SetDone(arg2);
39554
39555 wxPyEndAllowThreads(__tstate);
39556 if (PyErr_Occurred()) SWIG_fail;
39557 }
39558 Py_INCREF(Py_None); resultobj = Py_None;
39559 return resultobj;
39560 fail:
39561 return NULL;
39562}
39563
39564
39565static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
39566 PyObject *resultobj;
39567 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39568 int result;
39569 PyObject * obj0 = 0 ;
39570 char *kwnames[] = {
39571 (char *) "self", NULL
39572 };
39573
39574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
15afbcd0
RD
39575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39577 {
39578 PyThreadState* __tstate = wxPyBeginAllowThreads();
39579 result = (int)(arg1)->GetRelationship();
39580
39581 wxPyEndAllowThreads(__tstate);
39582 if (PyErr_Occurred()) SWIG_fail;
39583 }
15afbcd0 39584 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39585 return resultobj;
39586 fail:
39587 return NULL;
39588}
39589
39590
39591static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
39592 PyObject *resultobj;
39593 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39594 int arg2 ;
39595 PyObject * obj0 = 0 ;
994141e6 39596 PyObject * obj1 = 0 ;
d14a1e28
RD
39597 char *kwnames[] = {
39598 (char *) "self",(char *) "r", NULL
39599 };
39600
994141e6 39601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39604 arg2 = (wxRelationship) SWIG_AsInt(obj1);
39605 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39606 {
39607 PyThreadState* __tstate = wxPyBeginAllowThreads();
39608 (arg1)->SetRelationship((wxRelationship )arg2);
39609
39610 wxPyEndAllowThreads(__tstate);
39611 if (PyErr_Occurred()) SWIG_fail;
39612 }
39613 Py_INCREF(Py_None); resultobj = Py_None;
39614 return resultobj;
39615 fail:
39616 return NULL;
39617}
39618
39619
39620static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
39621 PyObject *resultobj;
39622 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39623 wxWindow *arg2 = (wxWindow *) 0 ;
39624 bool result;
39625 PyObject * obj0 = 0 ;
39626 PyObject * obj1 = 0 ;
39627 char *kwnames[] = {
39628 (char *) "self",(char *) "otherW", NULL
39629 };
39630
39631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39636 {
39637 PyThreadState* __tstate = wxPyBeginAllowThreads();
39638 result = (bool)(arg1)->ResetIfWin(arg2);
39639
39640 wxPyEndAllowThreads(__tstate);
39641 if (PyErr_Occurred()) SWIG_fail;
39642 }
4f89f6a3
RD
39643 {
39644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39645 }
d14a1e28
RD
39646 return resultobj;
39647 fail:
39648 return NULL;
39649}
39650
39651
39652static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
39653 PyObject *resultobj;
39654 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39655 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
39656 wxWindow *arg3 = (wxWindow *) 0 ;
39657 bool result;
39658 PyObject * obj0 = 0 ;
39659 PyObject * obj1 = 0 ;
39660 PyObject * obj2 = 0 ;
39661 char *kwnames[] = {
39662 (char *) "self",(char *) "constraints",(char *) "win", NULL
39663 };
39664
39665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
39669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39670 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39672 {
39673 PyThreadState* __tstate = wxPyBeginAllowThreads();
39674 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
39675
39676 wxPyEndAllowThreads(__tstate);
39677 if (PyErr_Occurred()) SWIG_fail;
39678 }
4f89f6a3
RD
39679 {
39680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39681 }
d14a1e28
RD
39682 return resultobj;
39683 fail:
39684 return NULL;
39685}
39686
39687
39688static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39689 PyObject *resultobj;
39690 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39691 int arg2 ;
39692 wxWindow *arg3 = (wxWindow *) 0 ;
39693 wxWindow *arg4 = (wxWindow *) 0 ;
39694 int result;
39695 PyObject * obj0 = 0 ;
994141e6 39696 PyObject * obj1 = 0 ;
d14a1e28
RD
39697 PyObject * obj2 = 0 ;
39698 PyObject * obj3 = 0 ;
39699 char *kwnames[] = {
39700 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39701 };
39702
994141e6 39703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39706 arg2 = (wxEdge) SWIG_AsInt(obj1);
39707 if (PyErr_Occurred()) SWIG_fail;
39708 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39710 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
39711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39712 {
39713 PyThreadState* __tstate = wxPyBeginAllowThreads();
39714 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
39715
39716 wxPyEndAllowThreads(__tstate);
39717 if (PyErr_Occurred()) SWIG_fail;
39718 }
15afbcd0 39719 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39720 return resultobj;
39721 fail:
39722 return NULL;
39723}
39724
39725
39726static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
39727 PyObject *obj;
39728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39729 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
39730 Py_INCREF(obj);
39731 return Py_BuildValue((char *)"");
39732}
39733static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39734 PyObject *resultobj;
39735 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39736 wxIndividualLayoutConstraint *result;
39737 PyObject * obj0 = 0 ;
39738 char *kwnames[] = {
39739 (char *) "self", NULL
39740 };
39741
39742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39745 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
39746
15afbcd0 39747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39748 return resultobj;
39749 fail:
39750 return NULL;
39751}
39752
39753
39754static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39755 PyObject *resultobj;
39756 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39757 wxIndividualLayoutConstraint *result;
39758 PyObject * obj0 = 0 ;
39759 char *kwnames[] = {
39760 (char *) "self", NULL
39761 };
39762
39763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39766 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
39767
15afbcd0 39768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39769 return resultobj;
39770 fail:
39771 return NULL;
39772}
39773
39774
39775static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39776 PyObject *resultobj;
39777 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39778 wxIndividualLayoutConstraint *result;
39779 PyObject * obj0 = 0 ;
39780 char *kwnames[] = {
39781 (char *) "self", NULL
39782 };
39783
39784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39787 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
39788
15afbcd0 39789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39790 return resultobj;
39791 fail:
39792 return NULL;
39793}
39794
39795
39796static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39797 PyObject *resultobj;
39798 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39799 wxIndividualLayoutConstraint *result;
39800 PyObject * obj0 = 0 ;
39801 char *kwnames[] = {
39802 (char *) "self", NULL
39803 };
39804
39805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39808 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
39809
15afbcd0 39810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39811 return resultobj;
39812 fail:
39813 return NULL;
39814}
39815
39816
39817static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39818 PyObject *resultobj;
39819 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39820 wxIndividualLayoutConstraint *result;
39821 PyObject * obj0 = 0 ;
39822 char *kwnames[] = {
39823 (char *) "self", NULL
39824 };
39825
39826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39829 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
39830
15afbcd0 39831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39832 return resultobj;
39833 fail:
39834 return NULL;
39835}
39836
39837
39838static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39839 PyObject *resultobj;
39840 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39841 wxIndividualLayoutConstraint *result;
39842 PyObject * obj0 = 0 ;
39843 char *kwnames[] = {
39844 (char *) "self", NULL
39845 };
39846
39847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39850 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
39851
15afbcd0 39852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39853 return resultobj;
39854 fail:
39855 return NULL;
39856}
39857
39858
39859static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39860 PyObject *resultobj;
39861 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39862 wxIndividualLayoutConstraint *result;
39863 PyObject * obj0 = 0 ;
39864 char *kwnames[] = {
39865 (char *) "self", NULL
39866 };
39867
39868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39871 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
39872
15afbcd0 39873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39874 return resultobj;
39875 fail:
39876 return NULL;
39877}
39878
39879
39880static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39881 PyObject *resultobj;
39882 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39883 wxIndividualLayoutConstraint *result;
39884 PyObject * obj0 = 0 ;
39885 char *kwnames[] = {
39886 (char *) "self", NULL
39887 };
39888
39889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39892 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
39893
15afbcd0 39894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39895 return resultobj;
39896 fail:
39897 return NULL;
39898}
39899
39900
39901static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
39902 PyObject *resultobj;
39903 wxLayoutConstraints *result;
39904 char *kwnames[] = {
39905 NULL
39906 };
39907
39908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
39909 {
39910 PyThreadState* __tstate = wxPyBeginAllowThreads();
39911 result = (wxLayoutConstraints *)new wxLayoutConstraints();
39912
39913 wxPyEndAllowThreads(__tstate);
39914 if (PyErr_Occurred()) SWIG_fail;
39915 }
15afbcd0 39916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
d14a1e28
RD
39917 return resultobj;
39918 fail:
39919 return NULL;
39920}
39921
39922
39923static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
39924 PyObject *resultobj;
39925 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39926 wxWindow *arg2 = (wxWindow *) 0 ;
39927 int *arg3 = (int *) 0 ;
39928 bool result;
39929 int temp3 ;
39930 PyObject * obj0 = 0 ;
39931 PyObject * obj1 = 0 ;
39932 char *kwnames[] = {
39933 (char *) "self",(char *) "win", NULL
39934 };
39935
39936 arg3 = &temp3;
39937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39942 {
39943 PyThreadState* __tstate = wxPyBeginAllowThreads();
39944 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
39945
39946 wxPyEndAllowThreads(__tstate);
39947 if (PyErr_Occurred()) SWIG_fail;
39948 }
4f89f6a3
RD
39949 {
39950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39951 }
d14a1e28
RD
39952 {
39953 PyObject *o = PyInt_FromLong((long) (*arg3));
39954 resultobj = t_output_helper(resultobj,o);
39955 }
39956 return resultobj;
39957 fail:
39958 return NULL;
39959}
39960
39961
39962static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
39963 PyObject *resultobj;
39964 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39965 bool result;
39966 PyObject * obj0 = 0 ;
39967 char *kwnames[] = {
39968 (char *) "self", NULL
39969 };
39970
39971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
15afbcd0
RD
39972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39974 {
39975 PyThreadState* __tstate = wxPyBeginAllowThreads();
39976 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
39977
39978 wxPyEndAllowThreads(__tstate);
39979 if (PyErr_Occurred()) SWIG_fail;
39980 }
4f89f6a3
RD
39981 {
39982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39983 }
d14a1e28
RD
39984 return resultobj;
39985 fail:
39986 return NULL;
39987}
39988
39989
39990static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
39991 PyObject *obj;
39992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39993 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
39994 Py_INCREF(obj);
39995 return Py_BuildValue((char *)"");
39996}
39997static PyMethodDef SwigMethods[] = {
39998 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
3a04f143 39999 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS },
d14a1e28
RD
40000 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
40001 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
40002 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
40003 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
40004 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
40005 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
40006 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
40007 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
40008 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
40009 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
40010 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
40011 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
40012 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
40013 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
40014 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
40015 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
40016 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
40017 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
40018 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
40019 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40020 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS },
40021 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40022 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40023 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
40024 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
40025 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
40026 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
40027 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
40028 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
40029 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40030 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
40031 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
40032 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
40033 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40034 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40035 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40036 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
40037 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
40038 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
40039 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
40040 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
40041 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
40042 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
40043 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
40044 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
40045 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
40046 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
40047 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
40048 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
40049 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40050 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40051 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
40052 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
40053 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
40054 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
40055 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
40056 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
40057 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
40058 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
40059 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
40060 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
40061 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
40062 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
40063 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
40064 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
40065 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
40066 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
40067 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
c9c7117a
RD
40068 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS },
40069 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS },
40070 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS },
40071 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40072 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
40073 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
40074 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
40075 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
40076 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
40077 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
40078 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
40079 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
40080 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
40081 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
40082 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
40083 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
40084 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
40085 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
40086 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
40087 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
40088 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
40089 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
40090 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
40091 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
40092 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
40093 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
40094 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
40095 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
40096 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
40097 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
40098 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
40099 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
40100 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40101 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40102 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
40103 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
40104 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
40105 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
40106 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
40107 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
40108 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
40109 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
40110 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40111 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
40112 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40113 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
40114 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
40115 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
40116 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
40117 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
40118 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
40119 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
40120 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
40121 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
40122 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
40123 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40124 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
40125 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
40126 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
40127 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
40128 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40129 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40130 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
40131 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
40132 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
40133 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
40134 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
40135 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
40136 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
40137 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
40138 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
40139 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
40140 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
40141 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
40142 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
40143 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
40144 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
40145 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
40146 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
40147 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
40148 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
40149 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
40150 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
40151 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
40152 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
40153 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
40154 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40155 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
40156 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40157 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
40158 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
40159 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
40160 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
40161 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40162 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40163 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40164 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40165 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40166 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
40167 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
40168 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40169 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
40170 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
40171 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
40172 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
40173 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
40174 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
40175 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
40176 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
40177 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
40178 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
40179 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
40180 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
40181 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
40182 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
40183 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
40184 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
40185 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40186 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40187 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
40188 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
40189 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40190 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40191 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40192 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40193 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
40194 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
40195 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
40196 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
40197 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
40198 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
40199 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40200 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40201 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40202 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40203 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
40204 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
40205 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
40206 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
40207 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40208 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
40209 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
40210 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
40211 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
40212 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
40213 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
40214 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
40215 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
40216 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40217 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
40218 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
40219 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
40220 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
40221 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
40222 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
66c033b4 40223 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40224 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
40225 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
40226 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
40227 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
40228 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
40229 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
40230 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
40231 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
40232 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
40233 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
40234 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
40235 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
40236 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
40237 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
40238 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40239 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
40240 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
40241 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
40242 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
40243 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
40244 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
40245 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
40246 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
40247 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
40248 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
40249 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
40250 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
40251 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
b2df227b 40252 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40253 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
40254 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
40255 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
40256 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
40257 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
40258 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40259 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40260 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
40261 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
40262 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40263 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40264 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
40265 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
40266 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
40267 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
40268 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
40269 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
40270 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
40271 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
40272 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
40273 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
40274 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
40275 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
40276 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
40277 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
40278 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
40279 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
40280 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
40281 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
40282 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
40283 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
40284 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
40285 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
40286 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
40287 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
40288 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
d14a1e28
RD
40289 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
40290 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
40291 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
40292 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
40293 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
40294 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
40295 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
40296 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
40297 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
40298 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
40299 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
40300 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
40301 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
40302 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
40303 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
40304 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
40305 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
40306 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
40307 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
40308 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
40309 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
40310 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
c0de73ae
RD
40311 { (char *)"Quantize_Quantize", (PyCFunction) _wrap_Quantize_Quantize, METH_VARARGS | METH_KEYWORDS },
40312 { (char *)"Quantize_swigregister", Quantize_swigregister, METH_VARARGS },
d14a1e28
RD
40313 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
40314 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
40315 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
40316 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
40317 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
40318 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
40319 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
40320 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
40321 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
40322 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
40323 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
40324 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
40325 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
40326 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
40327 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
40328 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
40329 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
40330 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
40331 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
40332 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
40333 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
40334 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
40335 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
40336 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
40337 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
40338 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
40339 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
40340 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
40341 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
40342 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
40343 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
40344 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
40345 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
40346 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
40347 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
40348 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
40349 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
40350 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
40351 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
40352 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
40353 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
40354 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
40355 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
40356 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
40357 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
40358 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
40359 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
40360 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
40361 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
40362 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
40363 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
40364 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
40365 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
40366 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
40367 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
40368 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
40369 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40370 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40371 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40372 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40373 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
40374 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
40375 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40376 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40377 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40378 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40379 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
40380 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
40381 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
40382 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
40383 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
40384 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
40385 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
40386 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
40387 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
40388 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
40389 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
40390 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
40391 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
412d302d 40392 { (char *)"MouseEvent_CmdDown", (PyCFunction) _wrap_MouseEvent_CmdDown, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40393 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
40394 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
40395 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
40396 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
40397 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
40398 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
40399 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
40400 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
40401 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
40402 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
40403 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
40404 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
40405 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
40406 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
40407 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
40408 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
40409 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40410 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40411 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
40412 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40413 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40414 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
40415 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
40416 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
40417 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
40418 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
40419 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
40420 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
40421 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
40422 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
40423 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
40424 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
40425 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
40426 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
40427 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
40428 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
40429 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
40430 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
40431 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
40432 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
40433 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
40434 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
40435 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
40436 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
40437 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
40438 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
40439 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
40440 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
40441 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
40442 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
40443 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
40444 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40445 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40446 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
40447 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
40448 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
40449 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
40450 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
40451 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
40452 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
40453 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
40454 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
412d302d 40455 { (char *)"KeyEvent_CmdDown", (PyCFunction) _wrap_KeyEvent_CmdDown, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40456 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
40457 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
19272049 40458 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction) _wrap_KeyEvent_GetUnicodeKey, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40459 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
40460 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
40461 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40462 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40463 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40464 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40465 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
40466 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
40467 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
40468 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
40469 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
40470 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
40471 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
40472 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
40473 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
40474 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
40475 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
40476 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
40477 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
40478 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
40479 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
40480 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
40481 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
40482 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
40483 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
40484 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
40485 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
40486 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
40487 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
40488 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
40489 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
40490 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
40491 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
40492 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
40493 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
40494 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
40495 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
40496 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
40497 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40498 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
40499 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
40500 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40501 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
40502 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
40503 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
40504 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
40505 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
40506 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
40507 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
40508 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
40509 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
40510 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
40511 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
40512 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
40513 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
40514 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40515 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
40516 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
40517 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
40518 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40519 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
40520 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
40521 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
40522 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
40523 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
40524 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
40525 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
40526 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
40527 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
40528 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
40529 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
40530 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
40531 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
40532 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
40533 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
40534 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
40535 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
40536 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
40537 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
40538 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
40539 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
40540 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
40541 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
40542 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
40543 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
40544 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
40545 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
40546 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
40547 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40548 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
40549 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
40550 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
40551 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
40552 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
40553 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
40554 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
40555 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
40556 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
40557 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
40558 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
40559 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
40560 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
40561 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
40562 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
40563 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
40564 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
40565 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
40566 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
40567 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
40568 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
40569 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
40570 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
40571 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
40572 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
40573 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
40574 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
40575 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
40576 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
40577 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
40578 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
40579 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
40580 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
40581 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
40582 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
40583 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
40584 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
40585 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
40586 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
40587 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
908b74cd 40588 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction) _wrap_NavigationKeyEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40589 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
40590 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
40591 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
40592 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
40593 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40594 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
40595 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
40596 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40597 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
40598 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
40599 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40600 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40601 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
40602 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
40603 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
40604 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
40605 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
40606 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
40607 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
40608 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
40609 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
40610 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
40611 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
40612 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
40613 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
40614 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
40615 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
40616 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
40617 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
40618 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
40619 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
40620 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
40621 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40622 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
40623 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
40624 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
40625 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
40626 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
40627 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
40628 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
40629 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
40630 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
40631 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
40632 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
40633 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
40634 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
40635 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
40636 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
40637 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
40638 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40639 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
40640 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
40641 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
40642 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
40643 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
40644 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
40645 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
40646 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
40647 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40648 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
6c3b4aae 40649 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40650 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
40651 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
40652 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
40653 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
40654 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
40655 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
40656 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
40657 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
40658 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
40659 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
40660 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
40661 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
40662 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
40663 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
40664 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
40665 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
40666 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
40667 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
40668 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
40669 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
40670 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
1e0c8722
RD
40671 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
40672 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
40673 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
1e0c8722
RD
40674 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
40675 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
40676 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
40677 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
40678 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40679 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40680 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
40681 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
40682 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40683 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
40684 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
40685 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS },
40686 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS },
40687 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS },
40688 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS },
40689 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS },
40690 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS },
40691 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS },
d14a1e28
RD
40692 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
40693 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
40694 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
40695 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
40696 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
40697 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
40698 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
40699 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
40700 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
40701 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
40702 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
40703 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
40704 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
4276dc52
RD
40705 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS },
40706 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40707 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
40708 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
40709 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
40710 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
40711 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
40712 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
40713 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
40714 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
40715 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
40716 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
40717 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
f8167d6e 40718 { (char *)"Window_SetBestFittingSize", (PyCFunction) _wrap_Window_SetBestFittingSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40719 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
40720 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
40721 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
40722 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
40723 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
40724 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
40725 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40726 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
40727 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
40728 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
40729 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
40730 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
40731 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
40732 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
40733 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
40734 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
dfbb5885
RD
40735 { (char *)"Window_InvalidateBestSize", (PyCFunction) _wrap_Window_InvalidateBestSize, METH_VARARGS | METH_KEYWORDS },
40736 { (char *)"Window_GetBestFittingSize", (PyCFunction) _wrap_Window_GetBestFittingSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40737 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
40738 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
40739 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
40740 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
40741 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
40742 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
f16ab95d
RD
40743 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
40744 { (char *)"Window_SetSizeHintsSz", (PyCFunction) _wrap_Window_SetSizeHintsSz, METH_VARARGS | METH_KEYWORDS },
40745 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
40746 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction) _wrap_Window_SetVirtualSizeHintsSz, METH_VARARGS | METH_KEYWORDS },
908b74cd
RD
40747 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
40748 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS },
40749 { (char *)"Window_SetMinSize", (PyCFunction) _wrap_Window_SetMinSize, METH_VARARGS | METH_KEYWORDS },
40750 { (char *)"Window_SetMaxSize", (PyCFunction) _wrap_Window_SetMaxSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40751 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
40752 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
40753 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
40754 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40755 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40756 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
40757 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40758 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
40759 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
40760 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
40761 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
40762 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
40763 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
40764 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
40765 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40766 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
40767 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40768 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
40769 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
40770 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40771 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40772 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
40773 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
40774 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40775 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
40776 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
40777 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
40778 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
40779 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
40780 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40781 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40782 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
908b74cd 40783 { (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS },
7f98d120
RD
40784 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction) _wrap_Window_MoveAfterInTabOrder, METH_VARARGS | METH_KEYWORDS },
40785 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction) _wrap_Window_MoveBeforeInTabOrder, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40786 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
40787 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
40788 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
40789 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
40790 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
40791 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
40792 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
40793 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40794 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40795 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40796 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40797 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
40798 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
40799 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
40800 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
40801 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40802 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS },
40803 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
40804 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
40805 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40806 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40807 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40808 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
40809 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
40810 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
40811 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
40812 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
40813 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
40814 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
40815 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
40816 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
40817 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
40818 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
40819 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
40820 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
40821 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
40822 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
40823 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
40824 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
40825 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
40826 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
40827 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
40828 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
40829 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
40830 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
40831 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
4276dc52 40832 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40833 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
40834 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40835 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
412d302d 40836 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction) _wrap_Window_SetOwnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40837 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
fa47d7a7 40838 { (char *)"Window_SetOwnForegroundColour", (PyCFunction) _wrap_Window_SetOwnForegroundColour, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40839 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40840 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
40841 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
40842 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
40843 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
fa47d7a7 40844 { (char *)"Window_SetOwnFont", (PyCFunction) _wrap_Window_SetOwnFont, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40845 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
40846 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
40847 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
40848 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
40849 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
40850 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
40851 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
40852 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
40853 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
40854 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
40855 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
40856 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
40857 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
15afbcd0 40858 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS },
d14a1e28
RD
40859 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
40860 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
40861 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
40862 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
40863 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
40864 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
40865 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
40866 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
40867 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
40868 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
40869 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
40870 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
40871 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
40872 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
40873 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
40874 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
40875 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
40876 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
40877 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
40878 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
40879 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
40880 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
40881 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
40882 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
40883 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
40884 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
40885 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
40886 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
40887 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
40888 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
40889 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
40890 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
40891 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
40892 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
40893 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
a95a7133
RD
40894 { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS },
40895 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40896 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
40897 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40898 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40899 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
40900 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
40901 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
40902 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
40903 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
40904 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
40905 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
40906 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
40907 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
40908 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
40909 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
40910 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
40911 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
40912 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40913 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
40914 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
40915 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
40916 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
40917 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
40918 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
40919 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
40920 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
40921 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
40922 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
40923 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
40924 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
40925 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
40926 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
40927 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
40928 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
40929 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
40930 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
40931 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
40932 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
40933 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
40934 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
40935 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
40936 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
40937 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
40938 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
40939 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
40940 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
40941 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
40942 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
40943 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
40944 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
40945 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
40946 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
40947 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40948 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
40949 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
40950 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
40951 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
40952 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
40953 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
40954 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
40955 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
40956 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40957 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40958 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
40959 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
40960 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
40961 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
40962 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
40963 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
40964 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
40965 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
40966 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
40967 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
40968 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
40969 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
40970 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
40971 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
40972 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
40973 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
40974 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
40975 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
40976 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
40977 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
40978 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
40979 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
40980 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
40981 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
40982 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
40983 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
40984 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
40985 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
40986 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40987 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
40988 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
40989 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
40990 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
40991 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
40992 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
40993 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
40994 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
40995 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
40996 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
40997 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
40998 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
40999 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
41000 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
41001 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
41002 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
41003 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
41004 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
41005 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
41006 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
a95a7133 41007 { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41008 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
41009 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
41010 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
41011 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
41012 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
41013 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
41014 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41015 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
41016 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
41017 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
41018 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
41019 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
41020 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
41021 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
41022 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
41023 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
41024 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
41025 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
41026 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
41027 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
41028 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
41029 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
41030 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
41031 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
74a57fcd 41032 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41033 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
41034 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
41035 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
41036 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
41037 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
41038 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
41039 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
41040 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
41041 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
41042 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
41043 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
41044 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
41045 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
41046 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
41047 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
41048 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
41049 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
41050 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
41051 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
41052 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28 41053 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
248ed943 41054 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41055 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41056 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41057 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
41058 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
41059 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
41060 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
41061 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
dfbb5885 41062 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction) _wrap_SizerItem_GetMinSizeWithBorder, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41063 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
41064 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
41065 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
41066 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
41067 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
41068 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
41069 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
41070 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
41071 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
41072 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
41073 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
41074 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
41075 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
41076 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
41077 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
41078 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
41079 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
41080 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
41081 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
41082 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
41083 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
41084 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
41085 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
41086 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
41087 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
41088 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
41089 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
41090 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
41091 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
41092 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
1c0f361b 41093 { (char *)"Sizer_Detach", (PyCFunction) _wrap_Sizer_Detach, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41094 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
41095 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41096 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
41097 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
41098 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
41099 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
41100 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
41101 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
41102 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41103 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41104 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41105 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
41106 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
41107 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
41108 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
41109 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
41110 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
41111 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41112 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
41113 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41114 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
41115 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
41116 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
41117 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
41118 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41119 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
41120 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
41121 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
41122 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41123 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
41124 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
41125 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41126 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
41127 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41128 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
41129 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
41130 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
41131 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
41132 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
41133 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
41134 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
41135 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
41136 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
41137 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41138 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
41139 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
41140 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
41141 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
41142 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41143 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41144 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
41145 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41146 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
41147 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41148 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
41149 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
41150 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
41151 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
41152 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
41153 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
41154 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
41155 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41156 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
41157 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41158 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
41159 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
41160 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
41161 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
41162 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
41163 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
41164 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
41165 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41166 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
41167 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41168 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
41169 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
41170 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41171 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41172 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41173 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
41174 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
41175 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
41176 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
248ed943
RD
41177 { (char *)"GBSizerItem_Intersects", (PyCFunction) _wrap_GBSizerItem_Intersects, METH_VARARGS | METH_KEYWORDS },
41178 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction) _wrap_GBSizerItem_IntersectsPos, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41179 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
41180 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
41181 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
41182 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
41183 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
41184 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
41185 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41186 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41187 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41188 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
41189 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
41190 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
41191 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
41192 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
41193 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
e811c8ce 41194 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
248ed943
RD
41195 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction) _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS | METH_KEYWORDS },
41196 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction) _wrap_GridBagSizer_CheckForIntersectionPos, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41197 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
41198 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
41199 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
41200 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
41201 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
41202 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
41203 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
41204 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
41205 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
41206 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
41207 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
41208 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
41209 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
41210 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
41211 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
41212 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
41213 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
41214 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
41215 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
41216 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
41217 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
41218 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
41219 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
41220 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
41221 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
41222 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
41223 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
41224 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
41225 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
41226 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
41227 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
41228 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
41229 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
41230 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
41231 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
41232 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
41233 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
41234 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
41235 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
41236 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
41237 { NULL, NULL }
41238};
41239
41240
41241/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41242
41243static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
41244 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
41245}
41246static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
41247 return (void *)((wxSizer *) ((wxBoxSizer *) x));
41248}
41249static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
41250 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
41251}
41252static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
41253 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41254}
41255static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
41256 return (void *)((wxSizer *) ((wxGridSizer *) x));
41257}
41258static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
41259 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
41260}
41261static void *_p_wxPySizerTo_p_wxSizer(void *x) {
41262 return (void *)((wxSizer *) ((wxPySizer *) x));
41263}
41264static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
41265 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
41266}
41267static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
41268 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
41269}
41270static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
41271 return (void *)((wxEvent *) ((wxMenuEvent *) x));
41272}
41273static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
41274 return (void *)((wxEvent *) ((wxCloseEvent *) x));
41275}
41276static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
41277 return (void *)((wxEvent *) ((wxMouseEvent *) x));
41278}
41279static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
41280 return (void *)((wxEvent *) ((wxEraseEvent *) x));
41281}
41282static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
41283 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
41284}
41285static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
41286 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
41287}
41288static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
41289 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
41290}
41291static void *_p_wxPyEventTo_p_wxEvent(void *x) {
41292 return (void *)((wxEvent *) ((wxPyEvent *) x));
41293}
41294static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
41295 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
41296}
41297static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
41298 return (void *)((wxEvent *) ((wxIdleEvent *) x));
41299}
41300static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
41301 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
41302}
41303static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
41304 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
41305}
41306static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
41307 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
41308}
41309static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
41310 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
41311}
41312static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
41313 return (void *)((wxEvent *) ((wxActivateEvent *) x));
41314}
41315static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
41316 return (void *)((wxEvent *) ((wxSizeEvent *) x));
41317}
41318static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
41319 return (void *)((wxEvent *) ((wxMoveEvent *) x));
41320}
41321static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
41322 return (void *)((wxEvent *) ((wxPaintEvent *) x));
41323}
41324static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
41325 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
41326}
41327static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
41328 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
41329}
41330static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
41331 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
41332}
41333static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
41334 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
41335}
41336static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
41337 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41338}
41339static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
41340 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
41341}
41342static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
41343 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
41344}
41345static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
41346 return (void *)((wxEvent *) ((wxFocusEvent *) x));
41347}
41348static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
41349 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
41350}
41351static void *_p_wxShowEventTo_p_wxEvent(void *x) {
41352 return (void *)((wxEvent *) ((wxShowEvent *) x));
41353}
41354static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
41355 return (void *)((wxEvent *) ((wxCommandEvent *) x));
41356}
41357static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
41358 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
41359}
41360static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
41361 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41362}
41363static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
41364 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
41365}
41366static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
41367 return (void *)((wxEvent *) ((wxKeyEvent *) x));
41368}
41369static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
41370 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
41371}
41372static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
41373 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
41374}
41375static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
41376 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
41377}
41378static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
41379 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
41380}
41381static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
41382 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
41383}
41384static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
41385 return (void *)((wxControl *) ((wxControlWithItems *) x));
41386}
41387static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
41388 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
41389}
41390static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
41391 return (void *)((wxEvtHandler *) ((wxWindow *) x));
41392}
41393static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
41394 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41395}
41396static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
41397 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
41398}
41399static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
41400 return (void *)((wxEvtHandler *) ((wxValidator *) x));
41401}
41402static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
41403 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
41404}
41405static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
41406 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
41407}
41408static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
41409 return (void *)((wxEvtHandler *) ((wxMenu *) x));
41410}
41411static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
41412 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
41413}
41414static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
41415 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
41416}
41417static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
41418 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
41419}
41420static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
41421 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
41422}
41423static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
41424 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
41425}
41426static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
41427 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41428}
41429static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
41430 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
41431}
41432static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
41433 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
41434}
41435static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
41436 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41437}
41438static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
41439 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41440}
41441static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
41442 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
41443}
41444static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
41445 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
41446}
41447static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
41448 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
41449}
41450static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
41451 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
41452}
41453static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
41454 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
41455}
41456static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
41457 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
41458}
41459static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
41460 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
41461}
41462static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
41463 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
41464}
41465static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
41466 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
41467}
41468static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
41469 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
41470}
41471static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
41472 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
41473}
41474static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
41475 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
41476}
41477static void *_p_wxMenuEventTo_p_wxObject(void *x) {
41478 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
41479}
41480static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
41481 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
41482}
41483static void *_p_wxEraseEventTo_p_wxObject(void *x) {
41484 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
41485}
41486static void *_p_wxMouseEventTo_p_wxObject(void *x) {
41487 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
41488}
41489static void *_p_wxCloseEventTo_p_wxObject(void *x) {
41490 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
41491}
41492static void *_p_wxValidatorTo_p_wxObject(void *x) {
41493 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
41494}
41495static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
41496 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
41497}
41498static void *_p_wxMenuBarTo_p_wxObject(void *x) {
41499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
41500}
41501static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
41502 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
41503}
41504static void *_p_wxSizerTo_p_wxObject(void *x) {
41505 return (void *)((wxObject *) ((wxSizer *) x));
41506}
41507static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
41508 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
41509}
41510static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
41511 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
41512}
41513static void *_p_wxMenuTo_p_wxObject(void *x) {
41514 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
41515}
41516static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
41517 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
41518}
41519static void *_p_wxImageTo_p_wxObject(void *x) {
41520 return (void *)((wxObject *) ((wxImage *) x));
41521}
41522static void *_p_wxScrollEventTo_p_wxObject(void *x) {
41523 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
41524}
41525static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
41526 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
41527}
41528static void *_p_wxPyEventTo_p_wxObject(void *x) {
41529 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
41530}
41531static void *_p_wxWindowTo_p_wxObject(void *x) {
41532 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
41533}
41534static void *_p_wxControlTo_p_wxObject(void *x) {
41535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
41536}
1e0c8722
RD
41537static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
41538 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
41539}
d14a1e28
RD
41540static void *_p_wxGridSizerTo_p_wxObject(void *x) {
41541 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
41542}
41543static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
41544 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
41545}
41546static void *_p_wxPyAppTo_p_wxObject(void *x) {
41547 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
41548}
41549static void *_p_wxEventTo_p_wxObject(void *x) {
41550 return (void *)((wxObject *) ((wxEvent *) x));
41551}
41552static void *_p_wxActivateEventTo_p_wxObject(void *x) {
41553 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
41554}
41555static void *_p_wxMoveEventTo_p_wxObject(void *x) {
41556 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
41557}
41558static void *_p_wxSizeEventTo_p_wxObject(void *x) {
41559 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
41560}
41561static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
41562 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
41563}
41564static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
41565 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
41566}
41567static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
41568 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
41569}
41570static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
41571 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
41572}
41573static void *_p_wxIdleEventTo_p_wxObject(void *x) {
41574 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
41575}
41576static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
41577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41578}
41579static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
41580 return (void *)((wxObject *) ((wxEvtHandler *) x));
41581}
41582static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
41583 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
41584}
41585static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
41586 return (void *)((wxObject *) ((wxImageHandler *) x));
41587}
41588static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
41589 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
41590}
41591static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
41592 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
41593}
41594static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
41595 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41596}
41597static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
41598 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41599}
41600static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
41601 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
41602}
41603static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
41604 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
41605}
41606static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
41607 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
41608}
41609static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
41610 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
41611}
41612static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
41613 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
41614}
41615static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
41616 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
41617}
41618static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
41619 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
41620}
41621static void *_p_wxPaintEventTo_p_wxObject(void *x) {
41622 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
41623}
41624static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
41625 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
41626}
41627static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
41628 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
41629}
41630static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
41631 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41632}
41633static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
41634 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
41635}
41636static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
41637 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
41638}
41639static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
41640 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
41641}
41642static void *_p_wxFileSystemTo_p_wxObject(void *x) {
41643 return (void *)((wxObject *) ((wxFileSystem *) x));
41644}
41645static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
41646 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
41647}
41648static void *_p_wxFocusEventTo_p_wxObject(void *x) {
41649 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
41650}
41651static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
41652 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
41653}
41654static void *_p_wxSizerItemTo_p_wxObject(void *x) {
41655 return (void *)((wxObject *) ((wxSizerItem *) x));
41656}
41657static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
41658 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
41659}
41660static void *_p_wxShowEventTo_p_wxObject(void *x) {
41661 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
41662}
41663static void *_p_wxFSFileTo_p_wxObject(void *x) {
41664 return (void *)((wxObject *) ((wxFSFile *) x));
41665}
41666static void *_p_wxCommandEventTo_p_wxObject(void *x) {
41667 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
41668}
41669static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
41670 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
41671}
41672static void *_p_wxKeyEventTo_p_wxObject(void *x) {
41673 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
41674}
41675static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
41676 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
41677}
41678static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
41679 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41680}
41681static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
41682 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41683}
41684static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
41685 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
41686}
41687static void *_p_wxMenuItemTo_p_wxObject(void *x) {
41688 return (void *)((wxObject *) ((wxMenuItem *) x));
41689}
41690static void *_p_wxPySizerTo_p_wxObject(void *x) {
41691 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
41692}
41693static void *_p_wxControlTo_p_wxWindow(void *x) {
41694 return (void *)((wxWindow *) ((wxControl *) x));
41695}
41696static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
41697 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
41698}
41699static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
41700 return (void *)((wxWindow *) ((wxMenuBar *) x));
41701}
41702static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
41703 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
41704}
41705static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
41706 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
41707}
41708static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
41709 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
41710}
41711static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
41712 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
41713}
41714static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
41715 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41716}
41717static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
41718 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
41719}
41720static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
41721 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
41722}
41723static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
41724 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
41725}
41726static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
41727 return (void *)((wxValidator *) ((wxPyValidator *) x));
41728}
15afbcd0
RD
41729static 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}};
41730static 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}};
41731static 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}};
41732static 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}};
41733static 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}};
41734static 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}};
41735static 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}};
41736static 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}};
41737static 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}};
41738static 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}};
41739static 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}};
41740static 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}};
41741static 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}};
41742static 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}};
41743static 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}};
41744static 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}};
41745static 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}};
41746static 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}};
41747static 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}};
41748static 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}};
41749static 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}};
41750static 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}};
41751static 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}};
41752static 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}};
41753static 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}};
41754static 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}};
41755static 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}};
41756static 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}};
41757static 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}};
41758static 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}};
41759static 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}};
41760static 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}};
41761static 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}};
41762static 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}};
41763static 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}};
41764static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0, 0, 0, 0},{"_p_wxPySizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
74a57fcd 41765static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
41766static 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}};
41767static 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}};
41768static 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}};
41769static 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}};
41770static 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}};
41771static 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}};
41772static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
41773static 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}};
41774static 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}};
41775static 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}};
41776static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0, 0, 0, 0},{"_p_wxSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c0de73ae 41777static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0, 0, 0, 0},{"_p_wxMaximizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
41778static 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}};
41779static 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}};
41780static 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}};
41781static 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}};
41782static 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}};
41783static 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}};
41784static 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}};
41785static 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}};
41786static 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}};
41787static 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}};
41788static 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}};
41789static 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}};
41790static 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}};
41791static 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}};
41792static 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}};
41793static 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}};
41794static 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}};
41795static 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}};
41796static 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}};
41797static 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}};
41798static 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}};
41799static 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}};
41800static 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}};
41801static 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}};
41802static 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}};
41803static 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}};
41804static 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}};
41805static 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}};
41806static 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}};
41807static 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}};
41808static 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}};
41809static 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}};
41810static 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}};
41811static 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}};
41812static 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}};
41813static 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}};
41814static 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}};
41815static 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}};
41816static 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}};
41817static 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}};
41818static 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}};
41819static 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}};
41820static 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}};
41821static 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}};
41822static 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}};
41823static 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}};
41824static 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}};
41825static 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}};
41826static 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}};
41827static 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}};
41828static 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}};
41829static 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}};
41830static 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}};
41831static 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}};
41832static 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}};
41833static 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}};
41834static 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}};
41835static 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}};
41836static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c0de73ae 41837static swig_type_info _swigt__p_wxQuantize[] = {{"_p_wxQuantize", 0, "wxQuantize *", 0, 0, 0, 0},{"_p_wxQuantize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
41838static 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}};
41839static 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}};
41840static 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}};
41841static 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}};
41842static 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}};
41843static 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}};
41844static 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
41845
41846static swig_type_info *swig_types_initial[] = {
41847_swigt__p_wxLayoutConstraints,
41848_swigt__p_wxRealPoint,
41849_swigt__p_wxSizerItem,
41850_swigt__p_wxGBSizerItem,
41851_swigt__p_wxScrollEvent,
41852_swigt__p_wxIndividualLayoutConstraint,
41853_swigt__p_wxSizer,
41854_swigt__p_wxBoxSizer,
41855_swigt__p_wxStaticBoxSizer,
41856_swigt__p_wxGridBagSizer,
41857_swigt__p_wxAcceleratorEntry,
41858_swigt__p_wxUpdateUIEvent,
41859_swigt__p_wxMenu,
41860_swigt__p_wxEvent,
41861_swigt__p_wxGridSizer,
41862_swigt__p_wxFlexGridSizer,
41863_swigt__p_wxInitDialogEvent,
41864_swigt__p_wxItemContainer,
41865_swigt__p_wxNcPaintEvent,
41866_swigt__p_wxPaintEvent,
41867_swigt__p_wxSysColourChangedEvent,
41868_swigt__p_wxMouseCaptureChangedEvent,
41869_swigt__p_wxDisplayChangedEvent,
41870_swigt__p_wxPaletteChangedEvent,
41871_swigt__p_wxControl,
41872_swigt__p_wxFont,
41873_swigt__p_wxMenuBarBase,
41874_swigt__p_wxSetCursorEvent,
41875_swigt__p_wxFSFile,
41876_swigt__p_wxCaret,
41877_swigt__p_wxRegion,
41878_swigt__p_wxPoint2D,
41879_swigt__p_int,
41880_swigt__p_wxSize,
41881_swigt__p_wxDC,
41882_swigt__p_wxPySizer,
74a57fcd 41883_swigt__p_wxVisualAttributes,
d14a1e28
RD
41884_swigt__p_wxNotifyEvent,
41885_swigt__p_wxPyEvent,
41886_swigt__p_wxPropagationDisabler,
41887_swigt__p_wxAppTraits,
41888_swigt__p_wxArrayString,
41889_swigt__p_wxShowEvent,
41890_swigt__p_wxToolTip,
d14a1e28
RD
41891_swigt__p_wxIconizeEvent,
41892_swigt__p_wxActivateEvent,
41893_swigt__p_wxMoveEvent,
41894_swigt__p_wxSizeEvent,
c0de73ae 41895_swigt__p_wxMaximizeEvent,
d14a1e28
RD
41896_swigt__p_wxQueryNewPaletteEvent,
41897_swigt__p_wxWindowCreateEvent,
41898_swigt__p_wxIdleEvent,
41899_swigt__p_wxMenuItem,
41900_swigt__p_wxStaticBox,
41901_swigt__p_long,
41902_swigt__p_wxTIFFHandler,
41903_swigt__p_wxXPMHandler,
41904_swigt__p_wxPNMHandler,
41905_swigt__p_wxJPEGHandler,
41906_swigt__p_wxPCXHandler,
41907_swigt__p_wxGIFHandler,
41908_swigt__p_wxPNGHandler,
41909_swigt__p_wxANIHandler,
41910_swigt__p_wxMemoryFSHandler,
41911_swigt__p_wxEvtHandler,
41912_swigt__p_wxCURHandler,
41913_swigt__p_wxICOHandler,
41914_swigt__p_wxBMPHandler,
41915_swigt__p_wxImageHandler,
41916_swigt__p_wxFileSystemHandler,
41917_swigt__p_wxPyFileSystemHandler,
41918_swigt__p_wxInternetFSHandler,
4d5c3d91 41919_swigt__p_wxZipFSHandler,
d14a1e28
RD
41920_swigt__p_wxRect,
41921_swigt__p_wxGBSpan,
41922_swigt__p_wxPropagateOnce,
41923_swigt__p_wxAcceleratorTable,
994141e6 41924_swigt__p_char,
d14a1e28
RD
41925_swigt__p_wxGBPosition,
41926_swigt__p_wxImage,
41927_swigt__p_wxFrame,
41928_swigt__p_wxScrollWinEvent,
41929_swigt__p_wxImageHistogram,
41930_swigt__p_byte,
41931_swigt__p_wxPoint,
41932_swigt__p_wxCursor,
41933_swigt__p_wxObject,
41934_swigt__p_wxPyInputStream,
41935_swigt__p_wxOutputStream,
41936_swigt__p_wxInputStream,
41937_swigt__p_wxDateTime,
41938_swigt__p_wxKeyEvent,
41939_swigt__p_wxNavigationKeyEvent,
41940_swigt__p_wxWindowDestroyEvent,
41941_swigt__p_wxWindow,
41942_swigt__p_wxMenuBar,
d14a1e28
RD
41943_swigt__p_wxFileSystem,
41944_swigt__p_wxBitmap,
41945_swigt__p_wxMenuEvent,
41946_swigt__p_wxContextMenuEvent,
41947_swigt__p_unsigned_char,
41948_swigt__p_wxCloseEvent,
41949_swigt__p_wxEraseEvent,
41950_swigt__p_wxMouseEvent,
41951_swigt__p_wxPyApp,
41952_swigt__p_wxCommandEvent,
41953_swigt__p_wxPyCommandEvent,
7722248d 41954_swigt__p_wxPyDropTarget,
c0de73ae 41955_swigt__p_wxQuantize,
d14a1e28
RD
41956_swigt__p_wxChildFocusEvent,
41957_swigt__p_wxFocusEvent,
41958_swigt__p_wxDropFilesEvent,
41959_swigt__p_wxControlWithItems,
41960_swigt__p_wxColour,
41961_swigt__p_wxValidator,
41962_swigt__p_wxPyValidator,
419630
41964};
41965
41966
41967/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41968
41969static swig_const_info swig_const_table[] = {
d14a1e28
RD
41970{0}};
41971
41972#ifdef __cplusplus
41973}
41974#endif
41975
41976#ifdef __cplusplus
41977extern "C"
41978#endif
41979SWIGEXPORT(void) SWIG_init(void) {
41980 static PyObject *SWIG_globals = 0;
41981 static int typeinit = 0;
41982 PyObject *m, *d;
41983 int i;
41984 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
41985 m = Py_InitModule((char *) SWIG_name, SwigMethods);
41986 d = PyModule_GetDict(m);
41987
41988 if (!typeinit) {
41989 for (i = 0; swig_types_initial[i]; i++) {
41990 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
41991 }
41992 typeinit = 1;
41993 }
41994 SWIG_InstallConstants(d,swig_const_table);
41995
41996
41997#ifndef wxPyUSE_EXPORT
41998 // Make our API structure a CObject so other modules can import it
41999 // from this module.
42000 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
42001 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
42002 Py_XDECREF(cobj);
42003#endif
42004
15afbcd0
RD
42005 PyDict_SetItemString(d,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND));
42006 PyDict_SetItemString(d,"VSCROLL", SWIG_FromInt((int)wxVSCROLL));
42007 PyDict_SetItemString(d,"HSCROLL", SWIG_FromInt((int)wxHSCROLL));
42008 PyDict_SetItemString(d,"CAPTION", SWIG_FromInt((int)wxCAPTION));
42009 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER));
42010 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER));
42011 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER));
42012 PyDict_SetItemString(d,"BORDER", SWIG_FromInt((int)wxBORDER));
42013 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER));
42014 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER));
42015 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW));
42016 PyDict_SetItemString(d,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER));
15afbcd0
RD
42017 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL));
42018 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS));
42019 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW));
42020 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME));
42021 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN));
42022 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN));
15afbcd0
RD
42023 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN));
42024 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM));
42025 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT));
42026 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE));
42027 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE));
42028 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN));
42029 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS));
a95a7133 42030 PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB));
15afbcd0
RD
42031 PyDict_SetItemString(d,"RETAINED", SWIG_FromInt((int)wxRETAINED));
42032 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE));
42033 PyDict_SetItemString(d,"COLOURED", SWIG_FromInt((int)wxCOLOURED));
42034 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH));
42035 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB));
42036 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB));
42037 PyDict_SetItemString(d,"LB_SORT", SWIG_FromInt((int)wxLB_SORT));
42038 PyDict_SetItemString(d,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE));
42039 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE));
42040 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED));
42041 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW));
42042 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL));
42043 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER));
42044 PyDict_SetItemString(d,"PASSWORD", SWIG_FromInt((int)wxPASSWORD));
42045 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE));
42046 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN));
42047 PyDict_SetItemString(d,"CB_SORT", SWIG_FromInt((int)wxCB_SORT));
42048 PyDict_SetItemString(d,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY));
42049 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL));
42050 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL));
42051 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS));
42052 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS));
42053 PyDict_SetItemString(d,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP));
42054 PyDict_SetItemString(d,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE));
42055 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL));
42056 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL));
42057 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS));
42058 PyDict_SetItemString(d,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS));
42059 PyDict_SetItemString(d,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT));
42060 PyDict_SetItemString(d,"SL_TOP", SWIG_FromInt((int)wxSL_TOP));
42061 PyDict_SetItemString(d,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT));
42062 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM));
42063 PyDict_SetItemString(d,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH));
42064 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE));
42065 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL));
42066 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL));
42067 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP));
42068 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE));
42069 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE));
42070 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER));
42071 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE));
42072 PyDict_SetItemString(d,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE));
42073 PyDict_SetItemString(d,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP));
42074 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM));
42075 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT));
42076 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT));
42077 PyDict_SetItemString(d,"OK", SWIG_FromInt((int)wxOK));
42078 PyDict_SetItemString(d,"YES_NO", SWIG_FromInt((int)wxYES_NO));
42079 PyDict_SetItemString(d,"CANCEL", SWIG_FromInt((int)wxCANCEL));
42080 PyDict_SetItemString(d,"YES", SWIG_FromInt((int)wxYES));
42081 PyDict_SetItemString(d,"NO", SWIG_FromInt((int)wxNO));
42082 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT));
42083 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT));
42084 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION));
42085 PyDict_SetItemString(d,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND));
42086 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION));
42087 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION));
42088 PyDict_SetItemString(d,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP));
42089 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK));
42090 PyDict_SetItemString(d,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK));
42091 PyDict_SetItemString(d,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING));
42092 PyDict_SetItemString(d,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR));
42093 PyDict_SetItemString(d,"FORWARD", SWIG_FromInt((int)wxFORWARD));
42094 PyDict_SetItemString(d,"BACKWARD", SWIG_FromInt((int)wxBACKWARD));
42095 PyDict_SetItemString(d,"RESET", SWIG_FromInt((int)wxRESET));
42096 PyDict_SetItemString(d,"HELP", SWIG_FromInt((int)wxHELP));
42097 PyDict_SetItemString(d,"MORE", SWIG_FromInt((int)wxMORE));
42098 PyDict_SetItemString(d,"SETUP", SWIG_FromInt((int)wxSETUP));
42099 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH));
42100 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT));
42101 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO));
42102 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING));
42103 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
42104 PyDict_SetItemString(d,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT));
42105 PyDict_SetItemString(d,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE));
42106 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH));
42107 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM));
42108 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW));
42109 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT));
42110 PyDict_SetItemString(d,"ID_ANY", SWIG_FromInt((int)wxID_ANY));
42111 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR));
42112 PyDict_SetItemString(d,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST));
42113 PyDict_SetItemString(d,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN));
42114 PyDict_SetItemString(d,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE));
42115 PyDict_SetItemString(d,"ID_NEW", SWIG_FromInt((int)wxID_NEW));
42116 PyDict_SetItemString(d,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE));
42117 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS));
42118 PyDict_SetItemString(d,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT));
42119 PyDict_SetItemString(d,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT));
42120 PyDict_SetItemString(d,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO));
42121 PyDict_SetItemString(d,"ID_REDO", SWIG_FromInt((int)wxID_REDO));
42122 PyDict_SetItemString(d,"ID_HELP", SWIG_FromInt((int)wxID_HELP));
42123 PyDict_SetItemString(d,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT));
42124 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP));
42125 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW));
42126 PyDict_SetItemString(d,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT));
42127 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS));
42128 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS));
42129 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES));
42130 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT));
42131 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL));
42132 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES));
42133 PyDict_SetItemString(d,"ID_CUT", SWIG_FromInt((int)wxID_CUT));
42134 PyDict_SetItemString(d,"ID_COPY", SWIG_FromInt((int)wxID_COPY));
42135 PyDict_SetItemString(d,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE));
42136 PyDict_SetItemString(d,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR));
42137 PyDict_SetItemString(d,"ID_FIND", SWIG_FromInt((int)wxID_FIND));
42138 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE));
42139 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL));
42140 PyDict_SetItemString(d,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE));
42141 PyDict_SetItemString(d,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE));
42142 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL));
42143 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES));
42144 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS));
42145 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS));
42146 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS));
42147 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST));
42148 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE));
42149 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME));
42150 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE));
42151 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE));
42152 PyDict_SetItemString(d,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1));
42153 PyDict_SetItemString(d,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2));
42154 PyDict_SetItemString(d,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3));
42155 PyDict_SetItemString(d,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4));
42156 PyDict_SetItemString(d,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5));
42157 PyDict_SetItemString(d,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6));
42158 PyDict_SetItemString(d,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7));
42159 PyDict_SetItemString(d,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8));
42160 PyDict_SetItemString(d,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9));
42161 PyDict_SetItemString(d,"ID_OK", SWIG_FromInt((int)wxID_OK));
42162 PyDict_SetItemString(d,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL));
42163 PyDict_SetItemString(d,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY));
42164 PyDict_SetItemString(d,"ID_YES", SWIG_FromInt((int)wxID_YES));
42165 PyDict_SetItemString(d,"ID_NO", SWIG_FromInt((int)wxID_NO));
42166 PyDict_SetItemString(d,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC));
42167 PyDict_SetItemString(d,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD));
42168 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD));
42169 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT));
42170 PyDict_SetItemString(d,"ID_MORE", SWIG_FromInt((int)wxID_MORE));
42171 PyDict_SetItemString(d,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP));
42172 PyDict_SetItemString(d,"ID_RESET", SWIG_FromInt((int)wxID_RESET));
42173 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP));
42174 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL));
42175 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL));
42176 PyDict_SetItemString(d,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT));
42177 PyDict_SetItemString(d,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY));
42178 PyDict_SetItemString(d,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE));
42179 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST));
42180 PyDict_SetItemString(d,"OPEN", SWIG_FromInt((int)wxOPEN));
42181 PyDict_SetItemString(d,"SAVE", SWIG_FromInt((int)wxSAVE));
42182 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY));
42183 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT));
42184 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST));
42185 PyDict_SetItemString(d,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE));
42186 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR));
42187 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT));
42188 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL));
42189 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT));
42190 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL));
42191 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE));
42192 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL));
42193 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT));
42194 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME));
42195 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME));
42196 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME));
42197 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON));
42198 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE));
42199 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF));
42200 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE));
42201 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
42202 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
42203 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL));
42204 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL));
42205 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
42206 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS));
42207 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT));
42208 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
42209 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE));
42210 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
42211 PyDict_SetItemString(d,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT));
42212 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC));
42213 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC));
42214 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH));
42215 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH));
42216 PyDict_SetItemString(d,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS));
42217 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC));
42218 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC));
42219 PyDict_SetItemString(d,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS));
42220 PyDict_SetItemString(d,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC));
42221 PyDict_SetItemString(d,"CENTRE", SWIG_FromInt((int)wxCENTRE));
42222 PyDict_SetItemString(d,"CENTER", SWIG_FromInt((int)wxCENTER));
42223 PyDict_SetItemString(d,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL));
42224 PyDict_SetItemString(d,"VERTICAL", SWIG_FromInt((int)wxVERTICAL));
42225 PyDict_SetItemString(d,"BOTH", SWIG_FromInt((int)wxBOTH));
42226 PyDict_SetItemString(d,"LEFT", SWIG_FromInt((int)wxLEFT));
42227 PyDict_SetItemString(d,"RIGHT", SWIG_FromInt((int)wxRIGHT));
42228 PyDict_SetItemString(d,"UP", SWIG_FromInt((int)wxUP));
42229 PyDict_SetItemString(d,"DOWN", SWIG_FromInt((int)wxDOWN));
42230 PyDict_SetItemString(d,"TOP", SWIG_FromInt((int)wxTOP));
42231 PyDict_SetItemString(d,"BOTTOM", SWIG_FromInt((int)wxBOTTOM));
42232 PyDict_SetItemString(d,"NORTH", SWIG_FromInt((int)wxNORTH));
42233 PyDict_SetItemString(d,"SOUTH", SWIG_FromInt((int)wxSOUTH));
42234 PyDict_SetItemString(d,"WEST", SWIG_FromInt((int)wxWEST));
42235 PyDict_SetItemString(d,"EAST", SWIG_FromInt((int)wxEAST));
42236 PyDict_SetItemString(d,"ALL", SWIG_FromInt((int)wxALL));
42237 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT));
42238 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
42239 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
42240 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT));
42241 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP));
42242 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT));
42243 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM));
42244 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL));
42245 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL));
42246 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER));
42247 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE));
42248 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK));
42249 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT));
42250 PyDict_SetItemString(d,"SHRINK", SWIG_FromInt((int)wxSHRINK));
42251 PyDict_SetItemString(d,"GROW", SWIG_FromInt((int)wxGROW));
42252 PyDict_SetItemString(d,"EXPAND", SWIG_FromInt((int)wxEXPAND));
42253 PyDict_SetItemString(d,"SHAPED", SWIG_FromInt((int)wxSHAPED));
f52e0cf4 42254 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE));
15afbcd0 42255 PyDict_SetItemString(d,"TILE", SWIG_FromInt((int)wxTILE));
74a57fcd 42256 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE));
15afbcd0
RD
42257 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT));
42258 PyDict_SetItemString(d,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE));
42259 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC));
42260 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE));
42261 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED));
42262 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN));
42263 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE));
42264 PyDict_SetItemString(d,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK));
42265 PyDict_SetItemString(d,"DEFAULT", SWIG_FromInt((int)wxDEFAULT));
42266 PyDict_SetItemString(d,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE));
42267 PyDict_SetItemString(d,"ROMAN", SWIG_FromInt((int)wxROMAN));
42268 PyDict_SetItemString(d,"SCRIPT", SWIG_FromInt((int)wxSCRIPT));
42269 PyDict_SetItemString(d,"SWISS", SWIG_FromInt((int)wxSWISS));
42270 PyDict_SetItemString(d,"MODERN", SWIG_FromInt((int)wxMODERN));
42271 PyDict_SetItemString(d,"TELETYPE", SWIG_FromInt((int)wxTELETYPE));
42272 PyDict_SetItemString(d,"VARIABLE", SWIG_FromInt((int)wxVARIABLE));
42273 PyDict_SetItemString(d,"FIXED", SWIG_FromInt((int)wxFIXED));
42274 PyDict_SetItemString(d,"NORMAL", SWIG_FromInt((int)wxNORMAL));
42275 PyDict_SetItemString(d,"LIGHT", SWIG_FromInt((int)wxLIGHT));
42276 PyDict_SetItemString(d,"BOLD", SWIG_FromInt((int)wxBOLD));
42277 PyDict_SetItemString(d,"ITALIC", SWIG_FromInt((int)wxITALIC));
42278 PyDict_SetItemString(d,"SLANT", SWIG_FromInt((int)wxSLANT));
42279 PyDict_SetItemString(d,"SOLID", SWIG_FromInt((int)wxSOLID));
42280 PyDict_SetItemString(d,"DOT", SWIG_FromInt((int)wxDOT));
42281 PyDict_SetItemString(d,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH));
42282 PyDict_SetItemString(d,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH));
42283 PyDict_SetItemString(d,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH));
42284 PyDict_SetItemString(d,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH));
42285 PyDict_SetItemString(d,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT));
42286 PyDict_SetItemString(d,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE));
42287 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH));
42288 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH));
42289 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH));
42290 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH));
42291 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH));
42292 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH));
42293 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL));
42294 PyDict_SetItemString(d,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER));
42295 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND));
42296 PyDict_SetItemString(d,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND));
42297 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING));
42298 PyDict_SetItemString(d,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT));
42299 PyDict_SetItemString(d,"CLEAR", SWIG_FromInt((int)wxCLEAR));
42300 PyDict_SetItemString(d,"XOR", SWIG_FromInt((int)wxXOR));
42301 PyDict_SetItemString(d,"INVERT", SWIG_FromInt((int)wxINVERT));
42302 PyDict_SetItemString(d,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE));
42303 PyDict_SetItemString(d,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE));
42304 PyDict_SetItemString(d,"COPY", SWIG_FromInt((int)wxCOPY));
42305 PyDict_SetItemString(d,"AND", SWIG_FromInt((int)wxAND));
42306 PyDict_SetItemString(d,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT));
42307 PyDict_SetItemString(d,"NO_OP", SWIG_FromInt((int)wxNO_OP));
42308 PyDict_SetItemString(d,"NOR", SWIG_FromInt((int)wxNOR));
42309 PyDict_SetItemString(d,"EQUIV", SWIG_FromInt((int)wxEQUIV));
42310 PyDict_SetItemString(d,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT));
42311 PyDict_SetItemString(d,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT));
42312 PyDict_SetItemString(d,"NAND", SWIG_FromInt((int)wxNAND));
42313 PyDict_SetItemString(d,"OR", SWIG_FromInt((int)wxOR));
42314 PyDict_SetItemString(d,"SET", SWIG_FromInt((int)wxSET));
42315 PyDict_SetItemString(d,"WXK_BACK", SWIG_FromInt((int)WXK_BACK));
42316 PyDict_SetItemString(d,"WXK_TAB", SWIG_FromInt((int)WXK_TAB));
42317 PyDict_SetItemString(d,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN));
42318 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE));
42319 PyDict_SetItemString(d,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE));
42320 PyDict_SetItemString(d,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE));
42321 PyDict_SetItemString(d,"WXK_START", SWIG_FromInt((int)WXK_START));
42322 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON));
42323 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON));
42324 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL));
42325 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON));
42326 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR));
42327 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT));
42328 PyDict_SetItemString(d,"WXK_ALT", SWIG_FromInt((int)WXK_ALT));
42329 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL));
42330 PyDict_SetItemString(d,"WXK_MENU", SWIG_FromInt((int)WXK_MENU));
42331 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE));
42332 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL));
42333 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR));
42334 PyDict_SetItemString(d,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT));
42335 PyDict_SetItemString(d,"WXK_END", SWIG_FromInt((int)WXK_END));
42336 PyDict_SetItemString(d,"WXK_HOME", SWIG_FromInt((int)WXK_HOME));
42337 PyDict_SetItemString(d,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT));
42338 PyDict_SetItemString(d,"WXK_UP", SWIG_FromInt((int)WXK_UP));
42339 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT));
42340 PyDict_SetItemString(d,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN));
42341 PyDict_SetItemString(d,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT));
42342 PyDict_SetItemString(d,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT));
42343 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE));
42344 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT));
42345 PyDict_SetItemString(d,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT));
42346 PyDict_SetItemString(d,"WXK_HELP", SWIG_FromInt((int)WXK_HELP));
42347 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0));
42348 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1));
42349 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2));
42350 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3));
42351 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4));
42352 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5));
42353 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6));
42354 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7));
42355 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8));
42356 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9));
42357 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY));
42358 PyDict_SetItemString(d,"WXK_ADD", SWIG_FromInt((int)WXK_ADD));
42359 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR));
42360 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT));
42361 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL));
42362 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE));
42363 PyDict_SetItemString(d,"WXK_F1", SWIG_FromInt((int)WXK_F1));
42364 PyDict_SetItemString(d,"WXK_F2", SWIG_FromInt((int)WXK_F2));
42365 PyDict_SetItemString(d,"WXK_F3", SWIG_FromInt((int)WXK_F3));
42366 PyDict_SetItemString(d,"WXK_F4", SWIG_FromInt((int)WXK_F4));
42367 PyDict_SetItemString(d,"WXK_F5", SWIG_FromInt((int)WXK_F5));
42368 PyDict_SetItemString(d,"WXK_F6", SWIG_FromInt((int)WXK_F6));
42369 PyDict_SetItemString(d,"WXK_F7", SWIG_FromInt((int)WXK_F7));
42370 PyDict_SetItemString(d,"WXK_F8", SWIG_FromInt((int)WXK_F8));
42371 PyDict_SetItemString(d,"WXK_F9", SWIG_FromInt((int)WXK_F9));
42372 PyDict_SetItemString(d,"WXK_F10", SWIG_FromInt((int)WXK_F10));
42373 PyDict_SetItemString(d,"WXK_F11", SWIG_FromInt((int)WXK_F11));
42374 PyDict_SetItemString(d,"WXK_F12", SWIG_FromInt((int)WXK_F12));
42375 PyDict_SetItemString(d,"WXK_F13", SWIG_FromInt((int)WXK_F13));
42376 PyDict_SetItemString(d,"WXK_F14", SWIG_FromInt((int)WXK_F14));
42377 PyDict_SetItemString(d,"WXK_F15", SWIG_FromInt((int)WXK_F15));
42378 PyDict_SetItemString(d,"WXK_F16", SWIG_FromInt((int)WXK_F16));
42379 PyDict_SetItemString(d,"WXK_F17", SWIG_FromInt((int)WXK_F17));
42380 PyDict_SetItemString(d,"WXK_F18", SWIG_FromInt((int)WXK_F18));
42381 PyDict_SetItemString(d,"WXK_F19", SWIG_FromInt((int)WXK_F19));
42382 PyDict_SetItemString(d,"WXK_F20", SWIG_FromInt((int)WXK_F20));
42383 PyDict_SetItemString(d,"WXK_F21", SWIG_FromInt((int)WXK_F21));
42384 PyDict_SetItemString(d,"WXK_F22", SWIG_FromInt((int)WXK_F22));
42385 PyDict_SetItemString(d,"WXK_F23", SWIG_FromInt((int)WXK_F23));
42386 PyDict_SetItemString(d,"WXK_F24", SWIG_FromInt((int)WXK_F24));
42387 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK));
42388 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL));
42389 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP));
42390 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN));
42391 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE));
42392 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB));
42393 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER));
42394 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1));
42395 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2));
42396 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3));
42397 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4));
42398 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME));
42399 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT));
42400 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP));
42401 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT));
42402 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN));
42403 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR));
42404 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP));
42405 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT));
42406 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN));
42407 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END));
42408 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN));
42409 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT));
42410 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE));
42411 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL));
42412 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY));
42413 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD));
42414 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR));
42415 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT));
42416 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL));
42417 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE));
42418 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT));
42419 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT));
42420 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU));
42421 PyDict_SetItemString(d,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE));
42422 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER));
42423 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL));
42424 PyDict_SetItemString(d,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4));
42425 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET));
42426 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET));
42427 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET));
42428 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL));
42429 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID));
42430 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER));
42431 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT));
42432 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE));
42433 PyDict_SetItemString(d,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3));
42434 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL));
42435 PyDict_SetItemString(d,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5));
42436 PyDict_SetItemString(d,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4));
42437 PyDict_SetItemString(d,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5));
42438 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO));
42439 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO));
42440 PyDict_SetItemString(d,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14));
42441 PyDict_SetItemString(d,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17));
42442 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE));
42443 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9));
42444 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10));
42445 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11));
42446 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12));
42447 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14));
42448 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL));
42449 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5));
42450 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3));
42451 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4));
42452 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6));
42453 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65));
42454 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4));
42455 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5));
42456 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6));
42457 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY));
42458 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH));
42459 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL));
42460 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US));
42461 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
42462 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
42463 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4));
42464 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
42465 PyDict_SetItemString(d,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11));
42466 PyDict_SetItemString(d,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11));
42467 PyDict_SetItemString(d,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11));
42468 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE));
42469 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA));
42470 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA));
42471 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA));
42472 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA));
42473 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
42474 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE));
42475 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
42476 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS));
42477 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS));
42478 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS));
42479 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS));
42480 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE));
42481 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE));
42482 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA));
42483 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA));
42484 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA));
42485 PyDict_SetItemString(d,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2));
42486 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE));
42487 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
42488 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX));
42489 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL));
42490 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL));
42491 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR));
42492 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL));
42493 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK));
42494 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO));
42495 PyDict_SetItemString(d,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX));
42496 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE));
42497 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST));
42498 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
42499 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
42500 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
42501 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
42502 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB));
42503 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1));
42504 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2));
42505 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST));
42506 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE));
42507 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE));
42508 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
42509 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
42510 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER));
42511 PyDict_SetItemString(d,"HT_MAX", SWIG_FromInt((int)wxHT_MAX));
42512 PyDict_SetItemString(d,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE));
42513 PyDict_SetItemString(d,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT));
42514 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL));
42515 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT));
42516 PyDict_SetItemString(d,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN));
42517 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE));
42518 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE));
42519 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE));
d14a1e28 42520 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
196addbf 42521 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
15afbcd0
RD
42522 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID));
42523 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP));
42524 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO));
42525 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR));
42526 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM));
42527 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
42528 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM));
42529 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
42530 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF));
42531 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF));
42532 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG));
42533 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG));
42534 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM));
42535 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX));
42536 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT));
42537 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON));
42538 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI));
42539 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF));
42540 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
42541 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY));
42542 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE));
42543 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW));
42544 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW));
42545 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE));
42546 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR));
42547 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS));
42548 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND));
42549 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM));
42550 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON));
42551 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER));
42552 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
42553 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY));
42554 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH));
42555 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL));
42556 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT));
42557 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT));
42558 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW));
42559 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON));
42560 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW));
42561 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS));
42562 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE));
42563 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE));
42564 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING));
42565 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN));
42566 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT));
42567 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH));
42568 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK));
42569 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT));
42570 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW));
42571 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT));
42572 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX));
d14a1e28
RD
42573 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
42574 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
15afbcd0
RD
42575 PyDict_SetItemString(d,"FromStart", SWIG_FromInt((int)wxFromStart));
42576 PyDict_SetItemString(d,"FromCurrent", SWIG_FromInt((int)wxFromCurrent));
42577 PyDict_SetItemString(d,"FromEnd", SWIG_FromInt((int)wxFromEnd));
d14a1e28
RD
42578
42579 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42580
42581
42582 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42583
42584 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
42585 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
42586 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
42587 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
42588 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
42589 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
15afbcd0
RD
42590 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
42591 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM));
42592 PyDict_SetItemString(d,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP));
42593 PyDict_SetItemString(d,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP));
42594 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY));
42595 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY));
42596 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED));
42597 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE));
42598 PyDict_SetItemString(d,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP));
42599 PyDict_SetItemString(d,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP));
42600 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW));
c0de73ae
RD
42601 PyDict_SetItemString(d,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_FromInt((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS));
42602 PyDict_SetItemString(d,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_FromInt((int)wxQUANTIZE_FILL_DESTINATION_IMAGE));
15afbcd0
RD
42603 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE));
42604 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX));
d14a1e28
RD
42605 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
42606 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
42607 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
42608 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
42609 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
42610 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
42611 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
42612 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
42613 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
42614 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
42615 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
42616 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
42617 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
42618 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
42619 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
42620 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
42621 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
42622 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
42623 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
42624 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
42625 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
42626 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
42627 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
42628 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
42629 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
42630 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
42631 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
42632 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
42633 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
42634 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
42635 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
42636 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
42637 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
42638 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
42639 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
42640 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
42641 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
42642 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
42643 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
42644 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
42645 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
42646 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
42647 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
42648 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
42649 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
42650 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
42651 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
42652 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
42653 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
42654 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
42655 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
42656 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
42657 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
42658 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
42659 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
42660 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
42661 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
42662 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
42663 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
42664 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
42665 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
42666 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
42667 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
42668 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
42669 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
42670 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
42671 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
42672 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
42673 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
42674 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
42675 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
42676 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
42677 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
42678 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
42679 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
42680 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
42681 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
42682 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
42683 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
42684 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
42685 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
42686 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
42687 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
42688 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
42689 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
42690 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
42691 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
42692 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
42693 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
42694 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
42695 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
42696 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
42697 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
42698 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
42699 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
42700 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
42701 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
42702 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
42703 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
42704 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
42705 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
42706 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
42707 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
42708 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
42709 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
42710 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
42711 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
42712 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
42713 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
42714 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
42715 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
42716 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
42717 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
42718 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
15afbcd0
RD
42719 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY));
42720 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE));
42721 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT));
42722 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE));
42723 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT));
42724 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
42725 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
b0f7404b 42726 PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_FromInt((int)wxNavigationKeyEvent::IsBackward));
908b74cd
RD
42727 PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_FromInt((int)wxNavigationKeyEvent::IsForward));
42728 PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_FromInt((int)wxNavigationKeyEvent::WinChange));
15afbcd0
RD
42729 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL));
42730 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
42731 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
42732 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
42733 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG));
42734 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG));
42735 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS));
42736 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT));
1e0c8722 42737 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
e811c8ce 42738 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
4276dc52
RD
42739 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL));
42740 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL));
42741 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI));
42742 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE));
74a57fcd 42743 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX));
d14a1e28 42744 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
b2dc1044 42745 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
15afbcd0
RD
42746 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE));
42747 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
42748 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL));
d14a1e28 42749 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
15afbcd0
RD
42750 PyDict_SetItemString(d,"Left", SWIG_FromInt((int)wxLeft));
42751 PyDict_SetItemString(d,"Top", SWIG_FromInt((int)wxTop));
42752 PyDict_SetItemString(d,"Right", SWIG_FromInt((int)wxRight));
42753 PyDict_SetItemString(d,"Bottom", SWIG_FromInt((int)wxBottom));
42754 PyDict_SetItemString(d,"Width", SWIG_FromInt((int)wxWidth));
42755 PyDict_SetItemString(d,"Height", SWIG_FromInt((int)wxHeight));
42756 PyDict_SetItemString(d,"Centre", SWIG_FromInt((int)wxCentre));
42757 PyDict_SetItemString(d,"Center", SWIG_FromInt((int)wxCenter));
42758 PyDict_SetItemString(d,"CentreX", SWIG_FromInt((int)wxCentreX));
42759 PyDict_SetItemString(d,"CentreY", SWIG_FromInt((int)wxCentreY));
42760 PyDict_SetItemString(d,"Unconstrained", SWIG_FromInt((int)wxUnconstrained));
42761 PyDict_SetItemString(d,"AsIs", SWIG_FromInt((int)wxAsIs));
42762 PyDict_SetItemString(d,"PercentOf", SWIG_FromInt((int)wxPercentOf));
42763 PyDict_SetItemString(d,"Above", SWIG_FromInt((int)wxAbove));
42764 PyDict_SetItemString(d,"Below", SWIG_FromInt((int)wxBelow));
42765 PyDict_SetItemString(d,"LeftOf", SWIG_FromInt((int)wxLeftOf));
42766 PyDict_SetItemString(d,"RightOf", SWIG_FromInt((int)wxRightOf));
42767 PyDict_SetItemString(d,"SameAs", SWIG_FromInt((int)wxSameAs));
42768 PyDict_SetItemString(d,"Absolute", SWIG_FromInt((int)wxAbsolute));
d14a1e28
RD
42769
42770 // Initialize threading, some globals and such
42771 __wxPyPreStart(d);
42772
42773
42774 // Although these are defined in __version__ they need to be here too so
42775 // that an assert can be done to ensure that the wxPython and the wxWindows
42776 // versions match.
42777 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
42778 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
42779 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
42780
42781}
42782