]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_core_wrap.cpp
reSWIGged
[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]
253#define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254#define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255#define SWIGTYPE_p_wxActivateEvent swig_types[46]
256#define SWIGTYPE_p_wxMoveEvent swig_types[47]
257#define SWIGTYPE_p_wxSizeEvent swig_types[48]
258#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259#define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260#define SWIGTYPE_p_wxIdleEvent swig_types[51]
261#define SWIGTYPE_p_wxMenuItem swig_types[52]
262#define SWIGTYPE_p_wxStaticBox swig_types[53]
263#define SWIGTYPE_p_long swig_types[54]
264#define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265#define SWIGTYPE_p_wxXPMHandler swig_types[56]
266#define SWIGTYPE_p_wxPNMHandler swig_types[57]
267#define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268#define SWIGTYPE_p_wxPCXHandler swig_types[59]
269#define SWIGTYPE_p_wxGIFHandler swig_types[60]
270#define SWIGTYPE_p_wxPNGHandler swig_types[61]
271#define SWIGTYPE_p_wxANIHandler swig_types[62]
272#define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273#define SWIGTYPE_p_wxEvtHandler swig_types[64]
274#define SWIGTYPE_p_wxCURHandler swig_types[65]
275#define SWIGTYPE_p_wxICOHandler swig_types[66]
276#define SWIGTYPE_p_wxBMPHandler swig_types[67]
277#define SWIGTYPE_p_wxImageHandler swig_types[68]
278#define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280#define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281#define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282#define SWIGTYPE_p_wxRect swig_types[73]
283#define SWIGTYPE_p_wxGBSpan swig_types[74]
284#define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285#define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286#define SWIGTYPE_p_char swig_types[77]
287#define SWIGTYPE_p_wxGBPosition swig_types[78]
288#define SWIGTYPE_p_wxImage swig_types[79]
289#define SWIGTYPE_p_wxFrame swig_types[80]
290#define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291#define SWIGTYPE_p_wxImageHistogram swig_types[82]
292#define SWIGTYPE_p_byte swig_types[83]
293#define SWIGTYPE_p_wxPoint swig_types[84]
294#define SWIGTYPE_p_wxCursor swig_types[85]
295#define SWIGTYPE_p_wxObject swig_types[86]
296#define SWIGTYPE_p_wxPyInputStream swig_types[87]
297#define SWIGTYPE_p_wxOutputStream swig_types[88]
298#define SWIGTYPE_p_wxInputStream swig_types[89]
299#define SWIGTYPE_p_wxDateTime swig_types[90]
300#define SWIGTYPE_p_wxKeyEvent swig_types[91]
301#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303#define SWIGTYPE_p_wxWindow swig_types[94]
304#define SWIGTYPE_p_wxMenuBar swig_types[95]
305#define SWIGTYPE_p_wxFileSystem swig_types[96]
306#define SWIGTYPE_p_wxBitmap swig_types[97]
307#define SWIGTYPE_p_wxMenuEvent swig_types[98]
308#define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309#define SWIGTYPE_p_unsigned_char swig_types[100]
310#define SWIGTYPE_p_wxCloseEvent swig_types[101]
311#define SWIGTYPE_p_wxEraseEvent swig_types[102]
312#define SWIGTYPE_p_wxMouseEvent swig_types[103]
313#define SWIGTYPE_p_wxPyApp swig_types[104]
314#define SWIGTYPE_p_wxCommandEvent swig_types[105]
315#define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316#define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317#define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318#define SWIGTYPE_p_wxFocusEvent swig_types[109]
319#define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320#define SWIGTYPE_p_wxControlWithItems swig_types[111]
321#define SWIGTYPE_p_wxColour swig_types[112]
322#define SWIGTYPE_p_wxValidator swig_types[113]
323#define SWIGTYPE_p_wxPyValidator swig_types[114]
324static swig_type_info *swig_types[116];
d14a1e28
RD
325
326/* -------- TYPES TABLE (END) -------- */
327
328
329/*-----------------------------------------------
54f9ee45 330 @(target):= _core_.so
d14a1e28 331 ------------------------------------------------*/
54f9ee45 332#define SWIG_init init_core_
d14a1e28 333
54f9ee45 334#define SWIG_name "_core_"
d14a1e28 335
15afbcd0 336/* Auxiliar swig macros */
994141e6 337
994141e6 338#ifdef __cplusplus
15afbcd0 339#define SWIGSTATICINLINE(a) static inline a
994141e6 340#define SWIGSTATIC(a) static a
15afbcd0
RD
341#define swig_new_array(type, size) (new type[(size)])
342#define swig_delete_array(cptr) delete[] cptr
343#define swig_const_cast(type,a) const_cast<type>(a)
344#define swig_static_cast(type,a) static_cast<type>(a)
345#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
994141e6 346
994141e6 347#ifdef HAVE_NUMERIC_CAST
15afbcd0 348#define swig_numeric_cast(type,a) numeric_cast<type>(a)
994141e6 349#else
15afbcd0 350#define swig_numeric_cast(type,a) static_cast<type>(a)
994141e6
RD
351#endif
352
15afbcd0
RD
353#else /* C case */
354
355#define SWIGSTATICINLINE(a) static a
356#define SWIGSTATIC(a) static a
357#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358#define swig_delete_array(cptr) free((char*)cptr)
359#define swig_const_cast(type,a) (type)(a)
360#define swig_static_cast(type,a) (type)(a)
361#define swig_reinterpret_cast(type,a) (type)(a)
362#define swig_numeric_cast(type,a) (type)(a)
363
364#endif /* __cplusplus */
994141e6
RD
365
366
15afbcd0
RD
367#define SWIG_FromSignedChar PyInt_FromLong
368#define SWIG_FromUnsignedChar PyInt_FromLong
369#define SWIG_FromShort PyInt_FromLong
370#define SWIG_FromUnsignedShort PyInt_FromLong
371#define SWIG_FromInt PyInt_FromLong
372#define SWIG_FromLong PyInt_FromLong
373#define SWIG_FromFloat PyFloat_FromDouble
374#define SWIG_FromDouble PyFloat_FromDouble
375#define SWIG_FromFloat PyFloat_FromDouble
376#define SWIG_FromDouble PyFloat_FromDouble
994141e6
RD
377
378
d14a1e28
RD
379#include "wx/wxPython/wxPython_int.h"
380#include "wx/wxPython/pyclasses.h"
381
382
383#ifndef wxPyUSE_EXPORT
384// Helper functions for dealing with SWIG objects and such. These are
385// located here so they know about the SWIG types and functions declared
386// in the wrapper code.
387
388#include <wx/hashmap.h>
389WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
390
391
392// Maintains a hashmap of className to swig_type_info pointers. Given the
393// name of a class either looks up the type info in the cache, or scans the
394// SWIG tables for it.
395extern PyObject* wxPyPtrTypeMap;
396static
397swig_type_info* wxPyFindSwigType(const wxChar* className) {
398
399 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
400
401 if (typeInfoCache == NULL)
402 typeInfoCache = new wxPyTypeInfoHashMap;
403
404 wxString name(className);
405 swig_type_info* swigType = (*typeInfoCache)[name];
406
407 if (! swigType) {
408 // it wasn't in the cache, so look it up from SWIG
409 name.Append(wxT(" *"));
410 swigType = SWIG_Python_TypeQuery(name.mb_str());
411
412 // if it still wasn't found, try looking for a mapped name
413 if (!swigType) {
414 PyObject* item;
415 name = className;
416
417 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
418 (char*)(const char*)name.mbc_str())) != NULL) {
419 name = wxString(PyString_AsString(item), *wxConvCurrent);
420 name.Append(wxT(" *"));
421 swigType = SWIG_Python_TypeQuery(name.mb_str());
422 }
423 }
424 if (swigType) {
425 // and add it to the map if found
426 (*typeInfoCache)[className] = swigType;
427 }
428 }
429 return swigType;
430}
431
432
433// Check if a class name is a type known to SWIG
434bool wxPyCheckSwigType(const wxChar* className) {
435
436 swig_type_info* swigType = wxPyFindSwigType(className);
437 return swigType != NULL;
438}
439
440
441// Given a pointer to a C++ object and a class name, construct a Python proxy
442// object for it.
443PyObject* wxPyConstructObject(void* ptr,
444 const wxChar* className,
445 int setThisOwn) {
446
447 swig_type_info* swigType = wxPyFindSwigType(className);
448 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
449
450 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
451}
452
453
454// Extract a pointer to the wrapped C++ object from a Python proxy object.
455// Ensures that the proxy object is of the specified (or derived) type. If
456// not able to perform the conversion then a Python exception is set and the
e811c8ce 457// error should be handled properly in the caller. Returns True on success.
d14a1e28
RD
458bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
459 const wxChar* className) {
460
461 swig_type_info* swigType = wxPyFindSwigType(className);
e811c8ce 462 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
d14a1e28
RD
463
464 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
465}
466
467
468// Make a SWIGified pointer object suitable for a .this attribute
469PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
470
471 PyObject* robj = NULL;
472
473 swig_type_info* swigType = wxPyFindSwigType(className);
474 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
475
476#ifdef SWIG_COBJECT_TYPES
477 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
478#else
479 {
480 char result[1024];
481 char *r = result;
482 *(r++) = '_';
483 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
484 strcpy(r, swigType->name);
485 robj = PyString_FromString(result);
486 }
487#endif
488
489 return robj;
490}
491
492
493
494
495// Export a C API in a struct. Other modules will be able to load this from
121b9a67
RD
496// the wx._core_ module and will then have safe access to these functions,
497// even if they are located in another shared library.
d14a1e28
RD
498static wxPyCoreAPI API = {
499
500 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
501 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
502 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
503 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
504 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
505 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
506 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
507 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
508 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
509 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
510 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
511 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
512 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
513 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
514 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
515 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
516 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
517
518 wxPyCheckSwigType,
519 wxPyConstructObject,
520 wxPyConvertSwigPtr,
521 wxPyMakeSwigPtr,
522
523 wxPyBeginAllowThreads,
524 wxPyEndAllowThreads,
525 wxPyBeginBlockThreads,
526 wxPyEndBlockThreads,
527
528 wxPy_ConvertList,
529
530 wxString_in_helper,
531 Py2wxString,
532 wx2PyString,
533
534 byte_LIST_helper,
535 int_LIST_helper,
536 long_LIST_helper,
537 string_LIST_helper,
538 wxPoint_LIST_helper,
539 wxBitmap_LIST_helper,
540 wxString_LIST_helper,
541 wxAcceleratorEntry_LIST_helper,
542
543 wxSize_helper,
544 wxPoint_helper,
545 wxRealPoint_helper,
546 wxRect_helper,
547 wxColour_helper,
548 wxPoint2D_helper,
549
550 wxPySimple_typecheck,
551 wxColour_typecheck,
552
553 wxPyCBH_setCallbackInfo,
554 wxPyCBH_findCallback,
555 wxPyCBH_callCallback,
556 wxPyCBH_callCallbackObj,
557 wxPyCBH_delete,
558
559 wxPyMake_wxObject,
560 wxPyMake_wxSizer,
561 wxPyPtrTypeMap_Add,
562 wxPy2int_seq_helper,
563 wxPy4int_seq_helper,
564 wxArrayString2PyList_helper,
565 wxArrayInt2PyList_helper,
566
567 wxPyClientData_dtor,
568 wxPyUserData_dtor,
569 wxPyOORClientData_dtor,
570
571 wxPyCBInputStream_create,
572
573 wxPyInstance_Check,
574 wxPySwigInstance_Check
575
576};
577
578#endif
579
580
d14a1e28
RD
581#if ! wxUSE_HOTKEY
582enum wxHotkeyModifier
583{
584 wxMOD_NONE = 0,
585 wxMOD_ALT = 1,
586 wxMOD_CONTROL = 2,
587 wxMOD_SHIFT = 4,
588 wxMOD_WIN = 8
589};
590#define wxEVT_HOTKEY 9999
591#endif
592
196addbf 593 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
594wxString wxObject_GetClassName(wxObject *self){
595 return self->GetClassInfo()->GetClassName();
596 }
597void wxObject_Destroy(wxObject *self){
598 delete self;
599 }
600
601#ifndef __WXMAC__
602#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
603#endif
604
994141e6 605
15afbcd0
RD
606#include <limits.h>
607
608
609SWIGSTATICINLINE(long)
610SWIG_CheckLongInRange(long value, const char* type,
611 long min_value, long max_value)
612{
613 if (!PyErr_Occurred()) {
614 if (value < min_value) {
615 PyObject *err =
616 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
617 value, type, min_value);
618
619 PyErr_SetObject(PyExc_OverflowError, err);
620 Py_DECREF(err);
621 } else if (value > max_value) {
622 PyObject *err =
623 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
624 value, type, max_value);
625 PyErr_SetObject(PyExc_OverflowError, err);
626 Py_DECREF(err);
627 }
628 }
629 return value;
630}
631
632
633SWIGSTATICINLINE(long)
634SWIG_AsLong(PyObject * obj)
635{
69223c70
RD
636 if (PyNumber_Check(obj))
637 return PyInt_AsLong(obj);
638 else {
639 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
640 obj->ob_type->tp_name);
641 PyErr_SetObject(PyExc_TypeError, errmsg);
642 Py_DECREF(errmsg);
643 return 0;
644 }
15afbcd0
RD
645}
646
647
648#if INT_MAX != LONG_MAX
649SWIGSTATICINLINE(int)
650SWIG_AsInt(PyObject *obj)
994141e6 651{
15afbcd0
RD
652 return swig_numeric_cast(int,
653 SWIG_CheckLongInRange(SWIG_AsLong(obj),
654 "int", INT_MIN, INT_MAX));
655}
656#else
657#define SWIG_AsInt SWIG_AsLong
658#endif
659
660
661SWIGSTATICINLINE(int)
662SWIG_CheckInt(PyObject* obj)
663{
664 SWIG_AsInt(obj);
665 if (PyErr_Occurred()) {
666 PyErr_Clear();
667 return 0;
668 } else {
669 return 1;
670 }
994141e6
RD
671}
672
e811c8ce 673PyObject *wxSize_Get(wxSize *self){
4f89f6a3 674 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
675 PyObject* tup = PyTuple_New(2);
676 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
677 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
4f89f6a3 678 wxPyEndBlockThreads(blocked);
d14a1e28
RD
679 return tup;
680 }
994141e6 681
15afbcd0
RD
682SWIGSTATICINLINE(double)
683SWIG_AsDouble(PyObject *obj)
994141e6 684{
69223c70
RD
685 if (PyNumber_Check(obj))
686 return PyFloat_AsDouble(obj);
687 else {
688 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
689 obj->ob_type->tp_name);
690 PyErr_SetObject(PyExc_TypeError, errmsg);
691 Py_DECREF(errmsg);
692 return 0;
693 }
15afbcd0
RD
694}
695
696
697SWIGSTATICINLINE(int)
698SWIG_CheckDouble(PyObject* obj)
699{
700 SWIG_AsDouble(obj);
701 if (PyErr_Occurred()) {
702 PyErr_Clear();
703 return 0;
704 } else {
705 return 1;
706 }
994141e6
RD
707}
708
d14a1e28
RD
709void wxRealPoint_Set(wxRealPoint *self,double x,double y){
710 self->x = x;
711 self->y = y;
712 }
e811c8ce 713PyObject *wxRealPoint_Get(wxRealPoint *self){
4f89f6a3 714 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
715 PyObject* tup = PyTuple_New(2);
716 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
717 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
4f89f6a3 718 wxPyEndBlockThreads(blocked);
d14a1e28
RD
719 return tup;
720 }
994141e6 721
15afbcd0
RD
722SWIGSTATICINLINE(int)
723SWIG_CheckLong(PyObject* obj)
994141e6 724{
15afbcd0
RD
725 SWIG_AsLong(obj);
726 if (PyErr_Occurred()) {
727 PyErr_Clear();
728 return 0;
729 } else {
730 return 1;
731 }
994141e6
RD
732}
733
d14a1e28
RD
734void wxPoint_Set(wxPoint *self,long x,long y){
735 self->x = x;
736 self->y = y;
737 }
e811c8ce 738PyObject *wxPoint_Get(wxPoint *self){
4f89f6a3 739 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
740 PyObject* tup = PyTuple_New(2);
741 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
742 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
4f89f6a3 743 wxPyEndBlockThreads(blocked);
d14a1e28
RD
744 return tup;
745 }
746void wxRect_Set(wxRect *self,int x,int y,int width,int height){
747 self->x = x;
748 self->y = y;
749 self->width = width;
750 self->height = height;
751 }
e811c8ce 752PyObject *wxRect_Get(wxRect *self){
4f89f6a3 753 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
754 PyObject* tup = PyTuple_New(4);
755 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
756 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
757 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
758 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
4f89f6a3 759 wxPyEndBlockThreads(blocked);
d14a1e28
RD
760 return tup;
761 }
762
763 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
764 wxRegion reg1(*r1);
765 wxRegion reg2(*r2);
766 wxRect dest(0,0,0,0);
767 PyObject* obj;
768
769 reg1.Intersect(reg2);
770 dest = reg1.GetBox();
771
772 if (dest != wxRect(0,0,0,0)) {
4f89f6a3 773 bool blocked = wxPyBeginBlockThreads();
d14a1e28 774 wxRect* newRect = new wxRect(dest);
e811c8ce 775 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
4f89f6a3 776 wxPyEndBlockThreads(blocked);
d14a1e28
RD
777 return obj;
778 }
779 Py_INCREF(Py_None);
780 return Py_None;
781 }
782
783
784static PyObject* t_output_helper(PyObject* target, PyObject* o) {
785 PyObject* o2;
786 PyObject* o3;
787
788 if (!target) {
789 target = o;
790 } else if (target == Py_None) {
791 Py_DECREF(Py_None);
792 target = o;
793 } else {
794 if (!PyTuple_Check(target)) {
795 o2 = target;
796 target = PyTuple_New(1);
797 PyTuple_SetItem(target, 0, o2);
798 }
799 o3 = PyTuple_New(1);
800 PyTuple_SetItem(o3, 0, o);
801
802 o2 = target;
803 target = PySequence_Concat(o2, o3);
804 Py_DECREF(o2);
805 Py_DECREF(o3);
806 }
807 return target;
808}
809
810void wxPoint2D_Set(wxPoint2D *self,double x,double y){
811 self->m_x = x;
812 self->m_y = y;
813 }
e811c8ce 814PyObject *wxPoint2D_Get(wxPoint2D *self){
4f89f6a3 815 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
816 PyObject* tup = PyTuple_New(2);
817 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
818 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
4f89f6a3 819 wxPyEndBlockThreads(blocked);
d14a1e28
RD
820 return tup;
821 }
822
823#include "wx/wxPython/pyistream.h"
824
825wxPyInputStream *new_wxPyInputStream(PyObject *p){
826 wxInputStream* wxis = wxPyCBInputStream::create(p);
827 if (wxis)
828 return new wxPyInputStream(wxis);
829 else
830 return NULL;
831 }
994141e6 832
15afbcd0
RD
833SWIGSTATICINLINE(PyObject*)
834SWIG_FromChar(char c)
994141e6
RD
835{
836 return PyString_FromStringAndSize(&c,1);
837}
838
839
15afbcd0
RD
840SWIGSTATICINLINE(PyObject* )
841SWIG_FromUnsignedLong(unsigned long value)
842{
843 return (value > LONG_MAX) ?
844 PyLong_FromUnsignedLong(value)
845 : PyInt_FromLong(swig_numeric_cast(long,value));
846}
847
848
849/* returns '1' if the input is a raw char*, '0' if is a PyString */
850SWIGSTATIC(int)
851SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
994141e6 852{
15afbcd0
RD
853 static swig_type_info* pchar_info = 0;
854 int psize = 0;
855 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
856
857 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
858 PyErr_Clear();
859 PyString_AsStringAndSize(obj, cptr, &psize);
860 if (PyErr_Occurred()) {
861 PyErr_Clear();
862 PyErr_SetString(PyExc_TypeError,"a string is expected");
863 }
864 if (size) *size = psize;
865 return 0;
866 } else {
867 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
868 return 1;
869 }
994141e6
RD
870}
871
872
15afbcd0
RD
873SWIGSTATIC(void)
874SWIG_AsCharArray(PyObject *obj, char* carray, size_t size)
875{
876 char* cptr; size_t csize;
877 SWIG_AsCharPtrAndSize(obj, &cptr, &csize);
878 if (PyErr_Occurred()) {
879 PyErr_Clear();
880 PyObject *err =
881 PyString_FromFormat("a char array of size %d is expected", size);
882 PyErr_SetObject(PyExc_TypeError, err);
883 Py_DECREF(err);
884 } else {
885 /* in C (but not in C++) you can do:
886
887 char x[5] = "hello";
888
889 ie, assing the array using an extra '0' char.
890 */
891#ifndef __cplusplus
892 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
893#endif
894 if (csize > size) {
895 PyObject *err =
896 PyString_FromFormat("a char array of maximum size %d is expected",
897 size);
898 PyErr_SetObject(PyExc_TypeError, err);
899 Py_DECREF(err);
900 } else {
901 if (csize) memcpy(carray, cptr, csize);
902 if (csize < size) memset(carray + csize, 0, size - csize);
903 }
904 }
905}
906
907
908SWIGSTATICINLINE(char)
909SWIG_AsChar(PyObject *obj)
994141e6
RD
910{
911 char c = 0;
912 if (PyInt_Check(obj) || PyLong_Check(obj)) {
15afbcd0
RD
913 c = swig_numeric_cast(char,
914 SWIG_CheckLongInRange(SWIG_AsLong(obj),
915 "char", CHAR_MIN, CHAR_MAX));
994141e6 916 } else {
15afbcd0
RD
917 SWIG_AsCharArray(obj, &c, 1);
918 if (PyErr_Occurred()) {
919 PyErr_Clear();
994141e6
RD
920 PyErr_SetString(PyExc_TypeError, "a char is expected");
921 }
922 }
923 return c;
924}
925
15afbcd0
RD
926
927SWIGSTATICINLINE(int)
928SWIG_CheckChar(PyObject* obj)
929{
930 SWIG_AsChar(obj);
931 if (PyErr_Occurred()) {
932 PyErr_Clear();
933 return 0;
934 } else {
935 return 1;
936 }
937}
938
d14a1e28
RD
939void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
940 // We use only strings for the streams, not unicode
941 PyObject* str = PyObject_Str(obj);
942 if (! str) {
943 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
944 return;
945 }
946 self->Write(PyString_AS_STRING(str),
947 PyString_GET_SIZE(str));
948 Py_DECREF(str);
949 }
950
951#include "wx/wxPython/pyistream.h"
952
953
954class wxPyFileSystemHandler : public wxFileSystemHandler
955{
956public:
957 wxPyFileSystemHandler() : wxFileSystemHandler() {}
958
959 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
960 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
961 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
962 DEC_PYCALLBACK_STRING__pure(FindNext);
963
964 wxString GetProtocol(const wxString& location) {
965 return wxFileSystemHandler::GetProtocol(location);
966 }
967
968 wxString GetLeftLocation(const wxString& location) {
969 return wxFileSystemHandler::GetLeftLocation(location);
970 }
971
972 wxString GetAnchor(const wxString& location) {
973 return wxFileSystemHandler::GetAnchor(location);
974 }
975
976 wxString GetRightLocation(const wxString& location) {
977 return wxFileSystemHandler::GetRightLocation(location);
978 }
979
980 wxString GetMimeTypeFromExt(const wxString& location) {
981 return wxFileSystemHandler::GetMimeTypeFromExt(location);
982 }
983
984 PYPRIVATE;
985};
986
987
988IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
989IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
990IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
991IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
992
993
15afbcd0
RD
994SWIGSTATICINLINE(bool)
995SWIG_AsBool(PyObject *obj)
994141e6
RD
996{
997 return PyObject_IsTrue(obj) ? true : false;
998}
999
1000
15afbcd0
RD
1001SWIGSTATICINLINE(int)
1002SWIG_CheckBool(PyObject* obj)
1003{
1004 SWIG_AsBool(obj);
1005 if (PyErr_Occurred()) {
1006 PyErr_Clear();
1007 return 0;
1008 } else {
1009 return 1;
1010 }
1011}
1012
1013
d14a1e28
RD
1014 wxString wxFileSystem_URLToFileName(const wxString& url) {
1015 wxFileName fname = wxFileSystem::URLToFileName(url);
1016 return fname.GetFullPath();
1017 }
1018
1019
1020 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
1021 wxImage& image,
1022 long type) {
1023 wxMemoryFSHandler::AddFile(filename, image, type);
1024 }
1025
1026 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
1027 const wxBitmap& bitmap,
1028 long type) {
1029 wxMemoryFSHandler::AddFile(filename, bitmap, type);
1030 }
1031
1032 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
1033 PyObject* data) {
1034 wxMemoryFSHandler::AddFile(filename,
1035 // TODO: Verify data type
1036 (void*)PyString_AsString(data),
1037 (size_t)PyString_Size(data));
1038 }
1039
1040
1041#include "wx/wxPython/pyistream.h"
1042
994141e6 1043
15afbcd0
RD
1044SWIGSTATICINLINE(unsigned long)
1045SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
1046 unsigned long max_value)
1047{
1048 if (!PyErr_Occurred()) {
1049 if (value > max_value) {
1050 PyObject *err =
1051 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1052 value, type, max_value);
1053 PyErr_SetObject(PyExc_OverflowError, err);
1054 Py_DECREF(err);
1055 }
1056 }
1057 return value;
1058}
1059
1060
1061SWIGSTATICINLINE(unsigned long)
1062SWIG_AsUnsignedLong(PyObject * obj)
1063{
1064 if (PyLong_Check(obj)) {
1065 return PyLong_AsUnsignedLong(obj);
1066 } else {
69223c70 1067 long i = SWIG_AsLong(obj);
15afbcd0 1068 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 1069 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
15afbcd0
RD
1070 }
1071 return i;
1072 }
1073}
1074
1075
1076SWIGSTATICINLINE(unsigned char)
1077SWIG_AsUnsignedChar(PyObject *obj)
994141e6 1078{
15afbcd0
RD
1079 return swig_numeric_cast(unsigned char,
1080 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1081 "unsigned char", UCHAR_MAX));
1082}
1083
1084
1085SWIGSTATICINLINE(int)
1086SWIG_CheckUnsignedChar(PyObject* obj)
1087{
1088 SWIG_AsUnsignedChar(obj);
1089 if (PyErr_Occurred()) {
1090 PyErr_Clear();
1091 return 0;
1092 } else {
1093 return 1;
1094 }
994141e6
RD
1095}
1096
66c033b4 1097wxImage *new_wxImage(int width,int height,bool clear){
d14a1e28
RD
1098 if (width > 0 && height > 0)
1099 return new wxImage(width, height, clear);
1100 else
1101 return new wxImage;
1102 }
1103wxImage *new_wxImage(wxBitmap const &bitmap){
1104 return new wxImage(bitmap.ConvertToImage());
1105 }
1106wxImage *new_wxImage(int width,int height,unsigned char *data){
1107 // Copy the source data so the wxImage can clean it up later
1108 unsigned char* copy = (unsigned char*)malloc(width*height*3);
1109 if (copy == NULL) {
1110 PyErr_NoMemory();
1111 return NULL;
1112 }
1113 memcpy(copy, data, width*height*3);
e811c8ce 1114 return new wxImage(width, height, copy, False);
d14a1e28 1115 }
b2df227b
RD
1116wxSize wxImage_GetSize(wxImage *self){
1117 wxSize size(self->GetWidth(), self->GetHeight());
1118 return size;
1119 }
d14a1e28
RD
1120PyObject *wxImage_GetData(wxImage *self){
1121 unsigned char* data = self->GetData();
1122 int len = self->GetWidth() * self->GetHeight() * 3;
1123 PyObject* rv;
1124 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
1125 return rv;
1126 }
1127void wxImage_SetData(wxImage *self,PyObject *data){
1128 unsigned char* dataPtr;
1129
1130 if (! PyString_Check(data)) {
1131 PyErr_SetString(PyExc_TypeError, "Expected string object");
1132 return /* NULL */ ;
1133 }
1134
1135 size_t len = self->GetWidth() * self->GetHeight() * 3;
1136 dataPtr = (unsigned char*) malloc(len);
1137 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1138 self->SetData(dataPtr);
1139 // wxImage takes ownership of dataPtr...
1140 }
1141PyObject *wxImage_GetDataBuffer(wxImage *self){
1142 unsigned char* data = self->GetData();
1143 int len = self->GetWidth() * self->GetHeight() * 3;
1144 PyObject* rv;
1145 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1146 return rv;
1147 }
1148void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
1149 unsigned char* buffer;
1150 int size;
1151
4f89f6a3 1152 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1153 if (!PyArg_Parse(data, "t#", &buffer, &size))
1154 goto done;
1155
1156 if (size != self->GetWidth() * self->GetHeight() * 3) {
1157 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1158 goto done;
1159 }
1160 self->SetData(buffer);
1161 done:
4f89f6a3 1162 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1163 }
1164PyObject *wxImage_GetAlphaData(wxImage *self){
1165 unsigned char* data = self->GetAlpha();
1166 if (! data) {
1167 RETURN_NONE();
1168 } else {
1169 int len = self->GetWidth() * self->GetHeight();
1170 PyObject* rv;
1171 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
1172 return rv;
1173 }
1174 }
1175void wxImage_SetAlphaData(wxImage *self,PyObject *data){
1176 unsigned char* dataPtr;
1177
1178 if (! PyString_Check(data)) {
1179 PyErr_SetString(PyExc_TypeError, "Expected string object");
1180 return /* NULL */ ;
1181 }
1182
1183 size_t len = self->GetWidth() * self->GetHeight();
1184 dataPtr = (unsigned char*) malloc(len);
1185 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1186 self->SetAlpha(dataPtr);
1187 // wxImage takes ownership of dataPtr...
1188 }
1189PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1190 unsigned char* data = self->GetAlpha();
1191 int len = self->GetWidth() * self->GetHeight();
1192 PyObject* rv;
1193 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1194 return rv;
1195 }
1196void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1197 unsigned char* buffer;
1198 int size;
1199
4f89f6a3 1200 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1201 if (!PyArg_Parse(data, "t#", &buffer, &size))
1202 goto done;
1203
1204 if (size != self->GetWidth() * self->GetHeight()) {
1205 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1206 goto done;
1207 }
1208 self->SetAlpha(buffer);
1209 done:
4f89f6a3 1210 wxPyEndBlockThreads(blocked);
d14a1e28 1211 }
15afbcd0
RD
1212
1213SWIGSTATICINLINE(int)
1214SWIG_CheckUnsignedLong(PyObject* obj)
1215{
1216 SWIG_AsUnsignedLong(obj);
1217 if (PyErr_Occurred()) {
1218 PyErr_Clear();
1219 return 0;
1220 } else {
1221 return 1;
1222 }
1223}
1224
d14a1e28
RD
1225wxBitmap wxImage_ConvertToBitmap(wxImage *self){
1226 wxBitmap bitmap(*self);
1227 return bitmap;
1228 }
1229wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1230 wxImage mono = self->ConvertToMono( red, green, blue );
1231 wxBitmap bitmap( mono, 1 );
1232 return bitmap;
1233 }
1234 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1235 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1236 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1237 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1238 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
1239void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1240 if (PyCallable_Check(func)) {
1241 self->Connect(id, lastId, eventType,
1242 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1243 new wxPyCallback(func));
1244 }
1245 else if (func == Py_None) {
1246 self->Disconnect(id, lastId, eventType,
1247 (wxObjectEventFunction)
1248 &wxPyCallback::EventThunker);
1249 }
1250 else {
a95a7133
RD
1251 wxPyBLOCK_THREADS(
1252 PyErr_SetString(PyExc_TypeError, "Expected callable object or None."));
d14a1e28
RD
1253 }
1254 }
1255bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1256 return self->Disconnect(id, lastId, eventType,
1257 (wxObjectEventFunction)
1258 &wxPyCallback::EventThunker);
1259 }
1260void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1261 if (_self && _self != Py_None) {
1262 self->SetClientObject(new wxPyOORClientData(_self));
1263 }
1264 else {
1265 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1266 if (data) {
1267 self->SetClientObject(NULL); // This will delete it too
1268 }
1269 }
1270 }
1271int wxKeyEvent_GetUniChar(wxKeyEvent *self){
3b7224dc
RD
1272 #if wxUSE_UNICODE
1273 return self->m_uniChar;
1274 #else
d14a1e28 1275 return 0;
3b7224dc 1276 #endif
d14a1e28 1277 }
994141e6 1278
15afbcd0
RD
1279#if UINT_MAX < LONG_MAX
1280#define SWIG_FromUnsignedInt SWIG_FromLong
1281#else
1282#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1283#endif
994141e6
RD
1284
1285
15afbcd0
RD
1286#if UINT_MAX != ULONG_MAX
1287SWIGSTATICINLINE(unsigned int)
1288SWIG_AsUnsignedInt(PyObject *obj)
994141e6 1289{
15afbcd0
RD
1290 return swig_numeric_cast(unsigned int,
1291 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1292 "unsigned int", UINT_MAX));
1293}
1294#else
1295#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1296#endif
1297
1298
1299SWIGSTATICINLINE(int)
1300SWIG_CheckUnsignedInt(PyObject* obj)
1301{
1302 SWIG_AsUnsignedInt(obj);
1303 if (PyErr_Occurred()) {
1304 PyErr_Clear();
1305 return 0;
1306 } else {
1307 return 1;
1308 }
994141e6
RD
1309}
1310
d14a1e28
RD
1311void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1312 self->m_size = size;
1313 }
1314void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1315 self->m_pos = pos;
1316 }
1317PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1318 int count = self->GetNumberOfFiles();
1319 wxString* files = self->GetFiles();
1320 PyObject* list = PyList_New(count);
1321
1322 if (!list) {
1323 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1324 return NULL;
1325 }
1326
1327 for (int i=0; i<count; i++) {
1fc9204a 1328 PyList_SetItem(list, i, wx2PyString(files[i]));
d14a1e28
RD
1329 }
1330 return list;
1331 }
1332
1333
1334wxPyApp *new_wxPyApp(){
1335 wxPythonApp = new wxPyApp();
1336 return wxPythonApp;
1337 }
39f61e25 1338int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
d14a1e28
RD
1339
1340 void wxApp_CleanUp() {
1341 __wxPyCleanup();
1342 }
1343
1344
db3e571a 1345 wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; }
d14a1e28
RD
1346
1347
1348
e811c8ce 1349 static const wxString wxPyPanelNameStr(wxPanelNameStr);
74a57fcd 1350wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
22bfe96c 1351void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; }
d14a1e28
RD
1352PyObject *wxWindow_GetChildren(wxWindow *self){
1353 wxWindowList& list = self->GetChildren();
1354 return wxPy_ConvertList(&list);
1355 }
1356bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
74a57fcd
RD
1357 #if wxUSE_HOTKEY
1358 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
1359 #else
e811c8ce 1360 return False;
74a57fcd 1361 #endif
d14a1e28
RD
1362 }
1363bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1364
1365
1366
e811c8ce 1367 return False;
d14a1e28
RD
1368
1369 }
1370long wxWindow_GetHandle(wxWindow *self){
1371 return wxPyGetWinHandle(self);
1372 }
1373
1374wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1375 return wxWindow::FindWindowById(id, parent);
1376}
1377
1378wxWindow* wxFindWindowByName( const wxString& name,
1379 const wxWindow *parent = NULL ) {
1380 return wxWindow::FindWindowByName(name, parent);
1381}
1382
1383wxWindow* wxFindWindowByLabel( const wxString& label,
1384 const wxWindow *parent = NULL ) {
1385 return wxWindow::FindWindowByLabel(label, parent);
1386}
1387
1388
d14a1e28 1389#ifdef __WXMSW__
4276dc52
RD
1390#include <wx/msw/private.h> // to get wxGetWindowId
1391#endif
1392
1393
1394 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
1395#ifdef __WXMSW__
1396 WXHWND hWnd = (WXHWND)_hWnd;
1397 long id = wxGetWindowId(hWnd);
d14a1e28 1398 wxWindow* win = new wxWindow;
4276dc52
RD
1399 parent->AddChild(win);
1400 win->SetEventHandler(win);
1401 win->SetHWND(hWnd);
1402 win->SetId(id);
1403 win->SubclassWin(hWnd);
1404 win->AdoptAttributesFromHWND();
1405 win->SetupColours();
d14a1e28
RD
1406 return win;
1407#else
39f61e25 1408 wxPyRaiseNotImplemented();
d14a1e28
RD
1409 return NULL;
1410#endif
1411 }
1412
1413
1414IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1415IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1416IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1417
1418IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1419
1420void wxMenu_Destroy(wxMenu *self){ delete self; }
1421PyObject *wxMenu_GetMenuItems(wxMenu *self){
1422 wxMenuItemList& list = self->GetMenuItems();
1423 return wxPy_ConvertList(&list);
1424 }
1425int MenuItem_GetDefaultMarginWidth(){ return 0; }
b2dc1044 1426 static const wxString wxPyControlNameStr(wxControlNameStr);
d14a1e28
RD
1427int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1428 if (clientData) {
1429 wxPyClientData* data = new wxPyClientData(clientData);
1430 return self->Append(item, data);
1431 } else
1432 return self->Append(item);
1433 }
1434int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1435 if (clientData) {
1436 wxPyClientData* data = new wxPyClientData(clientData);
1437 return self->Insert(item, pos, data);
1438 } else
1439 return self->Insert(item, pos);
1440 }
1441PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1442 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1443 if (data) {
1444 Py_INCREF(data->m_obj);
1445 return data->m_obj;
1446 } else {
1447 Py_INCREF(Py_None);
1448 return Py_None;
1449 }
1450 }
1451void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1452 wxPyClientData* data = new wxPyClientData(clientData);
1453 self->SetClientObject(n, data);
1454 }
1455
1456
994141e6 1457
15afbcd0
RD
1458#include <float.h>
1459
994141e6 1460SWIGSTATIC(float)
15afbcd0
RD
1461SWIG_FloatCast(double value)
1462{
1463 float f = 0;
1464 if (!PyErr_Occurred()) {
1465 if (value < FLT_MIN) {
1466 PyObject *err =
1467 PyString_FromFormat("value %g is less than float minimum %g",
1468 value, FLT_MIN);
1469 PyErr_SetObject(PyExc_OverflowError, err);
1470 Py_DECREF(err);
1471 } else if (value > FLT_MAX) {
1472 PyObject *err =
1473 PyString_FromFormat("value %g is greater than float maximum %g",
1474 value, FLT_MAX);
1475 PyErr_SetObject(PyExc_OverflowError, err);
1476 Py_DECREF(err);
1477 } else {
1478 f = swig_numeric_cast(float, value);
1479 }
1480 }
1481 return f;
1482}
1483
1484
1485SWIGSTATICINLINE(float)
1486SWIG_AsFloat(PyObject *obj)
994141e6 1487{
15afbcd0
RD
1488 return SWIG_FloatCast(SWIG_AsDouble(obj));
1489}
1490
1491
1492SWIGSTATICINLINE(int)
1493SWIG_CheckFloat(PyObject* obj)
1494{
1495 SWIG_AsFloat(obj);
1496 if (PyErr_Occurred()) {
1497 PyErr_Clear();
1498 return 0;
1499 } else {
1500 return 1;
1501 }
994141e6
RD
1502}
1503
d14a1e28
RD
1504PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1505 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1506 if (data) {
1507 Py_INCREF(data->m_obj);
1508 return data->m_obj;
1509 } else {
1510 Py_INCREF(Py_None);
1511 return Py_None;
1512 }
1513 }
1514
1515// Figure out the type of the sizer item
1516
1517struct wxPySizerItemInfo {
1518 wxPySizerItemInfo()
e811c8ce
RD
1519 : window(NULL), sizer(NULL), gotSize(False),
1520 size(wxDefaultSize), gotPos(False), pos(-1)
d14a1e28
RD
1521 {}
1522
1523 wxWindow* window;
1524 wxSizer* sizer;
1525 bool gotSize;
1526 wxSize size;
1527 bool gotPos;
1528 int pos;
1529};
1530
1531static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1532
1533 wxPySizerItemInfo info;
1534 wxSize size;
1535 wxSize* sizePtr = &size;
1536
1537 // Find out what the type of the item is
1538 // try wxWindow
1539 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1540 PyErr_Clear();
1541 info.window = NULL;
1542
1543 // try wxSizer
1544 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1545 PyErr_Clear();
1546 info.sizer = NULL;
1547
1548 // try wxSize or (w,h)
1549 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1550 info.size = *sizePtr;
e811c8ce 1551 info.gotSize = True;
d14a1e28
RD
1552 }
1553
1554 // or a single int
1555 if (checkIdx && PyInt_Check(item)) {
1556 info.pos = PyInt_AsLong(item);
e811c8ce 1557 info.gotPos = True;
d14a1e28
RD
1558 }
1559 }
1560 }
1561
1562 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1563 // no expected type, figure out what kind of error message to generate
1564 if ( !checkSize && !checkIdx )
1565 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1566 else if ( checkSize && !checkIdx )
1567 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1568 else if ( !checkSize && checkIdx)
1569 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1570 else
1571 // can this one happen?
1572 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1573 }
1574
1575 return info;
1576}
1577
1578void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1579 self->SetClientObject(new wxPyOORClientData(_self));
1580 }
1581void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1582
1583 wxPyUserData* data = NULL;
4f89f6a3 1584 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1585 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1586 if ( userData && (info.window || info.sizer || info.gotSize) )
1587 data = new wxPyUserData(userData);
4f89f6a3 1588 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1589
1590 // Now call the real Add method if a valid item type was found
1591 if ( info.window )
1592 self->Add(info.window, proportion, flag, border, data);
1593 else if ( info.sizer )
1594 self->Add(info.sizer, proportion, flag, border, data);
1595 else if (info.gotSize)
1596 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1597 proportion, flag, border, data);
1598 }
1599void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1600
1601 wxPyUserData* data = NULL;
4f89f6a3 1602 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1603 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1604 if ( userData && (info.window || info.sizer || info.gotSize) )
1605 data = new wxPyUserData(userData);
4f89f6a3 1606 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1607
1608 // Now call the real Insert method if a valid item type was found
1609 if ( info.window )
1610 self->Insert(before, info.window, proportion, flag, border, data);
1611 else if ( info.sizer )
1612 self->Insert(before, info.sizer, proportion, flag, border, data);
1613 else if (info.gotSize)
1614 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1615 proportion, flag, border, data);
1616 }
1617void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1618
1619 wxPyUserData* data = NULL;
4f89f6a3 1620 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1621 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1622 if ( userData && (info.window || info.sizer || info.gotSize) )
1623 data = new wxPyUserData(userData);
4f89f6a3 1624 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1625
1626 // Now call the real Prepend method if a valid item type was found
1627 if ( info.window )
1628 self->Prepend(info.window, proportion, flag, border, data);
1629 else if ( info.sizer )
1630 self->Prepend(info.sizer, proportion, flag, border, data);
1631 else if (info.gotSize)
1632 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1633 proportion, flag, border, data);
1634 }
1635bool wxSizer_Remove(wxSizer *self,PyObject *item){
4f89f6a3 1636 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1637 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
4f89f6a3 1638 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1639 if ( info.window )
1640 return self->Remove(info.window);
1641 else if ( info.sizer )
1642 return self->Remove(info.sizer);
1643 else if ( info.gotPos )
1644 return self->Remove(info.pos);
1645 else
e811c8ce 1646 return False;
d14a1e28 1647 }
1c0f361b
RD
1648bool wxSizer_Detach(wxSizer *self,PyObject *item){
1649 bool blocked = wxPyBeginBlockThreads();
1650 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1651 wxPyEndBlockThreads(blocked);
1652 if ( info.window )
1653 return self->Detach(info.window);
1654 else if ( info.sizer )
1655 return self->Detach(info.sizer);
1656 else if ( info.gotPos )
1657 return self->Detach(info.pos);
1658 else
1659 return False;
1660 }
e811c8ce 1661void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
4f89f6a3 1662 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1663 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
4f89f6a3 1664 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1665 if ( info.window )
1666 self->SetItemMinSize(info.window, size);
1667 else if ( info.sizer )
1668 self->SetItemMinSize(info.sizer, size);
1669 else if ( info.gotPos )
1670 self->SetItemMinSize(info.pos, size);
1671 }
1672PyObject *wxSizer_GetChildren(wxSizer *self){
1673 wxSizerItemList& list = self->GetChildren();
1674 return wxPy_ConvertList(&list);
1675 }
1676void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
03e37cd5 1677 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1678 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
03e37cd5 1679 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1680 if ( info.window )
1681 self->Show(info.window, show);
1682 else if ( info.sizer )
1683 self->Show(info.sizer, show);
1684 }
1685void wxSizer_Hide(wxSizer *self,PyObject *item){
03e37cd5 1686 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1687 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
03e37cd5 1688 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1689 if ( info.window )
1690 self->Hide(info.window);
1691 else if ( info.sizer )
1692 self->Hide(info.sizer);
1693 }
1694bool wxSizer_IsShown(wxSizer *self,PyObject *item){
03e37cd5 1695 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1696 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
03e37cd5 1697 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1698 if ( info.window )
1699 return self->IsShown(info.window);
1700 else if ( info.sizer )
1701 return self->IsShown(info.sizer);
1702 else
e811c8ce 1703 return False;
d14a1e28
RD
1704 }
1705
1706// See pyclasses.h
1707IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1708IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1709IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1710
1711
1712
1713
1714bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1715{
4f89f6a3
RD
1716 if (source == Py_None) {
1717 **obj = wxGBPosition(-1,-1);
1718 return True;
1719 }
d14a1e28
RD
1720 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1721}
1722
1723bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1724{
4f89f6a3
RD
1725 if (source == Py_None) {
1726 **obj = wxGBSpan(-1,-1);
1727 return True;
1728 }
d14a1e28
RD
1729 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1730}
1731
1732
e811c8ce
RD
1733void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1734 self->SetRow(row);
1735 self->SetCol(col);
1736 }
1737PyObject *wxGBPosition_Get(wxGBPosition *self){
4f89f6a3 1738 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1739 PyObject* tup = PyTuple_New(2);
1740 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1741 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
4f89f6a3 1742 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1743 return tup;
1744 }
e811c8ce
RD
1745void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1746 self->SetRowspan(rowspan);
1747 self->SetColspan(colspan);
1748 }
1749PyObject *wxGBSpan_Get(wxGBSpan *self){
4f89f6a3 1750 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1751 PyObject* tup = PyTuple_New(2);
1752 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1753 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
4f89f6a3 1754 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1755 return tup;
1756 }
1757bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1758
1759 wxPyUserData* data = NULL;
4f89f6a3 1760 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1761 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1762 if ( userData && (info.window || info.sizer || info.gotSize) )
1763 data = new wxPyUserData(userData);
4f89f6a3 1764 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1765
1766 // Now call the real Add method if a valid item type was found
1767 if ( info.window )
1768 return self->Add(info.window, pos, span, flag, border, data);
1769 else if ( info.sizer )
1770 return self->Add(info.sizer, pos, span, flag, border, data);
1771 else if (info.gotSize)
1772 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1773 pos, span, flag, border, data);
e811c8ce 1774 return False;
d14a1e28
RD
1775 }
1776
1777
1778#ifdef __cplusplus
1779extern "C" {
1780#endif
196addbf
RD
1781static int _wrap_EmptyString_set(PyObject *_val) {
1782 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1783 return 1;
1784}
1785
1786
1787static PyObject *_wrap_EmptyString_get() {
1788 PyObject *pyobj;
1789
1790 {
1791#if wxUSE_UNICODE
1792 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1793#else
1794 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1795#endif
1796 }
1797 return pyobj;
1798}
1799
1800
d14a1e28
RD
1801static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1802 PyObject *resultobj;
1803 wxObject *arg1 = (wxObject *) 0 ;
1804 wxString result;
1805 PyObject * obj0 = 0 ;
1806 char *kwnames[] = {
1807 (char *) "self", NULL
1808 };
1809
1810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
1811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 result = wxObject_GetClassName(arg1);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 {
1821#if wxUSE_UNICODE
1822 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1823#else
1824 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1825#endif
1826 }
1827 return resultobj;
1828 fail:
1829 return NULL;
1830}
1831
1832
1833static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1834 PyObject *resultobj;
1835 wxObject *arg1 = (wxObject *) 0 ;
1836 PyObject * obj0 = 0 ;
1837 char *kwnames[] = {
1838 (char *) "self", NULL
1839 };
1840
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
1842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1844 {
1845 PyThreadState* __tstate = wxPyBeginAllowThreads();
1846 wxObject_Destroy(arg1);
1847
1848 wxPyEndAllowThreads(__tstate);
1849 if (PyErr_Occurred()) SWIG_fail;
1850 }
1851 Py_INCREF(Py_None); resultobj = Py_None;
1852 return resultobj;
1853 fail:
1854 return NULL;
1855}
1856
1857
1858static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1859 PyObject *obj;
1860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1861 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1862 Py_INCREF(obj);
1863 return Py_BuildValue((char *)"");
1864}
1865static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject *resultobj;
1867 wxSize *arg1 = (wxSize *) 0 ;
1868 int arg2 ;
1869 PyObject * obj0 = 0 ;
994141e6 1870 PyObject * obj1 = 0 ;
d14a1e28
RD
1871 char *kwnames[] = {
1872 (char *) "self",(char *) "x", NULL
1873 };
1874
994141e6 1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1878 arg2 = (int) SWIG_AsInt(obj1);
1879 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1880 if (arg1) (arg1)->x = arg2;
1881
1882 Py_INCREF(Py_None); resultobj = Py_None;
1883 return resultobj;
1884 fail:
1885 return NULL;
1886}
1887
1888
1889static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1890 PyObject *resultobj;
1891 wxSize *arg1 = (wxSize *) 0 ;
1892 int result;
1893 PyObject * obj0 = 0 ;
1894 char *kwnames[] = {
1895 (char *) "self", NULL
1896 };
1897
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
1899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1901 result = (int) ((arg1)->x);
1902
15afbcd0 1903 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1904 return resultobj;
1905 fail:
1906 return NULL;
1907}
1908
1909
1910static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1911 PyObject *resultobj;
1912 wxSize *arg1 = (wxSize *) 0 ;
1913 int arg2 ;
1914 PyObject * obj0 = 0 ;
994141e6 1915 PyObject * obj1 = 0 ;
d14a1e28
RD
1916 char *kwnames[] = {
1917 (char *) "self",(char *) "y", NULL
1918 };
1919
994141e6 1920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1923 arg2 = (int) SWIG_AsInt(obj1);
1924 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1925 if (arg1) (arg1)->y = arg2;
1926
1927 Py_INCREF(Py_None); resultobj = Py_None;
1928 return resultobj;
1929 fail:
1930 return NULL;
1931}
1932
1933
1934static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1935 PyObject *resultobj;
1936 wxSize *arg1 = (wxSize *) 0 ;
1937 int result;
1938 PyObject * obj0 = 0 ;
1939 char *kwnames[] = {
1940 (char *) "self", NULL
1941 };
1942
1943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
1944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1946 result = (int) ((arg1)->y);
1947
15afbcd0 1948 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1949 return resultobj;
1950 fail:
1951 return NULL;
1952}
1953
1954
1955static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1956 PyObject *resultobj;
1957 int arg1 = (int) 0 ;
1958 int arg2 = (int) 0 ;
1959 wxSize *result;
994141e6
RD
1960 PyObject * obj0 = 0 ;
1961 PyObject * obj1 = 0 ;
d14a1e28
RD
1962 char *kwnames[] = {
1963 (char *) "w",(char *) "h", NULL
1964 };
1965
994141e6
RD
1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
1967 if (obj0) {
15afbcd0
RD
1968 arg1 = (int) SWIG_AsInt(obj0);
1969 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
1970 }
1971 if (obj1) {
15afbcd0
RD
1972 arg2 = (int) SWIG_AsInt(obj1);
1973 if (PyErr_Occurred()) SWIG_fail;
994141e6 1974 }
d14a1e28
RD
1975 {
1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
1977 result = (wxSize *)new wxSize(arg1,arg2);
1978
1979 wxPyEndAllowThreads(__tstate);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
15afbcd0 1982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1983 return resultobj;
1984 fail:
1985 return NULL;
1986}
1987
1988
1989static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject *resultobj;
1991 wxSize *arg1 = (wxSize *) 0 ;
1992 PyObject * obj0 = 0 ;
1993 char *kwnames[] = {
1994 (char *) "self", NULL
1995 };
1996
1997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
15afbcd0
RD
1998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2000 {
2001 PyThreadState* __tstate = wxPyBeginAllowThreads();
2002 delete arg1;
2003
2004 wxPyEndAllowThreads(__tstate);
2005 if (PyErr_Occurred()) SWIG_fail;
2006 }
2007 Py_INCREF(Py_None); resultobj = Py_None;
2008 return resultobj;
2009 fail:
2010 return NULL;
2011}
2012
2013
2014static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2015 PyObject *resultobj;
2016 wxSize *arg1 = (wxSize *) 0 ;
2017 wxSize *arg2 = 0 ;
2018 bool result;
2019 wxSize temp2 ;
2020 PyObject * obj0 = 0 ;
2021 PyObject * obj1 = 0 ;
2022 char *kwnames[] = {
2023 (char *) "self",(char *) "sz", NULL
2024 };
2025
2026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2029 {
2030 arg2 = &temp2;
2031 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2032 }
2033 {
2034 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2035 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
2036
2037 wxPyEndAllowThreads(__tstate);
2038 if (PyErr_Occurred()) SWIG_fail;
2039 }
4f89f6a3
RD
2040 {
2041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2042 }
d14a1e28
RD
2043 return resultobj;
2044 fail:
2045 return NULL;
2046}
2047
2048
2049static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2050 PyObject *resultobj;
2051 wxSize *arg1 = (wxSize *) 0 ;
2052 wxSize *arg2 = 0 ;
2053 bool result;
2054 wxSize temp2 ;
2055 PyObject * obj0 = 0 ;
2056 PyObject * obj1 = 0 ;
2057 char *kwnames[] = {
2058 (char *) "self",(char *) "sz", NULL
2059 };
2060
2061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2064 {
2065 arg2 = &temp2;
2066 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2067 }
2068 {
2069 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2070 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
2071
2072 wxPyEndAllowThreads(__tstate);
2073 if (PyErr_Occurred()) SWIG_fail;
2074 }
4f89f6a3
RD
2075 {
2076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2077 }
d14a1e28
RD
2078 return resultobj;
2079 fail:
2080 return NULL;
2081}
2082
2083
2084static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2085 PyObject *resultobj;
2086 wxSize *arg1 = (wxSize *) 0 ;
2087 wxSize *arg2 = 0 ;
2088 wxSize result;
2089 wxSize temp2 ;
2090 PyObject * obj0 = 0 ;
2091 PyObject * obj1 = 0 ;
2092 char *kwnames[] = {
2093 (char *) "self",(char *) "sz", NULL
2094 };
2095
2096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2099 {
2100 arg2 = &temp2;
2101 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2102 }
2103 {
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 result = (arg1)->operator +((wxSize const &)*arg2);
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 {
2111 wxSize * resultptr;
2112 resultptr = new wxSize((wxSize &) result);
15afbcd0 2113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2114 }
2115 return resultobj;
2116 fail:
2117 return NULL;
2118}
2119
2120
2121static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2122 PyObject *resultobj;
2123 wxSize *arg1 = (wxSize *) 0 ;
2124 wxSize *arg2 = 0 ;
2125 wxSize result;
2126 wxSize temp2 ;
2127 PyObject * obj0 = 0 ;
2128 PyObject * obj1 = 0 ;
2129 char *kwnames[] = {
2130 (char *) "self",(char *) "sz", NULL
2131 };
2132
2133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2136 {
2137 arg2 = &temp2;
2138 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2139 }
2140 {
2141 PyThreadState* __tstate = wxPyBeginAllowThreads();
2142 result = (arg1)->operator -((wxSize const &)*arg2);
2143
2144 wxPyEndAllowThreads(__tstate);
2145 if (PyErr_Occurred()) SWIG_fail;
2146 }
2147 {
2148 wxSize * resultptr;
2149 resultptr = new wxSize((wxSize &) result);
15afbcd0 2150 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2151 }
2152 return resultobj;
2153 fail:
2154 return NULL;
2155}
2156
2157
2158static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2159 PyObject *resultobj;
2160 wxSize *arg1 = (wxSize *) 0 ;
2161 wxSize *arg2 = 0 ;
2162 wxSize temp2 ;
2163 PyObject * obj0 = 0 ;
2164 PyObject * obj1 = 0 ;
2165 char *kwnames[] = {
2166 (char *) "self",(char *) "sz", NULL
2167 };
2168
2169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2172 {
2173 arg2 = &temp2;
2174 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2175 }
2176 {
2177 PyThreadState* __tstate = wxPyBeginAllowThreads();
2178 (arg1)->IncTo((wxSize const &)*arg2);
2179
2180 wxPyEndAllowThreads(__tstate);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2183 Py_INCREF(Py_None); resultobj = Py_None;
2184 return resultobj;
2185 fail:
2186 return NULL;
2187}
2188
2189
2190static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 wxSize *arg1 = (wxSize *) 0 ;
2193 wxSize *arg2 = 0 ;
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_DecTo",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 (arg1)->DecTo((wxSize const &)*arg2);
2211
2212 wxPyEndAllowThreads(__tstate);
2213 if (PyErr_Occurred()) SWIG_fail;
2214 }
2215 Py_INCREF(Py_None); resultobj = Py_None;
2216 return resultobj;
2217 fail:
2218 return NULL;
2219}
2220
2221
2222static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2223 PyObject *resultobj;
2224 wxSize *arg1 = (wxSize *) 0 ;
2225 int arg2 ;
2226 int arg3 ;
2227 PyObject * obj0 = 0 ;
994141e6
RD
2228 PyObject * obj1 = 0 ;
2229 PyObject * obj2 = 0 ;
d14a1e28 2230 char *kwnames[] = {
e811c8ce 2231 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
2232 };
2233
994141e6 2234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2237 arg2 = (int) SWIG_AsInt(obj1);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 arg3 = (int) SWIG_AsInt(obj2);
2240 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2241 {
2242 PyThreadState* __tstate = wxPyBeginAllowThreads();
2243 (arg1)->Set(arg2,arg3);
2244
2245 wxPyEndAllowThreads(__tstate);
2246 if (PyErr_Occurred()) SWIG_fail;
2247 }
2248 Py_INCREF(Py_None); resultobj = Py_None;
2249 return resultobj;
2250 fail:
2251 return NULL;
2252}
2253
2254
2255static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2256 PyObject *resultobj;
2257 wxSize *arg1 = (wxSize *) 0 ;
2258 int arg2 ;
2259 PyObject * obj0 = 0 ;
994141e6 2260 PyObject * obj1 = 0 ;
d14a1e28
RD
2261 char *kwnames[] = {
2262 (char *) "self",(char *) "w", NULL
2263 };
2264
994141e6 2265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2268 arg2 = (int) SWIG_AsInt(obj1);
2269 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2270 {
2271 PyThreadState* __tstate = wxPyBeginAllowThreads();
2272 (arg1)->SetWidth(arg2);
2273
2274 wxPyEndAllowThreads(__tstate);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 }
2277 Py_INCREF(Py_None); resultobj = Py_None;
2278 return resultobj;
2279 fail:
2280 return NULL;
2281}
2282
2283
2284static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject *resultobj;
2286 wxSize *arg1 = (wxSize *) 0 ;
2287 int arg2 ;
2288 PyObject * obj0 = 0 ;
994141e6 2289 PyObject * obj1 = 0 ;
d14a1e28
RD
2290 char *kwnames[] = {
2291 (char *) "self",(char *) "h", NULL
2292 };
2293
994141e6 2294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2297 arg2 = (int) SWIG_AsInt(obj1);
2298 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2299 {
2300 PyThreadState* __tstate = wxPyBeginAllowThreads();
2301 (arg1)->SetHeight(arg2);
2302
2303 wxPyEndAllowThreads(__tstate);
2304 if (PyErr_Occurred()) SWIG_fail;
2305 }
2306 Py_INCREF(Py_None); resultobj = Py_None;
2307 return resultobj;
2308 fail:
2309 return NULL;
2310}
2311
2312
2313static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2314 PyObject *resultobj;
2315 wxSize *arg1 = (wxSize *) 0 ;
2316 int result;
2317 PyObject * obj0 = 0 ;
2318 char *kwnames[] = {
2319 (char *) "self", NULL
2320 };
2321
2322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2325 {
2326 PyThreadState* __tstate = wxPyBeginAllowThreads();
2327 result = (int)((wxSize const *)arg1)->GetWidth();
2328
2329 wxPyEndAllowThreads(__tstate);
2330 if (PyErr_Occurred()) SWIG_fail;
2331 }
15afbcd0 2332 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2333 return resultobj;
2334 fail:
2335 return NULL;
2336}
2337
2338
2339static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2340 PyObject *resultobj;
2341 wxSize *arg1 = (wxSize *) 0 ;
2342 int result;
2343 PyObject * obj0 = 0 ;
2344 char *kwnames[] = {
2345 (char *) "self", NULL
2346 };
2347
2348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
2349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2351 {
2352 PyThreadState* __tstate = wxPyBeginAllowThreads();
2353 result = (int)((wxSize const *)arg1)->GetHeight();
2354
2355 wxPyEndAllowThreads(__tstate);
2356 if (PyErr_Occurred()) SWIG_fail;
2357 }
15afbcd0 2358 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2359 return resultobj;
2360 fail:
2361 return NULL;
2362}
2363
2364
74a57fcd
RD
2365static PyObject *_wrap_Size_IsFullySpecified(PyObject *self, PyObject *args, PyObject *kwargs) {
2366 PyObject *resultobj;
2367 wxSize *arg1 = (wxSize *) 0 ;
2368 bool result;
2369 PyObject * obj0 = 0 ;
2370 char *kwnames[] = {
2371 (char *) "self", NULL
2372 };
2373
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail;
2375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2377 {
2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
2379 result = (bool)((wxSize const *)arg1)->IsFullySpecified();
2380
2381 wxPyEndAllowThreads(__tstate);
2382 if (PyErr_Occurred()) SWIG_fail;
2383 }
2384 {
2385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2386 }
2387 return resultobj;
2388 fail:
2389 return NULL;
2390}
2391
2392
2393static PyObject *_wrap_Size_SetDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
2394 PyObject *resultobj;
2395 wxSize *arg1 = (wxSize *) 0 ;
2396 wxSize *arg2 = 0 ;
2397 wxSize temp2 ;
2398 PyObject * obj0 = 0 ;
2399 PyObject * obj1 = 0 ;
2400 char *kwnames[] = {
2401 (char *) "self",(char *) "size", NULL
2402 };
2403
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail;
2405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2407 {
2408 arg2 = &temp2;
2409 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2410 }
2411 {
2412 PyThreadState* __tstate = wxPyBeginAllowThreads();
2413 (arg1)->SetDefaults((wxSize const &)*arg2);
2414
2415 wxPyEndAllowThreads(__tstate);
2416 if (PyErr_Occurred()) SWIG_fail;
2417 }
2418 Py_INCREF(Py_None); resultobj = Py_None;
2419 return resultobj;
2420 fail:
2421 return NULL;
2422}
2423
2424
e811c8ce 2425static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2426 PyObject *resultobj;
2427 wxSize *arg1 = (wxSize *) 0 ;
2428 PyObject *result;
2429 PyObject * obj0 = 0 ;
2430 char *kwnames[] = {
2431 (char *) "self", NULL
2432 };
2433
e811c8ce 2434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2437 {
2438 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2439 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
2440
2441 wxPyEndAllowThreads(__tstate);
2442 if (PyErr_Occurred()) SWIG_fail;
2443 }
2444 resultobj = result;
2445 return resultobj;
2446 fail:
2447 return NULL;
2448}
2449
2450
2451static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
2452 PyObject *obj;
2453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2454 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2455 Py_INCREF(obj);
2456 return Py_BuildValue((char *)"");
2457}
2458static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2459 PyObject *resultobj;
2460 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2461 double arg2 ;
2462 PyObject * obj0 = 0 ;
994141e6 2463 PyObject * obj1 = 0 ;
d14a1e28
RD
2464 char *kwnames[] = {
2465 (char *) "self",(char *) "x", NULL
2466 };
2467
994141e6 2468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2471 arg2 = (double) SWIG_AsDouble(obj1);
2472 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2473 if (arg1) (arg1)->x = arg2;
2474
2475 Py_INCREF(Py_None); resultobj = Py_None;
2476 return resultobj;
2477 fail:
2478 return NULL;
2479}
2480
2481
2482static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2483 PyObject *resultobj;
2484 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2485 double result;
2486 PyObject * obj0 = 0 ;
2487 char *kwnames[] = {
2488 (char *) "self", NULL
2489 };
2490
2491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2494 result = (double) ((arg1)->x);
2495
15afbcd0 2496 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2497 return resultobj;
2498 fail:
2499 return NULL;
2500}
2501
2502
2503static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2504 PyObject *resultobj;
2505 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2506 double arg2 ;
2507 PyObject * obj0 = 0 ;
994141e6 2508 PyObject * obj1 = 0 ;
d14a1e28
RD
2509 char *kwnames[] = {
2510 (char *) "self",(char *) "y", NULL
2511 };
2512
994141e6 2513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2516 arg2 = (double) SWIG_AsDouble(obj1);
2517 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2518 if (arg1) (arg1)->y = arg2;
2519
2520 Py_INCREF(Py_None); resultobj = Py_None;
2521 return resultobj;
2522 fail:
2523 return NULL;
2524}
2525
2526
2527static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2528 PyObject *resultobj;
2529 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2530 double result;
2531 PyObject * obj0 = 0 ;
2532 char *kwnames[] = {
2533 (char *) "self", NULL
2534 };
2535
2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2539 result = (double) ((arg1)->y);
2540
15afbcd0 2541 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2542 return resultobj;
2543 fail:
2544 return NULL;
2545}
2546
2547
2548static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2549 PyObject *resultobj;
2550 double arg1 = (double) 0.0 ;
2551 double arg2 = (double) 0.0 ;
2552 wxRealPoint *result;
994141e6
RD
2553 PyObject * obj0 = 0 ;
2554 PyObject * obj1 = 0 ;
d14a1e28
RD
2555 char *kwnames[] = {
2556 (char *) "x",(char *) "y", NULL
2557 };
2558
994141e6
RD
2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2560 if (obj0) {
15afbcd0
RD
2561 arg1 = (double) SWIG_AsDouble(obj0);
2562 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2563 }
2564 if (obj1) {
15afbcd0
RD
2565 arg2 = (double) SWIG_AsDouble(obj1);
2566 if (PyErr_Occurred()) SWIG_fail;
994141e6 2567 }
d14a1e28
RD
2568 {
2569 PyThreadState* __tstate = wxPyBeginAllowThreads();
2570 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2571
2572 wxPyEndAllowThreads(__tstate);
2573 if (PyErr_Occurred()) SWIG_fail;
2574 }
15afbcd0 2575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
d14a1e28
RD
2576 return resultobj;
2577 fail:
2578 return NULL;
2579}
2580
2581
2582static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2583 PyObject *resultobj;
2584 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2585 PyObject * obj0 = 0 ;
2586 char *kwnames[] = {
2587 (char *) "self", NULL
2588 };
2589
2590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
2591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2593 {
2594 PyThreadState* __tstate = wxPyBeginAllowThreads();
2595 delete arg1;
2596
2597 wxPyEndAllowThreads(__tstate);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 }
2600 Py_INCREF(Py_None); resultobj = Py_None;
2601 return resultobj;
2602 fail:
2603 return NULL;
2604}
2605
2606
e811c8ce 2607static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2608 PyObject *resultobj;
2609 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2610 wxRealPoint *arg2 = 0 ;
e811c8ce 2611 bool result;
d14a1e28
RD
2612 wxRealPoint temp2 ;
2613 PyObject * obj0 = 0 ;
2614 PyObject * obj1 = 0 ;
2615 char *kwnames[] = {
2616 (char *) "self",(char *) "pt", NULL
2617 };
2618
e811c8ce 2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2622 {
2623 arg2 = &temp2;
2624 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2625 }
2626 {
2627 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2628 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
2629
2630 wxPyEndAllowThreads(__tstate);
2631 if (PyErr_Occurred()) SWIG_fail;
2632 }
4f89f6a3
RD
2633 {
2634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2635 }
d14a1e28
RD
2636 return resultobj;
2637 fail:
2638 return NULL;
2639}
2640
2641
e811c8ce 2642static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2643 PyObject *resultobj;
2644 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2645 wxRealPoint *arg2 = 0 ;
e811c8ce 2646 bool result;
d14a1e28
RD
2647 wxRealPoint temp2 ;
2648 PyObject * obj0 = 0 ;
2649 PyObject * obj1 = 0 ;
2650 char *kwnames[] = {
2651 (char *) "self",(char *) "pt", NULL
2652 };
2653
e811c8ce 2654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2657 {
2658 arg2 = &temp2;
2659 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2660 }
2661 {
2662 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2663 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
2664
2665 wxPyEndAllowThreads(__tstate);
2666 if (PyErr_Occurred()) SWIG_fail;
2667 }
4f89f6a3
RD
2668 {
2669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2670 }
d14a1e28
RD
2671 return resultobj;
2672 fail:
2673 return NULL;
2674}
2675
2676
e811c8ce 2677static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2678 PyObject *resultobj;
2679 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2680 wxRealPoint *arg2 = 0 ;
e811c8ce 2681 wxRealPoint result;
d14a1e28
RD
2682 wxRealPoint temp2 ;
2683 PyObject * obj0 = 0 ;
2684 PyObject * obj1 = 0 ;
2685 char *kwnames[] = {
2686 (char *) "self",(char *) "pt", NULL
2687 };
2688
e811c8ce 2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2692 {
2693 arg2 = &temp2;
2694 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2695 }
2696 {
2697 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2698 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
2699
2700 wxPyEndAllowThreads(__tstate);
2701 if (PyErr_Occurred()) SWIG_fail;
2702 }
e811c8ce
RD
2703 {
2704 wxRealPoint * resultptr;
2705 resultptr = new wxRealPoint((wxRealPoint &) result);
15afbcd0 2706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 2707 }
d14a1e28
RD
2708 return resultobj;
2709 fail:
2710 return NULL;
2711}
2712
2713
e811c8ce 2714static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2715 PyObject *resultobj;
2716 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2717 wxRealPoint *arg2 = 0 ;
e811c8ce 2718 wxRealPoint result;
d14a1e28
RD
2719 wxRealPoint temp2 ;
2720 PyObject * obj0 = 0 ;
2721 PyObject * obj1 = 0 ;
2722 char *kwnames[] = {
2723 (char *) "self",(char *) "pt", NULL
2724 };
2725
e811c8ce 2726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2729 {
2730 arg2 = &temp2;
2731 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2732 }
2733 {
2734 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2735 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
2736
2737 wxPyEndAllowThreads(__tstate);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 }
e811c8ce
RD
2740 {
2741 wxRealPoint * resultptr;
2742 resultptr = new wxRealPoint((wxRealPoint &) result);
15afbcd0 2743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 2744 }
d14a1e28
RD
2745 return resultobj;
2746 fail:
2747 return NULL;
2748}
2749
2750
2751static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject *resultobj;
2753 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2754 double arg2 ;
2755 double arg3 ;
2756 PyObject * obj0 = 0 ;
994141e6
RD
2757 PyObject * obj1 = 0 ;
2758 PyObject * obj2 = 0 ;
d14a1e28
RD
2759 char *kwnames[] = {
2760 (char *) "self",(char *) "x",(char *) "y", NULL
2761 };
2762
994141e6 2763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2766 arg2 = (double) SWIG_AsDouble(obj1);
2767 if (PyErr_Occurred()) SWIG_fail;
2768 arg3 = (double) SWIG_AsDouble(obj2);
2769 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2770 {
2771 PyThreadState* __tstate = wxPyBeginAllowThreads();
2772 wxRealPoint_Set(arg1,arg2,arg3);
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
2777 Py_INCREF(Py_None); resultobj = Py_None;
2778 return resultobj;
2779 fail:
2780 return NULL;
2781}
2782
2783
e811c8ce 2784static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2785 PyObject *resultobj;
2786 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2787 PyObject *result;
2788 PyObject * obj0 = 0 ;
2789 char *kwnames[] = {
2790 (char *) "self", NULL
2791 };
2792
e811c8ce 2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2796 {
2797 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2798 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
2799
2800 wxPyEndAllowThreads(__tstate);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 }
2803 resultobj = result;
2804 return resultobj;
2805 fail:
2806 return NULL;
2807}
2808
2809
2810static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2811 PyObject *obj;
2812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2813 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2814 Py_INCREF(obj);
2815 return Py_BuildValue((char *)"");
2816}
2817static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2818 PyObject *resultobj;
2819 wxPoint *arg1 = (wxPoint *) 0 ;
2820 int arg2 ;
2821 PyObject * obj0 = 0 ;
994141e6 2822 PyObject * obj1 = 0 ;
d14a1e28
RD
2823 char *kwnames[] = {
2824 (char *) "self",(char *) "x", NULL
2825 };
2826
994141e6 2827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2830 arg2 = (int) SWIG_AsInt(obj1);
2831 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2832 if (arg1) (arg1)->x = arg2;
2833
2834 Py_INCREF(Py_None); resultobj = Py_None;
2835 return resultobj;
2836 fail:
2837 return NULL;
2838}
2839
2840
2841static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2842 PyObject *resultobj;
2843 wxPoint *arg1 = (wxPoint *) 0 ;
2844 int result;
2845 PyObject * obj0 = 0 ;
2846 char *kwnames[] = {
2847 (char *) "self", NULL
2848 };
2849
2850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2853 result = (int) ((arg1)->x);
2854
15afbcd0 2855 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2856 return resultobj;
2857 fail:
2858 return NULL;
2859}
2860
2861
2862static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2863 PyObject *resultobj;
2864 wxPoint *arg1 = (wxPoint *) 0 ;
2865 int arg2 ;
2866 PyObject * obj0 = 0 ;
994141e6 2867 PyObject * obj1 = 0 ;
d14a1e28
RD
2868 char *kwnames[] = {
2869 (char *) "self",(char *) "y", NULL
2870 };
2871
994141e6 2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2875 arg2 = (int) SWIG_AsInt(obj1);
2876 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2877 if (arg1) (arg1)->y = arg2;
2878
2879 Py_INCREF(Py_None); resultobj = Py_None;
2880 return resultobj;
2881 fail:
2882 return NULL;
2883}
2884
2885
2886static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2887 PyObject *resultobj;
2888 wxPoint *arg1 = (wxPoint *) 0 ;
2889 int result;
2890 PyObject * obj0 = 0 ;
2891 char *kwnames[] = {
2892 (char *) "self", NULL
2893 };
2894
2895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2898 result = (int) ((arg1)->y);
2899
15afbcd0 2900 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2901 return resultobj;
2902 fail:
2903 return NULL;
2904}
2905
2906
2907static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2908 PyObject *resultobj;
2909 int arg1 = (int) 0 ;
2910 int arg2 = (int) 0 ;
2911 wxPoint *result;
994141e6
RD
2912 PyObject * obj0 = 0 ;
2913 PyObject * obj1 = 0 ;
d14a1e28
RD
2914 char *kwnames[] = {
2915 (char *) "x",(char *) "y", NULL
2916 };
2917
994141e6
RD
2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2919 if (obj0) {
15afbcd0
RD
2920 arg1 = (int) SWIG_AsInt(obj0);
2921 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2922 }
2923 if (obj1) {
15afbcd0
RD
2924 arg2 = (int) SWIG_AsInt(obj1);
2925 if (PyErr_Occurred()) SWIG_fail;
994141e6 2926 }
d14a1e28
RD
2927 {
2928 PyThreadState* __tstate = wxPyBeginAllowThreads();
2929 result = (wxPoint *)new wxPoint(arg1,arg2);
2930
2931 wxPyEndAllowThreads(__tstate);
2932 if (PyErr_Occurred()) SWIG_fail;
2933 }
15afbcd0 2934 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2935 return resultobj;
2936 fail:
2937 return NULL;
2938}
2939
2940
2941static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2942 PyObject *resultobj;
2943 wxPoint *arg1 = (wxPoint *) 0 ;
2944 PyObject * obj0 = 0 ;
2945 char *kwnames[] = {
2946 (char *) "self", NULL
2947 };
2948
2949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
15afbcd0
RD
2950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2952 {
2953 PyThreadState* __tstate = wxPyBeginAllowThreads();
2954 delete arg1;
2955
2956 wxPyEndAllowThreads(__tstate);
2957 if (PyErr_Occurred()) SWIG_fail;
2958 }
2959 Py_INCREF(Py_None); resultobj = Py_None;
2960 return resultobj;
2961 fail:
2962 return NULL;
2963}
2964
2965
2966static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2967 PyObject *resultobj;
2968 wxPoint *arg1 = (wxPoint *) 0 ;
2969 wxPoint *arg2 = 0 ;
2970 bool result;
2971 wxPoint temp2 ;
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2974 char *kwnames[] = {
e811c8ce 2975 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2976 };
2977
2978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2981 {
2982 arg2 = &temp2;
2983 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2984 }
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2987 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
4f89f6a3
RD
2992 {
2993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2994 }
d14a1e28
RD
2995 return resultobj;
2996 fail:
2997 return NULL;
2998}
2999
3000
3001static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3002 PyObject *resultobj;
3003 wxPoint *arg1 = (wxPoint *) 0 ;
3004 wxPoint *arg2 = 0 ;
3005 bool result;
3006 wxPoint temp2 ;
3007 PyObject * obj0 = 0 ;
3008 PyObject * obj1 = 0 ;
3009 char *kwnames[] = {
e811c8ce 3010 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3011 };
3012
3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3016 {
3017 arg2 = &temp2;
3018 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3019 }
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3022 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
4f89f6a3
RD
3027 {
3028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3029 }
d14a1e28
RD
3030 return resultobj;
3031 fail:
3032 return NULL;
3033}
3034
3035
3036static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3037 PyObject *resultobj;
3038 wxPoint *arg1 = (wxPoint *) 0 ;
3039 wxPoint *arg2 = 0 ;
3040 wxPoint result;
3041 wxPoint temp2 ;
3042 PyObject * obj0 = 0 ;
3043 PyObject * obj1 = 0 ;
3044 char *kwnames[] = {
e811c8ce 3045 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3046 };
3047
3048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3051 {
3052 arg2 = &temp2;
3053 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3054 }
3055 {
3056 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3057 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
3058
3059 wxPyEndAllowThreads(__tstate);
3060 if (PyErr_Occurred()) SWIG_fail;
3061 }
3062 {
3063 wxPoint * resultptr;
3064 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3066 }
3067 return resultobj;
3068 fail:
3069 return NULL;
3070}
3071
3072
3073static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3074 PyObject *resultobj;
3075 wxPoint *arg1 = (wxPoint *) 0 ;
3076 wxPoint *arg2 = 0 ;
3077 wxPoint result;
3078 wxPoint temp2 ;
3079 PyObject * obj0 = 0 ;
3080 PyObject * obj1 = 0 ;
3081 char *kwnames[] = {
e811c8ce 3082 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3083 };
3084
3085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3088 {
3089 arg2 = &temp2;
3090 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3091 }
3092 {
3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3094 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
3095
3096 wxPyEndAllowThreads(__tstate);
3097 if (PyErr_Occurred()) SWIG_fail;
3098 }
3099 {
3100 wxPoint * resultptr;
3101 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3102 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3103 }
3104 return resultobj;
3105 fail:
3106 return NULL;
3107}
3108
3109
3110static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3111 PyObject *resultobj;
3112 wxPoint *arg1 = (wxPoint *) 0 ;
3113 wxPoint *arg2 = 0 ;
3114 wxPoint *result;
3115 wxPoint temp2 ;
3116 PyObject * obj0 = 0 ;
3117 PyObject * obj1 = 0 ;
3118 char *kwnames[] = {
e811c8ce 3119 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3120 };
3121
3122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3125 {
3126 arg2 = &temp2;
3127 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3128 }
3129 {
3130 PyThreadState* __tstate = wxPyBeginAllowThreads();
3131 {
3132 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3133 result = (wxPoint *) &_result_ref;
3134 }
3135
3136 wxPyEndAllowThreads(__tstate);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 }
15afbcd0 3139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3140 return resultobj;
3141 fail:
3142 return NULL;
3143}
3144
3145
3146static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3147 PyObject *resultobj;
3148 wxPoint *arg1 = (wxPoint *) 0 ;
3149 wxPoint *arg2 = 0 ;
3150 wxPoint *result;
3151 wxPoint temp2 ;
3152 PyObject * obj0 = 0 ;
3153 PyObject * obj1 = 0 ;
3154 char *kwnames[] = {
e811c8ce 3155 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3156 };
3157
3158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3161 {
3162 arg2 = &temp2;
3163 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3164 }
3165 {
3166 PyThreadState* __tstate = wxPyBeginAllowThreads();
3167 {
3168 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3169 result = (wxPoint *) &_result_ref;
3170 }
3171
3172 wxPyEndAllowThreads(__tstate);
3173 if (PyErr_Occurred()) SWIG_fail;
3174 }
15afbcd0 3175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3176 return resultobj;
3177 fail:
3178 return NULL;
3179}
3180
3181
3182static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3183 PyObject *resultobj;
3184 wxPoint *arg1 = (wxPoint *) 0 ;
3185 long arg2 ;
3186 long arg3 ;
3187 PyObject * obj0 = 0 ;
994141e6
RD
3188 PyObject * obj1 = 0 ;
3189 PyObject * obj2 = 0 ;
d14a1e28
RD
3190 char *kwnames[] = {
3191 (char *) "self",(char *) "x",(char *) "y", NULL
3192 };
3193
994141e6 3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3197 arg2 = (long) SWIG_AsLong(obj1);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 arg3 = (long) SWIG_AsLong(obj2);
3200 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3201 {
3202 PyThreadState* __tstate = wxPyBeginAllowThreads();
3203 wxPoint_Set(arg1,arg2,arg3);
3204
3205 wxPyEndAllowThreads(__tstate);
3206 if (PyErr_Occurred()) SWIG_fail;
3207 }
3208 Py_INCREF(Py_None); resultobj = Py_None;
3209 return resultobj;
3210 fail:
3211 return NULL;
3212}
3213
3214
e811c8ce 3215static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3216 PyObject *resultobj;
3217 wxPoint *arg1 = (wxPoint *) 0 ;
3218 PyObject *result;
3219 PyObject * obj0 = 0 ;
3220 char *kwnames[] = {
3221 (char *) "self", NULL
3222 };
3223
e811c8ce 3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
3225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3227 {
3228 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3229 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
3230
3231 wxPyEndAllowThreads(__tstate);
3232 if (PyErr_Occurred()) SWIG_fail;
3233 }
3234 resultobj = result;
3235 return resultobj;
3236 fail:
3237 return NULL;
3238}
3239
3240
3241static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
3242 PyObject *obj;
3243 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3244 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3245 Py_INCREF(obj);
3246 return Py_BuildValue((char *)"");
3247}
3248static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3249 PyObject *resultobj;
3250 int arg1 = (int) 0 ;
3251 int arg2 = (int) 0 ;
3252 int arg3 = (int) 0 ;
3253 int arg4 = (int) 0 ;
3254 wxRect *result;
994141e6
RD
3255 PyObject * obj0 = 0 ;
3256 PyObject * obj1 = 0 ;
3257 PyObject * obj2 = 0 ;
3258 PyObject * obj3 = 0 ;
d14a1e28
RD
3259 char *kwnames[] = {
3260 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3261 };
3262
994141e6
RD
3263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3264 if (obj0) {
15afbcd0
RD
3265 arg1 = (int) SWIG_AsInt(obj0);
3266 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3267 }
3268 if (obj1) {
15afbcd0
RD
3269 arg2 = (int) SWIG_AsInt(obj1);
3270 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3271 }
3272 if (obj2) {
15afbcd0
RD
3273 arg3 = (int) SWIG_AsInt(obj2);
3274 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3275 }
3276 if (obj3) {
15afbcd0
RD
3277 arg4 = (int) SWIG_AsInt(obj3);
3278 if (PyErr_Occurred()) SWIG_fail;
994141e6 3279 }
d14a1e28
RD
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3283
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
15afbcd0 3287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3288 return resultobj;
3289 fail:
3290 return NULL;
3291}
3292
3293
3294static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
3295 PyObject *resultobj;
3296 wxPoint *arg1 = 0 ;
3297 wxPoint *arg2 = 0 ;
3298 wxRect *result;
3299 wxPoint temp1 ;
3300 wxPoint temp2 ;
3301 PyObject * obj0 = 0 ;
3302 PyObject * obj1 = 0 ;
3303 char *kwnames[] = {
3304 (char *) "topLeft",(char *) "bottomRight", NULL
3305 };
3306
3307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3308 {
3309 arg1 = &temp1;
3310 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3311 }
3312 {
3313 arg2 = &temp2;
3314 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3315 }
3316 {
3317 PyThreadState* __tstate = wxPyBeginAllowThreads();
3318 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3319
3320 wxPyEndAllowThreads(__tstate);
3321 if (PyErr_Occurred()) SWIG_fail;
3322 }
15afbcd0 3323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3324 return resultobj;
3325 fail:
3326 return NULL;
3327}
3328
3329
3330static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
3331 PyObject *resultobj;
3332 wxPoint *arg1 = 0 ;
3333 wxSize *arg2 = 0 ;
3334 wxRect *result;
3335 wxPoint temp1 ;
3336 wxSize temp2 ;
3337 PyObject * obj0 = 0 ;
3338 PyObject * obj1 = 0 ;
3339 char *kwnames[] = {
3340 (char *) "pos",(char *) "size", NULL
3341 };
3342
3343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3344 {
3345 arg1 = &temp1;
3346 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3347 }
3348 {
3349 arg2 = &temp2;
3350 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3351 }
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
15afbcd0 3359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3360 return resultobj;
3361 fail:
3362 return NULL;
3363}
3364
3365
3366static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3367 PyObject *resultobj;
3368 wxRect *arg1 = (wxRect *) 0 ;
3369 PyObject * obj0 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "self", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
15afbcd0
RD
3375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3377 {
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 delete arg1;
3380
3381 wxPyEndAllowThreads(__tstate);
3382 if (PyErr_Occurred()) SWIG_fail;
3383 }
3384 Py_INCREF(Py_None); resultobj = Py_None;
3385 return resultobj;
3386 fail:
3387 return NULL;
3388}
3389
3390
3391static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3392 PyObject *resultobj;
3393 wxRect *arg1 = (wxRect *) 0 ;
3394 int result;
3395 PyObject * obj0 = 0 ;
3396 char *kwnames[] = {
3397 (char *) "self", NULL
3398 };
3399
3400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
3401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3403 {
3404 PyThreadState* __tstate = wxPyBeginAllowThreads();
3405 result = (int)((wxRect const *)arg1)->GetX();
3406
3407 wxPyEndAllowThreads(__tstate);
3408 if (PyErr_Occurred()) SWIG_fail;
3409 }
15afbcd0 3410 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3411 return resultobj;
3412 fail:
3413 return NULL;
3414}
3415
3416
3417static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3418 PyObject *resultobj;
3419 wxRect *arg1 = (wxRect *) 0 ;
3420 int arg2 ;
3421 PyObject * obj0 = 0 ;
994141e6 3422 PyObject * obj1 = 0 ;
d14a1e28
RD
3423 char *kwnames[] = {
3424 (char *) "self",(char *) "x", NULL
3425 };
3426
994141e6 3427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3430 arg2 = (int) SWIG_AsInt(obj1);
3431 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3432 {
3433 PyThreadState* __tstate = wxPyBeginAllowThreads();
3434 (arg1)->SetX(arg2);
3435
3436 wxPyEndAllowThreads(__tstate);
3437 if (PyErr_Occurred()) SWIG_fail;
3438 }
3439 Py_INCREF(Py_None); resultobj = Py_None;
3440 return resultobj;
3441 fail:
3442 return NULL;
3443}
3444
3445
3446static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3447 PyObject *resultobj;
3448 wxRect *arg1 = (wxRect *) 0 ;
3449 int result;
3450 PyObject * obj0 = 0 ;
3451 char *kwnames[] = {
3452 (char *) "self", NULL
3453 };
3454
3455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
3456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3458 {
3459 PyThreadState* __tstate = wxPyBeginAllowThreads();
3460 result = (int)(arg1)->GetY();
3461
3462 wxPyEndAllowThreads(__tstate);
3463 if (PyErr_Occurred()) SWIG_fail;
3464 }
15afbcd0 3465 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3466 return resultobj;
3467 fail:
3468 return NULL;
3469}
3470
3471
3472static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3473 PyObject *resultobj;
3474 wxRect *arg1 = (wxRect *) 0 ;
3475 int arg2 ;
3476 PyObject * obj0 = 0 ;
994141e6 3477 PyObject * obj1 = 0 ;
d14a1e28
RD
3478 char *kwnames[] = {
3479 (char *) "self",(char *) "y", NULL
3480 };
3481
994141e6 3482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3485 arg2 = (int) SWIG_AsInt(obj1);
3486 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3487 {
3488 PyThreadState* __tstate = wxPyBeginAllowThreads();
3489 (arg1)->SetY(arg2);
3490
3491 wxPyEndAllowThreads(__tstate);
3492 if (PyErr_Occurred()) SWIG_fail;
3493 }
3494 Py_INCREF(Py_None); resultobj = Py_None;
3495 return resultobj;
3496 fail:
3497 return NULL;
3498}
3499
3500
3501static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3502 PyObject *resultobj;
3503 wxRect *arg1 = (wxRect *) 0 ;
3504 int result;
3505 PyObject * obj0 = 0 ;
3506 char *kwnames[] = {
3507 (char *) "self", NULL
3508 };
3509
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3513 {
3514 PyThreadState* __tstate = wxPyBeginAllowThreads();
3515 result = (int)((wxRect const *)arg1)->GetWidth();
3516
3517 wxPyEndAllowThreads(__tstate);
3518 if (PyErr_Occurred()) SWIG_fail;
3519 }
15afbcd0 3520 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3521 return resultobj;
3522 fail:
3523 return NULL;
3524}
3525
3526
3527static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3528 PyObject *resultobj;
3529 wxRect *arg1 = (wxRect *) 0 ;
3530 int arg2 ;
3531 PyObject * obj0 = 0 ;
994141e6 3532 PyObject * obj1 = 0 ;
d14a1e28
RD
3533 char *kwnames[] = {
3534 (char *) "self",(char *) "w", NULL
3535 };
3536
994141e6 3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3540 arg2 = (int) SWIG_AsInt(obj1);
3541 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3542 {
3543 PyThreadState* __tstate = wxPyBeginAllowThreads();
3544 (arg1)->SetWidth(arg2);
3545
3546 wxPyEndAllowThreads(__tstate);
3547 if (PyErr_Occurred()) SWIG_fail;
3548 }
3549 Py_INCREF(Py_None); resultobj = Py_None;
3550 return resultobj;
3551 fail:
3552 return NULL;
3553}
3554
3555
3556static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj;
3558 wxRect *arg1 = (wxRect *) 0 ;
3559 int result;
3560 PyObject * obj0 = 0 ;
3561 char *kwnames[] = {
3562 (char *) "self", NULL
3563 };
3564
3565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3568 {
3569 PyThreadState* __tstate = wxPyBeginAllowThreads();
3570 result = (int)((wxRect const *)arg1)->GetHeight();
3571
3572 wxPyEndAllowThreads(__tstate);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
15afbcd0 3575 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3576 return resultobj;
3577 fail:
3578 return NULL;
3579}
3580
3581
3582static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3583 PyObject *resultobj;
3584 wxRect *arg1 = (wxRect *) 0 ;
3585 int arg2 ;
3586 PyObject * obj0 = 0 ;
994141e6 3587 PyObject * obj1 = 0 ;
d14a1e28
RD
3588 char *kwnames[] = {
3589 (char *) "self",(char *) "h", NULL
3590 };
3591
994141e6 3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3595 arg2 = (int) SWIG_AsInt(obj1);
3596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3597 {
3598 PyThreadState* __tstate = wxPyBeginAllowThreads();
3599 (arg1)->SetHeight(arg2);
3600
3601 wxPyEndAllowThreads(__tstate);
3602 if (PyErr_Occurred()) SWIG_fail;
3603 }
3604 Py_INCREF(Py_None); resultobj = Py_None;
3605 return resultobj;
3606 fail:
3607 return NULL;
3608}
3609
3610
3611static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3612 PyObject *resultobj;
3613 wxRect *arg1 = (wxRect *) 0 ;
3614 wxPoint result;
3615 PyObject * obj0 = 0 ;
3616 char *kwnames[] = {
3617 (char *) "self", NULL
3618 };
3619
3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
3621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3623 {
3624 PyThreadState* __tstate = wxPyBeginAllowThreads();
3625 result = ((wxRect const *)arg1)->GetPosition();
3626
3627 wxPyEndAllowThreads(__tstate);
3628 if (PyErr_Occurred()) SWIG_fail;
3629 }
3630 {
3631 wxPoint * resultptr;
3632 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3634 }
3635 return resultobj;
3636 fail:
3637 return NULL;
3638}
3639
3640
3641static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3642 PyObject *resultobj;
3643 wxRect *arg1 = (wxRect *) 0 ;
3644 wxPoint *arg2 = 0 ;
3645 wxPoint temp2 ;
3646 PyObject * obj0 = 0 ;
3647 PyObject * obj1 = 0 ;
3648 char *kwnames[] = {
3649 (char *) "self",(char *) "p", NULL
3650 };
3651
3652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3655 {
3656 arg2 = &temp2;
3657 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3658 }
3659 {
3660 PyThreadState* __tstate = wxPyBeginAllowThreads();
3661 (arg1)->SetPosition((wxPoint const &)*arg2);
3662
3663 wxPyEndAllowThreads(__tstate);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 }
3666 Py_INCREF(Py_None); resultobj = Py_None;
3667 return resultobj;
3668 fail:
3669 return NULL;
3670}
3671
3672
3673static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3674 PyObject *resultobj;
3675 wxRect *arg1 = (wxRect *) 0 ;
3676 wxSize result;
3677 PyObject * obj0 = 0 ;
3678 char *kwnames[] = {
3679 (char *) "self", NULL
3680 };
3681
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
3683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 result = ((wxRect const *)arg1)->GetSize();
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 {
3693 wxSize * resultptr;
3694 resultptr = new wxSize((wxSize &) result);
15afbcd0 3695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3696 }
3697 return resultobj;
3698 fail:
3699 return NULL;
3700}
3701
3702
3703static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3704 PyObject *resultobj;
3705 wxRect *arg1 = (wxRect *) 0 ;
3706 wxSize *arg2 = 0 ;
3707 wxSize temp2 ;
3708 PyObject * obj0 = 0 ;
3709 PyObject * obj1 = 0 ;
3710 char *kwnames[] = {
3711 (char *) "self",(char *) "s", NULL
3712 };
3713
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3717 {
3718 arg2 = &temp2;
3719 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3720 }
3721 {
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 (arg1)->SetSize((wxSize const &)*arg2);
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
3728 Py_INCREF(Py_None); resultobj = Py_None;
3729 return resultobj;
3730 fail:
3731 return NULL;
3732}
3733
3734
c9c7117a
RD
3735static PyObject *_wrap_Rect_GetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3736 PyObject *resultobj;
3737 wxRect *arg1 = (wxRect *) 0 ;
3738 wxPoint result;
3739 PyObject * obj0 = 0 ;
3740 char *kwnames[] = {
3741 (char *) "self", NULL
3742 };
3743
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
3745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3747 {
3748 PyThreadState* __tstate = wxPyBeginAllowThreads();
3749 result = ((wxRect const *)arg1)->GetTopLeft();
3750
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 }
3754 {
3755 wxPoint * resultptr;
3756 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
3758 }
3759 return resultobj;
3760 fail:
3761 return NULL;
3762}
3763
3764
3765static PyObject *_wrap_Rect_SetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3766 PyObject *resultobj;
3767 wxRect *arg1 = (wxRect *) 0 ;
3768 wxPoint *arg2 = 0 ;
3769 wxPoint temp2 ;
3770 PyObject * obj0 = 0 ;
3771 PyObject * obj1 = 0 ;
3772 char *kwnames[] = {
3773 (char *) "self",(char *) "p", NULL
3774 };
3775
3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3779 {
3780 arg2 = &temp2;
3781 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3782 }
3783 {
3784 PyThreadState* __tstate = wxPyBeginAllowThreads();
3785 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3786
3787 wxPyEndAllowThreads(__tstate);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 }
3790 Py_INCREF(Py_None); resultobj = Py_None;
3791 return resultobj;
3792 fail:
3793 return NULL;
3794}
3795
3796
3797static PyObject *_wrap_Rect_GetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3798 PyObject *resultobj;
3799 wxRect *arg1 = (wxRect *) 0 ;
3800 wxPoint result;
3801 PyObject * obj0 = 0 ;
3802 char *kwnames[] = {
3803 (char *) "self", NULL
3804 };
3805
3806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3809 {
3810 PyThreadState* __tstate = wxPyBeginAllowThreads();
3811 result = ((wxRect const *)arg1)->GetBottomRight();
3812
3813 wxPyEndAllowThreads(__tstate);
3814 if (PyErr_Occurred()) SWIG_fail;
3815 }
3816 {
3817 wxPoint * resultptr;
3818 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
3820 }
3821 return resultobj;
3822 fail:
3823 return NULL;
3824}
3825
3826
3827static PyObject *_wrap_Rect_SetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3828 PyObject *resultobj;
3829 wxRect *arg1 = (wxRect *) 0 ;
3830 wxPoint *arg2 = 0 ;
3831 wxPoint temp2 ;
3832 PyObject * obj0 = 0 ;
3833 PyObject * obj1 = 0 ;
3834 char *kwnames[] = {
3835 (char *) "self",(char *) "p", NULL
3836 };
3837
3838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3841 {
3842 arg2 = &temp2;
3843 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3844 }
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
3847 (arg1)->SetBottomRight((wxPoint const &)*arg2);
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 Py_INCREF(Py_None); resultobj = Py_None;
3853 return resultobj;
3854 fail:
3855 return NULL;
3856}
3857
3858
d14a1e28
RD
3859static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3860 PyObject *resultobj;
3861 wxRect *arg1 = (wxRect *) 0 ;
3862 int result;
3863 PyObject * obj0 = 0 ;
3864 char *kwnames[] = {
3865 (char *) "self", NULL
3866 };
3867
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
3869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 result = (int)((wxRect const *)arg1)->GetLeft();
3874
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
15afbcd0 3878 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3879 return resultobj;
3880 fail:
3881 return NULL;
3882}
3883
3884
3885static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3886 PyObject *resultobj;
3887 wxRect *arg1 = (wxRect *) 0 ;
3888 int result;
3889 PyObject * obj0 = 0 ;
3890 char *kwnames[] = {
3891 (char *) "self", NULL
3892 };
3893
3894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
15afbcd0
RD
3895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3897 {
3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
3899 result = (int)((wxRect const *)arg1)->GetTop();
3900
3901 wxPyEndAllowThreads(__tstate);
3902 if (PyErr_Occurred()) SWIG_fail;
3903 }
15afbcd0 3904 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3905 return resultobj;
3906 fail:
3907 return NULL;
3908}
3909
3910
3911static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3912 PyObject *resultobj;
3913 wxRect *arg1 = (wxRect *) 0 ;
3914 int result;
3915 PyObject * obj0 = 0 ;
3916 char *kwnames[] = {
3917 (char *) "self", NULL
3918 };
3919
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
15afbcd0
RD
3921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3923 {
3924 PyThreadState* __tstate = wxPyBeginAllowThreads();
3925 result = (int)((wxRect const *)arg1)->GetBottom();
3926
3927 wxPyEndAllowThreads(__tstate);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 }
15afbcd0 3930 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3931 return resultobj;
3932 fail:
3933 return NULL;
3934}
3935
3936
3937static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3938 PyObject *resultobj;
3939 wxRect *arg1 = (wxRect *) 0 ;
3940 int result;
3941 PyObject * obj0 = 0 ;
3942 char *kwnames[] = {
3943 (char *) "self", NULL
3944 };
3945
3946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (int)((wxRect const *)arg1)->GetRight();
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
15afbcd0 3956 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3957 return resultobj;
3958 fail:
3959 return NULL;
3960}
3961
3962
3963static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxRect *arg1 = (wxRect *) 0 ;
3966 int arg2 ;
3967 PyObject * obj0 = 0 ;
994141e6 3968 PyObject * obj1 = 0 ;
d14a1e28
RD
3969 char *kwnames[] = {
3970 (char *) "self",(char *) "left", NULL
3971 };
3972
994141e6 3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3976 arg2 = (int) SWIG_AsInt(obj1);
3977 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 (arg1)->SetLeft(arg2);
3981
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
3985 Py_INCREF(Py_None); resultobj = Py_None;
3986 return resultobj;
3987 fail:
3988 return NULL;
3989}
3990
3991
3992static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxRect *arg1 = (wxRect *) 0 ;
3995 int arg2 ;
3996 PyObject * obj0 = 0 ;
994141e6 3997 PyObject * obj1 = 0 ;
d14a1e28
RD
3998 char *kwnames[] = {
3999 (char *) "self",(char *) "right", NULL
4000 };
4001
994141e6 4002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4005 arg2 = (int) SWIG_AsInt(obj1);
4006 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 (arg1)->SetRight(arg2);
4010
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 Py_INCREF(Py_None); resultobj = Py_None;
4015 return resultobj;
4016 fail:
4017 return NULL;
4018}
4019
4020
4021static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject *resultobj;
4023 wxRect *arg1 = (wxRect *) 0 ;
4024 int arg2 ;
4025 PyObject * obj0 = 0 ;
994141e6 4026 PyObject * obj1 = 0 ;
d14a1e28
RD
4027 char *kwnames[] = {
4028 (char *) "self",(char *) "top", NULL
4029 };
4030
994141e6 4031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4034 arg2 = (int) SWIG_AsInt(obj1);
4035 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4036 {
4037 PyThreadState* __tstate = wxPyBeginAllowThreads();
4038 (arg1)->SetTop(arg2);
4039
4040 wxPyEndAllowThreads(__tstate);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
4043 Py_INCREF(Py_None); resultobj = Py_None;
4044 return resultobj;
4045 fail:
4046 return NULL;
4047}
4048
4049
4050static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxRect *arg1 = (wxRect *) 0 ;
4053 int arg2 ;
4054 PyObject * obj0 = 0 ;
994141e6 4055 PyObject * obj1 = 0 ;
d14a1e28
RD
4056 char *kwnames[] = {
4057 (char *) "self",(char *) "bottom", NULL
4058 };
4059
994141e6 4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4063 arg2 = (int) SWIG_AsInt(obj1);
4064 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4065 {
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 (arg1)->SetBottom(arg2);
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 Py_INCREF(Py_None); resultobj = Py_None;
4073 return resultobj;
4074 fail:
4075 return NULL;
4076}
4077
4078
4079static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4080 PyObject *resultobj;
4081 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4082 int arg2 ;
4083 int arg3 ;
d14a1e28
RD
4084 wxRect *result;
4085 PyObject * obj0 = 0 ;
994141e6
RD
4086 PyObject * obj1 = 0 ;
4087 PyObject * obj2 = 0 ;
d14a1e28
RD
4088 char *kwnames[] = {
4089 (char *) "self",(char *) "dx",(char *) "dy", NULL
4090 };
4091
994141e6 4092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4095 arg2 = (int) SWIG_AsInt(obj1);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 arg3 = (int) SWIG_AsInt(obj2);
4098 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4099 {
4100 PyThreadState* __tstate = wxPyBeginAllowThreads();
4101 {
4102 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
4103 result = (wxRect *) &_result_ref;
4104 }
4105
4106 wxPyEndAllowThreads(__tstate);
4107 if (PyErr_Occurred()) SWIG_fail;
4108 }
15afbcd0 4109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4110 return resultobj;
4111 fail:
4112 return NULL;
4113}
4114
4115
4116static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4117 PyObject *resultobj;
4118 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4119 int arg2 ;
4120 int arg3 ;
d14a1e28
RD
4121 wxRect *result;
4122 PyObject * obj0 = 0 ;
994141e6
RD
4123 PyObject * obj1 = 0 ;
4124 PyObject * obj2 = 0 ;
d14a1e28
RD
4125 char *kwnames[] = {
4126 (char *) "self",(char *) "dx",(char *) "dy", NULL
4127 };
4128
994141e6 4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4132 arg2 = (int) SWIG_AsInt(obj1);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 arg3 = (int) SWIG_AsInt(obj2);
4135 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4136 {
4137 PyThreadState* __tstate = wxPyBeginAllowThreads();
4138 {
4139 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4140 result = (wxRect *) &_result_ref;
4141 }
4142
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
15afbcd0 4146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4147 return resultobj;
4148 fail:
4149 return NULL;
4150}
4151
4152
4153static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4154 PyObject *resultobj;
4155 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4156 int arg2 ;
4157 int arg3 ;
d14a1e28 4158 PyObject * obj0 = 0 ;
994141e6
RD
4159 PyObject * obj1 = 0 ;
4160 PyObject * obj2 = 0 ;
d14a1e28
RD
4161 char *kwnames[] = {
4162 (char *) "self",(char *) "dx",(char *) "dy", NULL
4163 };
4164
994141e6 4165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4168 arg2 = (int) SWIG_AsInt(obj1);
4169 if (PyErr_Occurred()) SWIG_fail;
4170 arg3 = (int) SWIG_AsInt(obj2);
4171 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4172 {
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 (arg1)->Offset(arg2,arg3);
4175
4176 wxPyEndAllowThreads(__tstate);
4177 if (PyErr_Occurred()) SWIG_fail;
4178 }
4179 Py_INCREF(Py_None); resultobj = Py_None;
4180 return resultobj;
4181 fail:
4182 return NULL;
4183}
4184
4185
4186static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
4187 PyObject *resultobj;
4188 wxRect *arg1 = (wxRect *) 0 ;
4189 wxPoint *arg2 = 0 ;
4190 wxPoint temp2 ;
4191 PyObject * obj0 = 0 ;
4192 PyObject * obj1 = 0 ;
4193 char *kwnames[] = {
4194 (char *) "self",(char *) "pt", NULL
4195 };
4196
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4200 {
4201 arg2 = &temp2;
4202 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4203 }
4204 {
4205 PyThreadState* __tstate = wxPyBeginAllowThreads();
4206 (arg1)->Offset((wxPoint const &)*arg2);
4207
4208 wxPyEndAllowThreads(__tstate);
4209 if (PyErr_Occurred()) SWIG_fail;
4210 }
4211 Py_INCREF(Py_None); resultobj = Py_None;
4212 return resultobj;
4213 fail:
4214 return NULL;
4215}
4216
4217
4218static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
4219 PyObject *resultobj;
4220 wxRect *arg1 = (wxRect *) 0 ;
4221 wxRect *arg2 = 0 ;
4222 wxRect *result;
4223 wxRect temp2 ;
4224 PyObject * obj0 = 0 ;
4225 PyObject * obj1 = 0 ;
4226 char *kwnames[] = {
4227 (char *) "self",(char *) "rect", NULL
4228 };
4229
4230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4233 {
4234 arg2 = &temp2;
4235 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4236 }
4237 {
4238 PyThreadState* __tstate = wxPyBeginAllowThreads();
4239 {
4240 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4241 result = (wxRect *) &_result_ref;
4242 }
4243
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) SWIG_fail;
4246 }
15afbcd0 4247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4248 return resultobj;
4249 fail:
4250 return NULL;
4251}
4252
4253
4254static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
4255 PyObject *resultobj;
4256 wxRect *arg1 = (wxRect *) 0 ;
4257 wxRect *arg2 = 0 ;
4258 wxRect result;
4259 wxRect temp2 ;
4260 PyObject * obj0 = 0 ;
4261 PyObject * obj1 = 0 ;
4262 char *kwnames[] = {
4263 (char *) "self",(char *) "rect", NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4269 {
4270 arg2 = &temp2;
4271 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4272 }
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
4275 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
4280 {
4281 wxRect * resultptr;
4282 resultptr = new wxRect((wxRect &) result);
15afbcd0 4283 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4284 }
4285 return resultobj;
4286 fail:
4287 return NULL;
4288}
4289
4290
4291static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4292 PyObject *resultobj;
4293 wxRect *arg1 = (wxRect *) 0 ;
4294 wxRect *arg2 = 0 ;
4295 wxRect *result;
4296 wxRect temp2 ;
4297 PyObject * obj0 = 0 ;
4298 PyObject * obj1 = 0 ;
4299 char *kwnames[] = {
4300 (char *) "self",(char *) "rect", NULL
4301 };
4302
4303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4306 {
4307 arg2 = &temp2;
4308 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4309 }
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 {
4313 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
4314 result = (wxRect *) &_result_ref;
4315 }
4316
4317 wxPyEndAllowThreads(__tstate);
4318 if (PyErr_Occurred()) SWIG_fail;
4319 }
15afbcd0 4320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4321 return resultobj;
4322 fail:
4323 return NULL;
4324}
4325
4326
4327static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4328 PyObject *resultobj;
4329 wxRect *arg1 = (wxRect *) 0 ;
4330 wxRect *arg2 = 0 ;
4331 bool result;
4332 wxRect temp2 ;
4333 PyObject * obj0 = 0 ;
4334 PyObject * obj1 = 0 ;
4335 char *kwnames[] = {
4336 (char *) "self",(char *) "rect", NULL
4337 };
4338
4339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4342 {
4343 arg2 = &temp2;
4344 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4345 }
4346 {
4347 PyThreadState* __tstate = wxPyBeginAllowThreads();
4348 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4349
4350 wxPyEndAllowThreads(__tstate);
4351 if (PyErr_Occurred()) SWIG_fail;
4352 }
4f89f6a3
RD
4353 {
4354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4355 }
d14a1e28
RD
4356 return resultobj;
4357 fail:
4358 return NULL;
4359}
4360
4361
4362static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4363 PyObject *resultobj;
4364 wxRect *arg1 = (wxRect *) 0 ;
4365 wxRect *arg2 = 0 ;
4366 bool result;
4367 wxRect temp2 ;
4368 PyObject * obj0 = 0 ;
4369 PyObject * obj1 = 0 ;
4370 char *kwnames[] = {
4371 (char *) "self",(char *) "rect", NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4377 {
4378 arg2 = &temp2;
4379 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4380 }
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4384
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
4f89f6a3
RD
4388 {
4389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4390 }
d14a1e28
RD
4391 return resultobj;
4392 fail:
4393 return NULL;
4394}
4395
4396
4397static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4398 PyObject *resultobj;
4399 wxRect *arg1 = (wxRect *) 0 ;
4400 int arg2 ;
4401 int arg3 ;
4402 bool result;
4403 PyObject * obj0 = 0 ;
994141e6
RD
4404 PyObject * obj1 = 0 ;
4405 PyObject * obj2 = 0 ;
d14a1e28
RD
4406 char *kwnames[] = {
4407 (char *) "self",(char *) "x",(char *) "y", NULL
4408 };
4409
994141e6 4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4413 arg2 = (int) SWIG_AsInt(obj1);
4414 if (PyErr_Occurred()) SWIG_fail;
4415 arg3 = (int) SWIG_AsInt(obj2);
4416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4417 {
4418 PyThreadState* __tstate = wxPyBeginAllowThreads();
4419 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4420
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4f89f6a3
RD
4424 {
4425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4426 }
d14a1e28
RD
4427 return resultobj;
4428 fail:
4429 return NULL;
4430}
4431
4432
4433static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj;
4435 wxRect *arg1 = (wxRect *) 0 ;
4436 wxPoint *arg2 = 0 ;
4437 bool result;
4438 wxPoint temp2 ;
4439 PyObject * obj0 = 0 ;
4440 PyObject * obj1 = 0 ;
4441 char *kwnames[] = {
4442 (char *) "self",(char *) "pt", NULL
4443 };
4444
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4448 {
4449 arg2 = &temp2;
4450 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4451 }
4452 {
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4f89f6a3
RD
4459 {
4460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4461 }
d14a1e28
RD
4462 return resultobj;
4463 fail:
4464 return NULL;
4465}
4466
4467
4468static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
4469 PyObject *resultobj;
4470 wxRect *arg1 = (wxRect *) 0 ;
4471 wxRect *arg2 = 0 ;
4472 bool result;
4473 wxRect temp2 ;
4474 PyObject * obj0 = 0 ;
4475 PyObject * obj1 = 0 ;
4476 char *kwnames[] = {
4477 (char *) "self",(char *) "rect", NULL
4478 };
4479
4480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4483 {
4484 arg2 = &temp2;
4485 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4486 }
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4f89f6a3
RD
4494 {
4495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4496 }
d14a1e28
RD
4497 return resultobj;
4498 fail:
4499 return NULL;
4500}
4501
4502
4503static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxRect *arg1 = (wxRect *) 0 ;
4506 int arg2 ;
4507 PyObject * obj0 = 0 ;
994141e6 4508 PyObject * obj1 = 0 ;
d14a1e28
RD
4509 char *kwnames[] = {
4510 (char *) "self",(char *) "x", NULL
4511 };
4512
994141e6 4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",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;
4516 arg2 = (int) SWIG_AsInt(obj1);
4517 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4518 if (arg1) (arg1)->x = arg2;
4519
4520 Py_INCREF(Py_None); resultobj = Py_None;
4521 return resultobj;
4522 fail:
4523 return NULL;
4524}
4525
4526
4527static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4528 PyObject *resultobj;
4529 wxRect *arg1 = (wxRect *) 0 ;
4530 int result;
4531 PyObject * obj0 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4539 result = (int) ((arg1)->x);
4540
15afbcd0 4541 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4542 return resultobj;
4543 fail:
4544 return NULL;
4545}
4546
4547
4548static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4549 PyObject *resultobj;
4550 wxRect *arg1 = (wxRect *) 0 ;
4551 int arg2 ;
4552 PyObject * obj0 = 0 ;
994141e6 4553 PyObject * obj1 = 0 ;
d14a1e28
RD
4554 char *kwnames[] = {
4555 (char *) "self",(char *) "y", NULL
4556 };
4557
994141e6 4558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4561 arg2 = (int) SWIG_AsInt(obj1);
4562 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4563 if (arg1) (arg1)->y = arg2;
4564
4565 Py_INCREF(Py_None); resultobj = Py_None;
4566 return resultobj;
4567 fail:
4568 return NULL;
4569}
4570
4571
4572static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj;
4574 wxRect *arg1 = (wxRect *) 0 ;
4575 int result;
4576 PyObject * obj0 = 0 ;
4577 char *kwnames[] = {
4578 (char *) "self", NULL
4579 };
4580
4581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4584 result = (int) ((arg1)->y);
4585
15afbcd0 4586 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4587 return resultobj;
4588 fail:
4589 return NULL;
4590}
4591
4592
4593static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4594 PyObject *resultobj;
4595 wxRect *arg1 = (wxRect *) 0 ;
4596 int arg2 ;
4597 PyObject * obj0 = 0 ;
994141e6 4598 PyObject * obj1 = 0 ;
d14a1e28
RD
4599 char *kwnames[] = {
4600 (char *) "self",(char *) "width", NULL
4601 };
4602
994141e6 4603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4606 arg2 = (int) SWIG_AsInt(obj1);
4607 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4608 if (arg1) (arg1)->width = arg2;
4609
4610 Py_INCREF(Py_None); resultobj = Py_None;
4611 return resultobj;
4612 fail:
4613 return NULL;
4614}
4615
4616
4617static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4618 PyObject *resultobj;
4619 wxRect *arg1 = (wxRect *) 0 ;
4620 int result;
4621 PyObject * obj0 = 0 ;
4622 char *kwnames[] = {
4623 (char *) "self", NULL
4624 };
4625
4626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4629 result = (int) ((arg1)->width);
4630
15afbcd0 4631 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4632 return resultobj;
4633 fail:
4634 return NULL;
4635}
4636
4637
4638static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4639 PyObject *resultobj;
4640 wxRect *arg1 = (wxRect *) 0 ;
4641 int arg2 ;
4642 PyObject * obj0 = 0 ;
994141e6 4643 PyObject * obj1 = 0 ;
d14a1e28
RD
4644 char *kwnames[] = {
4645 (char *) "self",(char *) "height", NULL
4646 };
4647
994141e6 4648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4651 arg2 = (int) SWIG_AsInt(obj1);
4652 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4653 if (arg1) (arg1)->height = arg2;
4654
4655 Py_INCREF(Py_None); resultobj = Py_None;
4656 return resultobj;
4657 fail:
4658 return NULL;
4659}
4660
4661
4662static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4663 PyObject *resultobj;
4664 wxRect *arg1 = (wxRect *) 0 ;
4665 int result;
4666 PyObject * obj0 = 0 ;
4667 char *kwnames[] = {
4668 (char *) "self", NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4674 result = (int) ((arg1)->height);
4675
15afbcd0 4676 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4677 return resultobj;
4678 fail:
4679 return NULL;
4680}
4681
4682
4683static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4684 PyObject *resultobj;
4685 wxRect *arg1 = (wxRect *) 0 ;
4686 int arg2 = (int) 0 ;
4687 int arg3 = (int) 0 ;
4688 int arg4 = (int) 0 ;
4689 int arg5 = (int) 0 ;
4690 PyObject * obj0 = 0 ;
994141e6
RD
4691 PyObject * obj1 = 0 ;
4692 PyObject * obj2 = 0 ;
4693 PyObject * obj3 = 0 ;
4694 PyObject * obj4 = 0 ;
d14a1e28
RD
4695 char *kwnames[] = {
4696 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4697 };
4698
994141e6 4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
4700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 4702 if (obj1) {
15afbcd0
RD
4703 arg2 = (int) SWIG_AsInt(obj1);
4704 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4705 }
4706 if (obj2) {
15afbcd0
RD
4707 arg3 = (int) SWIG_AsInt(obj2);
4708 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4709 }
4710 if (obj3) {
15afbcd0
RD
4711 arg4 = (int) SWIG_AsInt(obj3);
4712 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4713 }
4714 if (obj4) {
15afbcd0
RD
4715 arg5 = (int) SWIG_AsInt(obj4);
4716 if (PyErr_Occurred()) SWIG_fail;
994141e6 4717 }
d14a1e28
RD
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
4721
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 Py_INCREF(Py_None); resultobj = Py_None;
4726 return resultobj;
4727 fail:
4728 return NULL;
4729}
4730
4731
e811c8ce 4732static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4733 PyObject *resultobj;
4734 wxRect *arg1 = (wxRect *) 0 ;
4735 PyObject *result;
4736 PyObject * obj0 = 0 ;
4737 char *kwnames[] = {
4738 (char *) "self", NULL
4739 };
4740
e811c8ce 4741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4744 {
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4746 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
4747
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 resultobj = result;
4752 return resultobj;
4753 fail:
4754 return NULL;
4755}
4756
4757
4758static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
4759 PyObject *obj;
4760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4761 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
4762 Py_INCREF(obj);
4763 return Py_BuildValue((char *)"");
4764}
4765static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4766 PyObject *resultobj;
4767 wxRect *arg1 = (wxRect *) 0 ;
4768 wxRect *arg2 = (wxRect *) 0 ;
4769 PyObject *result;
4770 PyObject * obj0 = 0 ;
4771 PyObject * obj1 = 0 ;
4772 char *kwnames[] = {
4773 (char *) "r1",(char *) "r2", NULL
4774 };
4775
4776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4779 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
4780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4781 {
4782 PyThreadState* __tstate = wxPyBeginAllowThreads();
4783 result = (PyObject *)wxIntersectRect(arg1,arg2);
4784
4785 wxPyEndAllowThreads(__tstate);
4786 if (PyErr_Occurred()) SWIG_fail;
4787 }
4788 resultobj = result;
4789 return resultobj;
4790 fail:
4791 return NULL;
4792}
4793
4794
4795static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
4796 PyObject *resultobj;
4797 double arg1 = (double) 0.0 ;
4798 double arg2 = (double) 0.0 ;
4799 wxPoint2D *result;
994141e6
RD
4800 PyObject * obj0 = 0 ;
4801 PyObject * obj1 = 0 ;
d14a1e28
RD
4802 char *kwnames[] = {
4803 (char *) "x",(char *) "y", NULL
4804 };
4805
994141e6
RD
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4807 if (obj0) {
15afbcd0
RD
4808 arg1 = (double) SWIG_AsDouble(obj0);
4809 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4810 }
4811 if (obj1) {
15afbcd0
RD
4812 arg2 = (double) SWIG_AsDouble(obj1);
4813 if (PyErr_Occurred()) SWIG_fail;
994141e6 4814 }
d14a1e28
RD
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
4818
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
15afbcd0 4822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4823 return resultobj;
4824 fail:
4825 return NULL;
4826}
4827
4828
4829static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
4830 PyObject *resultobj;
4831 wxPoint2D *arg1 = 0 ;
4832 wxPoint2D *result;
4833 wxPoint2D temp1 ;
4834 PyObject * obj0 = 0 ;
4835 char *kwnames[] = {
4836 (char *) "pt", NULL
4837 };
4838
4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4840 {
4841 arg1 = &temp1;
4842 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4843 }
4844 {
4845 PyThreadState* __tstate = wxPyBeginAllowThreads();
4846 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4847
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 }
15afbcd0 4851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4852 return resultobj;
4853 fail:
4854 return NULL;
4855}
4856
4857
4858static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4859 PyObject *resultobj;
4860 wxPoint *arg1 = 0 ;
4861 wxPoint2D *result;
4862 wxPoint temp1 ;
4863 PyObject * obj0 = 0 ;
4864 char *kwnames[] = {
4865 (char *) "pt", NULL
4866 };
4867
4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4869 {
4870 arg1 = &temp1;
4871 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4872 }
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
15afbcd0 4880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4881 return resultobj;
4882 fail:
4883 return NULL;
4884}
4885
4886
4887static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
4888 PyObject *resultobj;
4889 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4890 int *arg2 = (int *) 0 ;
4891 int *arg3 = (int *) 0 ;
4892 int temp2 ;
4893 int temp3 ;
4894 PyObject * obj0 = 0 ;
4895 char *kwnames[] = {
4896 (char *) "self", NULL
4897 };
4898
4899 arg2 = &temp2;
4900 arg3 = &temp3;
4901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4904 {
4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
4906 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4907
4908 wxPyEndAllowThreads(__tstate);
4909 if (PyErr_Occurred()) SWIG_fail;
4910 }
4911 Py_INCREF(Py_None); resultobj = Py_None;
4912 {
4913 PyObject *o = PyInt_FromLong((long) (*arg2));
4914 resultobj = t_output_helper(resultobj,o);
4915 }
4916 {
4917 PyObject *o = PyInt_FromLong((long) (*arg3));
4918 resultobj = t_output_helper(resultobj,o);
4919 }
4920 return resultobj;
4921 fail:
4922 return NULL;
4923}
4924
4925
4926static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj;
4928 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4929 int *arg2 = (int *) 0 ;
4930 int *arg3 = (int *) 0 ;
4931 int temp2 ;
4932 int temp3 ;
4933 PyObject * obj0 = 0 ;
4934 char *kwnames[] = {
4935 (char *) "self", NULL
4936 };
4937
4938 arg2 = &temp2;
4939 arg3 = &temp3;
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
15afbcd0
RD
4941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
4946
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 Py_INCREF(Py_None); resultobj = Py_None;
4951 {
4952 PyObject *o = PyInt_FromLong((long) (*arg2));
4953 resultobj = t_output_helper(resultobj,o);
4954 }
4955 {
4956 PyObject *o = PyInt_FromLong((long) (*arg3));
4957 resultobj = t_output_helper(resultobj,o);
4958 }
4959 return resultobj;
4960 fail:
4961 return NULL;
4962}
4963
4964
4965static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4968 double result;
4969 PyObject * obj0 = 0 ;
4970 char *kwnames[] = {
4971 (char *) "self", NULL
4972 };
4973
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
4975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4977 {
4978 PyThreadState* __tstate = wxPyBeginAllowThreads();
4979 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4980
4981 wxPyEndAllowThreads(__tstate);
4982 if (PyErr_Occurred()) SWIG_fail;
4983 }
15afbcd0 4984 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
4985 return resultobj;
4986 fail:
4987 return NULL;
4988}
4989
4990
4991static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4992 PyObject *resultobj;
4993 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4994 double result;
4995 PyObject * obj0 = 0 ;
4996 char *kwnames[] = {
4997 (char *) "self", NULL
4998 };
4999
5000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
15afbcd0
RD
5001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
15afbcd0 5010 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5011 return resultobj;
5012 fail:
5013 return NULL;
5014}
5015
5016
5017static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5018 PyObject *resultobj;
5019 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5020 double arg2 ;
5021 PyObject * obj0 = 0 ;
994141e6 5022 PyObject * obj1 = 0 ;
d14a1e28
RD
5023 char *kwnames[] = {
5024 (char *) "self",(char *) "length", NULL
5025 };
5026
994141e6 5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5030 arg2 = (double) SWIG_AsDouble(obj1);
5031 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5032 {
5033 PyThreadState* __tstate = wxPyBeginAllowThreads();
5034 (arg1)->SetVectorLength(arg2);
5035
5036 wxPyEndAllowThreads(__tstate);
5037 if (PyErr_Occurred()) SWIG_fail;
5038 }
5039 Py_INCREF(Py_None); resultobj = Py_None;
5040 return resultobj;
5041 fail:
5042 return NULL;
5043}
5044
5045
5046static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5047 PyObject *resultobj;
5048 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5049 double arg2 ;
5050 PyObject * obj0 = 0 ;
994141e6 5051 PyObject * obj1 = 0 ;
d14a1e28
RD
5052 char *kwnames[] = {
5053 (char *) "self",(char *) "degrees", NULL
5054 };
5055
994141e6 5056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5059 arg2 = (double) SWIG_AsDouble(obj1);
5060 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5061 {
5062 PyThreadState* __tstate = wxPyBeginAllowThreads();
5063 (arg1)->SetVectorAngle(arg2);
5064
5065 wxPyEndAllowThreads(__tstate);
5066 if (PyErr_Occurred()) SWIG_fail;
5067 }
5068 Py_INCREF(Py_None); resultobj = Py_None;
5069 return resultobj;
5070 fail:
5071 return NULL;
5072}
5073
5074
5075static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
5076 PyObject *resultobj;
5077 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5078 wxPoint2D *arg2 = 0 ;
5079 double result;
5080 wxPoint2D temp2 ;
5081 PyObject * obj0 = 0 ;
5082 PyObject * obj1 = 0 ;
5083 char *kwnames[] = {
5084 (char *) "self",(char *) "pt", NULL
5085 };
5086
5087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5090 {
5091 arg2 = &temp2;
5092 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5093 }
5094 {
5095 PyThreadState* __tstate = wxPyBeginAllowThreads();
5096 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
5097
5098 wxPyEndAllowThreads(__tstate);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
15afbcd0 5101 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5102 return resultobj;
5103 fail:
5104 return NULL;
5105}
5106
5107
5108static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
5109 PyObject *resultobj;
5110 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5111 wxPoint2D *arg2 = 0 ;
5112 double result;
5113 wxPoint2D temp2 ;
5114 PyObject * obj0 = 0 ;
5115 PyObject * obj1 = 0 ;
5116 char *kwnames[] = {
5117 (char *) "self",(char *) "pt", NULL
5118 };
5119
5120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5123 {
5124 arg2 = &temp2;
5125 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5126 }
5127 {
5128 PyThreadState* __tstate = wxPyBeginAllowThreads();
5129 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5130
5131 wxPyEndAllowThreads(__tstate);
5132 if (PyErr_Occurred()) SWIG_fail;
5133 }
15afbcd0 5134 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5135 return resultobj;
5136 fail:
5137 return NULL;
5138}
5139
5140
5141static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5142 PyObject *resultobj;
5143 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5144 wxPoint2D *arg2 = 0 ;
5145 double result;
5146 wxPoint2D temp2 ;
5147 PyObject * obj0 = 0 ;
5148 PyObject * obj1 = 0 ;
5149 char *kwnames[] = {
5150 (char *) "self",(char *) "vec", NULL
5151 };
5152
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5156 {
5157 arg2 = &temp2;
5158 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5159 }
5160 {
5161 PyThreadState* __tstate = wxPyBeginAllowThreads();
5162 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5163
5164 wxPyEndAllowThreads(__tstate);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
15afbcd0 5167 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5168 return resultobj;
5169 fail:
5170 return NULL;
5171}
5172
5173
5174static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5175 PyObject *resultobj;
5176 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5177 wxPoint2D *arg2 = 0 ;
5178 double result;
5179 wxPoint2D temp2 ;
5180 PyObject * obj0 = 0 ;
5181 PyObject * obj1 = 0 ;
5182 char *kwnames[] = {
5183 (char *) "self",(char *) "vec", NULL
5184 };
5185
5186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5189 {
5190 arg2 = &temp2;
5191 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5192 }
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5196
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 }
15afbcd0 5200 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5201 return resultobj;
5202 fail:
5203 return NULL;
5204}
5205
5206
5207static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject *resultobj;
5209 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5210 wxPoint2D result;
5211 PyObject * obj0 = 0 ;
5212 char *kwnames[] = {
5213 (char *) "self", NULL
5214 };
5215
5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
15afbcd0
RD
5217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5219 {
5220 PyThreadState* __tstate = wxPyBeginAllowThreads();
5221 result = (arg1)->operator -();
5222
5223 wxPyEndAllowThreads(__tstate);
5224 if (PyErr_Occurred()) SWIG_fail;
5225 }
5226 {
5227 wxPoint2D * resultptr;
5228 resultptr = new wxPoint2D((wxPoint2D &) result);
15afbcd0 5229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5230 }
5231 return resultobj;
5232 fail:
5233 return NULL;
5234}
5235
5236
5237static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5240 wxPoint2D *arg2 = 0 ;
5241 wxPoint2D *result;
5242 wxPoint2D temp2 ;
5243 PyObject * obj0 = 0 ;
5244 PyObject * obj1 = 0 ;
5245 char *kwnames[] = {
5246 (char *) "self",(char *) "pt", NULL
5247 };
5248
5249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5252 {
5253 arg2 = &temp2;
5254 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5255 }
5256 {
5257 PyThreadState* __tstate = wxPyBeginAllowThreads();
5258 {
5259 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5260 result = (wxPoint2D *) &_result_ref;
5261 }
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
15afbcd0 5266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5267 return resultobj;
5268 fail:
5269 return NULL;
5270}
5271
5272
5273static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
5274 PyObject *resultobj;
5275 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5276 wxPoint2D *arg2 = 0 ;
5277 wxPoint2D *result;
5278 wxPoint2D temp2 ;
5279 PyObject * obj0 = 0 ;
5280 PyObject * obj1 = 0 ;
5281 char *kwnames[] = {
5282 (char *) "self",(char *) "pt", NULL
5283 };
5284
5285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
5290 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5291 }
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 {
5295 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5296 result = (wxPoint2D *) &_result_ref;
5297 }
5298
5299 wxPyEndAllowThreads(__tstate);
5300 if (PyErr_Occurred()) SWIG_fail;
5301 }
15afbcd0 5302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5303 return resultobj;
5304 fail:
5305 return NULL;
5306}
5307
5308
5309static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
5310 PyObject *resultobj;
5311 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5312 wxPoint2D *arg2 = 0 ;
5313 wxPoint2D *result;
5314 wxPoint2D temp2 ;
5315 PyObject * obj0 = 0 ;
5316 PyObject * obj1 = 0 ;
5317 char *kwnames[] = {
5318 (char *) "self",(char *) "pt", NULL
5319 };
5320
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5324 {
5325 arg2 = &temp2;
5326 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5327 }
5328 {
5329 PyThreadState* __tstate = wxPyBeginAllowThreads();
5330 {
5331 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5332 result = (wxPoint2D *) &_result_ref;
5333 }
5334
5335 wxPyEndAllowThreads(__tstate);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
15afbcd0 5338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5339 return resultobj;
5340 fail:
5341 return NULL;
5342}
5343
5344
5345static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
5346 PyObject *resultobj;
5347 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5348 wxPoint2D *arg2 = 0 ;
5349 wxPoint2D *result;
5350 wxPoint2D temp2 ;
5351 PyObject * obj0 = 0 ;
5352 PyObject * obj1 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self",(char *) "pt", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5360 {
5361 arg2 = &temp2;
5362 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5363 }
5364 {
5365 PyThreadState* __tstate = wxPyBeginAllowThreads();
5366 {
5367 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5368 result = (wxPoint2D *) &_result_ref;
5369 }
5370
5371 wxPyEndAllowThreads(__tstate);
5372 if (PyErr_Occurred()) SWIG_fail;
5373 }
15afbcd0 5374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5375 return resultobj;
5376 fail:
5377 return NULL;
5378}
5379
5380
5381static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
5382 PyObject *resultobj;
5383 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5384 wxPoint2D *arg2 = 0 ;
5385 bool result;
5386 wxPoint2D temp2 ;
5387 PyObject * obj0 = 0 ;
5388 PyObject * obj1 = 0 ;
5389 char *kwnames[] = {
5390 (char *) "self",(char *) "pt", NULL
5391 };
5392
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5396 {
5397 arg2 = &temp2;
5398 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5399 }
5400 {
5401 PyThreadState* __tstate = wxPyBeginAllowThreads();
5402 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5403
5404 wxPyEndAllowThreads(__tstate);
5405 if (PyErr_Occurred()) SWIG_fail;
5406 }
4f89f6a3
RD
5407 {
5408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5409 }
d14a1e28
RD
5410 return resultobj;
5411 fail:
5412 return NULL;
5413}
5414
5415
5416static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
5417 PyObject *resultobj;
5418 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5419 wxPoint2D *arg2 = 0 ;
5420 bool result;
5421 wxPoint2D temp2 ;
5422 PyObject * obj0 = 0 ;
5423 PyObject * obj1 = 0 ;
5424 char *kwnames[] = {
5425 (char *) "self",(char *) "pt", NULL
5426 };
5427
5428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5431 {
5432 arg2 = &temp2;
5433 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5434 }
5435 {
5436 PyThreadState* __tstate = wxPyBeginAllowThreads();
5437 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5438
5439 wxPyEndAllowThreads(__tstate);
5440 if (PyErr_Occurred()) SWIG_fail;
5441 }
4f89f6a3
RD
5442 {
5443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5444 }
d14a1e28
RD
5445 return resultobj;
5446 fail:
5447 return NULL;
5448}
5449
5450
d14a1e28
RD
5451static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5452 PyObject *resultobj;
5453 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5454 double arg2 ;
5455 PyObject * obj0 = 0 ;
994141e6 5456 PyObject * obj1 = 0 ;
d14a1e28
RD
5457 char *kwnames[] = {
5458 (char *) "self",(char *) "m_x", NULL
5459 };
5460
994141e6 5461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5464 arg2 = (double) SWIG_AsDouble(obj1);
5465 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5466 if (arg1) (arg1)->m_x = arg2;
5467
5468 Py_INCREF(Py_None); resultobj = Py_None;
5469 return resultobj;
5470 fail:
5471 return NULL;
5472}
5473
5474
5475static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5476 PyObject *resultobj;
5477 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5478 double result;
5479 PyObject * obj0 = 0 ;
5480 char *kwnames[] = {
5481 (char *) "self", NULL
5482 };
5483
5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5487 result = (double) ((arg1)->m_x);
5488
15afbcd0 5489 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5490 return resultobj;
5491 fail:
5492 return NULL;
5493}
5494
5495
5496static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj;
5498 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5499 double arg2 ;
5500 PyObject * obj0 = 0 ;
994141e6 5501 PyObject * obj1 = 0 ;
d14a1e28
RD
5502 char *kwnames[] = {
5503 (char *) "self",(char *) "m_y", NULL
5504 };
5505
994141e6 5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5509 arg2 = (double) SWIG_AsDouble(obj1);
5510 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5511 if (arg1) (arg1)->m_y = arg2;
5512
5513 Py_INCREF(Py_None); resultobj = Py_None;
5514 return resultobj;
5515 fail:
5516 return NULL;
5517}
5518
5519
5520static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5521 PyObject *resultobj;
5522 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5523 double result;
5524 PyObject * obj0 = 0 ;
5525 char *kwnames[] = {
5526 (char *) "self", NULL
5527 };
5528
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5532 result = (double) ((arg1)->m_y);
5533
15afbcd0 5534 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5535 return resultobj;
5536 fail:
5537 return NULL;
5538}
5539
5540
5541static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5542 PyObject *resultobj;
5543 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5544 double arg2 = (double) 0 ;
5545 double arg3 = (double) 0 ;
5546 PyObject * obj0 = 0 ;
994141e6
RD
5547 PyObject * obj1 = 0 ;
5548 PyObject * obj2 = 0 ;
d14a1e28
RD
5549 char *kwnames[] = {
5550 (char *) "self",(char *) "x",(char *) "y", NULL
5551 };
5552
994141e6 5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5556 if (obj1) {
15afbcd0
RD
5557 arg2 = (double) SWIG_AsDouble(obj1);
5558 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
5559 }
5560 if (obj2) {
15afbcd0
RD
5561 arg3 = (double) SWIG_AsDouble(obj2);
5562 if (PyErr_Occurred()) SWIG_fail;
994141e6 5563 }
d14a1e28
RD
5564 {
5565 PyThreadState* __tstate = wxPyBeginAllowThreads();
5566 wxPoint2D_Set(arg1,arg2,arg3);
5567
5568 wxPyEndAllowThreads(__tstate);
5569 if (PyErr_Occurred()) SWIG_fail;
5570 }
5571 Py_INCREF(Py_None); resultobj = Py_None;
5572 return resultobj;
5573 fail:
5574 return NULL;
5575}
5576
5577
e811c8ce 5578static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5579 PyObject *resultobj;
5580 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5581 PyObject *result;
5582 PyObject * obj0 = 0 ;
5583 char *kwnames[] = {
5584 (char *) "self", NULL
5585 };
5586
e811c8ce 5587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5592 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 resultobj = result;
5598 return resultobj;
5599 fail:
5600 return NULL;
5601}
5602
5603
5604static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
5605 PyObject *obj;
5606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5607 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5608 Py_INCREF(obj);
5609 return Py_BuildValue((char *)"");
5610}
5611static int _wrap_DefaultPosition_set(PyObject *_val) {
5612 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5613 return 1;
5614}
5615
5616
5617static PyObject *_wrap_DefaultPosition_get() {
5618 PyObject *pyobj;
5619
15afbcd0 5620 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
5621 return pyobj;
5622}
5623
5624
5625static int _wrap_DefaultSize_set(PyObject *_val) {
5626 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5627 return 1;
5628}
5629
5630
5631static PyObject *_wrap_DefaultSize_get() {
5632 PyObject *pyobj;
5633
15afbcd0 5634 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
5635 return pyobj;
5636}
5637
5638
5639static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5640 PyObject *resultobj;
5641 PyObject *arg1 = (PyObject *) 0 ;
5642 wxPyInputStream *result;
5643 PyObject * obj0 = 0 ;
5644 char *kwnames[] = {
5645 (char *) "p", NULL
5646 };
5647
5648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5649 arg1 = obj0;
5650 {
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5653
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
15afbcd0 5657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
d14a1e28
RD
5658 return resultobj;
5659 fail:
5660 return NULL;
5661}
5662
5663
5664static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
5665 PyObject *resultobj;
5666 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5667 PyObject * obj0 = 0 ;
5668 char *kwnames[] = {
5669 (char *) "self", NULL
5670 };
5671
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
15afbcd0
RD
5673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5675 {
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 (arg1)->close();
5678
5679 wxPyEndAllowThreads(__tstate);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 }
5682 Py_INCREF(Py_None); resultobj = Py_None;
5683 return resultobj;
5684 fail:
5685 return NULL;
5686}
5687
5688
5689static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
5690 PyObject *resultobj;
5691 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5692 PyObject * obj0 = 0 ;
5693 char *kwnames[] = {
5694 (char *) "self", NULL
5695 };
5696
5697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
15afbcd0
RD
5698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5700 {
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 (arg1)->flush();
5703
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 Py_INCREF(Py_None); resultobj = Py_None;
5708 return resultobj;
5709 fail:
5710 return NULL;
5711}
5712
5713
5714static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5715 PyObject *resultobj;
5716 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5717 bool result;
5718 PyObject * obj0 = 0 ;
5719 char *kwnames[] = {
5720 (char *) "self", NULL
5721 };
5722
5723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
5724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5726 {
5727 PyThreadState* __tstate = wxPyBeginAllowThreads();
5728 result = (bool)(arg1)->eof();
5729
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
4f89f6a3
RD
5733 {
5734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5735 }
d14a1e28
RD
5736 return resultobj;
5737 fail:
5738 return NULL;
5739}
5740
5741
5742static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
5743 PyObject *resultobj;
5744 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5745 int arg2 = (int) -1 ;
5746 PyObject *result;
5747 PyObject * obj0 = 0 ;
994141e6 5748 PyObject * obj1 = 0 ;
d14a1e28
RD
5749 char *kwnames[] = {
5750 (char *) "self",(char *) "size", NULL
5751 };
5752
994141e6 5753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5756 if (obj1) {
15afbcd0
RD
5757 arg2 = (int) SWIG_AsInt(obj1);
5758 if (PyErr_Occurred()) SWIG_fail;
994141e6 5759 }
d14a1e28
RD
5760 {
5761 PyThreadState* __tstate = wxPyBeginAllowThreads();
5762 result = (PyObject *)(arg1)->read(arg2);
5763
5764 wxPyEndAllowThreads(__tstate);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 }
5767 resultobj = result;
5768 return resultobj;
5769 fail:
5770 return NULL;
5771}
5772
5773
5774static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
5775 PyObject *resultobj;
5776 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5777 int arg2 = (int) -1 ;
5778 PyObject *result;
5779 PyObject * obj0 = 0 ;
994141e6 5780 PyObject * obj1 = 0 ;
d14a1e28
RD
5781 char *kwnames[] = {
5782 (char *) "self",(char *) "size", NULL
5783 };
5784
994141e6 5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5788 if (obj1) {
15afbcd0
RD
5789 arg2 = (int) SWIG_AsInt(obj1);
5790 if (PyErr_Occurred()) SWIG_fail;
994141e6 5791 }
d14a1e28
RD
5792 {
5793 PyThreadState* __tstate = wxPyBeginAllowThreads();
5794 result = (PyObject *)(arg1)->readline(arg2);
5795
5796 wxPyEndAllowThreads(__tstate);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 resultobj = result;
5800 return resultobj;
5801 fail:
5802 return NULL;
5803}
5804
5805
5806static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
5807 PyObject *resultobj;
5808 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5809 int arg2 = (int) -1 ;
5810 PyObject *result;
5811 PyObject * obj0 = 0 ;
994141e6 5812 PyObject * obj1 = 0 ;
d14a1e28
RD
5813 char *kwnames[] = {
5814 (char *) "self",(char *) "sizehint", NULL
5815 };
5816
994141e6 5817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5820 if (obj1) {
15afbcd0
RD
5821 arg2 = (int) SWIG_AsInt(obj1);
5822 if (PyErr_Occurred()) SWIG_fail;
994141e6 5823 }
d14a1e28
RD
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 result = (PyObject *)(arg1)->readlines(arg2);
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 resultobj = result;
5832 return resultobj;
5833 fail:
5834 return NULL;
5835}
5836
5837
5838static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5841 int arg2 ;
5842 int arg3 = (int) 0 ;
5843 PyObject * obj0 = 0 ;
994141e6
RD
5844 PyObject * obj1 = 0 ;
5845 PyObject * obj2 = 0 ;
d14a1e28
RD
5846 char *kwnames[] = {
5847 (char *) "self",(char *) "offset",(char *) "whence", NULL
5848 };
5849
994141e6 5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5853 arg2 = (int) SWIG_AsInt(obj1);
5854 if (PyErr_Occurred()) SWIG_fail;
994141e6 5855 if (obj2) {
15afbcd0
RD
5856 arg3 = (int) SWIG_AsInt(obj2);
5857 if (PyErr_Occurred()) SWIG_fail;
994141e6 5858 }
d14a1e28
RD
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 (arg1)->seek(arg2,arg3);
5862
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 Py_INCREF(Py_None); resultobj = Py_None;
5867 return resultobj;
5868 fail:
5869 return NULL;
5870}
5871
5872
5873static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj;
5875 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5876 int result;
5877 PyObject * obj0 = 0 ;
5878 char *kwnames[] = {
5879 (char *) "self", NULL
5880 };
5881
5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
15afbcd0
RD
5883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 result = (int)(arg1)->tell();
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
15afbcd0 5892 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5893 return resultobj;
5894 fail:
5895 return NULL;
5896}
5897
5898
5899static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
5900 PyObject *resultobj;
5901 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5902 char result;
5903 PyObject * obj0 = 0 ;
5904 char *kwnames[] = {
5905 (char *) "self", NULL
5906 };
5907
5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
15afbcd0
RD
5909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5911 {
5912 PyThreadState* __tstate = wxPyBeginAllowThreads();
5913 result = (char)(arg1)->Peek();
5914
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) SWIG_fail;
5917 }
15afbcd0 5918 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5919 return resultobj;
5920 fail:
5921 return NULL;
5922}
5923
5924
5925static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj;
5927 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5928 char result;
5929 PyObject * obj0 = 0 ;
5930 char *kwnames[] = {
5931 (char *) "self", NULL
5932 };
5933
5934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
15afbcd0
RD
5935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5937 {
5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5939 result = (char)(arg1)->GetC();
5940
5941 wxPyEndAllowThreads(__tstate);
5942 if (PyErr_Occurred()) SWIG_fail;
5943 }
15afbcd0 5944 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5945 return resultobj;
5946 fail:
5947 return NULL;
5948}
5949
5950
5951static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5952 PyObject *resultobj;
5953 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5954 size_t result;
5955 PyObject * obj0 = 0 ;
5956 char *kwnames[] = {
5957 (char *) "self", NULL
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
5961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5963 {
5964 PyThreadState* __tstate = wxPyBeginAllowThreads();
5965 result = (size_t)(arg1)->LastRead();
5966
5967 wxPyEndAllowThreads(__tstate);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 }
15afbcd0 5970 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
5971 return resultobj;
5972 fail:
5973 return NULL;
5974}
5975
5976
5977static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5978 PyObject *resultobj;
5979 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5980 bool result;
5981 PyObject * obj0 = 0 ;
5982 char *kwnames[] = {
5983 (char *) "self", NULL
5984 };
5985
5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
5987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 result = (bool)(arg1)->CanRead();
5992
5993 wxPyEndAllowThreads(__tstate);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
4f89f6a3
RD
5996 {
5997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5998 }
d14a1e28
RD
5999 return resultobj;
6000 fail:
6001 return NULL;
6002}
6003
6004
6005static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
6006 PyObject *resultobj;
6007 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6008 bool result;
6009 PyObject * obj0 = 0 ;
6010 char *kwnames[] = {
6011 (char *) "self", NULL
6012 };
6013
6014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
6015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6017 {
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 result = (bool)(arg1)->Eof();
6020
6021 wxPyEndAllowThreads(__tstate);
6022 if (PyErr_Occurred()) SWIG_fail;
6023 }
4f89f6a3
RD
6024 {
6025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6026 }
d14a1e28
RD
6027 return resultobj;
6028 fail:
6029 return NULL;
6030}
6031
6032
6033static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
6034 PyObject *resultobj;
6035 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6036 char arg2 ;
6037 bool result;
6038 PyObject * obj0 = 0 ;
994141e6 6039 PyObject * obj1 = 0 ;
d14a1e28
RD
6040 char *kwnames[] = {
6041 (char *) "self",(char *) "c", NULL
6042 };
6043
994141e6 6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6047 arg2 = (char) SWIG_AsChar(obj1);
6048 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 result = (bool)(arg1)->Ungetch(arg2);
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
4f89f6a3
RD
6056 {
6057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6058 }
d14a1e28
RD
6059 return resultobj;
6060 fail:
6061 return NULL;
6062}
6063
6064
6065static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
6066 PyObject *resultobj;
6067 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6068 long arg2 ;
6069 int arg3 = (int) wxFromStart ;
6070 long result;
6071 PyObject * obj0 = 0 ;
994141e6
RD
6072 PyObject * obj1 = 0 ;
6073 PyObject * obj2 = 0 ;
d14a1e28
RD
6074 char *kwnames[] = {
6075 (char *) "self",(char *) "pos",(char *) "mode", NULL
6076 };
6077
994141e6 6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6081 arg2 = (long) SWIG_AsLong(obj1);
6082 if (PyErr_Occurred()) SWIG_fail;
994141e6 6083 if (obj2) {
15afbcd0
RD
6084 arg3 = (wxSeekMode) SWIG_AsInt(obj2);
6085 if (PyErr_Occurred()) SWIG_fail;
994141e6 6086 }
d14a1e28
RD
6087 {
6088 PyThreadState* __tstate = wxPyBeginAllowThreads();
6089 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
6090
6091 wxPyEndAllowThreads(__tstate);
6092 if (PyErr_Occurred()) SWIG_fail;
6093 }
15afbcd0 6094 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
6095 return resultobj;
6096 fail:
6097 return NULL;
6098}
6099
6100
6101static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
6102 PyObject *resultobj;
6103 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6104 long result;
6105 PyObject * obj0 = 0 ;
6106 char *kwnames[] = {
6107 (char *) "self", NULL
6108 };
6109
6110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
15afbcd0
RD
6111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 result = (long)(arg1)->TellI();
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
15afbcd0 6120 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
6121 return resultobj;
6122 fail:
6123 return NULL;
6124}
6125
6126
6127static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
6128 PyObject *obj;
6129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6130 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6131 Py_INCREF(obj);
6132 return Py_BuildValue((char *)"");
6133}
6134static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
6135 PyObject *resultobj;
6136 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6137 PyObject *arg2 = (PyObject *) 0 ;
6138 PyObject * obj0 = 0 ;
6139 PyObject * obj1 = 0 ;
6140 char *kwnames[] = {
6141 (char *) "self",(char *) "obj", NULL
6142 };
6143
6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6147 arg2 = obj1;
6148 {
6149 PyThreadState* __tstate = wxPyBeginAllowThreads();
6150 wxOutputStream_write(arg1,arg2);
6151
6152 wxPyEndAllowThreads(__tstate);
6153 if (PyErr_Occurred()) SWIG_fail;
6154 }
6155 Py_INCREF(Py_None); resultobj = Py_None;
6156 return resultobj;
6157 fail:
6158 return NULL;
6159}
6160
6161
6162static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
6163 PyObject *obj;
6164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6165 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6166 Py_INCREF(obj);
6167 return Py_BuildValue((char *)"");
6168}
6169static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj;
6171 wxInputStream *arg1 = (wxInputStream *) 0 ;
6172 wxString *arg2 = 0 ;
6173 wxString *arg3 = 0 ;
6174 wxString *arg4 = 0 ;
6175 wxDateTime arg5 ;
6176 wxFSFile *result;
6177 wxPyInputStream *temp1 ;
6178 bool created1 ;
e811c8ce
RD
6179 bool temp2 = False ;
6180 bool temp3 = False ;
6181 bool temp4 = False ;
d14a1e28
RD
6182 wxDateTime *argp5 ;
6183 PyObject * obj0 = 0 ;
6184 PyObject * obj1 = 0 ;
6185 PyObject * obj2 = 0 ;
6186 PyObject * obj3 = 0 ;
6187 PyObject * obj4 = 0 ;
6188 char *kwnames[] = {
6189 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6190 };
6191
6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6193 {
6194 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6195 arg1 = temp1->m_wxis;
e811c8ce 6196 created1 = False;
d14a1e28
RD
6197 } else {
6198 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 6199 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
6200 if (arg1 == NULL) {
6201 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6202 SWIG_fail;
6203 }
e811c8ce 6204 created1 = True;
d14a1e28
RD
6205 }
6206 }
6207 {
6208 arg2 = wxString_in_helper(obj1);
6209 if (arg2 == NULL) SWIG_fail;
e811c8ce 6210 temp2 = True;
d14a1e28
RD
6211 }
6212 {
6213 arg3 = wxString_in_helper(obj2);
6214 if (arg3 == NULL) SWIG_fail;
e811c8ce 6215 temp3 = True;
d14a1e28
RD
6216 }
6217 {
6218 arg4 = wxString_in_helper(obj3);
6219 if (arg4 == NULL) SWIG_fail;
e811c8ce 6220 temp4 = True;
d14a1e28 6221 }
15afbcd0
RD
6222 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6223 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6224 arg5 = *argp5;
d14a1e28
RD
6225 {
6226 PyThreadState* __tstate = wxPyBeginAllowThreads();
6227 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6228
6229 wxPyEndAllowThreads(__tstate);
6230 if (PyErr_Occurred()) SWIG_fail;
6231 }
6232 {
6233 resultobj = wxPyMake_wxObject(result);
6234 }
6235 {
6236 if (created1)
6237 delete arg1;
6238 }
6239 {
6240 if (temp2)
6241 delete arg2;
6242 }
6243 {
6244 if (temp3)
6245 delete arg3;
6246 }
6247 {
6248 if (temp4)
6249 delete arg4;
6250 }
6251 return resultobj;
6252 fail:
6253 {
6254 if (created1)
6255 delete arg1;
6256 }
6257 {
6258 if (temp2)
6259 delete arg2;
6260 }
6261 {
6262 if (temp3)
6263 delete arg3;
6264 }
6265 {
6266 if (temp4)
6267 delete arg4;
6268 }
6269 return NULL;
6270}
6271
6272
6273static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6274 PyObject *resultobj;
6275 wxFSFile *arg1 = (wxFSFile *) 0 ;
6276 PyObject * obj0 = 0 ;
6277 char *kwnames[] = {
6278 (char *) "self", NULL
6279 };
6280
6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
6282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 delete arg1;
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 Py_INCREF(Py_None); resultobj = Py_None;
6292 return resultobj;
6293 fail:
6294 return NULL;
6295}
6296
6297
6298static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6299 PyObject *resultobj;
6300 wxFSFile *arg1 = (wxFSFile *) 0 ;
6301 wxInputStream *result;
6302 PyObject * obj0 = 0 ;
6303 char *kwnames[] = {
6304 (char *) "self", NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
6308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6310 {
6311 PyThreadState* __tstate = wxPyBeginAllowThreads();
6312 result = (wxInputStream *)(arg1)->GetStream();
6313
6314 wxPyEndAllowThreads(__tstate);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 }
6317 {
6318 wxPyInputStream * _ptr = NULL;
6319
6320 if (result) {
6321 _ptr = new wxPyInputStream(result);
6322 }
e811c8ce 6323 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
6324 }
6325 return resultobj;
6326 fail:
6327 return NULL;
6328}
6329
6330
6331static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
6332 PyObject *resultobj;
6333 wxFSFile *arg1 = (wxFSFile *) 0 ;
6334 wxString *result;
6335 PyObject * obj0 = 0 ;
6336 char *kwnames[] = {
6337 (char *) "self", NULL
6338 };
6339
6340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
6341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6343 {
6344 PyThreadState* __tstate = wxPyBeginAllowThreads();
6345 {
6346 wxString const &_result_ref = (arg1)->GetMimeType();
6347 result = (wxString *) &_result_ref;
6348 }
6349
6350 wxPyEndAllowThreads(__tstate);
6351 if (PyErr_Occurred()) SWIG_fail;
6352 }
cc6dd355
RD
6353 {
6354#if wxUSE_UNICODE
6355 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6356#else
6357 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6358#endif
6359 }
d14a1e28
RD
6360 return resultobj;
6361 fail:
6362 return NULL;
6363}
6364
6365
6366static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6367 PyObject *resultobj;
6368 wxFSFile *arg1 = (wxFSFile *) 0 ;
6369 wxString *result;
6370 PyObject * obj0 = 0 ;
6371 char *kwnames[] = {
6372 (char *) "self", NULL
6373 };
6374
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
6376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6378 {
6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
6380 {
6381 wxString const &_result_ref = (arg1)->GetLocation();
6382 result = (wxString *) &_result_ref;
6383 }
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 }
cc6dd355
RD
6388 {
6389#if wxUSE_UNICODE
6390 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6391#else
6392 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6393#endif
6394 }
d14a1e28
RD
6395 return resultobj;
6396 fail:
6397 return NULL;
6398}
6399
6400
6401static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj;
6403 wxFSFile *arg1 = (wxFSFile *) 0 ;
6404 wxString *result;
6405 PyObject * obj0 = 0 ;
6406 char *kwnames[] = {
6407 (char *) "self", NULL
6408 };
6409
6410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
15afbcd0
RD
6411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 {
6416 wxString const &_result_ref = (arg1)->GetAnchor();
6417 result = (wxString *) &_result_ref;
6418 }
6419
6420 wxPyEndAllowThreads(__tstate);
6421 if (PyErr_Occurred()) SWIG_fail;
6422 }
cc6dd355
RD
6423 {
6424#if wxUSE_UNICODE
6425 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6426#else
6427 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6428#endif
6429 }
d14a1e28
RD
6430 return resultobj;
6431 fail:
6432 return NULL;
6433}
6434
6435
6436static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6437 PyObject *resultobj;
6438 wxFSFile *arg1 = (wxFSFile *) 0 ;
6439 wxDateTime result;
6440 PyObject * obj0 = 0 ;
6441 char *kwnames[] = {
6442 (char *) "self", NULL
6443 };
6444
6445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
6446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6448 {
6449 PyThreadState* __tstate = wxPyBeginAllowThreads();
6450 result = (arg1)->GetModificationTime();
6451
6452 wxPyEndAllowThreads(__tstate);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 }
6455 {
6456 wxDateTime * resultptr;
6457 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 6458 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
6459 }
6460 return resultobj;
6461 fail:
6462 return NULL;
6463}
6464
6465
6466static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
6467 PyObject *obj;
6468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6469 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6470 Py_INCREF(obj);
6471 return Py_BuildValue((char *)"");
6472}
6473static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6474 PyObject *obj;
6475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6476 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6477 Py_INCREF(obj);
6478 return Py_BuildValue((char *)"");
6479}
6480static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6481 PyObject *resultobj;
6482 wxPyFileSystemHandler *result;
6483 char *kwnames[] = {
6484 NULL
6485 };
6486
6487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6488 {
6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
6490 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6491
6492 wxPyEndAllowThreads(__tstate);
6493 if (PyErr_Occurred()) SWIG_fail;
6494 }
15afbcd0 6495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
d14a1e28
RD
6496 return resultobj;
6497 fail:
6498 return NULL;
6499}
6500
6501
6502static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6503 PyObject *resultobj;
6504 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6505 PyObject *arg2 = (PyObject *) 0 ;
6506 PyObject *arg3 = (PyObject *) 0 ;
6507 PyObject * obj0 = 0 ;
6508 PyObject * obj1 = 0 ;
6509 PyObject * obj2 = 0 ;
6510 char *kwnames[] = {
6511 (char *) "self",(char *) "self",(char *) "_class", NULL
6512 };
6513
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6517 arg2 = obj1;
6518 arg3 = obj2;
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6521 (arg1)->_setCallbackInfo(arg2,arg3);
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
6526 Py_INCREF(Py_None); resultobj = Py_None;
6527 return resultobj;
6528 fail:
6529 return NULL;
6530}
6531
6532
6533static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj;
6535 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6536 wxString *arg2 = 0 ;
6537 bool result;
e811c8ce 6538 bool temp2 = False ;
d14a1e28
RD
6539 PyObject * obj0 = 0 ;
6540 PyObject * obj1 = 0 ;
6541 char *kwnames[] = {
6542 (char *) "self",(char *) "location", NULL
6543 };
6544
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6548 {
6549 arg2 = wxString_in_helper(obj1);
6550 if (arg2 == NULL) SWIG_fail;
e811c8ce 6551 temp2 = True;
d14a1e28
RD
6552 }
6553 {
6554 PyThreadState* __tstate = wxPyBeginAllowThreads();
6555 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6556
6557 wxPyEndAllowThreads(__tstate);
6558 if (PyErr_Occurred()) SWIG_fail;
6559 }
4f89f6a3
RD
6560 {
6561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6562 }
d14a1e28
RD
6563 {
6564 if (temp2)
6565 delete arg2;
6566 }
6567 return resultobj;
6568 fail:
6569 {
6570 if (temp2)
6571 delete arg2;
6572 }
6573 return NULL;
6574}
6575
6576
6577static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6578 PyObject *resultobj;
6579 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6580 wxFileSystem *arg2 = 0 ;
6581 wxString *arg3 = 0 ;
6582 wxFSFile *result;
e811c8ce 6583 bool temp3 = False ;
d14a1e28
RD
6584 PyObject * obj0 = 0 ;
6585 PyObject * obj1 = 0 ;
6586 PyObject * obj2 = 0 ;
6587 char *kwnames[] = {
6588 (char *) "self",(char *) "fs",(char *) "location", NULL
6589 };
6590
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6595 SWIG_POINTER_EXCEPTION | 0)) == -1)
6596 SWIG_fail;
d14a1e28 6597 if (arg2 == NULL) {
15afbcd0
RD
6598 PyErr_SetString(PyExc_TypeError,"null reference");
6599 SWIG_fail;
d14a1e28
RD
6600 }
6601 {
6602 arg3 = wxString_in_helper(obj2);
6603 if (arg3 == NULL) SWIG_fail;
e811c8ce 6604 temp3 = True;
d14a1e28
RD
6605 }
6606 {
6607 PyThreadState* __tstate = wxPyBeginAllowThreads();
6608 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6609
6610 wxPyEndAllowThreads(__tstate);
6611 if (PyErr_Occurred()) SWIG_fail;
6612 }
6613 {
6614 resultobj = wxPyMake_wxObject(result);
6615 }
6616 {
6617 if (temp3)
6618 delete arg3;
6619 }
6620 return resultobj;
6621 fail:
6622 {
6623 if (temp3)
6624 delete arg3;
6625 }
6626 return NULL;
6627}
6628
6629
6630static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6631 PyObject *resultobj;
6632 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6633 wxString *arg2 = 0 ;
6634 int arg3 = (int) 0 ;
6635 wxString result;
e811c8ce 6636 bool temp2 = False ;
d14a1e28
RD
6637 PyObject * obj0 = 0 ;
6638 PyObject * obj1 = 0 ;
994141e6 6639 PyObject * obj2 = 0 ;
d14a1e28
RD
6640 char *kwnames[] = {
6641 (char *) "self",(char *) "spec",(char *) "flags", NULL
6642 };
6643
994141e6 6644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6647 {
6648 arg2 = wxString_in_helper(obj1);
6649 if (arg2 == NULL) SWIG_fail;
e811c8ce 6650 temp2 = True;
d14a1e28 6651 }
994141e6 6652 if (obj2) {
15afbcd0
RD
6653 arg3 = (int) SWIG_AsInt(obj2);
6654 if (PyErr_Occurred()) SWIG_fail;
994141e6 6655 }
d14a1e28
RD
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6659
6660 wxPyEndAllowThreads(__tstate);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 {
6664#if wxUSE_UNICODE
6665 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6666#else
6667 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6668#endif
6669 }
6670 {
6671 if (temp2)
6672 delete arg2;
6673 }
6674 return resultobj;
6675 fail:
6676 {
6677 if (temp2)
6678 delete arg2;
6679 }
6680 return NULL;
6681}
6682
6683
6684static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6685 PyObject *resultobj;
6686 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6687 wxString result;
6688 PyObject * obj0 = 0 ;
6689 char *kwnames[] = {
6690 (char *) "self", NULL
6691 };
6692
6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
6694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 result = (arg1)->FindNext();
6699
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 {
6704#if wxUSE_UNICODE
6705 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6706#else
6707 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6708#endif
6709 }
6710 return resultobj;
6711 fail:
6712 return NULL;
6713}
6714
6715
6716static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
6717 PyObject *resultobj;
6718 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6719 wxString *arg2 = 0 ;
6720 wxString result;
e811c8ce 6721 bool temp2 = False ;
d14a1e28
RD
6722 PyObject * obj0 = 0 ;
6723 PyObject * obj1 = 0 ;
6724 char *kwnames[] = {
6725 (char *) "self",(char *) "location", NULL
6726 };
6727
6728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6731 {
6732 arg2 = wxString_in_helper(obj1);
6733 if (arg2 == NULL) SWIG_fail;
e811c8ce 6734 temp2 = True;
d14a1e28
RD
6735 }
6736 {
6737 PyThreadState* __tstate = wxPyBeginAllowThreads();
6738 result = (arg1)->GetProtocol((wxString const &)*arg2);
6739
6740 wxPyEndAllowThreads(__tstate);
6741 if (PyErr_Occurred()) SWIG_fail;
6742 }
6743 {
6744#if wxUSE_UNICODE
6745 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6746#else
6747 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6748#endif
6749 }
6750 {
6751 if (temp2)
6752 delete arg2;
6753 }
6754 return resultobj;
6755 fail:
6756 {
6757 if (temp2)
6758 delete arg2;
6759 }
6760 return NULL;
6761}
6762
6763
6764static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6765 PyObject *resultobj;
6766 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6767 wxString *arg2 = 0 ;
6768 wxString result;
e811c8ce 6769 bool temp2 = False ;
d14a1e28
RD
6770 PyObject * obj0 = 0 ;
6771 PyObject * obj1 = 0 ;
6772 char *kwnames[] = {
6773 (char *) "self",(char *) "location", NULL
6774 };
6775
6776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6779 {
6780 arg2 = wxString_in_helper(obj1);
6781 if (arg2 == NULL) SWIG_fail;
e811c8ce 6782 temp2 = True;
d14a1e28
RD
6783 }
6784 {
6785 PyThreadState* __tstate = wxPyBeginAllowThreads();
6786 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
6787
6788 wxPyEndAllowThreads(__tstate);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 }
6791 {
6792#if wxUSE_UNICODE
6793 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6794#else
6795 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6796#endif
6797 }
6798 {
6799 if (temp2)
6800 delete arg2;
6801 }
6802 return resultobj;
6803 fail:
6804 {
6805 if (temp2)
6806 delete arg2;
6807 }
6808 return NULL;
6809}
6810
6811
6812static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6813 PyObject *resultobj;
6814 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6815 wxString *arg2 = 0 ;
6816 wxString result;
e811c8ce 6817 bool temp2 = False ;
d14a1e28
RD
6818 PyObject * obj0 = 0 ;
6819 PyObject * obj1 = 0 ;
6820 char *kwnames[] = {
6821 (char *) "self",(char *) "location", NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6827 {
6828 arg2 = wxString_in_helper(obj1);
6829 if (arg2 == NULL) SWIG_fail;
e811c8ce 6830 temp2 = True;
d14a1e28
RD
6831 }
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 result = (arg1)->GetAnchor((wxString const &)*arg2);
6835
6836 wxPyEndAllowThreads(__tstate);
6837 if (PyErr_Occurred()) SWIG_fail;
6838 }
6839 {
6840#if wxUSE_UNICODE
6841 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6842#else
6843 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6844#endif
6845 }
6846 {
6847 if (temp2)
6848 delete arg2;
6849 }
6850 return resultobj;
6851 fail:
6852 {
6853 if (temp2)
6854 delete arg2;
6855 }
6856 return NULL;
6857}
6858
6859
6860static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6861 PyObject *resultobj;
6862 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6863 wxString *arg2 = 0 ;
6864 wxString result;
e811c8ce 6865 bool temp2 = False ;
d14a1e28
RD
6866 PyObject * obj0 = 0 ;
6867 PyObject * obj1 = 0 ;
6868 char *kwnames[] = {
6869 (char *) "self",(char *) "location", NULL
6870 };
6871
6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6875 {
6876 arg2 = wxString_in_helper(obj1);
6877 if (arg2 == NULL) SWIG_fail;
e811c8ce 6878 temp2 = True;
d14a1e28
RD
6879 }
6880 {
6881 PyThreadState* __tstate = wxPyBeginAllowThreads();
6882 result = (arg1)->GetRightLocation((wxString const &)*arg2);
6883
6884 wxPyEndAllowThreads(__tstate);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 }
6887 {
6888#if wxUSE_UNICODE
6889 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6890#else
6891 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6892#endif
6893 }
6894 {
6895 if (temp2)
6896 delete arg2;
6897 }
6898 return resultobj;
6899 fail:
6900 {
6901 if (temp2)
6902 delete arg2;
6903 }
6904 return NULL;
6905}
6906
6907
6908static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
6909 PyObject *resultobj;
6910 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6911 wxString *arg2 = 0 ;
6912 wxString result;
e811c8ce 6913 bool temp2 = False ;
d14a1e28
RD
6914 PyObject * obj0 = 0 ;
6915 PyObject * obj1 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "self",(char *) "location", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6923 {
6924 arg2 = wxString_in_helper(obj1);
6925 if (arg2 == NULL) SWIG_fail;
e811c8ce 6926 temp2 = True;
d14a1e28
RD
6927 }
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 {
6936#if wxUSE_UNICODE
6937 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6938#else
6939 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6940#endif
6941 }
6942 {
6943 if (temp2)
6944 delete arg2;
6945 }
6946 return resultobj;
6947 fail:
6948 {
6949 if (temp2)
6950 delete arg2;
6951 }
6952 return NULL;
6953}
6954
6955
6956static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6957 PyObject *obj;
6958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6959 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
6960 Py_INCREF(obj);
6961 return Py_BuildValue((char *)"");
6962}
6963static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6964 PyObject *resultobj;
6965 wxFileSystem *result;
6966 char *kwnames[] = {
6967 NULL
6968 };
6969
6970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
6971 {
6972 PyThreadState* __tstate = wxPyBeginAllowThreads();
6973 result = (wxFileSystem *)new wxFileSystem();
6974
6975 wxPyEndAllowThreads(__tstate);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 }
6978 {
6979 resultobj = wxPyMake_wxObject(result);
6980 }
6981 return resultobj;
6982 fail:
6983 return NULL;
6984}
6985
6986
6987static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj;
6989 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6990 PyObject * obj0 = 0 ;
6991 char *kwnames[] = {
6992 (char *) "self", NULL
6993 };
6994
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
15afbcd0
RD
6996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 delete arg1;
7001
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 Py_INCREF(Py_None); resultobj = Py_None;
7006 return resultobj;
7007 fail:
7008 return NULL;
7009}
7010
7011
7012static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
7013 PyObject *resultobj;
7014 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7015 wxString *arg2 = 0 ;
e811c8ce
RD
7016 bool arg3 = (bool) False ;
7017 bool temp2 = False ;
d14a1e28
RD
7018 PyObject * obj0 = 0 ;
7019 PyObject * obj1 = 0 ;
7020 PyObject * obj2 = 0 ;
7021 char *kwnames[] = {
7022 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7023 };
7024
7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7028 {
7029 arg2 = wxString_in_helper(obj1);
7030 if (arg2 == NULL) SWIG_fail;
e811c8ce 7031 temp2 = True;
d14a1e28
RD
7032 }
7033 if (obj2) {
15afbcd0
RD
7034 arg3 = (bool) SWIG_AsBool(obj2);
7035 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7036 }
7037 {
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
7040
7041 wxPyEndAllowThreads(__tstate);
7042 if (PyErr_Occurred()) SWIG_fail;
7043 }
7044 Py_INCREF(Py_None); resultobj = Py_None;
7045 {
7046 if (temp2)
7047 delete arg2;
7048 }
7049 return resultobj;
7050 fail:
7051 {
7052 if (temp2)
7053 delete arg2;
7054 }
7055 return NULL;
7056}
7057
7058
7059static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
7060 PyObject *resultobj;
7061 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7062 wxString result;
7063 PyObject * obj0 = 0 ;
7064 char *kwnames[] = {
7065 (char *) "self", NULL
7066 };
7067
7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
7069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 result = (arg1)->GetPath();
7074
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 {
7079#if wxUSE_UNICODE
7080 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7081#else
7082 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7083#endif
7084 }
7085 return resultobj;
7086 fail:
7087 return NULL;
7088}
7089
7090
7091static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7092 PyObject *resultobj;
7093 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7094 wxString *arg2 = 0 ;
7095 wxFSFile *result;
e811c8ce 7096 bool temp2 = False ;
d14a1e28
RD
7097 PyObject * obj0 = 0 ;
7098 PyObject * obj1 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "self",(char *) "location", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7106 {
7107 arg2 = wxString_in_helper(obj1);
7108 if (arg2 == NULL) SWIG_fail;
e811c8ce 7109 temp2 = True;
d14a1e28
RD
7110 }
7111 {
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
7114
7115 wxPyEndAllowThreads(__tstate);
7116 if (PyErr_Occurred()) SWIG_fail;
7117 }
7118 {
7119 resultobj = wxPyMake_wxObject(result);
7120 }
7121 {
7122 if (temp2)
7123 delete arg2;
7124 }
7125 return resultobj;
7126 fail:
7127 {
7128 if (temp2)
7129 delete arg2;
7130 }
7131 return NULL;
7132}
7133
7134
7135static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7136 PyObject *resultobj;
7137 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7138 wxString *arg2 = 0 ;
7139 int arg3 = (int) 0 ;
7140 wxString result;
e811c8ce 7141 bool temp2 = False ;
d14a1e28
RD
7142 PyObject * obj0 = 0 ;
7143 PyObject * obj1 = 0 ;
994141e6 7144 PyObject * obj2 = 0 ;
d14a1e28
RD
7145 char *kwnames[] = {
7146 (char *) "self",(char *) "spec",(char *) "flags", NULL
7147 };
7148
994141e6 7149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7152 {
7153 arg2 = wxString_in_helper(obj1);
7154 if (arg2 == NULL) SWIG_fail;
e811c8ce 7155 temp2 = True;
d14a1e28 7156 }
994141e6 7157 if (obj2) {
15afbcd0
RD
7158 arg3 = (int) SWIG_AsInt(obj2);
7159 if (PyErr_Occurred()) SWIG_fail;
994141e6 7160 }
d14a1e28
RD
7161 {
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7164
7165 wxPyEndAllowThreads(__tstate);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
7168 {
7169#if wxUSE_UNICODE
7170 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7171#else
7172 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7173#endif
7174 }
7175 {
7176 if (temp2)
7177 delete arg2;
7178 }
7179 return resultobj;
7180 fail:
7181 {
7182 if (temp2)
7183 delete arg2;
7184 }
7185 return NULL;
7186}
7187
7188
7189static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7190 PyObject *resultobj;
7191 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7192 wxString result;
7193 PyObject * obj0 = 0 ;
7194 char *kwnames[] = {
7195 (char *) "self", NULL
7196 };
7197
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 result = (arg1)->FindNext();
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 {
7209#if wxUSE_UNICODE
7210 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7211#else
7212 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7213#endif
7214 }
7215 return resultobj;
7216 fail:
7217 return NULL;
7218}
7219
7220
7221static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7222 PyObject *resultobj;
7223 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7224 PyObject * obj0 = 0 ;
7225 char *kwnames[] = {
7226 (char *) "handler", NULL
7227 };
7228
7229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
7230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7232 {
7233 PyThreadState* __tstate = wxPyBeginAllowThreads();
7234 wxFileSystem::AddHandler(arg1);
7235
7236 wxPyEndAllowThreads(__tstate);
7237 if (PyErr_Occurred()) SWIG_fail;
7238 }
7239 Py_INCREF(Py_None); resultobj = Py_None;
7240 return resultobj;
7241 fail:
7242 return NULL;
7243}
7244
7245
7246static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
7247 PyObject *resultobj;
7248 char *kwnames[] = {
7249 NULL
7250 };
7251
7252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7253 {
7254 PyThreadState* __tstate = wxPyBeginAllowThreads();
7255 wxFileSystem::CleanUpHandlers();
7256
7257 wxPyEndAllowThreads(__tstate);
7258 if (PyErr_Occurred()) SWIG_fail;
7259 }
7260 Py_INCREF(Py_None); resultobj = Py_None;
7261 return resultobj;
7262 fail:
7263 return NULL;
7264}
7265
7266
7267static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
7268 PyObject *resultobj;
7269 wxString *arg1 = 0 ;
7270 wxString result;
e811c8ce 7271 bool temp1 = False ;
d14a1e28
RD
7272 PyObject * obj0 = 0 ;
7273 char *kwnames[] = {
7274 (char *) "filename", NULL
7275 };
7276
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7278 {
7279 arg1 = wxString_in_helper(obj0);
7280 if (arg1 == NULL) SWIG_fail;
e811c8ce 7281 temp1 = True;
d14a1e28
RD
7282 }
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 {
7291#if wxUSE_UNICODE
7292 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7293#else
7294 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7295#endif
7296 }
7297 {
7298 if (temp1)
7299 delete arg1;
7300 }
7301 return resultobj;
7302 fail:
7303 {
7304 if (temp1)
7305 delete arg1;
7306 }
7307 return NULL;
7308}
7309
7310
7311static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
7312 PyObject *obj;
7313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7314 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7315 Py_INCREF(obj);
7316 return Py_BuildValue((char *)"");
7317}
7318static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj;
7320 wxString *arg1 = 0 ;
7321 wxString result;
e811c8ce 7322 bool temp1 = False ;
d14a1e28
RD
7323 PyObject * obj0 = 0 ;
7324 char *kwnames[] = {
7325 (char *) "url", NULL
7326 };
7327
7328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7329 {
7330 arg1 = wxString_in_helper(obj0);
7331 if (arg1 == NULL) SWIG_fail;
e811c8ce 7332 temp1 = True;
d14a1e28
RD
7333 }
7334 {
7335 PyThreadState* __tstate = wxPyBeginAllowThreads();
7336 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
7337
7338 wxPyEndAllowThreads(__tstate);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 }
7341 {
7342#if wxUSE_UNICODE
7343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7344#else
7345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7346#endif
7347 }
7348 {
7349 if (temp1)
7350 delete arg1;
7351 }
7352 return resultobj;
7353 fail:
7354 {
7355 if (temp1)
7356 delete arg1;
7357 }
7358 return NULL;
7359}
7360
7361
7362static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxInternetFSHandler *result;
7365 char *kwnames[] = {
7366 NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7373
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
15afbcd0 7377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
d14a1e28
RD
7378 return resultobj;
7379 fail:
7380 return NULL;
7381}
7382
7383
7384static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7385 PyObject *resultobj;
7386 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7387 wxString *arg2 = 0 ;
7388 bool result;
e811c8ce 7389 bool temp2 = False ;
d14a1e28
RD
7390 PyObject * obj0 = 0 ;
7391 PyObject * obj1 = 0 ;
7392 char *kwnames[] = {
7393 (char *) "self",(char *) "location", NULL
7394 };
7395
7396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7399 {
7400 arg2 = wxString_in_helper(obj1);
7401 if (arg2 == NULL) SWIG_fail;
e811c8ce 7402 temp2 = True;
d14a1e28
RD
7403 }
7404 {
7405 PyThreadState* __tstate = wxPyBeginAllowThreads();
7406 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7407
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
4f89f6a3
RD
7411 {
7412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7413 }
d14a1e28
RD
7414 {
7415 if (temp2)
7416 delete arg2;
7417 }
7418 return resultobj;
7419 fail:
7420 {
7421 if (temp2)
7422 delete arg2;
7423 }
7424 return NULL;
7425}
7426
7427
7428static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7429 PyObject *resultobj;
7430 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7431 wxFileSystem *arg2 = 0 ;
7432 wxString *arg3 = 0 ;
7433 wxFSFile *result;
e811c8ce 7434 bool temp3 = False ;
d14a1e28
RD
7435 PyObject * obj0 = 0 ;
7436 PyObject * obj1 = 0 ;
7437 PyObject * obj2 = 0 ;
7438 char *kwnames[] = {
7439 (char *) "self",(char *) "fs",(char *) "location", NULL
7440 };
7441
7442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7446 SWIG_POINTER_EXCEPTION | 0)) == -1)
7447 SWIG_fail;
d14a1e28 7448 if (arg2 == NULL) {
15afbcd0
RD
7449 PyErr_SetString(PyExc_TypeError,"null reference");
7450 SWIG_fail;
d14a1e28
RD
7451 }
7452 {
7453 arg3 = wxString_in_helper(obj2);
7454 if (arg3 == NULL) SWIG_fail;
e811c8ce 7455 temp3 = True;
d14a1e28
RD
7456 }
7457 {
7458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7459 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7460
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 {
7465 resultobj = wxPyMake_wxObject(result);
7466 }
7467 {
7468 if (temp3)
7469 delete arg3;
7470 }
7471 return resultobj;
7472 fail:
7473 {
7474 if (temp3)
7475 delete arg3;
7476 }
7477 return NULL;
7478}
7479
7480
7481static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
7482 PyObject *obj;
7483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7484 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7485 Py_INCREF(obj);
7486 return Py_BuildValue((char *)"");
7487}
7488static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7489 PyObject *resultobj;
7490 wxZipFSHandler *result;
7491 char *kwnames[] = {
7492 NULL
7493 };
7494
7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 result = (wxZipFSHandler *)new wxZipFSHandler();
7499
7500 wxPyEndAllowThreads(__tstate);
7501 if (PyErr_Occurred()) SWIG_fail;
7502 }
15afbcd0 7503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
d14a1e28
RD
7504 return resultobj;
7505 fail:
7506 return NULL;
7507}
7508
7509
7510static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7511 PyObject *resultobj;
7512 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7513 wxString *arg2 = 0 ;
7514 bool result;
e811c8ce 7515 bool temp2 = False ;
d14a1e28
RD
7516 PyObject * obj0 = 0 ;
7517 PyObject * obj1 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "self",(char *) "location", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7525 {
7526 arg2 = wxString_in_helper(obj1);
7527 if (arg2 == NULL) SWIG_fail;
e811c8ce 7528 temp2 = True;
d14a1e28
RD
7529 }
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7533
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
4f89f6a3
RD
7537 {
7538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7539 }
d14a1e28
RD
7540 {
7541 if (temp2)
7542 delete arg2;
7543 }
7544 return resultobj;
7545 fail:
7546 {
7547 if (temp2)
7548 delete arg2;
7549 }
7550 return NULL;
7551}
7552
7553
7554static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7555 PyObject *resultobj;
7556 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7557 wxFileSystem *arg2 = 0 ;
7558 wxString *arg3 = 0 ;
7559 wxFSFile *result;
e811c8ce 7560 bool temp3 = False ;
d14a1e28
RD
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 PyObject * obj2 = 0 ;
7564 char *kwnames[] = {
7565 (char *) "self",(char *) "fs",(char *) "location", NULL
7566 };
7567
7568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7572 SWIG_POINTER_EXCEPTION | 0)) == -1)
7573 SWIG_fail;
d14a1e28 7574 if (arg2 == NULL) {
15afbcd0
RD
7575 PyErr_SetString(PyExc_TypeError,"null reference");
7576 SWIG_fail;
d14a1e28
RD
7577 }
7578 {
7579 arg3 = wxString_in_helper(obj2);
7580 if (arg3 == NULL) SWIG_fail;
e811c8ce 7581 temp3 = True;
d14a1e28
RD
7582 }
7583 {
7584 PyThreadState* __tstate = wxPyBeginAllowThreads();
7585 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7586
7587 wxPyEndAllowThreads(__tstate);
7588 if (PyErr_Occurred()) SWIG_fail;
7589 }
7590 {
7591 resultobj = wxPyMake_wxObject(result);
7592 }
7593 {
7594 if (temp3)
7595 delete arg3;
7596 }
7597 return resultobj;
7598 fail:
7599 {
7600 if (temp3)
7601 delete arg3;
7602 }
7603 return NULL;
7604}
7605
7606
7607static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7608 PyObject *resultobj;
7609 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7610 wxString *arg2 = 0 ;
7611 int arg3 = (int) 0 ;
7612 wxString result;
e811c8ce 7613 bool temp2 = False ;
d14a1e28
RD
7614 PyObject * obj0 = 0 ;
7615 PyObject * obj1 = 0 ;
994141e6 7616 PyObject * obj2 = 0 ;
d14a1e28
RD
7617 char *kwnames[] = {
7618 (char *) "self",(char *) "spec",(char *) "flags", NULL
7619 };
7620
994141e6 7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7624 {
7625 arg2 = wxString_in_helper(obj1);
7626 if (arg2 == NULL) SWIG_fail;
e811c8ce 7627 temp2 = True;
d14a1e28 7628 }
994141e6 7629 if (obj2) {
15afbcd0
RD
7630 arg3 = (int) SWIG_AsInt(obj2);
7631 if (PyErr_Occurred()) SWIG_fail;
994141e6 7632 }
d14a1e28
RD
7633 {
7634 PyThreadState* __tstate = wxPyBeginAllowThreads();
7635 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7636
7637 wxPyEndAllowThreads(__tstate);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 }
7640 {
7641#if wxUSE_UNICODE
7642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7643#else
7644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7645#endif
7646 }
7647 {
7648 if (temp2)
7649 delete arg2;
7650 }
7651 return resultobj;
7652 fail:
7653 {
7654 if (temp2)
7655 delete arg2;
7656 }
7657 return NULL;
7658}
7659
7660
7661static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7664 wxString result;
7665 PyObject * obj0 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 result = (arg1)->FindNext();
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 {
7681#if wxUSE_UNICODE
7682 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7683#else
7684 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7685#endif
7686 }
7687 return resultobj;
7688 fail:
7689 return NULL;
7690}
7691
7692
7693static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
7694 PyObject *obj;
7695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7696 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7697 Py_INCREF(obj);
7698 return Py_BuildValue((char *)"");
7699}
7700static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7701 PyObject *resultobj;
7702 wxString *arg1 = 0 ;
7703 wxImage *arg2 = 0 ;
7704 long arg3 ;
e811c8ce 7705 bool temp1 = False ;
d14a1e28
RD
7706 PyObject * obj0 = 0 ;
7707 PyObject * obj1 = 0 ;
994141e6 7708 PyObject * obj2 = 0 ;
d14a1e28
RD
7709 char *kwnames[] = {
7710 (char *) "filename",(char *) "image",(char *) "type", NULL
7711 };
7712
994141e6 7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7714 {
7715 arg1 = wxString_in_helper(obj0);
7716 if (arg1 == NULL) SWIG_fail;
e811c8ce 7717 temp1 = True;
d14a1e28 7718 }
15afbcd0
RD
7719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
7720 SWIG_POINTER_EXCEPTION | 0)) == -1)
7721 SWIG_fail;
d14a1e28 7722 if (arg2 == NULL) {
15afbcd0
RD
7723 PyErr_SetString(PyExc_TypeError,"null reference");
7724 SWIG_fail;
994141e6 7725 }
15afbcd0
RD
7726 arg3 = (long) SWIG_AsLong(obj2);
7727 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
7731
7732 wxPyEndAllowThreads(__tstate);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 }
7735 Py_INCREF(Py_None); resultobj = Py_None;
7736 {
7737 if (temp1)
7738 delete arg1;
7739 }
7740 return resultobj;
7741 fail:
7742 {
7743 if (temp1)
7744 delete arg1;
7745 }
7746 return NULL;
7747}
7748
7749
7750static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7751 PyObject *resultobj;
7752 wxString *arg1 = 0 ;
7753 wxBitmap *arg2 = 0 ;
7754 long arg3 ;
e811c8ce 7755 bool temp1 = False ;
d14a1e28
RD
7756 PyObject * obj0 = 0 ;
7757 PyObject * obj1 = 0 ;
994141e6 7758 PyObject * obj2 = 0 ;
d14a1e28
RD
7759 char *kwnames[] = {
7760 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7761 };
7762
994141e6 7763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7764 {
7765 arg1 = wxString_in_helper(obj0);
7766 if (arg1 == NULL) SWIG_fail;
e811c8ce 7767 temp1 = True;
d14a1e28 7768 }
15afbcd0
RD
7769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
7770 SWIG_POINTER_EXCEPTION | 0)) == -1)
7771 SWIG_fail;
d14a1e28 7772 if (arg2 == NULL) {
15afbcd0
RD
7773 PyErr_SetString(PyExc_TypeError,"null reference");
7774 SWIG_fail;
994141e6 7775 }
15afbcd0
RD
7776 arg3 = (long) SWIG_AsLong(obj2);
7777 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7778 {
7779 PyThreadState* __tstate = wxPyBeginAllowThreads();
7780 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
7781
7782 wxPyEndAllowThreads(__tstate);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 }
7785 Py_INCREF(Py_None); resultobj = Py_None;
7786 {
7787 if (temp1)
7788 delete arg1;
7789 }
7790 return resultobj;
7791 fail:
7792 {
7793 if (temp1)
7794 delete arg1;
7795 }
7796 return NULL;
7797}
7798
7799
7800static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
7801 PyObject *resultobj;
7802 wxString *arg1 = 0 ;
7803 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 7804 bool temp1 = False ;
d14a1e28
RD
7805 PyObject * obj0 = 0 ;
7806 PyObject * obj1 = 0 ;
7807 char *kwnames[] = {
7808 (char *) "filename",(char *) "data", NULL
7809 };
7810
7811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
7812 {
7813 arg1 = wxString_in_helper(obj0);
7814 if (arg1 == NULL) SWIG_fail;
e811c8ce 7815 temp1 = True;
d14a1e28
RD
7816 }
7817 arg2 = obj1;
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 Py_INCREF(Py_None); resultobj = Py_None;
7826 {
7827 if (temp1)
7828 delete arg1;
7829 }
7830 return resultobj;
7831 fail:
7832 {
7833 if (temp1)
7834 delete arg1;
7835 }
7836 return NULL;
7837}
7838
7839
7840static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7841 PyObject *resultobj;
7842 wxMemoryFSHandler *result;
7843 char *kwnames[] = {
7844 NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
15afbcd0 7855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
d14a1e28
RD
7856 return resultobj;
7857 fail:
7858 return NULL;
7859}
7860
7861
7862static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7863 PyObject *resultobj;
7864 wxString *arg1 = 0 ;
e811c8ce 7865 bool temp1 = False ;
d14a1e28
RD
7866 PyObject * obj0 = 0 ;
7867 char *kwnames[] = {
7868 (char *) "filename", NULL
7869 };
7870
7871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
7872 {
7873 arg1 = wxString_in_helper(obj0);
7874 if (arg1 == NULL) SWIG_fail;
e811c8ce 7875 temp1 = True;
d14a1e28
RD
7876 }
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
7880
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 Py_INCREF(Py_None); resultobj = Py_None;
7885 {
7886 if (temp1)
7887 delete arg1;
7888 }
7889 return resultobj;
7890 fail:
7891 {
7892 if (temp1)
7893 delete arg1;
7894 }
7895 return NULL;
7896}
7897
7898
7899static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj;
7901 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7902 wxString *arg2 = 0 ;
7903 bool result;
e811c8ce 7904 bool temp2 = False ;
d14a1e28
RD
7905 PyObject * obj0 = 0 ;
7906 PyObject * obj1 = 0 ;
7907 char *kwnames[] = {
7908 (char *) "self",(char *) "location", NULL
7909 };
7910
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7914 {
7915 arg2 = wxString_in_helper(obj1);
7916 if (arg2 == NULL) SWIG_fail;
e811c8ce 7917 temp2 = True;
d14a1e28
RD
7918 }
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
4f89f6a3
RD
7926 {
7927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7928 }
d14a1e28
RD
7929 {
7930 if (temp2)
7931 delete arg2;
7932 }
7933 return resultobj;
7934 fail:
7935 {
7936 if (temp2)
7937 delete arg2;
7938 }
7939 return NULL;
7940}
7941
7942
7943static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7944 PyObject *resultobj;
7945 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7946 wxFileSystem *arg2 = 0 ;
7947 wxString *arg3 = 0 ;
7948 wxFSFile *result;
e811c8ce 7949 bool temp3 = False ;
d14a1e28
RD
7950 PyObject * obj0 = 0 ;
7951 PyObject * obj1 = 0 ;
7952 PyObject * obj2 = 0 ;
7953 char *kwnames[] = {
7954 (char *) "self",(char *) "fs",(char *) "location", NULL
7955 };
7956
7957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7961 SWIG_POINTER_EXCEPTION | 0)) == -1)
7962 SWIG_fail;
d14a1e28 7963 if (arg2 == NULL) {
15afbcd0
RD
7964 PyErr_SetString(PyExc_TypeError,"null reference");
7965 SWIG_fail;
d14a1e28
RD
7966 }
7967 {
7968 arg3 = wxString_in_helper(obj2);
7969 if (arg3 == NULL) SWIG_fail;
e811c8ce 7970 temp3 = True;
d14a1e28
RD
7971 }
7972 {
7973 PyThreadState* __tstate = wxPyBeginAllowThreads();
7974 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7975
7976 wxPyEndAllowThreads(__tstate);
7977 if (PyErr_Occurred()) SWIG_fail;
7978 }
7979 {
7980 resultobj = wxPyMake_wxObject(result);
7981 }
7982 {
7983 if (temp3)
7984 delete arg3;
7985 }
7986 return resultobj;
7987 fail:
7988 {
7989 if (temp3)
7990 delete arg3;
7991 }
7992 return NULL;
7993}
7994
7995
7996static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj;
7998 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7999 wxString *arg2 = 0 ;
8000 int arg3 = (int) 0 ;
8001 wxString result;
e811c8ce 8002 bool temp2 = False ;
d14a1e28
RD
8003 PyObject * obj0 = 0 ;
8004 PyObject * obj1 = 0 ;
994141e6 8005 PyObject * obj2 = 0 ;
d14a1e28
RD
8006 char *kwnames[] = {
8007 (char *) "self",(char *) "spec",(char *) "flags", NULL
8008 };
8009
994141e6 8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8013 {
8014 arg2 = wxString_in_helper(obj1);
8015 if (arg2 == NULL) SWIG_fail;
e811c8ce 8016 temp2 = True;
d14a1e28 8017 }
994141e6 8018 if (obj2) {
15afbcd0
RD
8019 arg3 = (int) SWIG_AsInt(obj2);
8020 if (PyErr_Occurred()) SWIG_fail;
994141e6 8021 }
d14a1e28
RD
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 {
8030#if wxUSE_UNICODE
8031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8032#else
8033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8034#endif
8035 }
8036 {
8037 if (temp2)
8038 delete arg2;
8039 }
8040 return resultobj;
8041 fail:
8042 {
8043 if (temp2)
8044 delete arg2;
8045 }
8046 return NULL;
8047}
8048
8049
8050static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
8051 PyObject *resultobj;
8052 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8053 wxString result;
8054 PyObject * obj0 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "self", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
8060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8062 {
8063 PyThreadState* __tstate = wxPyBeginAllowThreads();
8064 result = (arg1)->FindNext();
8065
8066 wxPyEndAllowThreads(__tstate);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
8069 {
8070#if wxUSE_UNICODE
8071 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8072#else
8073 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8074#endif
8075 }
8076 return resultobj;
8077 fail:
8078 return NULL;
8079}
8080
8081
8082static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
8083 PyObject *obj;
8084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8085 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
8086 Py_INCREF(obj);
8087 return Py_BuildValue((char *)"");
8088}
8089static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8090 PyObject *resultobj;
8091 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8092 wxString result;
8093 PyObject * obj0 = 0 ;
8094 char *kwnames[] = {
8095 (char *) "self", NULL
8096 };
8097
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
8099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8101 {
8102 PyThreadState* __tstate = wxPyBeginAllowThreads();
8103 result = (arg1)->GetName();
8104
8105 wxPyEndAllowThreads(__tstate);
8106 if (PyErr_Occurred()) SWIG_fail;
8107 }
8108 {
8109#if wxUSE_UNICODE
8110 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8111#else
8112 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8113#endif
8114 }
8115 return resultobj;
8116 fail:
8117 return NULL;
8118}
8119
8120
8121static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8122 PyObject *resultobj;
8123 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8124 wxString result;
8125 PyObject * obj0 = 0 ;
8126 char *kwnames[] = {
8127 (char *) "self", NULL
8128 };
8129
8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
15afbcd0
RD
8131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 result = (arg1)->GetExtension();
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 {
8141#if wxUSE_UNICODE
8142 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8143#else
8144 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8145#endif
8146 }
8147 return resultobj;
8148 fail:
8149 return NULL;
8150}
8151
8152
8153static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8154 PyObject *resultobj;
8155 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8156 long result;
8157 PyObject * obj0 = 0 ;
8158 char *kwnames[] = {
8159 (char *) "self", NULL
8160 };
8161
8162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8165 {
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 result = (long)(arg1)->GetType();
8168
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
15afbcd0 8172 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
8173 return resultobj;
8174 fail:
8175 return NULL;
8176}
8177
8178
8179static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8180 PyObject *resultobj;
8181 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8182 wxString result;
8183 PyObject * obj0 = 0 ;
8184 char *kwnames[] = {
8185 (char *) "self", NULL
8186 };
8187
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8191 {
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 result = (arg1)->GetMimeType();
8194
8195 wxPyEndAllowThreads(__tstate);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 }
8198 {
8199#if wxUSE_UNICODE
8200 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8201#else
8202 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8203#endif
8204 }
8205 return resultobj;
8206 fail:
8207 return NULL;
8208}
8209
8210
8211static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj;
8213 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8214 wxString *arg2 = 0 ;
8215 bool result;
e811c8ce 8216 bool temp2 = False ;
d14a1e28
RD
8217 PyObject * obj0 = 0 ;
8218 PyObject * obj1 = 0 ;
8219 char *kwnames[] = {
8220 (char *) "self",(char *) "name", NULL
8221 };
8222
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8226 {
8227 arg2 = wxString_in_helper(obj1);
8228 if (arg2 == NULL) SWIG_fail;
e811c8ce 8229 temp2 = True;
d14a1e28
RD
8230 }
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
4f89f6a3
RD
8238 {
8239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8240 }
d14a1e28
RD
8241 {
8242 if (temp2)
8243 delete arg2;
8244 }
8245 return resultobj;
8246 fail:
8247 {
8248 if (temp2)
8249 delete arg2;
8250 }
8251 return NULL;
8252}
8253
8254
8255static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8256 PyObject *resultobj;
8257 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8258 wxString *arg2 = 0 ;
e811c8ce 8259 bool temp2 = False ;
d14a1e28
RD
8260 PyObject * obj0 = 0 ;
8261 PyObject * obj1 = 0 ;
8262 char *kwnames[] = {
8263 (char *) "self",(char *) "name", NULL
8264 };
8265
8266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8269 {
8270 arg2 = wxString_in_helper(obj1);
8271 if (arg2 == NULL) SWIG_fail;
e811c8ce 8272 temp2 = True;
d14a1e28
RD
8273 }
8274 {
8275 PyThreadState* __tstate = wxPyBeginAllowThreads();
8276 (arg1)->SetName((wxString const &)*arg2);
8277
8278 wxPyEndAllowThreads(__tstate);
8279 if (PyErr_Occurred()) SWIG_fail;
8280 }
8281 Py_INCREF(Py_None); resultobj = Py_None;
8282 {
8283 if (temp2)
8284 delete arg2;
8285 }
8286 return resultobj;
8287 fail:
8288 {
8289 if (temp2)
8290 delete arg2;
8291 }
8292 return NULL;
8293}
8294
8295
8296static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8297 PyObject *resultobj;
8298 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8299 wxString *arg2 = 0 ;
e811c8ce 8300 bool temp2 = False ;
d14a1e28
RD
8301 PyObject * obj0 = 0 ;
8302 PyObject * obj1 = 0 ;
8303 char *kwnames[] = {
8304 (char *) "self",(char *) "extension", NULL
8305 };
8306
8307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8310 {
8311 arg2 = wxString_in_helper(obj1);
8312 if (arg2 == NULL) SWIG_fail;
e811c8ce 8313 temp2 = True;
d14a1e28
RD
8314 }
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 (arg1)->SetExtension((wxString const &)*arg2);
8318
8319 wxPyEndAllowThreads(__tstate);
8320 if (PyErr_Occurred()) SWIG_fail;
8321 }
8322 Py_INCREF(Py_None); resultobj = Py_None;
8323 {
8324 if (temp2)
8325 delete arg2;
8326 }
8327 return resultobj;
8328 fail:
8329 {
8330 if (temp2)
8331 delete arg2;
8332 }
8333 return NULL;
8334}
8335
8336
8337static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8338 PyObject *resultobj;
8339 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8340 long arg2 ;
8341 PyObject * obj0 = 0 ;
994141e6 8342 PyObject * obj1 = 0 ;
d14a1e28
RD
8343 char *kwnames[] = {
8344 (char *) "self",(char *) "type", NULL
8345 };
8346
994141e6 8347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8350 arg2 = (long) SWIG_AsLong(obj1);
8351 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8352 {
8353 PyThreadState* __tstate = wxPyBeginAllowThreads();
8354 (arg1)->SetType(arg2);
8355
8356 wxPyEndAllowThreads(__tstate);
8357 if (PyErr_Occurred()) SWIG_fail;
8358 }
8359 Py_INCREF(Py_None); resultobj = Py_None;
8360 return resultobj;
8361 fail:
8362 return NULL;
8363}
8364
8365
8366static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8367 PyObject *resultobj;
8368 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8369 wxString *arg2 = 0 ;
e811c8ce 8370 bool temp2 = False ;
d14a1e28
RD
8371 PyObject * obj0 = 0 ;
8372 PyObject * obj1 = 0 ;
8373 char *kwnames[] = {
8374 (char *) "self",(char *) "mimetype", NULL
8375 };
8376
8377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8380 {
8381 arg2 = wxString_in_helper(obj1);
8382 if (arg2 == NULL) SWIG_fail;
e811c8ce 8383 temp2 = True;
d14a1e28
RD
8384 }
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 (arg1)->SetMimeType((wxString const &)*arg2);
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 Py_INCREF(Py_None); resultobj = Py_None;
8393 {
8394 if (temp2)
8395 delete arg2;
8396 }
8397 return resultobj;
8398 fail:
8399 {
8400 if (temp2)
8401 delete arg2;
8402 }
8403 return NULL;
8404}
8405
8406
8407static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
8408 PyObject *obj;
8409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8410 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8411 Py_INCREF(obj);
8412 return Py_BuildValue((char *)"");
8413}
8414static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
8415 PyObject *resultobj;
8416 wxImageHistogram *result;
8417 char *kwnames[] = {
8418 NULL
8419 };
8420
8421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8422 {
8423 PyThreadState* __tstate = wxPyBeginAllowThreads();
8424 result = (wxImageHistogram *)new wxImageHistogram();
8425
8426 wxPyEndAllowThreads(__tstate);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 }
15afbcd0 8429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
d14a1e28
RD
8430 return resultobj;
8431 fail:
8432 return NULL;
8433}
8434
8435
8436static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
8437 PyObject *resultobj;
8438 unsigned char arg1 ;
8439 unsigned char arg2 ;
8440 unsigned char arg3 ;
8441 unsigned long result;
8442 PyObject * obj0 = 0 ;
8443 PyObject * obj1 = 0 ;
8444 PyObject * obj2 = 0 ;
8445 char *kwnames[] = {
8446 (char *) "r",(char *) "g",(char *) "b", NULL
8447 };
8448
8449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8450 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8453 if (PyErr_Occurred()) SWIG_fail;
8454 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8455 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8459
8460 wxPyEndAllowThreads(__tstate);
8461 if (PyErr_Occurred()) SWIG_fail;
8462 }
15afbcd0 8463 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
8464 return resultobj;
8465 fail:
8466 return NULL;
8467}
8468
8469
8470static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject *resultobj;
8472 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8473 unsigned char *arg2 = (unsigned char *) 0 ;
8474 unsigned char *arg3 = (unsigned char *) 0 ;
8475 unsigned char *arg4 = (unsigned char *) 0 ;
8476 unsigned char arg5 = (unsigned char) 1 ;
8477 unsigned char arg6 = (unsigned char) 0 ;
8478 unsigned char arg7 = (unsigned char) 0 ;
8479 bool result;
8480 unsigned char temp2 ;
8481 unsigned char temp3 ;
8482 unsigned char temp4 ;
8483 PyObject * obj0 = 0 ;
8484 PyObject * obj1 = 0 ;
8485 PyObject * obj2 = 0 ;
8486 PyObject * obj3 = 0 ;
8487 char *kwnames[] = {
8488 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8489 };
8490
8491 arg2 = &temp2;
8492 arg3 = &temp3;
8493 arg4 = &temp4;
8494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8497 if (obj1) {
15afbcd0
RD
8498 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8499 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8500 }
8501 if (obj2) {
15afbcd0
RD
8502 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8503 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8504 }
8505 if (obj3) {
15afbcd0
RD
8506 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8507 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8508 }
8509 {
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8512
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
4f89f6a3
RD
8516 {
8517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8518 }
d14a1e28
RD
8519 {
8520 PyObject *o = PyInt_FromLong((long) (*arg2));
8521 resultobj = t_output_helper(resultobj,o);
8522 }
8523 {
8524 PyObject *o = PyInt_FromLong((long) (*arg3));
8525 resultobj = t_output_helper(resultobj,o);
8526 }
8527 {
8528 PyObject *o = PyInt_FromLong((long) (*arg4));
8529 resultobj = t_output_helper(resultobj,o);
8530 }
8531 return resultobj;
8532 fail:
8533 return NULL;
8534}
8535
8536
8537static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
8538 PyObject *obj;
8539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8540 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8541 Py_INCREF(obj);
8542 return Py_BuildValue((char *)"");
8543}
8544static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8545 PyObject *resultobj;
8546 wxString *arg1 = 0 ;
8547 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8548 int arg3 = (int) -1 ;
8549 wxImage *result;
e811c8ce 8550 bool temp1 = False ;
d14a1e28 8551 PyObject * obj0 = 0 ;
994141e6
RD
8552 PyObject * obj1 = 0 ;
8553 PyObject * obj2 = 0 ;
d14a1e28
RD
8554 char *kwnames[] = {
8555 (char *) "name",(char *) "type",(char *) "index", NULL
8556 };
8557
994141e6 8558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8559 {
8560 arg1 = wxString_in_helper(obj0);
8561 if (arg1 == NULL) SWIG_fail;
e811c8ce 8562 temp1 = True;
d14a1e28 8563 }
994141e6 8564 if (obj1) {
15afbcd0
RD
8565 arg2 = (long) SWIG_AsLong(obj1);
8566 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8567 }
8568 if (obj2) {
15afbcd0
RD
8569 arg3 = (int) SWIG_AsInt(obj2);
8570 if (PyErr_Occurred()) SWIG_fail;
994141e6 8571 }
d14a1e28
RD
8572 {
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8575
8576 wxPyEndAllowThreads(__tstate);
8577 if (PyErr_Occurred()) SWIG_fail;
8578 }
15afbcd0 8579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8580 {
8581 if (temp1)
8582 delete arg1;
8583 }
8584 return resultobj;
8585 fail:
8586 {
8587 if (temp1)
8588 delete arg1;
8589 }
8590 return NULL;
8591}
8592
8593
8594static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8595 PyObject *resultobj;
8596 wxImage *arg1 = (wxImage *) 0 ;
8597 PyObject * obj0 = 0 ;
8598 char *kwnames[] = {
8599 (char *) "self", NULL
8600 };
8601
8602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
15afbcd0
RD
8603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8605 {
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 delete arg1;
8608
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 Py_INCREF(Py_None); resultobj = Py_None;
8613 return resultobj;
8614 fail:
8615 return NULL;
8616}
8617
8618
8619static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8620 PyObject *resultobj;
8621 wxString *arg1 = 0 ;
8622 wxString *arg2 = 0 ;
8623 int arg3 = (int) -1 ;
8624 wxImage *result;
e811c8ce
RD
8625 bool temp1 = False ;
8626 bool temp2 = False ;
d14a1e28
RD
8627 PyObject * obj0 = 0 ;
8628 PyObject * obj1 = 0 ;
994141e6 8629 PyObject * obj2 = 0 ;
d14a1e28
RD
8630 char *kwnames[] = {
8631 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8632 };
8633
994141e6 8634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8635 {
8636 arg1 = wxString_in_helper(obj0);
8637 if (arg1 == NULL) SWIG_fail;
e811c8ce 8638 temp1 = True;
d14a1e28
RD
8639 }
8640 {
8641 arg2 = wxString_in_helper(obj1);
8642 if (arg2 == NULL) SWIG_fail;
e811c8ce 8643 temp2 = True;
d14a1e28 8644 }
994141e6 8645 if (obj2) {
15afbcd0
RD
8646 arg3 = (int) SWIG_AsInt(obj2);
8647 if (PyErr_Occurred()) SWIG_fail;
994141e6 8648 }
d14a1e28
RD
8649 {
8650 PyThreadState* __tstate = wxPyBeginAllowThreads();
8651 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8652
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
15afbcd0 8656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8657 {
8658 if (temp1)
8659 delete arg1;
8660 }
8661 {
8662 if (temp2)
8663 delete arg2;
8664 }
8665 return resultobj;
8666 fail:
8667 {
8668 if (temp1)
8669 delete arg1;
8670 }
8671 {
8672 if (temp2)
8673 delete arg2;
8674 }
8675 return NULL;
8676}
8677
8678
8679static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj;
8681 wxInputStream *arg1 = 0 ;
8682 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8683 int arg3 = (int) -1 ;
8684 wxImage *result;
8685 wxPyInputStream *temp1 ;
8686 bool created1 ;
8687 PyObject * obj0 = 0 ;
994141e6
RD
8688 PyObject * obj1 = 0 ;
8689 PyObject * obj2 = 0 ;
d14a1e28
RD
8690 char *kwnames[] = {
8691 (char *) "stream",(char *) "type",(char *) "index", NULL
8692 };
8693
994141e6 8694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8695 {
8696 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8697 arg1 = temp1->m_wxis;
e811c8ce 8698 created1 = False;
d14a1e28
RD
8699 } else {
8700 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8701 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8702 if (arg1 == NULL) {
8703 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8704 SWIG_fail;
8705 }
e811c8ce 8706 created1 = True;
d14a1e28
RD
8707 }
8708 }
994141e6 8709 if (obj1) {
15afbcd0
RD
8710 arg2 = (long) SWIG_AsLong(obj1);
8711 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8712 }
8713 if (obj2) {
15afbcd0
RD
8714 arg3 = (int) SWIG_AsInt(obj2);
8715 if (PyErr_Occurred()) SWIG_fail;
994141e6 8716 }
d14a1e28
RD
8717 {
8718 PyThreadState* __tstate = wxPyBeginAllowThreads();
8719 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
8720
8721 wxPyEndAllowThreads(__tstate);
8722 if (PyErr_Occurred()) SWIG_fail;
8723 }
15afbcd0 8724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8725 {
8726 if (created1)
8727 delete arg1;
8728 }
8729 return resultobj;
8730 fail:
8731 {
8732 if (created1)
8733 delete arg1;
8734 }
8735 return NULL;
8736}
8737
8738
8739static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8740 PyObject *resultobj;
8741 wxInputStream *arg1 = 0 ;
8742 wxString *arg2 = 0 ;
8743 int arg3 = (int) -1 ;
8744 wxImage *result;
8745 wxPyInputStream *temp1 ;
8746 bool created1 ;
e811c8ce 8747 bool temp2 = False ;
d14a1e28
RD
8748 PyObject * obj0 = 0 ;
8749 PyObject * obj1 = 0 ;
994141e6 8750 PyObject * obj2 = 0 ;
d14a1e28
RD
8751 char *kwnames[] = {
8752 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8753 };
8754
994141e6 8755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8756 {
8757 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8758 arg1 = temp1->m_wxis;
e811c8ce 8759 created1 = False;
d14a1e28
RD
8760 } else {
8761 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8762 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8763 if (arg1 == NULL) {
8764 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8765 SWIG_fail;
8766 }
e811c8ce 8767 created1 = True;
d14a1e28
RD
8768 }
8769 }
8770 {
8771 arg2 = wxString_in_helper(obj1);
8772 if (arg2 == NULL) SWIG_fail;
e811c8ce 8773 temp2 = True;
d14a1e28 8774 }
994141e6 8775 if (obj2) {
15afbcd0
RD
8776 arg3 = (int) SWIG_AsInt(obj2);
8777 if (PyErr_Occurred()) SWIG_fail;
994141e6 8778 }
d14a1e28
RD
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
15afbcd0 8786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8787 {
8788 if (created1)
8789 delete arg1;
8790 }
8791 {
8792 if (temp2)
8793 delete arg2;
8794 }
8795 return resultobj;
8796 fail:
8797 {
8798 if (created1)
8799 delete arg1;
8800 }
8801 {
8802 if (temp2)
8803 delete arg2;
8804 }
8805 return NULL;
8806}
8807
8808
66c033b4 8809static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8810 PyObject *resultobj;
8811 int arg1 = (int) 0 ;
8812 int arg2 = (int) 0 ;
e811c8ce 8813 bool arg3 = (bool) True ;
d14a1e28 8814 wxImage *result;
994141e6
RD
8815 PyObject * obj0 = 0 ;
8816 PyObject * obj1 = 0 ;
d14a1e28 8817 PyObject * obj2 = 0 ;
66c033b4
RD
8818 char *kwnames[] = {
8819 (char *) "width",(char *) "height",(char *) "clear", NULL
8820 };
d14a1e28 8821
66c033b4 8822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 8823 if (obj0) {
15afbcd0
RD
8824 arg1 = (int) SWIG_AsInt(obj0);
8825 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8826 }
8827 if (obj1) {
15afbcd0
RD
8828 arg2 = (int) SWIG_AsInt(obj1);
8829 if (PyErr_Occurred()) SWIG_fail;
994141e6 8830 }
d14a1e28 8831 if (obj2) {
15afbcd0
RD
8832 arg3 = (bool) SWIG_AsBool(obj2);
8833 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8834 }
8835 {
8836 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 8837 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
d14a1e28
RD
8838
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
15afbcd0 8842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8843 return resultobj;
8844 fail:
8845 return NULL;
8846}
8847
8848
8849static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8850 PyObject *resultobj;
8851 wxBitmap *arg1 = 0 ;
8852 wxImage *result;
8853 PyObject * obj0 = 0 ;
8854 char *kwnames[] = {
8855 (char *) "bitmap", NULL
8856 };
8857
8858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
8859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
8860 SWIG_POINTER_EXCEPTION | 0)) == -1)
8861 SWIG_fail;
d14a1e28 8862 if (arg1 == NULL) {
15afbcd0
RD
8863 PyErr_SetString(PyExc_TypeError,"null reference");
8864 SWIG_fail;
d14a1e28
RD
8865 }
8866 {
8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
8868 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8869
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
15afbcd0 8873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8874 return resultobj;
8875 fail:
8876 return NULL;
8877}
8878
8879
8880static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
8881 PyObject *resultobj;
8882 int arg1 ;
8883 int arg2 ;
8884 unsigned char *arg3 = (unsigned char *) 0 ;
8885 wxImage *result;
994141e6
RD
8886 PyObject * obj0 = 0 ;
8887 PyObject * obj1 = 0 ;
d14a1e28
RD
8888 PyObject * obj2 = 0 ;
8889 char *kwnames[] = {
8890 (char *) "width",(char *) "height",(char *) "data", NULL
8891 };
8892
994141e6 8893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8894 arg1 = (int) SWIG_AsInt(obj0);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 arg2 = (int) SWIG_AsInt(obj1);
8897 if (PyErr_Occurred()) SWIG_fail;
8898 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
8899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8903
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
15afbcd0 8907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8908 return resultobj;
8909 fail:
8910 return NULL;
8911}
8912
8913
8914static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj;
8916 wxImage *arg1 = (wxImage *) 0 ;
8917 int arg2 ;
8918 int arg3 ;
8919 PyObject * obj0 = 0 ;
994141e6
RD
8920 PyObject * obj1 = 0 ;
8921 PyObject * obj2 = 0 ;
d14a1e28
RD
8922 char *kwnames[] = {
8923 (char *) "self",(char *) "width",(char *) "height", NULL
8924 };
8925
994141e6 8926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8929 arg2 = (int) SWIG_AsInt(obj1);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 arg3 = (int) SWIG_AsInt(obj2);
8932 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8933 {
8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
8935 (arg1)->Create(arg2,arg3);
8936
8937 wxPyEndAllowThreads(__tstate);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
8940 Py_INCREF(Py_None); resultobj = Py_None;
8941 return resultobj;
8942 fail:
8943 return NULL;
8944}
8945
8946
8947static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj;
8949 wxImage *arg1 = (wxImage *) 0 ;
8950 PyObject * obj0 = 0 ;
8951 char *kwnames[] = {
8952 (char *) "self", NULL
8953 };
8954
8955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
8956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8958 {
8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
8960 (arg1)->Destroy();
8961
8962 wxPyEndAllowThreads(__tstate);
8963 if (PyErr_Occurred()) SWIG_fail;
8964 }
8965 Py_INCREF(Py_None); resultobj = Py_None;
8966 return resultobj;
8967 fail:
8968 return NULL;
8969}
8970
8971
8972static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
8973 PyObject *resultobj;
8974 wxImage *arg1 = (wxImage *) 0 ;
8975 int arg2 ;
8976 int arg3 ;
8977 SwigValueWrapper< wxImage > result;
8978 PyObject * obj0 = 0 ;
994141e6
RD
8979 PyObject * obj1 = 0 ;
8980 PyObject * obj2 = 0 ;
d14a1e28
RD
8981 char *kwnames[] = {
8982 (char *) "self",(char *) "width",(char *) "height", NULL
8983 };
8984
994141e6 8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8988 arg2 = (int) SWIG_AsInt(obj1);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 arg3 = (int) SWIG_AsInt(obj2);
8991 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8992 {
8993 PyThreadState* __tstate = wxPyBeginAllowThreads();
8994 result = (arg1)->Scale(arg2,arg3);
8995
8996 wxPyEndAllowThreads(__tstate);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 }
8999 {
9000 wxImage * resultptr;
9001 resultptr = new wxImage((wxImage &) result);
15afbcd0 9002 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9003 }
9004 return resultobj;
9005 fail:
9006 return NULL;
9007}
9008
9009
9010static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
9011 PyObject *resultobj;
9012 wxImage *arg1 = (wxImage *) 0 ;
9013 int arg2 ;
9014 int arg3 ;
9015 SwigValueWrapper< wxImage > result;
9016 PyObject * obj0 = 0 ;
994141e6
RD
9017 PyObject * obj1 = 0 ;
9018 PyObject * obj2 = 0 ;
d14a1e28
RD
9019 char *kwnames[] = {
9020 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9021 };
9022
994141e6 9023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9026 arg2 = (int) SWIG_AsInt(obj1);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 arg3 = (int) SWIG_AsInt(obj2);
9029 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 {
9038 wxImage * resultptr;
9039 resultptr = new wxImage((wxImage &) result);
15afbcd0 9040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9041 }
9042 return resultobj;
9043 fail:
9044 return NULL;
9045}
9046
9047
9048static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
9049 PyObject *resultobj;
9050 wxImage *arg1 = (wxImage *) 0 ;
9051 int arg2 ;
9052 int arg3 ;
9053 wxImage *result;
9054 PyObject * obj0 = 0 ;
994141e6
RD
9055 PyObject * obj1 = 0 ;
9056 PyObject * obj2 = 0 ;
d14a1e28
RD
9057 char *kwnames[] = {
9058 (char *) "self",(char *) "width",(char *) "height", NULL
9059 };
9060
994141e6 9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9064 arg2 = (int) SWIG_AsInt(obj1);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 arg3 = (int) SWIG_AsInt(obj2);
9067 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9068 {
9069 PyThreadState* __tstate = wxPyBeginAllowThreads();
9070 {
9071 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
9072 result = (wxImage *) &_result_ref;
9073 }
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
15afbcd0 9078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
9079 return resultobj;
9080 fail:
9081 return NULL;
9082}
9083
9084
9085static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
9086 PyObject *resultobj;
9087 wxImage *arg1 = (wxImage *) 0 ;
9088 int arg2 ;
9089 int arg3 ;
9090 unsigned char arg4 ;
9091 unsigned char arg5 ;
9092 unsigned char arg6 ;
9093 PyObject * obj0 = 0 ;
994141e6
RD
9094 PyObject * obj1 = 0 ;
9095 PyObject * obj2 = 0 ;
d14a1e28
RD
9096 PyObject * obj3 = 0 ;
9097 PyObject * obj4 = 0 ;
9098 PyObject * obj5 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9101 };
9102
994141e6 9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9106 arg2 = (int) SWIG_AsInt(obj1);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 arg3 = (int) SWIG_AsInt(obj2);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
9113 if (PyErr_Occurred()) SWIG_fail;
9114 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
9115 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9116 {
9117 PyThreadState* __tstate = wxPyBeginAllowThreads();
9118 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9119
9120 wxPyEndAllowThreads(__tstate);
9121 if (PyErr_Occurred()) SWIG_fail;
9122 }
9123 Py_INCREF(Py_None); resultobj = Py_None;
9124 return resultobj;
9125 fail:
9126 return NULL;
9127}
9128
9129
9130static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9131 PyObject *resultobj;
9132 wxImage *arg1 = (wxImage *) 0 ;
9133 int arg2 ;
9134 int arg3 ;
9135 unsigned char result;
9136 PyObject * obj0 = 0 ;
994141e6
RD
9137 PyObject * obj1 = 0 ;
9138 PyObject * obj2 = 0 ;
d14a1e28
RD
9139 char *kwnames[] = {
9140 (char *) "self",(char *) "x",(char *) "y", NULL
9141 };
9142
994141e6 9143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9146 arg2 = (int) SWIG_AsInt(obj1);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 arg3 = (int) SWIG_AsInt(obj2);
9149 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9150 {
9151 PyThreadState* __tstate = wxPyBeginAllowThreads();
9152 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9153
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
15afbcd0 9157 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9158 return resultobj;
9159 fail:
9160 return NULL;
9161}
9162
9163
9164static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9165 PyObject *resultobj;
9166 wxImage *arg1 = (wxImage *) 0 ;
9167 int arg2 ;
9168 int arg3 ;
9169 unsigned char result;
9170 PyObject * obj0 = 0 ;
994141e6
RD
9171 PyObject * obj1 = 0 ;
9172 PyObject * obj2 = 0 ;
d14a1e28
RD
9173 char *kwnames[] = {
9174 (char *) "self",(char *) "x",(char *) "y", NULL
9175 };
9176
994141e6 9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9180 arg2 = (int) SWIG_AsInt(obj1);
9181 if (PyErr_Occurred()) SWIG_fail;
9182 arg3 = (int) SWIG_AsInt(obj2);
9183 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9187
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) SWIG_fail;
9190 }
15afbcd0 9191 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9192 return resultobj;
9193 fail:
9194 return NULL;
9195}
9196
9197
9198static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9199 PyObject *resultobj;
9200 wxImage *arg1 = (wxImage *) 0 ;
9201 int arg2 ;
9202 int arg3 ;
9203 unsigned char result;
9204 PyObject * obj0 = 0 ;
994141e6
RD
9205 PyObject * obj1 = 0 ;
9206 PyObject * obj2 = 0 ;
d14a1e28
RD
9207 char *kwnames[] = {
9208 (char *) "self",(char *) "x",(char *) "y", NULL
9209 };
9210
994141e6 9211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9214 arg2 = (int) SWIG_AsInt(obj1);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 arg3 = (int) SWIG_AsInt(obj2);
9217 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
15afbcd0 9225 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9226 return resultobj;
9227 fail:
9228 return NULL;
9229}
9230
9231
9232static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9233 PyObject *resultobj;
9234 wxImage *arg1 = (wxImage *) 0 ;
9235 int arg2 ;
9236 int arg3 ;
9237 unsigned char arg4 ;
9238 PyObject * obj0 = 0 ;
994141e6
RD
9239 PyObject * obj1 = 0 ;
9240 PyObject * obj2 = 0 ;
d14a1e28
RD
9241 PyObject * obj3 = 0 ;
9242 char *kwnames[] = {
9243 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9244 };
9245
994141e6 9246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9249 arg2 = (int) SWIG_AsInt(obj1);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 arg3 = (int) SWIG_AsInt(obj2);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9254 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
9257 (arg1)->SetAlpha(arg2,arg3,arg4);
9258
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 Py_INCREF(Py_None); resultobj = Py_None;
9263 return resultobj;
9264 fail:
9265 return NULL;
9266}
9267
9268
9269static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9270 PyObject *resultobj;
9271 wxImage *arg1 = (wxImage *) 0 ;
9272 int arg2 ;
9273 int arg3 ;
9274 unsigned char result;
9275 PyObject * obj0 = 0 ;
994141e6
RD
9276 PyObject * obj1 = 0 ;
9277 PyObject * obj2 = 0 ;
d14a1e28
RD
9278 char *kwnames[] = {
9279 (char *) "self",(char *) "x",(char *) "y", NULL
9280 };
9281
994141e6 9282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9285 arg2 = (int) SWIG_AsInt(obj1);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 arg3 = (int) SWIG_AsInt(obj2);
9288 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9289 {
9290 PyThreadState* __tstate = wxPyBeginAllowThreads();
9291 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
15afbcd0 9296 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9297 return resultobj;
9298 fail:
9299 return NULL;
9300}
9301
9302
9303static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9304 PyObject *resultobj;
9305 wxImage *arg1 = (wxImage *) 0 ;
9306 bool result;
9307 PyObject * obj0 = 0 ;
9308 char *kwnames[] = {
9309 (char *) "self", NULL
9310 };
9311
9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
15afbcd0
RD
9313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 result = (bool)(arg1)->HasAlpha();
9318
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
4f89f6a3
RD
9322 {
9323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9324 }
d14a1e28
RD
9325 return resultobj;
9326 fail:
9327 return NULL;
9328}
9329
9330
9331static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj;
9333 wxImage *arg1 = (wxImage *) 0 ;
9334 byte *arg2 = (byte *) 0 ;
9335 byte *arg3 = (byte *) 0 ;
9336 byte *arg4 = (byte *) 0 ;
9337 byte arg5 = (byte) 0 ;
9338 byte arg6 = (byte) 0 ;
9339 byte arg7 = (byte) 0 ;
9340 bool result;
9341 byte temp2 ;
9342 byte temp3 ;
9343 byte temp4 ;
9344 PyObject * obj0 = 0 ;
9345 PyObject * obj1 = 0 ;
9346 PyObject * obj2 = 0 ;
9347 PyObject * obj3 = 0 ;
9348 char *kwnames[] = {
9349 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9350 };
9351
9352 arg2 = &temp2;
9353 arg3 = &temp3;
9354 arg4 = &temp4;
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9358 if (obj1) {
15afbcd0
RD
9359 arg5 = (byte) SWIG_AsUnsignedChar(obj1);
9360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9361 }
9362 if (obj2) {
15afbcd0
RD
9363 arg6 = (byte) SWIG_AsUnsignedChar(obj2);
9364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9365 }
9366 if (obj3) {
15afbcd0
RD
9367 arg7 = (byte) SWIG_AsUnsignedChar(obj3);
9368 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9369 }
9370 {
9371 PyThreadState* __tstate = wxPyBeginAllowThreads();
9372 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9373
9374 wxPyEndAllowThreads(__tstate);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
4f89f6a3
RD
9377 {
9378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9379 }
d14a1e28
RD
9380 {
9381 PyObject *o = PyInt_FromLong((long) (*arg2));
9382 resultobj = t_output_helper(resultobj,o);
9383 }
9384 {
9385 PyObject *o = PyInt_FromLong((long) (*arg3));
9386 resultobj = t_output_helper(resultobj,o);
9387 }
9388 {
9389 PyObject *o = PyInt_FromLong((long) (*arg4));
9390 resultobj = t_output_helper(resultobj,o);
9391 }
9392 return resultobj;
9393 fail:
9394 return NULL;
9395}
9396
9397
9398static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9399 PyObject *resultobj;
9400 wxImage *arg1 = (wxImage *) 0 ;
9401 wxImage *arg2 = 0 ;
9402 byte arg3 ;
9403 byte arg4 ;
9404 byte arg5 ;
9405 bool result;
9406 PyObject * obj0 = 0 ;
9407 PyObject * obj1 = 0 ;
9408 PyObject * obj2 = 0 ;
9409 PyObject * obj3 = 0 ;
9410 PyObject * obj4 = 0 ;
9411 char *kwnames[] = {
9412 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9413 };
9414
9415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
9416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9419 SWIG_POINTER_EXCEPTION | 0)) == -1)
9420 SWIG_fail;
d14a1e28 9421 if (arg2 == NULL) {
15afbcd0
RD
9422 PyErr_SetString(PyExc_TypeError,"null reference");
9423 SWIG_fail;
a41e16b6 9424 }
15afbcd0
RD
9425 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
9428 if (PyErr_Occurred()) SWIG_fail;
9429 arg5 = (byte) SWIG_AsUnsignedChar(obj4);
9430 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9431 {
9432 PyThreadState* __tstate = wxPyBeginAllowThreads();
9433 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9434
9435 wxPyEndAllowThreads(__tstate);
9436 if (PyErr_Occurred()) SWIG_fail;
9437 }
4f89f6a3
RD
9438 {
9439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9440 }
d14a1e28
RD
9441 return resultobj;
9442 fail:
9443 return NULL;
9444}
9445
9446
9447static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
9448 PyObject *resultobj;
9449 wxString *arg1 = 0 ;
9450 bool result;
e811c8ce 9451 bool temp1 = False ;
d14a1e28
RD
9452 PyObject * obj0 = 0 ;
9453 char *kwnames[] = {
9454 (char *) "name", NULL
9455 };
9456
9457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9458 {
9459 arg1 = wxString_in_helper(obj0);
9460 if (arg1 == NULL) SWIG_fail;
e811c8ce 9461 temp1 = True;
d14a1e28
RD
9462 }
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
4f89f6a3
RD
9470 {
9471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9472 }
d14a1e28
RD
9473 {
9474 if (temp1)
9475 delete arg1;
9476 }
9477 return resultobj;
9478 fail:
9479 {
9480 if (temp1)
9481 delete arg1;
9482 }
9483 return NULL;
9484}
9485
9486
9487static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9488 PyObject *resultobj;
9489 wxString *arg1 = 0 ;
9490 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9491 int result;
e811c8ce 9492 bool temp1 = False ;
d14a1e28 9493 PyObject * obj0 = 0 ;
994141e6 9494 PyObject * obj1 = 0 ;
d14a1e28
RD
9495 char *kwnames[] = {
9496 (char *) "name",(char *) "type", NULL
9497 };
9498
994141e6 9499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
9500 {
9501 arg1 = wxString_in_helper(obj0);
9502 if (arg1 == NULL) SWIG_fail;
e811c8ce 9503 temp1 = True;
d14a1e28 9504 }
994141e6 9505 if (obj1) {
15afbcd0
RD
9506 arg2 = (long) SWIG_AsLong(obj1);
9507 if (PyErr_Occurred()) SWIG_fail;
994141e6 9508 }
d14a1e28
RD
9509 {
9510 PyThreadState* __tstate = wxPyBeginAllowThreads();
9511 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9512
9513 wxPyEndAllowThreads(__tstate);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
15afbcd0 9516 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9517 {
9518 if (temp1)
9519 delete arg1;
9520 }
9521 return resultobj;
9522 fail:
9523 {
9524 if (temp1)
9525 delete arg1;
9526 }
9527 return NULL;
9528}
9529
9530
9531static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 wxImage *arg1 = (wxImage *) 0 ;
9534 wxString *arg2 = 0 ;
9535 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9536 int arg4 = (int) -1 ;
9537 bool result;
e811c8ce 9538 bool temp2 = False ;
d14a1e28
RD
9539 PyObject * obj0 = 0 ;
9540 PyObject * obj1 = 0 ;
994141e6
RD
9541 PyObject * obj2 = 0 ;
9542 PyObject * obj3 = 0 ;
d14a1e28
RD
9543 char *kwnames[] = {
9544 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9545 };
9546
994141e6 9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9550 {
9551 arg2 = wxString_in_helper(obj1);
9552 if (arg2 == NULL) SWIG_fail;
e811c8ce 9553 temp2 = True;
d14a1e28 9554 }
994141e6 9555 if (obj2) {
15afbcd0
RD
9556 arg3 = (long) SWIG_AsLong(obj2);
9557 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9558 }
9559 if (obj3) {
15afbcd0
RD
9560 arg4 = (int) SWIG_AsInt(obj3);
9561 if (PyErr_Occurred()) SWIG_fail;
994141e6 9562 }
d14a1e28
RD
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
4f89f6a3
RD
9570 {
9571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9572 }
d14a1e28
RD
9573 {
9574 if (temp2)
9575 delete arg2;
9576 }
9577 return resultobj;
9578 fail:
9579 {
9580 if (temp2)
9581 delete arg2;
9582 }
9583 return NULL;
9584}
9585
9586
9587static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9588 PyObject *resultobj;
9589 wxImage *arg1 = (wxImage *) 0 ;
9590 wxString *arg2 = 0 ;
9591 wxString *arg3 = 0 ;
9592 int arg4 = (int) -1 ;
9593 bool result;
e811c8ce
RD
9594 bool temp2 = False ;
9595 bool temp3 = False ;
d14a1e28
RD
9596 PyObject * obj0 = 0 ;
9597 PyObject * obj1 = 0 ;
9598 PyObject * obj2 = 0 ;
994141e6 9599 PyObject * obj3 = 0 ;
d14a1e28
RD
9600 char *kwnames[] = {
9601 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9602 };
9603
994141e6 9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9607 {
9608 arg2 = wxString_in_helper(obj1);
9609 if (arg2 == NULL) SWIG_fail;
e811c8ce 9610 temp2 = True;
d14a1e28
RD
9611 }
9612 {
9613 arg3 = wxString_in_helper(obj2);
9614 if (arg3 == NULL) SWIG_fail;
e811c8ce 9615 temp3 = True;
d14a1e28 9616 }
994141e6 9617 if (obj3) {
15afbcd0
RD
9618 arg4 = (int) SWIG_AsInt(obj3);
9619 if (PyErr_Occurred()) SWIG_fail;
994141e6 9620 }
d14a1e28
RD
9621 {
9622 PyThreadState* __tstate = wxPyBeginAllowThreads();
9623 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9624
9625 wxPyEndAllowThreads(__tstate);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 }
4f89f6a3
RD
9628 {
9629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9630 }
d14a1e28
RD
9631 {
9632 if (temp2)
9633 delete arg2;
9634 }
9635 {
9636 if (temp3)
9637 delete arg3;
9638 }
9639 return resultobj;
9640 fail:
9641 {
9642 if (temp2)
9643 delete arg2;
9644 }
9645 {
9646 if (temp3)
9647 delete arg3;
9648 }
9649 return NULL;
9650}
9651
9652
9653static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9654 PyObject *resultobj;
9655 wxImage *arg1 = (wxImage *) 0 ;
9656 wxString *arg2 = 0 ;
9657 int arg3 ;
9658 bool result;
e811c8ce 9659 bool temp2 = False ;
d14a1e28
RD
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj1 = 0 ;
994141e6 9662 PyObject * obj2 = 0 ;
d14a1e28
RD
9663 char *kwnames[] = {
9664 (char *) "self",(char *) "name",(char *) "type", NULL
9665 };
9666
994141e6 9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9670 {
9671 arg2 = wxString_in_helper(obj1);
9672 if (arg2 == NULL) SWIG_fail;
e811c8ce 9673 temp2 = True;
d14a1e28 9674 }
15afbcd0
RD
9675 arg3 = (int) SWIG_AsInt(obj2);
9676 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9677 {
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9680
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
4f89f6a3
RD
9684 {
9685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9686 }
d14a1e28
RD
9687 {
9688 if (temp2)
9689 delete arg2;
9690 }
9691 return resultobj;
9692 fail:
9693 {
9694 if (temp2)
9695 delete arg2;
9696 }
9697 return NULL;
9698}
9699
9700
9701static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9702 PyObject *resultobj;
9703 wxImage *arg1 = (wxImage *) 0 ;
9704 wxString *arg2 = 0 ;
9705 wxString *arg3 = 0 ;
9706 bool result;
e811c8ce
RD
9707 bool temp2 = False ;
9708 bool temp3 = False ;
d14a1e28
RD
9709 PyObject * obj0 = 0 ;
9710 PyObject * obj1 = 0 ;
9711 PyObject * obj2 = 0 ;
9712 char *kwnames[] = {
9713 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9714 };
9715
9716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9719 {
9720 arg2 = wxString_in_helper(obj1);
9721 if (arg2 == NULL) SWIG_fail;
e811c8ce 9722 temp2 = True;
d14a1e28
RD
9723 }
9724 {
9725 arg3 = wxString_in_helper(obj2);
9726 if (arg3 == NULL) SWIG_fail;
e811c8ce 9727 temp3 = True;
d14a1e28
RD
9728 }
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9732
9733 wxPyEndAllowThreads(__tstate);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 }
4f89f6a3
RD
9736 {
9737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9738 }
d14a1e28
RD
9739 {
9740 if (temp2)
9741 delete arg2;
9742 }
9743 {
9744 if (temp3)
9745 delete arg3;
9746 }
9747 return resultobj;
9748 fail:
9749 {
9750 if (temp2)
9751 delete arg2;
9752 }
9753 {
9754 if (temp3)
9755 delete arg3;
9756 }
9757 return NULL;
9758}
9759
9760
9761static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9762 PyObject *resultobj;
9763 wxInputStream *arg1 = 0 ;
9764 bool result;
9765 wxPyInputStream *temp1 ;
9766 bool created1 ;
9767 PyObject * obj0 = 0 ;
9768 char *kwnames[] = {
9769 (char *) "stream", NULL
9770 };
9771
9772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9773 {
9774 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9775 arg1 = temp1->m_wxis;
e811c8ce 9776 created1 = False;
d14a1e28
RD
9777 } else {
9778 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9779 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
9780 if (arg1 == NULL) {
9781 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9782 SWIG_fail;
9783 }
e811c8ce 9784 created1 = True;
d14a1e28
RD
9785 }
9786 }
9787 {
9788 PyThreadState* __tstate = wxPyBeginAllowThreads();
9789 result = (bool)wxImage::CanRead(*arg1);
9790
9791 wxPyEndAllowThreads(__tstate);
9792 if (PyErr_Occurred()) SWIG_fail;
9793 }
4f89f6a3
RD
9794 {
9795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9796 }
d14a1e28
RD
9797 {
9798 if (created1)
9799 delete arg1;
9800 }
9801 return resultobj;
9802 fail:
9803 {
9804 if (created1)
9805 delete arg1;
9806 }
9807 return NULL;
9808}
9809
9810
9811static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 wxImage *arg1 = (wxImage *) 0 ;
9814 wxInputStream *arg2 = 0 ;
9815 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9816 int arg4 = (int) -1 ;
9817 bool result;
9818 wxPyInputStream *temp2 ;
9819 bool created2 ;
9820 PyObject * obj0 = 0 ;
9821 PyObject * obj1 = 0 ;
994141e6
RD
9822 PyObject * obj2 = 0 ;
9823 PyObject * obj3 = 0 ;
d14a1e28
RD
9824 char *kwnames[] = {
9825 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9826 };
9827
994141e6 9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9831 {
9832 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9833 arg2 = temp2->m_wxis;
e811c8ce 9834 created2 = False;
d14a1e28
RD
9835 } else {
9836 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9837 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9838 if (arg2 == NULL) {
9839 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9840 SWIG_fail;
9841 }
e811c8ce 9842 created2 = True;
d14a1e28
RD
9843 }
9844 }
994141e6 9845 if (obj2) {
15afbcd0
RD
9846 arg3 = (long) SWIG_AsLong(obj2);
9847 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9848 }
9849 if (obj3) {
15afbcd0
RD
9850 arg4 = (int) SWIG_AsInt(obj3);
9851 if (PyErr_Occurred()) SWIG_fail;
994141e6 9852 }
d14a1e28
RD
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9856
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
4f89f6a3
RD
9860 {
9861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9862 }
d14a1e28
RD
9863 {
9864 if (created2)
9865 delete arg2;
9866 }
9867 return resultobj;
9868 fail:
9869 {
9870 if (created2)
9871 delete arg2;
9872 }
9873 return NULL;
9874}
9875
9876
9877static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9878 PyObject *resultobj;
9879 wxImage *arg1 = (wxImage *) 0 ;
9880 wxInputStream *arg2 = 0 ;
9881 wxString *arg3 = 0 ;
9882 int arg4 = (int) -1 ;
9883 bool result;
9884 wxPyInputStream *temp2 ;
9885 bool created2 ;
e811c8ce 9886 bool temp3 = False ;
d14a1e28
RD
9887 PyObject * obj0 = 0 ;
9888 PyObject * obj1 = 0 ;
9889 PyObject * obj2 = 0 ;
994141e6 9890 PyObject * obj3 = 0 ;
d14a1e28
RD
9891 char *kwnames[] = {
9892 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9893 };
9894
994141e6 9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9898 {
9899 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9900 arg2 = temp2->m_wxis;
e811c8ce 9901 created2 = False;
d14a1e28
RD
9902 } else {
9903 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9904 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9905 if (arg2 == NULL) {
9906 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9907 SWIG_fail;
9908 }
e811c8ce 9909 created2 = True;
d14a1e28
RD
9910 }
9911 }
9912 {
9913 arg3 = wxString_in_helper(obj2);
9914 if (arg3 == NULL) SWIG_fail;
e811c8ce 9915 temp3 = True;
d14a1e28 9916 }
994141e6 9917 if (obj3) {
15afbcd0
RD
9918 arg4 = (int) SWIG_AsInt(obj3);
9919 if (PyErr_Occurred()) SWIG_fail;
994141e6 9920 }
d14a1e28
RD
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9924
9925 wxPyEndAllowThreads(__tstate);
9926 if (PyErr_Occurred()) SWIG_fail;
9927 }
4f89f6a3
RD
9928 {
9929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9930 }
d14a1e28
RD
9931 {
9932 if (created2)
9933 delete arg2;
9934 }
9935 {
9936 if (temp3)
9937 delete arg3;
9938 }
9939 return resultobj;
9940 fail:
9941 {
9942 if (created2)
9943 delete arg2;
9944 }
9945 {
9946 if (temp3)
9947 delete arg3;
9948 }
9949 return NULL;
9950}
9951
9952
9953static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxImage *arg1 = (wxImage *) 0 ;
9956 bool result;
9957 PyObject * obj0 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
9963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 result = (bool)(arg1)->Ok();
9968
9969 wxPyEndAllowThreads(__tstate);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
4f89f6a3
RD
9972 {
9973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9974 }
d14a1e28
RD
9975 return resultobj;
9976 fail:
9977 return NULL;
9978}
9979
9980
9981static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9982 PyObject *resultobj;
9983 wxImage *arg1 = (wxImage *) 0 ;
9984 int result;
9985 PyObject * obj0 = 0 ;
9986 char *kwnames[] = {
9987 (char *) "self", NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
9991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 result = (int)(arg1)->GetWidth();
9996
9997 wxPyEndAllowThreads(__tstate);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 }
15afbcd0 10000 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10001 return resultobj;
10002 fail:
10003 return NULL;
10004}
10005
10006
10007static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10008 PyObject *resultobj;
10009 wxImage *arg1 = (wxImage *) 0 ;
10010 int result;
10011 PyObject * obj0 = 0 ;
10012 char *kwnames[] = {
10013 (char *) "self", NULL
10014 };
10015
10016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
10017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 result = (int)(arg1)->GetHeight();
10022
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
15afbcd0 10026 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10027 return resultobj;
10028 fail:
10029 return NULL;
10030}
10031
10032
b2df227b
RD
10033static PyObject *_wrap_Image_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10034 PyObject *resultobj;
10035 wxImage *arg1 = (wxImage *) 0 ;
10036 wxSize result;
10037 PyObject * obj0 = 0 ;
10038 char *kwnames[] = {
10039 (char *) "self", NULL
10040 };
10041
10042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
10043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10045 {
10046 PyThreadState* __tstate = wxPyBeginAllowThreads();
10047 result = wxImage_GetSize(arg1);
10048
10049 wxPyEndAllowThreads(__tstate);
10050 if (PyErr_Occurred()) SWIG_fail;
10051 }
10052 {
10053 wxSize * resultptr;
10054 resultptr = new wxSize((wxSize &) result);
10055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10056 }
10057 return resultobj;
10058 fail:
10059 return NULL;
10060}
10061
10062
d14a1e28
RD
10063static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
10064 PyObject *resultobj;
10065 wxImage *arg1 = (wxImage *) 0 ;
10066 wxRect *arg2 = 0 ;
10067 SwigValueWrapper< wxImage > result;
10068 wxRect temp2 ;
10069 PyObject * obj0 = 0 ;
10070 PyObject * obj1 = 0 ;
10071 char *kwnames[] = {
10072 (char *) "self",(char *) "rect", NULL
10073 };
10074
10075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10078 {
10079 arg2 = &temp2;
10080 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10081 }
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 result = (arg1)->GetSubImage((wxRect const &)*arg2);
10085
10086 wxPyEndAllowThreads(__tstate);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 }
10089 {
10090 wxImage * resultptr;
10091 resultptr = new wxImage((wxImage &) result);
15afbcd0 10092 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10093 }
10094 return resultobj;
10095 fail:
10096 return NULL;
10097}
10098
10099
10100static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
10101 PyObject *resultobj;
10102 wxImage *arg1 = (wxImage *) 0 ;
10103 SwigValueWrapper< wxImage > result;
10104 PyObject * obj0 = 0 ;
10105 char *kwnames[] = {
10106 (char *) "self", NULL
10107 };
10108
10109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
10110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10112 {
10113 PyThreadState* __tstate = wxPyBeginAllowThreads();
10114 result = (arg1)->Copy();
10115
10116 wxPyEndAllowThreads(__tstate);
10117 if (PyErr_Occurred()) SWIG_fail;
10118 }
10119 {
10120 wxImage * resultptr;
10121 resultptr = new wxImage((wxImage &) result);
15afbcd0 10122 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10123 }
10124 return resultobj;
10125 fail:
10126 return NULL;
10127}
10128
10129
10130static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
10131 PyObject *resultobj;
10132 wxImage *arg1 = (wxImage *) 0 ;
10133 wxImage *arg2 = 0 ;
10134 int arg3 ;
10135 int arg4 ;
10136 PyObject * obj0 = 0 ;
10137 PyObject * obj1 = 0 ;
994141e6
RD
10138 PyObject * obj2 = 0 ;
10139 PyObject * obj3 = 0 ;
d14a1e28
RD
10140 char *kwnames[] = {
10141 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10142 };
10143
994141e6 10144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10147 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10148 SWIG_POINTER_EXCEPTION | 0)) == -1)
10149 SWIG_fail;
d14a1e28 10150 if (arg2 == NULL) {
15afbcd0
RD
10151 PyErr_SetString(PyExc_TypeError,"null reference");
10152 SWIG_fail;
994141e6 10153 }
15afbcd0
RD
10154 arg3 = (int) SWIG_AsInt(obj2);
10155 if (PyErr_Occurred()) SWIG_fail;
10156 arg4 = (int) SWIG_AsInt(obj3);
10157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10158 {
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
10160 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10161
10162 wxPyEndAllowThreads(__tstate);
10163 if (PyErr_Occurred()) SWIG_fail;
10164 }
10165 Py_INCREF(Py_None); resultobj = Py_None;
10166 return resultobj;
10167 fail:
10168 return NULL;
10169}
10170
10171
10172static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10173 PyObject *resultobj;
10174 wxImage *arg1 = (wxImage *) 0 ;
10175 PyObject *result;
10176 PyObject * obj0 = 0 ;
10177 char *kwnames[] = {
10178 (char *) "self", NULL
10179 };
10180
10181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10184 {
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 result = (PyObject *)wxImage_GetData(arg1);
10187
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 resultobj = result;
10192 return resultobj;
10193 fail:
10194 return NULL;
10195}
10196
10197
10198static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10199 PyObject *resultobj;
10200 wxImage *arg1 = (wxImage *) 0 ;
10201 PyObject *arg2 = (PyObject *) 0 ;
10202 PyObject * obj0 = 0 ;
10203 PyObject * obj1 = 0 ;
10204 char *kwnames[] = {
10205 (char *) "self",(char *) "data", NULL
10206 };
10207
10208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10211 arg2 = obj1;
10212 {
10213 PyThreadState* __tstate = wxPyBeginAllowThreads();
10214 wxImage_SetData(arg1,arg2);
10215
10216 wxPyEndAllowThreads(__tstate);
10217 if (PyErr_Occurred()) SWIG_fail;
10218 }
10219 Py_INCREF(Py_None); resultobj = Py_None;
10220 return resultobj;
10221 fail:
10222 return NULL;
10223}
10224
10225
10226static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10227 PyObject *resultobj;
10228 wxImage *arg1 = (wxImage *) 0 ;
10229 PyObject *result;
10230 PyObject * obj0 = 0 ;
10231 char *kwnames[] = {
10232 (char *) "self", NULL
10233 };
10234
10235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10238 {
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 resultobj = result;
10246 return resultobj;
10247 fail:
10248 return NULL;
10249}
10250
10251
10252static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10253 PyObject *resultobj;
10254 wxImage *arg1 = (wxImage *) 0 ;
10255 PyObject *arg2 = (PyObject *) 0 ;
10256 PyObject * obj0 = 0 ;
10257 PyObject * obj1 = 0 ;
10258 char *kwnames[] = {
10259 (char *) "self",(char *) "data", NULL
10260 };
10261
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10265 arg2 = obj1;
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 wxImage_SetDataBuffer(arg1,arg2);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 Py_INCREF(Py_None); resultobj = Py_None;
10274 return resultobj;
10275 fail:
10276 return NULL;
10277}
10278
10279
10280static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10281 PyObject *resultobj;
10282 wxImage *arg1 = (wxImage *) 0 ;
10283 PyObject *result;
10284 PyObject * obj0 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "self", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 result = (PyObject *)wxImage_GetAlphaData(arg1);
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 resultobj = result;
10300 return resultobj;
10301 fail:
10302 return NULL;
10303}
10304
10305
10306static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10307 PyObject *resultobj;
10308 wxImage *arg1 = (wxImage *) 0 ;
10309 PyObject *arg2 = (PyObject *) 0 ;
10310 PyObject * obj0 = 0 ;
10311 PyObject * obj1 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "self",(char *) "data", NULL
10314 };
10315
10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10319 arg2 = obj1;
10320 {
10321 PyThreadState* __tstate = wxPyBeginAllowThreads();
10322 wxImage_SetAlphaData(arg1,arg2);
10323
10324 wxPyEndAllowThreads(__tstate);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
10327 Py_INCREF(Py_None); resultobj = Py_None;
10328 return resultobj;
10329 fail:
10330 return NULL;
10331}
10332
10333
10334static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10335 PyObject *resultobj;
10336 wxImage *arg1 = (wxImage *) 0 ;
10337 PyObject *result;
10338 PyObject * obj0 = 0 ;
10339 char *kwnames[] = {
10340 (char *) "self", NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10349
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
10353 resultobj = result;
10354 return resultobj;
10355 fail:
10356 return NULL;
10357}
10358
10359
10360static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10361 PyObject *resultobj;
10362 wxImage *arg1 = (wxImage *) 0 ;
10363 PyObject *arg2 = (PyObject *) 0 ;
10364 PyObject * obj0 = 0 ;
10365 PyObject * obj1 = 0 ;
10366 char *kwnames[] = {
10367 (char *) "self",(char *) "data", NULL
10368 };
10369
10370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10373 arg2 = obj1;
10374 {
10375 PyThreadState* __tstate = wxPyBeginAllowThreads();
10376 wxImage_SetAlphaBuffer(arg1,arg2);
10377
10378 wxPyEndAllowThreads(__tstate);
10379 if (PyErr_Occurred()) SWIG_fail;
10380 }
10381 Py_INCREF(Py_None); resultobj = Py_None;
10382 return resultobj;
10383 fail:
10384 return NULL;
10385}
10386
10387
10388static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10389 PyObject *resultobj;
10390 wxImage *arg1 = (wxImage *) 0 ;
10391 unsigned char arg2 ;
10392 unsigned char arg3 ;
10393 unsigned char arg4 ;
10394 PyObject * obj0 = 0 ;
10395 PyObject * obj1 = 0 ;
10396 PyObject * obj2 = 0 ;
10397 PyObject * obj3 = 0 ;
10398 char *kwnames[] = {
10399 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10400 };
10401
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10405 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10410 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 (arg1)->SetMaskColour(arg2,arg3,arg4);
10414
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 Py_INCREF(Py_None); resultobj = Py_None;
10419 return resultobj;
10420 fail:
10421 return NULL;
10422}
10423
10424
10425static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj;
10427 wxImage *arg1 = (wxImage *) 0 ;
10428 unsigned char result;
10429 PyObject * obj0 = 0 ;
10430 char *kwnames[] = {
10431 (char *) "self", NULL
10432 };
10433
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
15afbcd0
RD
10435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 result = (unsigned char)(arg1)->GetMaskRed();
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
15afbcd0 10444 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10445 return resultobj;
10446 fail:
10447 return NULL;
10448}
10449
10450
10451static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10452 PyObject *resultobj;
10453 wxImage *arg1 = (wxImage *) 0 ;
10454 unsigned char result;
10455 PyObject * obj0 = 0 ;
10456 char *kwnames[] = {
10457 (char *) "self", NULL
10458 };
10459
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
10461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 result = (unsigned char)(arg1)->GetMaskGreen();
10466
10467 wxPyEndAllowThreads(__tstate);
10468 if (PyErr_Occurred()) SWIG_fail;
10469 }
15afbcd0 10470 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10471 return resultobj;
10472 fail:
10473 return NULL;
10474}
10475
10476
10477static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
10478 PyObject *resultobj;
10479 wxImage *arg1 = (wxImage *) 0 ;
10480 unsigned char result;
10481 PyObject * obj0 = 0 ;
10482 char *kwnames[] = {
10483 (char *) "self", NULL
10484 };
10485
10486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10489 {
10490 PyThreadState* __tstate = wxPyBeginAllowThreads();
10491 result = (unsigned char)(arg1)->GetMaskBlue();
10492
10493 wxPyEndAllowThreads(__tstate);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 }
15afbcd0 10496 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10497 return resultobj;
10498 fail:
10499 return NULL;
10500}
10501
10502
10503static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10504 PyObject *resultobj;
10505 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10506 bool arg2 = (bool) True ;
d14a1e28
RD
10507 PyObject * obj0 = 0 ;
10508 PyObject * obj1 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self",(char *) "mask", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10516 if (obj1) {
15afbcd0
RD
10517 arg2 = (bool) SWIG_AsBool(obj1);
10518 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10519 }
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->SetMask(arg2);
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 return resultobj;
10529 fail:
10530 return NULL;
10531}
10532
10533
10534static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10535 PyObject *resultobj;
10536 wxImage *arg1 = (wxImage *) 0 ;
10537 bool result;
10538 PyObject * obj0 = 0 ;
10539 char *kwnames[] = {
10540 (char *) "self", NULL
10541 };
10542
10543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
10544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10546 {
10547 PyThreadState* __tstate = wxPyBeginAllowThreads();
10548 result = (bool)(arg1)->HasMask();
10549
10550 wxPyEndAllowThreads(__tstate);
10551 if (PyErr_Occurred()) SWIG_fail;
10552 }
4f89f6a3
RD
10553 {
10554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10555 }
d14a1e28
RD
10556 return resultobj;
10557 fail:
10558 return NULL;
10559}
10560
10561
10562static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxImage *arg1 = (wxImage *) 0 ;
10565 double arg2 ;
10566 wxPoint *arg3 = 0 ;
e811c8ce 10567 bool arg4 = (bool) True ;
d14a1e28
RD
10568 wxPoint *arg5 = (wxPoint *) NULL ;
10569 SwigValueWrapper< wxImage > result;
10570 wxPoint temp3 ;
10571 PyObject * obj0 = 0 ;
994141e6 10572 PyObject * obj1 = 0 ;
d14a1e28
RD
10573 PyObject * obj2 = 0 ;
10574 PyObject * obj3 = 0 ;
10575 PyObject * obj4 = 0 ;
10576 char *kwnames[] = {
10577 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10578 };
10579
994141e6 10580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10583 arg2 = (double) SWIG_AsDouble(obj1);
10584 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10585 {
10586 arg3 = &temp3;
10587 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10588 }
10589 if (obj3) {
15afbcd0
RD
10590 arg4 = (bool) SWIG_AsBool(obj3);
10591 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10592 }
10593 if (obj4) {
15afbcd0
RD
10594 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10596 }
10597 {
10598 PyThreadState* __tstate = wxPyBeginAllowThreads();
10599 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10600
10601 wxPyEndAllowThreads(__tstate);
10602 if (PyErr_Occurred()) SWIG_fail;
10603 }
10604 {
10605 wxImage * resultptr;
10606 resultptr = new wxImage((wxImage &) result);
15afbcd0 10607 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10608 }
10609 return resultobj;
10610 fail:
10611 return NULL;
10612}
10613
10614
10615static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
10616 PyObject *resultobj;
10617 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10618 bool arg2 = (bool) True ;
d14a1e28
RD
10619 SwigValueWrapper< wxImage > result;
10620 PyObject * obj0 = 0 ;
10621 PyObject * obj1 = 0 ;
10622 char *kwnames[] = {
10623 (char *) "self",(char *) "clockwise", NULL
10624 };
10625
10626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10629 if (obj1) {
15afbcd0
RD
10630 arg2 = (bool) SWIG_AsBool(obj1);
10631 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10632 }
10633 {
10634 PyThreadState* __tstate = wxPyBeginAllowThreads();
10635 result = (arg1)->Rotate90(arg2);
10636
10637 wxPyEndAllowThreads(__tstate);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 {
10641 wxImage * resultptr;
10642 resultptr = new wxImage((wxImage &) result);
15afbcd0 10643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10644 }
10645 return resultobj;
10646 fail:
10647 return NULL;
10648}
10649
10650
10651static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
10652 PyObject *resultobj;
10653 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10654 bool arg2 = (bool) True ;
d14a1e28
RD
10655 SwigValueWrapper< wxImage > result;
10656 PyObject * obj0 = 0 ;
10657 PyObject * obj1 = 0 ;
10658 char *kwnames[] = {
10659 (char *) "self",(char *) "horizontally", NULL
10660 };
10661
10662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10665 if (obj1) {
15afbcd0
RD
10666 arg2 = (bool) SWIG_AsBool(obj1);
10667 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10668 }
10669 {
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 result = (arg1)->Mirror(arg2);
10672
10673 wxPyEndAllowThreads(__tstate);
10674 if (PyErr_Occurred()) SWIG_fail;
10675 }
10676 {
10677 wxImage * resultptr;
10678 resultptr = new wxImage((wxImage &) result);
15afbcd0 10679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10680 }
10681 return resultobj;
10682 fail:
10683 return NULL;
10684}
10685
10686
10687static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj;
10689 wxImage *arg1 = (wxImage *) 0 ;
10690 unsigned char arg2 ;
10691 unsigned char arg3 ;
10692 unsigned char arg4 ;
10693 unsigned char arg5 ;
10694 unsigned char arg6 ;
10695 unsigned char arg7 ;
10696 PyObject * obj0 = 0 ;
10697 PyObject * obj1 = 0 ;
10698 PyObject * obj2 = 0 ;
10699 PyObject * obj3 = 0 ;
10700 PyObject * obj4 = 0 ;
10701 PyObject * obj5 = 0 ;
10702 PyObject * obj6 = 0 ;
10703 char *kwnames[] = {
10704 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10705 };
10706
10707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10710 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10711 if (PyErr_Occurred()) SWIG_fail;
10712 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj6);
10721 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10722 {
10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
10724 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10725
10726 wxPyEndAllowThreads(__tstate);
10727 if (PyErr_Occurred()) SWIG_fail;
10728 }
10729 Py_INCREF(Py_None); resultobj = Py_None;
10730 return resultobj;
10731 fail:
10732 return NULL;
10733}
10734
10735
10736static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
10737 PyObject *resultobj;
10738 wxImage *arg1 = (wxImage *) 0 ;
10739 unsigned char arg2 ;
10740 unsigned char arg3 ;
10741 unsigned char arg4 ;
10742 SwigValueWrapper< wxImage > result;
10743 PyObject * obj0 = 0 ;
10744 PyObject * obj1 = 0 ;
10745 PyObject * obj2 = 0 ;
10746 PyObject * obj3 = 0 ;
10747 char *kwnames[] = {
10748 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10749 };
10750
10751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10754 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10757 if (PyErr_Occurred()) SWIG_fail;
10758 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10759 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 {
10768 wxImage * resultptr;
10769 resultptr = new wxImage((wxImage &) result);
15afbcd0 10770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10771 }
10772 return resultobj;
10773 fail:
10774 return NULL;
10775}
10776
10777
10778static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10779 PyObject *resultobj;
10780 wxImage *arg1 = (wxImage *) 0 ;
10781 wxString *arg2 = 0 ;
10782 wxString *arg3 = 0 ;
e811c8ce
RD
10783 bool temp2 = False ;
10784 bool temp3 = False ;
d14a1e28
RD
10785 PyObject * obj0 = 0 ;
10786 PyObject * obj1 = 0 ;
10787 PyObject * obj2 = 0 ;
10788 char *kwnames[] = {
10789 (char *) "self",(char *) "name",(char *) "value", NULL
10790 };
10791
10792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10795 {
10796 arg2 = wxString_in_helper(obj1);
10797 if (arg2 == NULL) SWIG_fail;
e811c8ce 10798 temp2 = True;
d14a1e28
RD
10799 }
10800 {
10801 arg3 = wxString_in_helper(obj2);
10802 if (arg3 == NULL) SWIG_fail;
e811c8ce 10803 temp3 = True;
d14a1e28
RD
10804 }
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 Py_INCREF(Py_None); resultobj = Py_None;
10813 {
10814 if (temp2)
10815 delete arg2;
10816 }
10817 {
10818 if (temp3)
10819 delete arg3;
10820 }
10821 return resultobj;
10822 fail:
10823 {
10824 if (temp2)
10825 delete arg2;
10826 }
10827 {
10828 if (temp3)
10829 delete arg3;
10830 }
10831 return NULL;
10832}
10833
10834
10835static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10836 PyObject *resultobj;
10837 wxImage *arg1 = (wxImage *) 0 ;
10838 wxString *arg2 = 0 ;
10839 int arg3 ;
e811c8ce 10840 bool temp2 = False ;
d14a1e28
RD
10841 PyObject * obj0 = 0 ;
10842 PyObject * obj1 = 0 ;
994141e6 10843 PyObject * obj2 = 0 ;
d14a1e28
RD
10844 char *kwnames[] = {
10845 (char *) "self",(char *) "name",(char *) "value", NULL
10846 };
10847
994141e6 10848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10851 {
10852 arg2 = wxString_in_helper(obj1);
10853 if (arg2 == NULL) SWIG_fail;
e811c8ce 10854 temp2 = True;
d14a1e28 10855 }
15afbcd0
RD
10856 arg3 = (int) SWIG_AsInt(obj2);
10857 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10858 {
10859 PyThreadState* __tstate = wxPyBeginAllowThreads();
10860 (arg1)->SetOption((wxString const &)*arg2,arg3);
10861
10862 wxPyEndAllowThreads(__tstate);
10863 if (PyErr_Occurred()) SWIG_fail;
10864 }
10865 Py_INCREF(Py_None); resultobj = Py_None;
10866 {
10867 if (temp2)
10868 delete arg2;
10869 }
10870 return resultobj;
10871 fail:
10872 {
10873 if (temp2)
10874 delete arg2;
10875 }
10876 return NULL;
10877}
10878
10879
10880static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10881 PyObject *resultobj;
10882 wxImage *arg1 = (wxImage *) 0 ;
10883 wxString *arg2 = 0 ;
10884 wxString result;
e811c8ce 10885 bool temp2 = False ;
d14a1e28
RD
10886 PyObject * obj0 = 0 ;
10887 PyObject * obj1 = 0 ;
10888 char *kwnames[] = {
10889 (char *) "self",(char *) "name", NULL
10890 };
10891
10892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10895 {
10896 arg2 = wxString_in_helper(obj1);
10897 if (arg2 == NULL) SWIG_fail;
e811c8ce 10898 temp2 = True;
d14a1e28
RD
10899 }
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10903
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 {
10908#if wxUSE_UNICODE
10909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10910#else
10911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10912#endif
10913 }
10914 {
10915 if (temp2)
10916 delete arg2;
10917 }
10918 return resultobj;
10919 fail:
10920 {
10921 if (temp2)
10922 delete arg2;
10923 }
10924 return NULL;
10925}
10926
10927
10928static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10929 PyObject *resultobj;
10930 wxImage *arg1 = (wxImage *) 0 ;
10931 wxString *arg2 = 0 ;
10932 int result;
e811c8ce 10933 bool temp2 = False ;
d14a1e28
RD
10934 PyObject * obj0 = 0 ;
10935 PyObject * obj1 = 0 ;
10936 char *kwnames[] = {
10937 (char *) "self",(char *) "name", NULL
10938 };
10939
10940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10943 {
10944 arg2 = wxString_in_helper(obj1);
10945 if (arg2 == NULL) SWIG_fail;
e811c8ce 10946 temp2 = True;
d14a1e28
RD
10947 }
10948 {
10949 PyThreadState* __tstate = wxPyBeginAllowThreads();
10950 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
10951
10952 wxPyEndAllowThreads(__tstate);
10953 if (PyErr_Occurred()) SWIG_fail;
10954 }
15afbcd0 10955 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10956 {
10957 if (temp2)
10958 delete arg2;
10959 }
10960 return resultobj;
10961 fail:
10962 {
10963 if (temp2)
10964 delete arg2;
10965 }
10966 return NULL;
10967}
10968
10969
10970static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10971 PyObject *resultobj;
10972 wxImage *arg1 = (wxImage *) 0 ;
10973 wxString *arg2 = 0 ;
10974 bool result;
e811c8ce 10975 bool temp2 = False ;
d14a1e28
RD
10976 PyObject * obj0 = 0 ;
10977 PyObject * obj1 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self",(char *) "name", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10985 {
10986 arg2 = wxString_in_helper(obj1);
10987 if (arg2 == NULL) SWIG_fail;
e811c8ce 10988 temp2 = True;
d14a1e28
RD
10989 }
10990 {
10991 PyThreadState* __tstate = wxPyBeginAllowThreads();
10992 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
10993
10994 wxPyEndAllowThreads(__tstate);
10995 if (PyErr_Occurred()) SWIG_fail;
10996 }
4f89f6a3
RD
10997 {
10998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10999 }
d14a1e28
RD
11000 {
11001 if (temp2)
11002 delete arg2;
11003 }
11004 return resultobj;
11005 fail:
11006 {
11007 if (temp2)
11008 delete arg2;
11009 }
11010 return NULL;
11011}
11012
11013
11014static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
11015 PyObject *resultobj;
11016 wxImage *arg1 = (wxImage *) 0 ;
11017 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
11018 unsigned long result;
11019 PyObject * obj0 = 0 ;
11020 PyObject * obj1 = 0 ;
11021 char *kwnames[] = {
11022 (char *) "self",(char *) "stopafter", NULL
11023 };
11024
11025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11028 if (obj1) {
15afbcd0
RD
11029 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
11030 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11031 }
11032 {
11033 PyThreadState* __tstate = wxPyBeginAllowThreads();
11034 result = (unsigned long)(arg1)->CountColours(arg2);
11035
11036 wxPyEndAllowThreads(__tstate);
11037 if (PyErr_Occurred()) SWIG_fail;
11038 }
15afbcd0 11039 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
11040 return resultobj;
11041 fail:
11042 return NULL;
11043}
11044
11045
11046static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
11047 PyObject *resultobj;
11048 wxImage *arg1 = (wxImage *) 0 ;
11049 wxImageHistogram *arg2 = 0 ;
11050 unsigned long result;
11051 PyObject * obj0 = 0 ;
11052 PyObject * obj1 = 0 ;
11053 char *kwnames[] = {
11054 (char *) "self",(char *) "h", NULL
11055 };
11056
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11060 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
11061 SWIG_POINTER_EXCEPTION | 0)) == -1)
11062 SWIG_fail;
d14a1e28 11063 if (arg2 == NULL) {
15afbcd0
RD
11064 PyErr_SetString(PyExc_TypeError,"null reference");
11065 SWIG_fail;
d14a1e28
RD
11066 }
11067 {
11068 PyThreadState* __tstate = wxPyBeginAllowThreads();
11069 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
11070
11071 wxPyEndAllowThreads(__tstate);
11072 if (PyErr_Occurred()) SWIG_fail;
11073 }
15afbcd0 11074 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
11075 return resultobj;
11076 fail:
11077 return NULL;
11078}
11079
11080
11081static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11082 PyObject *resultobj;
11083 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11084 PyObject * obj0 = 0 ;
11085 char *kwnames[] = {
11086 (char *) "handler", NULL
11087 };
11088
11089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11092 {
11093 PyThreadState* __tstate = wxPyBeginAllowThreads();
11094 wxImage::AddHandler(arg1);
11095
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 Py_INCREF(Py_None); resultobj = Py_None;
11100 return resultobj;
11101 fail:
11102 return NULL;
11103}
11104
11105
11106static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11107 PyObject *resultobj;
11108 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11109 PyObject * obj0 = 0 ;
11110 char *kwnames[] = {
11111 (char *) "handler", NULL
11112 };
11113
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 wxImage::InsertHandler(arg1);
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 Py_INCREF(Py_None); resultobj = Py_None;
11125 return resultobj;
11126 fail:
11127 return NULL;
11128}
11129
11130
11131static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11132 PyObject *resultobj;
11133 wxString *arg1 = 0 ;
11134 bool result;
e811c8ce 11135 bool temp1 = False ;
d14a1e28
RD
11136 PyObject * obj0 = 0 ;
11137 char *kwnames[] = {
11138 (char *) "name", NULL
11139 };
11140
11141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11142 {
11143 arg1 = wxString_in_helper(obj0);
11144 if (arg1 == NULL) SWIG_fail;
e811c8ce 11145 temp1 = True;
d14a1e28
RD
11146 }
11147 {
11148 PyThreadState* __tstate = wxPyBeginAllowThreads();
11149 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11150
11151 wxPyEndAllowThreads(__tstate);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
4f89f6a3
RD
11154 {
11155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11156 }
d14a1e28
RD
11157 {
11158 if (temp1)
11159 delete arg1;
11160 }
11161 return resultobj;
11162 fail:
11163 {
11164 if (temp1)
11165 delete arg1;
11166 }
11167 return NULL;
11168}
11169
11170
11171static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11172 PyObject *resultobj;
11173 wxString result;
11174 char *kwnames[] = {
11175 NULL
11176 };
11177
11178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11179 {
11180 PyThreadState* __tstate = wxPyBeginAllowThreads();
11181 result = wxImage::GetImageExtWildcard();
11182
11183 wxPyEndAllowThreads(__tstate);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 {
11187#if wxUSE_UNICODE
11188 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11189#else
11190 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11191#endif
11192 }
11193 return resultobj;
11194 fail:
11195 return NULL;
11196}
11197
11198
11199static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11200 PyObject *resultobj;
11201 wxImage *arg1 = (wxImage *) 0 ;
11202 wxBitmap result;
11203 PyObject * obj0 = 0 ;
11204 char *kwnames[] = {
11205 (char *) "self", NULL
11206 };
11207
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
11209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 result = wxImage_ConvertToBitmap(arg1);
11214
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 {
11219 wxBitmap * resultptr;
11220 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11221 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11222 }
11223 return resultobj;
11224 fail:
11225 return NULL;
11226}
11227
11228
11229static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11230 PyObject *resultobj;
11231 wxImage *arg1 = (wxImage *) 0 ;
11232 unsigned char arg2 ;
11233 unsigned char arg3 ;
11234 unsigned char arg4 ;
11235 wxBitmap result;
11236 PyObject * obj0 = 0 ;
11237 PyObject * obj1 = 0 ;
11238 PyObject * obj2 = 0 ;
11239 PyObject * obj3 = 0 ;
11240 char *kwnames[] = {
11241 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11242 };
11243
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11247 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
11252 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11253 {
11254 PyThreadState* __tstate = wxPyBeginAllowThreads();
11255 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11256
11257 wxPyEndAllowThreads(__tstate);
11258 if (PyErr_Occurred()) SWIG_fail;
11259 }
11260 {
11261 wxBitmap * resultptr;
11262 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11264 }
11265 return resultobj;
11266 fail:
11267 return NULL;
11268}
11269
11270
11271static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
11272 PyObject *obj;
11273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11274 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11275 Py_INCREF(obj);
11276 return Py_BuildValue((char *)"");
11277}
d14a1e28
RD
11278static int _wrap_NullImage_set(PyObject *_val) {
11279 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11280 return 1;
11281}
11282
11283
11284static PyObject *_wrap_NullImage_get() {
11285 PyObject *pyobj;
11286
15afbcd0 11287 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
11288 return pyobj;
11289}
11290
11291
11292static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
11293 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11294 return 1;
11295}
11296
11297
11298static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11299 PyObject *pyobj;
11300
11301 {
11302#if wxUSE_UNICODE
11303 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11304#else
11305 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11306#endif
11307 }
11308 return pyobj;
11309}
11310
11311
11312static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
11313 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11314 return 1;
11315}
11316
11317
11318static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11319 PyObject *pyobj;
11320
11321 {
11322#if wxUSE_UNICODE
11323 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11324#else
11325 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11326#endif
11327 }
11328 return pyobj;
11329}
11330
11331
11332static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
11333 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11334 return 1;
11335}
11336
11337
11338static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11339 PyObject *pyobj;
11340
11341 {
11342#if wxUSE_UNICODE
11343 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11344#else
11345 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11346#endif
11347 }
11348 return pyobj;
11349}
11350
11351
11352static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
11353 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11354 return 1;
11355}
11356
11357
11358static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11359 PyObject *pyobj;
11360
11361 {
11362#if wxUSE_UNICODE
11363 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11364#else
11365 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11366#endif
11367 }
11368 return pyobj;
11369}
11370
11371
11372static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
11373 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11374 return 1;
11375}
11376
11377
11378static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11379 PyObject *pyobj;
11380
11381 {
11382#if wxUSE_UNICODE
11383 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11384#else
11385 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11386#endif
11387 }
11388 return pyobj;
11389}
11390
11391
11392static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11393 PyObject *resultobj;
11394 wxBMPHandler *result;
11395 char *kwnames[] = {
11396 NULL
11397 };
11398
11399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 result = (wxBMPHandler *)new wxBMPHandler();
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
15afbcd0 11407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
d14a1e28
RD
11408 return resultobj;
11409 fail:
11410 return NULL;
11411}
11412
11413
11414static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
11415 PyObject *obj;
11416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11417 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11418 Py_INCREF(obj);
11419 return Py_BuildValue((char *)"");
11420}
11421static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11422 PyObject *resultobj;
11423 wxICOHandler *result;
11424 char *kwnames[] = {
11425 NULL
11426 };
11427
11428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
11431 result = (wxICOHandler *)new wxICOHandler();
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
15afbcd0 11436 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
d14a1e28
RD
11437 return resultobj;
11438 fail:
11439 return NULL;
11440}
11441
11442
11443static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
11444 PyObject *obj;
11445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11446 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11447 Py_INCREF(obj);
11448 return Py_BuildValue((char *)"");
11449}
11450static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11451 PyObject *resultobj;
11452 wxCURHandler *result;
11453 char *kwnames[] = {
11454 NULL
11455 };
11456
11457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
11460 result = (wxCURHandler *)new wxCURHandler();
11461
11462 wxPyEndAllowThreads(__tstate);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 }
15afbcd0 11465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
d14a1e28
RD
11466 return resultobj;
11467 fail:
11468 return NULL;
11469}
11470
11471
11472static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
11473 PyObject *obj;
11474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11475 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11476 Py_INCREF(obj);
11477 return Py_BuildValue((char *)"");
11478}
11479static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11480 PyObject *resultobj;
11481 wxANIHandler *result;
11482 char *kwnames[] = {
11483 NULL
11484 };
11485
11486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 result = (wxANIHandler *)new wxANIHandler();
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
15afbcd0 11494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
d14a1e28
RD
11495 return resultobj;
11496 fail:
11497 return NULL;
11498}
11499
11500
11501static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
11502 PyObject *obj;
11503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11504 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11505 Py_INCREF(obj);
11506 return Py_BuildValue((char *)"");
11507}
11508static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11509 PyObject *resultobj;
11510 wxPNGHandler *result;
11511 char *kwnames[] = {
11512 NULL
11513 };
11514
11515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11516 {
11517 PyThreadState* __tstate = wxPyBeginAllowThreads();
11518 result = (wxPNGHandler *)new wxPNGHandler();
11519
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
15afbcd0 11523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
d14a1e28
RD
11524 return resultobj;
11525 fail:
11526 return NULL;
11527}
11528
11529
11530static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
11531 PyObject *obj;
11532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11533 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11534 Py_INCREF(obj);
11535 return Py_BuildValue((char *)"");
11536}
11537static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11538 PyObject *resultobj;
11539 wxGIFHandler *result;
11540 char *kwnames[] = {
11541 NULL
11542 };
11543
11544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11545 {
11546 PyThreadState* __tstate = wxPyBeginAllowThreads();
11547 result = (wxGIFHandler *)new wxGIFHandler();
11548
11549 wxPyEndAllowThreads(__tstate);
11550 if (PyErr_Occurred()) SWIG_fail;
11551 }
15afbcd0 11552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
d14a1e28
RD
11553 return resultobj;
11554 fail:
11555 return NULL;
11556}
11557
11558
11559static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
11560 PyObject *obj;
11561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11562 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11563 Py_INCREF(obj);
11564 return Py_BuildValue((char *)"");
11565}
11566static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11567 PyObject *resultobj;
11568 wxPCXHandler *result;
11569 char *kwnames[] = {
11570 NULL
11571 };
11572
11573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11574 {
11575 PyThreadState* __tstate = wxPyBeginAllowThreads();
11576 result = (wxPCXHandler *)new wxPCXHandler();
11577
11578 wxPyEndAllowThreads(__tstate);
11579 if (PyErr_Occurred()) SWIG_fail;
11580 }
15afbcd0 11581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
d14a1e28
RD
11582 return resultobj;
11583 fail:
11584 return NULL;
11585}
11586
11587
11588static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
11589 PyObject *obj;
11590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11591 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11592 Py_INCREF(obj);
11593 return Py_BuildValue((char *)"");
11594}
11595static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11596 PyObject *resultobj;
11597 wxJPEGHandler *result;
11598 char *kwnames[] = {
11599 NULL
11600 };
11601
11602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11603 {
11604 PyThreadState* __tstate = wxPyBeginAllowThreads();
11605 result = (wxJPEGHandler *)new wxJPEGHandler();
11606
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
15afbcd0 11610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
d14a1e28
RD
11611 return resultobj;
11612 fail:
11613 return NULL;
11614}
11615
11616
11617static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
11618 PyObject *obj;
11619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11620 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11621 Py_INCREF(obj);
11622 return Py_BuildValue((char *)"");
11623}
11624static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11625 PyObject *resultobj;
11626 wxPNMHandler *result;
11627 char *kwnames[] = {
11628 NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 result = (wxPNMHandler *)new wxPNMHandler();
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
15afbcd0 11639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
d14a1e28
RD
11640 return resultobj;
11641 fail:
11642 return NULL;
11643}
11644
11645
11646static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
11647 PyObject *obj;
11648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11649 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11650 Py_INCREF(obj);
11651 return Py_BuildValue((char *)"");
11652}
11653static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11654 PyObject *resultobj;
11655 wxXPMHandler *result;
11656 char *kwnames[] = {
11657 NULL
11658 };
11659
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11661 {
11662 PyThreadState* __tstate = wxPyBeginAllowThreads();
11663 result = (wxXPMHandler *)new wxXPMHandler();
11664
11665 wxPyEndAllowThreads(__tstate);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 }
15afbcd0 11668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
d14a1e28
RD
11669 return resultobj;
11670 fail:
11671 return NULL;
11672}
11673
11674
11675static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
11676 PyObject *obj;
11677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11679 Py_INCREF(obj);
11680 return Py_BuildValue((char *)"");
11681}
11682static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11683 PyObject *resultobj;
11684 wxTIFFHandler *result;
11685 char *kwnames[] = {
11686 NULL
11687 };
11688
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11690 {
11691 PyThreadState* __tstate = wxPyBeginAllowThreads();
11692 result = (wxTIFFHandler *)new wxTIFFHandler();
11693
11694 wxPyEndAllowThreads(__tstate);
11695 if (PyErr_Occurred()) SWIG_fail;
11696 }
15afbcd0 11697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
d14a1e28
RD
11698 return resultobj;
11699 fail:
11700 return NULL;
11701}
11702
11703
11704static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
11705 PyObject *obj;
11706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11707 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11708 Py_INCREF(obj);
11709 return Py_BuildValue((char *)"");
11710}
11711static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11712 PyObject *resultobj;
11713 wxEvtHandler *result;
11714 char *kwnames[] = {
11715 NULL
11716 };
11717
11718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
11721 result = (wxEvtHandler *)new wxEvtHandler();
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
11726 {
11727 resultobj = wxPyMake_wxObject(result);
11728 }
11729 return resultobj;
11730 fail:
11731 return NULL;
11732}
11733
11734
11735static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11736 PyObject *resultobj;
11737 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11738 wxEvtHandler *result;
11739 PyObject * obj0 = 0 ;
11740 char *kwnames[] = {
11741 (char *) "self", NULL
11742 };
11743
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11747 {
11748 PyThreadState* __tstate = wxPyBeginAllowThreads();
11749 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11750
11751 wxPyEndAllowThreads(__tstate);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 }
11754 {
11755 resultobj = wxPyMake_wxObject(result);
11756 }
11757 return resultobj;
11758 fail:
11759 return NULL;
11760}
11761
11762
11763static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11764 PyObject *resultobj;
11765 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11766 wxEvtHandler *result;
11767 PyObject * obj0 = 0 ;
11768 char *kwnames[] = {
11769 (char *) "self", NULL
11770 };
11771
11772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11775 {
11776 PyThreadState* __tstate = wxPyBeginAllowThreads();
11777 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11778
11779 wxPyEndAllowThreads(__tstate);
11780 if (PyErr_Occurred()) SWIG_fail;
11781 }
11782 {
11783 resultobj = wxPyMake_wxObject(result);
11784 }
11785 return resultobj;
11786 fail:
11787 return NULL;
11788}
11789
11790
11791static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11792 PyObject *resultobj;
11793 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11794 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11795 PyObject * obj0 = 0 ;
11796 PyObject * obj1 = 0 ;
11797 char *kwnames[] = {
11798 (char *) "self",(char *) "handler", NULL
11799 };
11800
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 (arg1)->SetNextHandler(arg2);
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 Py_INCREF(Py_None); resultobj = Py_None;
11814 return resultobj;
11815 fail:
11816 return NULL;
11817}
11818
11819
11820static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11821 PyObject *resultobj;
11822 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11823 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11824 PyObject * obj0 = 0 ;
11825 PyObject * obj1 = 0 ;
11826 char *kwnames[] = {
11827 (char *) "self",(char *) "handler", NULL
11828 };
11829
11830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11835 {
11836 PyThreadState* __tstate = wxPyBeginAllowThreads();
11837 (arg1)->SetPreviousHandler(arg2);
11838
11839 wxPyEndAllowThreads(__tstate);
11840 if (PyErr_Occurred()) SWIG_fail;
11841 }
11842 Py_INCREF(Py_None); resultobj = Py_None;
11843 return resultobj;
11844 fail:
11845 return NULL;
11846}
11847
11848
11849static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11850 PyObject *resultobj;
11851 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11852 bool result;
11853 PyObject * obj0 = 0 ;
11854 char *kwnames[] = {
11855 (char *) "self", NULL
11856 };
11857
11858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
11859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11861 {
11862 PyThreadState* __tstate = wxPyBeginAllowThreads();
11863 result = (bool)(arg1)->GetEvtHandlerEnabled();
11864
11865 wxPyEndAllowThreads(__tstate);
11866 if (PyErr_Occurred()) SWIG_fail;
11867 }
4f89f6a3
RD
11868 {
11869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11870 }
d14a1e28
RD
11871 return resultobj;
11872 fail:
11873 return NULL;
11874}
11875
11876
11877static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11878 PyObject *resultobj;
11879 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11880 bool arg2 ;
11881 PyObject * obj0 = 0 ;
11882 PyObject * obj1 = 0 ;
11883 char *kwnames[] = {
11884 (char *) "self",(char *) "enabled", NULL
11885 };
11886
11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11890 arg2 = (bool) SWIG_AsBool(obj1);
11891 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11892 {
11893 PyThreadState* __tstate = wxPyBeginAllowThreads();
11894 (arg1)->SetEvtHandlerEnabled(arg2);
11895
11896 wxPyEndAllowThreads(__tstate);
11897 if (PyErr_Occurred()) SWIG_fail;
11898 }
11899 Py_INCREF(Py_None); resultobj = Py_None;
11900 return resultobj;
11901 fail:
11902 return NULL;
11903}
11904
11905
11906static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11907 PyObject *resultobj;
11908 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11909 wxEvent *arg2 = 0 ;
11910 bool result;
11911 PyObject * obj0 = 0 ;
11912 PyObject * obj1 = 0 ;
11913 char *kwnames[] = {
11914 (char *) "self",(char *) "event", NULL
11915 };
11916
11917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11921 SWIG_POINTER_EXCEPTION | 0)) == -1)
11922 SWIG_fail;
d14a1e28 11923 if (arg2 == NULL) {
15afbcd0
RD
11924 PyErr_SetString(PyExc_TypeError,"null reference");
11925 SWIG_fail;
d14a1e28
RD
11926 }
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = (bool)(arg1)->ProcessEvent(*arg2);
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
4f89f6a3
RD
11934 {
11935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11936 }
d14a1e28
RD
11937 return resultobj;
11938 fail:
11939 return NULL;
11940}
11941
11942
11943static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11944 PyObject *resultobj;
11945 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11946 wxEvent *arg2 = 0 ;
11947 PyObject * obj0 = 0 ;
11948 PyObject * obj1 = 0 ;
11949 char *kwnames[] = {
11950 (char *) "self",(char *) "event", NULL
11951 };
11952
11953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11957 SWIG_POINTER_EXCEPTION | 0)) == -1)
11958 SWIG_fail;
d14a1e28 11959 if (arg2 == NULL) {
15afbcd0
RD
11960 PyErr_SetString(PyExc_TypeError,"null reference");
11961 SWIG_fail;
d14a1e28
RD
11962 }
11963 {
11964 PyThreadState* __tstate = wxPyBeginAllowThreads();
11965 (arg1)->AddPendingEvent(*arg2);
11966
11967 wxPyEndAllowThreads(__tstate);
11968 if (PyErr_Occurred()) SWIG_fail;
11969 }
11970 Py_INCREF(Py_None); resultobj = Py_None;
11971 return resultobj;
11972 fail:
11973 return NULL;
11974}
11975
11976
11977static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
11978 PyObject *resultobj;
11979 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11980 PyObject * obj0 = 0 ;
11981 char *kwnames[] = {
11982 (char *) "self", NULL
11983 };
11984
11985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
11986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11988 {
11989 PyThreadState* __tstate = wxPyBeginAllowThreads();
11990 (arg1)->ProcessPendingEvents();
11991
11992 wxPyEndAllowThreads(__tstate);
11993 if (PyErr_Occurred()) SWIG_fail;
11994 }
11995 Py_INCREF(Py_None); resultobj = Py_None;
11996 return resultobj;
11997 fail:
11998 return NULL;
11999}
12000
12001
12002static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
12003 PyObject *resultobj;
12004 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12005 int arg2 ;
12006 int arg3 ;
12007 int arg4 ;
12008 PyObject *arg5 = (PyObject *) 0 ;
12009 PyObject * obj0 = 0 ;
994141e6
RD
12010 PyObject * obj1 = 0 ;
12011 PyObject * obj2 = 0 ;
12012 PyObject * obj3 = 0 ;
d14a1e28
RD
12013 PyObject * obj4 = 0 ;
12014 char *kwnames[] = {
12015 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12016 };
12017
994141e6 12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12021 arg2 = (int) SWIG_AsInt(obj1);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 arg3 = (int) SWIG_AsInt(obj2);
12024 if (PyErr_Occurred()) SWIG_fail;
12025 arg4 = (int) SWIG_AsInt(obj3);
12026 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12027 arg5 = obj4;
12028 {
12029 PyThreadState* __tstate = wxPyBeginAllowThreads();
12030 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
12031
12032 wxPyEndAllowThreads(__tstate);
12033 if (PyErr_Occurred()) SWIG_fail;
12034 }
12035 Py_INCREF(Py_None); resultobj = Py_None;
12036 return resultobj;
12037 fail:
12038 return NULL;
12039}
12040
12041
12042static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
12043 PyObject *resultobj;
12044 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12045 int arg2 ;
12046 int arg3 = (int) -1 ;
12047 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
12048 bool result;
12049 PyObject * obj0 = 0 ;
994141e6
RD
12050 PyObject * obj1 = 0 ;
12051 PyObject * obj2 = 0 ;
12052 PyObject * obj3 = 0 ;
d14a1e28
RD
12053 char *kwnames[] = {
12054 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12055 };
12056
994141e6 12057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12060 arg2 = (int) SWIG_AsInt(obj1);
12061 if (PyErr_Occurred()) SWIG_fail;
994141e6 12062 if (obj2) {
15afbcd0
RD
12063 arg3 = (int) SWIG_AsInt(obj2);
12064 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12065 }
12066 if (obj3) {
15afbcd0
RD
12067 arg4 = (wxEventType) SWIG_AsInt(obj3);
12068 if (PyErr_Occurred()) SWIG_fail;
994141e6 12069 }
d14a1e28
RD
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
12073
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 }
4f89f6a3
RD
12077 {
12078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12079 }
d14a1e28
RD
12080 return resultobj;
12081 fail:
12082 return NULL;
12083}
12084
12085
12086static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12087 PyObject *resultobj;
12088 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12089 PyObject *arg2 = (PyObject *) 0 ;
12090 PyObject * obj0 = 0 ;
12091 PyObject * obj1 = 0 ;
12092 char *kwnames[] = {
12093 (char *) "self",(char *) "_self", NULL
12094 };
12095
12096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12099 arg2 = obj1;
12100 {
12101 PyThreadState* __tstate = wxPyBeginAllowThreads();
12102 wxEvtHandler__setOORInfo(arg1,arg2);
12103
12104 wxPyEndAllowThreads(__tstate);
12105 if (PyErr_Occurred()) SWIG_fail;
12106 }
12107 Py_INCREF(Py_None); resultobj = Py_None;
12108 return resultobj;
12109 fail:
12110 return NULL;
12111}
12112
12113
12114static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
12115 PyObject *obj;
12116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12117 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12118 Py_INCREF(obj);
12119 return Py_BuildValue((char *)"");
12120}
12121static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12122 PyObject *resultobj;
12123 wxEventType result;
12124 char *kwnames[] = {
12125 NULL
12126 };
12127
12128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12129 {
12130 PyThreadState* __tstate = wxPyBeginAllowThreads();
12131 result = (wxEventType)wxNewEventType();
12132
12133 wxPyEndAllowThreads(__tstate);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 }
15afbcd0 12136 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12137 return resultobj;
12138 fail:
12139 return NULL;
12140}
12141
12142
12143static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
12144 PyObject *resultobj;
12145 wxEvent *arg1 = (wxEvent *) 0 ;
12146 PyObject * obj0 = 0 ;
12147 char *kwnames[] = {
12148 (char *) "self", NULL
12149 };
12150
12151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
15afbcd0
RD
12152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12154 {
12155 PyThreadState* __tstate = wxPyBeginAllowThreads();
12156 delete arg1;
12157
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 Py_INCREF(Py_None); resultobj = Py_None;
12162 return resultobj;
12163 fail:
12164 return NULL;
12165}
12166
12167
12168static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12169 PyObject *resultobj;
12170 wxEvent *arg1 = (wxEvent *) 0 ;
12171 wxEventType arg2 ;
12172 PyObject * obj0 = 0 ;
994141e6 12173 PyObject * obj1 = 0 ;
d14a1e28
RD
12174 char *kwnames[] = {
12175 (char *) "self",(char *) "typ", NULL
12176 };
12177
994141e6 12178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12181 arg2 = (wxEventType) SWIG_AsInt(obj1);
12182 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12183 {
12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
12185 (arg1)->SetEventType(arg2);
12186
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) SWIG_fail;
12189 }
12190 Py_INCREF(Py_None); resultobj = Py_None;
12191 return resultobj;
12192 fail:
12193 return NULL;
12194}
12195
12196
12197static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj;
12199 wxEvent *arg1 = (wxEvent *) 0 ;
12200 wxEventType result;
12201 PyObject * obj0 = 0 ;
12202 char *kwnames[] = {
12203 (char *) "self", NULL
12204 };
12205
12206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
15afbcd0
RD
12207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12209 {
12210 PyThreadState* __tstate = wxPyBeginAllowThreads();
12211 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12212
12213 wxPyEndAllowThreads(__tstate);
12214 if (PyErr_Occurred()) SWIG_fail;
12215 }
15afbcd0 12216 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12217 return resultobj;
12218 fail:
12219 return NULL;
12220}
12221
12222
12223static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12224 PyObject *resultobj;
12225 wxEvent *arg1 = (wxEvent *) 0 ;
12226 wxObject *result;
12227 PyObject * obj0 = 0 ;
12228 char *kwnames[] = {
12229 (char *) "self", NULL
12230 };
12231
12232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
12233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12235 {
12236 PyThreadState* __tstate = wxPyBeginAllowThreads();
12237 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12238
12239 wxPyEndAllowThreads(__tstate);
12240 if (PyErr_Occurred()) SWIG_fail;
12241 }
12242 {
12243 resultobj = wxPyMake_wxObject(result);
12244 }
12245 return resultobj;
12246 fail:
12247 return NULL;
12248}
12249
12250
12251static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12252 PyObject *resultobj;
12253 wxEvent *arg1 = (wxEvent *) 0 ;
12254 wxObject *arg2 = (wxObject *) 0 ;
12255 PyObject * obj0 = 0 ;
12256 PyObject * obj1 = 0 ;
12257 char *kwnames[] = {
12258 (char *) "self",(char *) "obj", NULL
12259 };
12260
12261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12266 {
12267 PyThreadState* __tstate = wxPyBeginAllowThreads();
12268 (arg1)->SetEventObject(arg2);
12269
12270 wxPyEndAllowThreads(__tstate);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 }
12273 Py_INCREF(Py_None); resultobj = Py_None;
12274 return resultobj;
12275 fail:
12276 return NULL;
12277}
12278
12279
12280static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12281 PyObject *resultobj;
12282 wxEvent *arg1 = (wxEvent *) 0 ;
12283 long result;
12284 PyObject * obj0 = 0 ;
12285 char *kwnames[] = {
12286 (char *) "self", NULL
12287 };
12288
12289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
15afbcd0
RD
12290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12292 {
12293 PyThreadState* __tstate = wxPyBeginAllowThreads();
12294 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12295
12296 wxPyEndAllowThreads(__tstate);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 }
15afbcd0 12299 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12300 return resultobj;
12301 fail:
12302 return NULL;
12303}
12304
12305
12306static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12307 PyObject *resultobj;
12308 wxEvent *arg1 = (wxEvent *) 0 ;
12309 long arg2 = (long) 0 ;
12310 PyObject * obj0 = 0 ;
994141e6 12311 PyObject * obj1 = 0 ;
d14a1e28
RD
12312 char *kwnames[] = {
12313 (char *) "self",(char *) "ts", NULL
12314 };
12315
994141e6 12316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 12319 if (obj1) {
15afbcd0
RD
12320 arg2 = (long) SWIG_AsLong(obj1);
12321 if (PyErr_Occurred()) SWIG_fail;
994141e6 12322 }
d14a1e28
RD
12323 {
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 (arg1)->SetTimestamp(arg2);
12326
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 Py_INCREF(Py_None); resultobj = Py_None;
12331 return resultobj;
12332 fail:
12333 return NULL;
12334}
12335
12336
12337static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12338 PyObject *resultobj;
12339 wxEvent *arg1 = (wxEvent *) 0 ;
12340 int result;
12341 PyObject * obj0 = 0 ;
12342 char *kwnames[] = {
12343 (char *) "self", NULL
12344 };
12345
12346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
12347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12349 {
12350 PyThreadState* __tstate = wxPyBeginAllowThreads();
12351 result = (int)((wxEvent const *)arg1)->GetId();
12352
12353 wxPyEndAllowThreads(__tstate);
12354 if (PyErr_Occurred()) SWIG_fail;
12355 }
15afbcd0 12356 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12357 return resultobj;
12358 fail:
12359 return NULL;
12360}
12361
12362
12363static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12364 PyObject *resultobj;
12365 wxEvent *arg1 = (wxEvent *) 0 ;
12366 int arg2 ;
12367 PyObject * obj0 = 0 ;
994141e6 12368 PyObject * obj1 = 0 ;
d14a1e28
RD
12369 char *kwnames[] = {
12370 (char *) "self",(char *) "Id", NULL
12371 };
12372
994141e6 12373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12376 arg2 = (int) SWIG_AsInt(obj1);
12377 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 (arg1)->SetId(arg2);
12381
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 Py_INCREF(Py_None); resultobj = Py_None;
12386 return resultobj;
12387 fail:
12388 return NULL;
12389}
12390
12391
12392static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12393 PyObject *resultobj;
12394 wxEvent *arg1 = (wxEvent *) 0 ;
12395 bool result;
12396 PyObject * obj0 = 0 ;
12397 char *kwnames[] = {
12398 (char *) "self", NULL
12399 };
12400
12401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
12402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12404 {
12405 PyThreadState* __tstate = wxPyBeginAllowThreads();
12406 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12407
12408 wxPyEndAllowThreads(__tstate);
12409 if (PyErr_Occurred()) SWIG_fail;
12410 }
4f89f6a3
RD
12411 {
12412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12413 }
d14a1e28
RD
12414 return resultobj;
12415 fail:
12416 return NULL;
12417}
12418
12419
12420static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
12421 PyObject *resultobj;
12422 wxEvent *arg1 = (wxEvent *) 0 ;
e811c8ce 12423 bool arg2 = (bool) True ;
d14a1e28
RD
12424 PyObject * obj0 = 0 ;
12425 PyObject * obj1 = 0 ;
12426 char *kwnames[] = {
12427 (char *) "self",(char *) "skip", NULL
12428 };
12429
12430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12433 if (obj1) {
15afbcd0
RD
12434 arg2 = (bool) SWIG_AsBool(obj1);
12435 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12436 }
12437 {
12438 PyThreadState* __tstate = wxPyBeginAllowThreads();
12439 (arg1)->Skip(arg2);
12440
12441 wxPyEndAllowThreads(__tstate);
12442 if (PyErr_Occurred()) SWIG_fail;
12443 }
12444 Py_INCREF(Py_None); resultobj = Py_None;
12445 return resultobj;
12446 fail:
12447 return NULL;
12448}
12449
12450
12451static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
12452 PyObject *resultobj;
12453 wxEvent *arg1 = (wxEvent *) 0 ;
12454 bool result;
12455 PyObject * obj0 = 0 ;
12456 char *kwnames[] = {
12457 (char *) "self", NULL
12458 };
12459
12460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
15afbcd0
RD
12461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12463 {
12464 PyThreadState* __tstate = wxPyBeginAllowThreads();
12465 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12466
12467 wxPyEndAllowThreads(__tstate);
12468 if (PyErr_Occurred()) SWIG_fail;
12469 }
4f89f6a3
RD
12470 {
12471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12472 }
d14a1e28
RD
12473 return resultobj;
12474 fail:
12475 return NULL;
12476}
12477
12478
12479static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
12480 PyObject *resultobj;
12481 wxEvent *arg1 = (wxEvent *) 0 ;
12482 bool result;
12483 PyObject * obj0 = 0 ;
12484 char *kwnames[] = {
12485 (char *) "self", NULL
12486 };
12487
12488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
15afbcd0
RD
12489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12491 {
12492 PyThreadState* __tstate = wxPyBeginAllowThreads();
12493 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12494
12495 wxPyEndAllowThreads(__tstate);
12496 if (PyErr_Occurred()) SWIG_fail;
12497 }
4f89f6a3
RD
12498 {
12499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12500 }
d14a1e28
RD
12501 return resultobj;
12502 fail:
12503 return NULL;
12504}
12505
12506
12507static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12508 PyObject *resultobj;
12509 wxEvent *arg1 = (wxEvent *) 0 ;
12510 int result;
12511 PyObject * obj0 = 0 ;
12512 char *kwnames[] = {
12513 (char *) "self", NULL
12514 };
12515
12516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
15afbcd0
RD
12517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12519 {
12520 PyThreadState* __tstate = wxPyBeginAllowThreads();
12521 result = (int)(arg1)->StopPropagation();
12522
12523 wxPyEndAllowThreads(__tstate);
12524 if (PyErr_Occurred()) SWIG_fail;
12525 }
15afbcd0 12526 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12527 return resultobj;
12528 fail:
12529 return NULL;
12530}
12531
12532
12533static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12534 PyObject *resultobj;
12535 wxEvent *arg1 = (wxEvent *) 0 ;
12536 int arg2 ;
12537 PyObject * obj0 = 0 ;
994141e6 12538 PyObject * obj1 = 0 ;
d14a1e28
RD
12539 char *kwnames[] = {
12540 (char *) "self",(char *) "propagationLevel", NULL
12541 };
12542
994141e6 12543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12546 arg2 = (int) SWIG_AsInt(obj1);
12547 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12548 {
12549 PyThreadState* __tstate = wxPyBeginAllowThreads();
12550 (arg1)->ResumePropagation(arg2);
12551
12552 wxPyEndAllowThreads(__tstate);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 }
12555 Py_INCREF(Py_None); resultobj = Py_None;
12556 return resultobj;
12557 fail:
12558 return NULL;
12559}
12560
12561
12562static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12563 PyObject *resultobj;
12564 wxEvent *arg1 = (wxEvent *) 0 ;
12565 wxEvent *result;
12566 PyObject * obj0 = 0 ;
12567 char *kwnames[] = {
12568 (char *) "self", NULL
12569 };
12570
12571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
12572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12574 {
12575 PyThreadState* __tstate = wxPyBeginAllowThreads();
12576 result = (wxEvent *)(arg1)->Clone();
12577
12578 wxPyEndAllowThreads(__tstate);
12579 if (PyErr_Occurred()) SWIG_fail;
12580 }
15afbcd0 12581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
12582 return resultobj;
12583 fail:
12584 return NULL;
12585}
12586
12587
12588static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
12589 PyObject *obj;
12590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12591 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12592 Py_INCREF(obj);
12593 return Py_BuildValue((char *)"");
12594}
12595static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12596 PyObject *resultobj;
12597 wxEvent *arg1 = 0 ;
12598 wxPropagationDisabler *result;
12599 PyObject * obj0 = 0 ;
12600 char *kwnames[] = {
12601 (char *) "event", NULL
12602 };
12603
12604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12606 SWIG_POINTER_EXCEPTION | 0)) == -1)
12607 SWIG_fail;
d14a1e28 12608 if (arg1 == NULL) {
15afbcd0
RD
12609 PyErr_SetString(PyExc_TypeError,"null reference");
12610 SWIG_fail;
d14a1e28
RD
12611 }
12612 {
12613 PyThreadState* __tstate = wxPyBeginAllowThreads();
12614 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12615
12616 wxPyEndAllowThreads(__tstate);
12617 if (PyErr_Occurred()) SWIG_fail;
12618 }
15afbcd0 12619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
d14a1e28
RD
12620 return resultobj;
12621 fail:
12622 return NULL;
12623}
12624
12625
12626static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12627 PyObject *resultobj;
12628 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12629 PyObject * obj0 = 0 ;
12630 char *kwnames[] = {
12631 (char *) "self", NULL
12632 };
12633
12634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
12636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12637 {
12638 PyThreadState* __tstate = wxPyBeginAllowThreads();
12639 delete arg1;
12640
12641 wxPyEndAllowThreads(__tstate);
12642 if (PyErr_Occurred()) SWIG_fail;
12643 }
12644 Py_INCREF(Py_None); resultobj = Py_None;
12645 return resultobj;
12646 fail:
12647 return NULL;
12648}
12649
12650
12651static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
12652 PyObject *obj;
12653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12654 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12655 Py_INCREF(obj);
12656 return Py_BuildValue((char *)"");
12657}
12658static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12659 PyObject *resultobj;
12660 wxEvent *arg1 = 0 ;
12661 wxPropagateOnce *result;
12662 PyObject * obj0 = 0 ;
12663 char *kwnames[] = {
12664 (char *) "event", NULL
12665 };
12666
12667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
12668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12669 SWIG_POINTER_EXCEPTION | 0)) == -1)
12670 SWIG_fail;
d14a1e28 12671 if (arg1 == NULL) {
15afbcd0
RD
12672 PyErr_SetString(PyExc_TypeError,"null reference");
12673 SWIG_fail;
d14a1e28
RD
12674 }
12675 {
12676 PyThreadState* __tstate = wxPyBeginAllowThreads();
12677 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12678
12679 wxPyEndAllowThreads(__tstate);
12680 if (PyErr_Occurred()) SWIG_fail;
12681 }
15afbcd0 12682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
d14a1e28
RD
12683 return resultobj;
12684 fail:
12685 return NULL;
12686}
12687
12688
12689static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12690 PyObject *resultobj;
12691 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12692 PyObject * obj0 = 0 ;
12693 char *kwnames[] = {
12694 (char *) "self", NULL
12695 };
12696
12697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
12698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
12699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12700 {
12701 PyThreadState* __tstate = wxPyBeginAllowThreads();
12702 delete arg1;
12703
12704 wxPyEndAllowThreads(__tstate);
12705 if (PyErr_Occurred()) SWIG_fail;
12706 }
12707 Py_INCREF(Py_None); resultobj = Py_None;
12708 return resultobj;
12709 fail:
12710 return NULL;
12711}
12712
12713
12714static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
12715 PyObject *obj;
12716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12717 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12718 Py_INCREF(obj);
12719 return Py_BuildValue((char *)"");
12720}
12721static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12722 PyObject *resultobj;
12723 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12724 int arg2 = (int) 0 ;
12725 wxCommandEvent *result;
994141e6
RD
12726 PyObject * obj0 = 0 ;
12727 PyObject * obj1 = 0 ;
d14a1e28
RD
12728 char *kwnames[] = {
12729 (char *) "commandType",(char *) "winid", NULL
12730 };
12731
994141e6
RD
12732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12733 if (obj0) {
15afbcd0
RD
12734 arg1 = (wxEventType) SWIG_AsInt(obj0);
12735 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12736 }
12737 if (obj1) {
15afbcd0
RD
12738 arg2 = (int) SWIG_AsInt(obj1);
12739 if (PyErr_Occurred()) SWIG_fail;
994141e6 12740 }
d14a1e28
RD
12741 {
12742 PyThreadState* __tstate = wxPyBeginAllowThreads();
12743 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12744
12745 wxPyEndAllowThreads(__tstate);
12746 if (PyErr_Occurred()) SWIG_fail;
12747 }
15afbcd0 12748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
d14a1e28
RD
12749 return resultobj;
12750 fail:
12751 return NULL;
12752}
12753
12754
12755static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12756 PyObject *resultobj;
12757 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12758 int result;
12759 PyObject * obj0 = 0 ;
12760 char *kwnames[] = {
12761 (char *) "self", NULL
12762 };
12763
12764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12767 {
12768 PyThreadState* __tstate = wxPyBeginAllowThreads();
12769 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12770
12771 wxPyEndAllowThreads(__tstate);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
15afbcd0 12774 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12775 return resultobj;
12776 fail:
12777 return NULL;
12778}
12779
12780
12781static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12782 PyObject *resultobj;
12783 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12784 wxString *arg2 = 0 ;
e811c8ce 12785 bool temp2 = False ;
d14a1e28
RD
12786 PyObject * obj0 = 0 ;
12787 PyObject * obj1 = 0 ;
12788 char *kwnames[] = {
12789 (char *) "self",(char *) "s", NULL
12790 };
12791
12792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12795 {
12796 arg2 = wxString_in_helper(obj1);
12797 if (arg2 == NULL) SWIG_fail;
e811c8ce 12798 temp2 = True;
d14a1e28
RD
12799 }
12800 {
12801 PyThreadState* __tstate = wxPyBeginAllowThreads();
12802 (arg1)->SetString((wxString const &)*arg2);
12803
12804 wxPyEndAllowThreads(__tstate);
12805 if (PyErr_Occurred()) SWIG_fail;
12806 }
12807 Py_INCREF(Py_None); resultobj = Py_None;
12808 {
12809 if (temp2)
12810 delete arg2;
12811 }
12812 return resultobj;
12813 fail:
12814 {
12815 if (temp2)
12816 delete arg2;
12817 }
12818 return NULL;
12819}
12820
12821
12822static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj;
12824 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12825 wxString result;
12826 PyObject * obj0 = 0 ;
12827 char *kwnames[] = {
12828 (char *) "self", NULL
12829 };
12830
12831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
15afbcd0
RD
12832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12834 {
12835 PyThreadState* __tstate = wxPyBeginAllowThreads();
12836 result = ((wxCommandEvent const *)arg1)->GetString();
12837
12838 wxPyEndAllowThreads(__tstate);
12839 if (PyErr_Occurred()) SWIG_fail;
12840 }
12841 {
12842#if wxUSE_UNICODE
12843 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12844#else
12845 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12846#endif
12847 }
12848 return resultobj;
12849 fail:
12850 return NULL;
12851}
12852
12853
12854static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
12855 PyObject *resultobj;
12856 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12857 bool result;
12858 PyObject * obj0 = 0 ;
12859 char *kwnames[] = {
12860 (char *) "self", NULL
12861 };
12862
12863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
12864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12866 {
12867 PyThreadState* __tstate = wxPyBeginAllowThreads();
12868 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
12869
12870 wxPyEndAllowThreads(__tstate);
12871 if (PyErr_Occurred()) SWIG_fail;
12872 }
4f89f6a3
RD
12873 {
12874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12875 }
d14a1e28
RD
12876 return resultobj;
12877 fail:
12878 return NULL;
12879}
12880
12881
12882static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12883 PyObject *resultobj;
12884 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12885 bool result;
12886 PyObject * obj0 = 0 ;
12887 char *kwnames[] = {
12888 (char *) "self", NULL
12889 };
12890
12891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12894 {
12895 PyThreadState* __tstate = wxPyBeginAllowThreads();
12896 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
12897
12898 wxPyEndAllowThreads(__tstate);
12899 if (PyErr_Occurred()) SWIG_fail;
12900 }
4f89f6a3
RD
12901 {
12902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12903 }
d14a1e28
RD
12904 return resultobj;
12905 fail:
12906 return NULL;
12907}
12908
12909
12910static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12911 PyObject *resultobj;
12912 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12913 long arg2 ;
12914 PyObject * obj0 = 0 ;
994141e6 12915 PyObject * obj1 = 0 ;
d14a1e28
RD
12916 char *kwnames[] = {
12917 (char *) "self",(char *) "extraLong", NULL
12918 };
12919
994141e6 12920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12923 arg2 = (long) SWIG_AsLong(obj1);
12924 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12925 {
12926 PyThreadState* __tstate = wxPyBeginAllowThreads();
12927 (arg1)->SetExtraLong(arg2);
12928
12929 wxPyEndAllowThreads(__tstate);
12930 if (PyErr_Occurred()) SWIG_fail;
12931 }
12932 Py_INCREF(Py_None); resultobj = Py_None;
12933 return resultobj;
12934 fail:
12935 return NULL;
12936}
12937
12938
12939static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12940 PyObject *resultobj;
12941 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12942 long result;
12943 PyObject * obj0 = 0 ;
12944 char *kwnames[] = {
12945 (char *) "self", NULL
12946 };
12947
12948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
15afbcd0
RD
12949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
12954
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
15afbcd0 12958 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12959 return resultobj;
12960 fail:
12961 return NULL;
12962}
12963
12964
12965static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
12966 PyObject *resultobj;
12967 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12968 int arg2 ;
12969 PyObject * obj0 = 0 ;
994141e6 12970 PyObject * obj1 = 0 ;
d14a1e28
RD
12971 char *kwnames[] = {
12972 (char *) "self",(char *) "i", NULL
12973 };
12974
994141e6 12975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12978 arg2 = (int) SWIG_AsInt(obj1);
12979 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12980 {
12981 PyThreadState* __tstate = wxPyBeginAllowThreads();
12982 (arg1)->SetInt(arg2);
12983
12984 wxPyEndAllowThreads(__tstate);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 Py_INCREF(Py_None); resultobj = Py_None;
12988 return resultobj;
12989 fail:
12990 return NULL;
12991}
12992
12993
12994static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
12995 PyObject *resultobj;
12996 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12997 long result;
12998 PyObject * obj0 = 0 ;
12999 char *kwnames[] = {
13000 (char *) "self", NULL
13001 };
13002
13003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
15afbcd0
RD
13004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13006 {
13007 PyThreadState* __tstate = wxPyBeginAllowThreads();
13008 result = (long)((wxCommandEvent const *)arg1)->GetInt();
13009
13010 wxPyEndAllowThreads(__tstate);
13011 if (PyErr_Occurred()) SWIG_fail;
13012 }
15afbcd0 13013 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
13014 return resultobj;
13015 fail:
13016 return NULL;
13017}
13018
13019
13020static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
13021 PyObject *resultobj;
13022 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13023 wxEvent *result;
13024 PyObject * obj0 = 0 ;
13025 char *kwnames[] = {
13026 (char *) "self", NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
13030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13032 {
13033 PyThreadState* __tstate = wxPyBeginAllowThreads();
13034 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
13035
13036 wxPyEndAllowThreads(__tstate);
13037 if (PyErr_Occurred()) SWIG_fail;
13038 }
15afbcd0 13039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
13040 return resultobj;
13041 fail:
13042 return NULL;
13043}
13044
13045
13046static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
13047 PyObject *obj;
13048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13049 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
13050 Py_INCREF(obj);
13051 return Py_BuildValue((char *)"");
13052}
13053static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13054 PyObject *resultobj;
13055 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13056 int arg2 = (int) 0 ;
13057 wxNotifyEvent *result;
994141e6
RD
13058 PyObject * obj0 = 0 ;
13059 PyObject * obj1 = 0 ;
d14a1e28
RD
13060 char *kwnames[] = {
13061 (char *) "commandType",(char *) "winid", NULL
13062 };
13063
994141e6
RD
13064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
13065 if (obj0) {
15afbcd0
RD
13066 arg1 = (wxEventType) SWIG_AsInt(obj0);
13067 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13068 }
13069 if (obj1) {
15afbcd0
RD
13070 arg2 = (int) SWIG_AsInt(obj1);
13071 if (PyErr_Occurred()) SWIG_fail;
994141e6 13072 }
d14a1e28
RD
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
13076
13077 wxPyEndAllowThreads(__tstate);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
15afbcd0 13080 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
d14a1e28
RD
13081 return resultobj;
13082 fail:
13083 return NULL;
13084}
13085
13086
13087static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
13088 PyObject *resultobj;
13089 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13090 PyObject * obj0 = 0 ;
13091 char *kwnames[] = {
13092 (char *) "self", NULL
13093 };
13094
13095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
15afbcd0
RD
13096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13098 {
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
13100 (arg1)->Veto();
13101
13102 wxPyEndAllowThreads(__tstate);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 Py_INCREF(Py_None); resultobj = Py_None;
13106 return resultobj;
13107 fail:
13108 return NULL;
13109}
13110
13111
13112static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
13113 PyObject *resultobj;
13114 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13115 PyObject * obj0 = 0 ;
13116 char *kwnames[] = {
13117 (char *) "self", NULL
13118 };
13119
13120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
15afbcd0
RD
13121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13123 {
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
13125 (arg1)->Allow();
13126
13127 wxPyEndAllowThreads(__tstate);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 }
13130 Py_INCREF(Py_None); resultobj = Py_None;
13131 return resultobj;
13132 fail:
13133 return NULL;
13134}
13135
13136
13137static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
13138 PyObject *resultobj;
13139 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13140 bool result;
13141 PyObject * obj0 = 0 ;
13142 char *kwnames[] = {
13143 (char *) "self", NULL
13144 };
13145
13146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
15afbcd0
RD
13147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13149 {
13150 PyThreadState* __tstate = wxPyBeginAllowThreads();
13151 result = (bool)(arg1)->IsAllowed();
13152
13153 wxPyEndAllowThreads(__tstate);
13154 if (PyErr_Occurred()) SWIG_fail;
13155 }
4f89f6a3
RD
13156 {
13157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13158 }
d14a1e28
RD
13159 return resultobj;
13160 fail:
13161 return NULL;
13162}
13163
13164
13165static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
13166 PyObject *obj;
13167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13168 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13169 Py_INCREF(obj);
13170 return Py_BuildValue((char *)"");
13171}
13172static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13173 PyObject *resultobj;
13174 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13175 int arg2 = (int) 0 ;
13176 int arg3 = (int) 0 ;
13177 int arg4 = (int) 0 ;
13178 wxScrollEvent *result;
994141e6
RD
13179 PyObject * obj0 = 0 ;
13180 PyObject * obj1 = 0 ;
13181 PyObject * obj2 = 0 ;
13182 PyObject * obj3 = 0 ;
d14a1e28
RD
13183 char *kwnames[] = {
13184 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13185 };
13186
994141e6
RD
13187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13188 if (obj0) {
15afbcd0
RD
13189 arg1 = (wxEventType) SWIG_AsInt(obj0);
13190 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13191 }
13192 if (obj1) {
15afbcd0
RD
13193 arg2 = (int) SWIG_AsInt(obj1);
13194 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13195 }
13196 if (obj2) {
15afbcd0
RD
13197 arg3 = (int) SWIG_AsInt(obj2);
13198 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13199 }
13200 if (obj3) {
15afbcd0
RD
13201 arg4 = (int) SWIG_AsInt(obj3);
13202 if (PyErr_Occurred()) SWIG_fail;
994141e6 13203 }
d14a1e28
RD
13204 {
13205 PyThreadState* __tstate = wxPyBeginAllowThreads();
13206 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13207
13208 wxPyEndAllowThreads(__tstate);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
15afbcd0 13211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
d14a1e28
RD
13212 return resultobj;
13213 fail:
13214 return NULL;
13215}
13216
13217
13218static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13219 PyObject *resultobj;
13220 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13221 int result;
13222 PyObject * obj0 = 0 ;
13223 char *kwnames[] = {
13224 (char *) "self", NULL
13225 };
13226
13227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13230 {
13231 PyThreadState* __tstate = wxPyBeginAllowThreads();
13232 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13233
13234 wxPyEndAllowThreads(__tstate);
13235 if (PyErr_Occurred()) SWIG_fail;
13236 }
15afbcd0 13237 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13238 return resultobj;
13239 fail:
13240 return NULL;
13241}
13242
13243
13244static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13245 PyObject *resultobj;
13246 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13247 int result;
13248 PyObject * obj0 = 0 ;
13249 char *kwnames[] = {
13250 (char *) "self", NULL
13251 };
13252
13253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13256 {
13257 PyThreadState* __tstate = wxPyBeginAllowThreads();
13258 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13259
13260 wxPyEndAllowThreads(__tstate);
13261 if (PyErr_Occurred()) SWIG_fail;
13262 }
15afbcd0 13263 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13264 return resultobj;
13265 fail:
13266 return NULL;
13267}
13268
13269
13270static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13271 PyObject *resultobj;
13272 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13273 int arg2 ;
13274 PyObject * obj0 = 0 ;
994141e6 13275 PyObject * obj1 = 0 ;
d14a1e28
RD
13276 char *kwnames[] = {
13277 (char *) "self",(char *) "orient", NULL
13278 };
13279
994141e6 13280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13283 arg2 = (int) SWIG_AsInt(obj1);
13284 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13285 {
13286 PyThreadState* __tstate = wxPyBeginAllowThreads();
13287 (arg1)->SetOrientation(arg2);
13288
13289 wxPyEndAllowThreads(__tstate);
13290 if (PyErr_Occurred()) SWIG_fail;
13291 }
13292 Py_INCREF(Py_None); resultobj = Py_None;
13293 return resultobj;
13294 fail:
13295 return NULL;
13296}
13297
13298
13299static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13300 PyObject *resultobj;
13301 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13302 int arg2 ;
13303 PyObject * obj0 = 0 ;
994141e6 13304 PyObject * obj1 = 0 ;
d14a1e28
RD
13305 char *kwnames[] = {
13306 (char *) "self",(char *) "pos", NULL
13307 };
13308
994141e6 13309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13312 arg2 = (int) SWIG_AsInt(obj1);
13313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13314 {
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
13316 (arg1)->SetPosition(arg2);
13317
13318 wxPyEndAllowThreads(__tstate);
13319 if (PyErr_Occurred()) SWIG_fail;
13320 }
13321 Py_INCREF(Py_None); resultobj = Py_None;
13322 return resultobj;
13323 fail:
13324 return NULL;
13325}
13326
13327
13328static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
13329 PyObject *obj;
13330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13331 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13332 Py_INCREF(obj);
13333 return Py_BuildValue((char *)"");
13334}
13335static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13336 PyObject *resultobj;
13337 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13338 int arg2 = (int) 0 ;
13339 int arg3 = (int) 0 ;
13340 wxScrollWinEvent *result;
994141e6
RD
13341 PyObject * obj0 = 0 ;
13342 PyObject * obj1 = 0 ;
13343 PyObject * obj2 = 0 ;
d14a1e28
RD
13344 char *kwnames[] = {
13345 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13346 };
13347
994141e6
RD
13348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13349 if (obj0) {
15afbcd0
RD
13350 arg1 = (wxEventType) SWIG_AsInt(obj0);
13351 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13352 }
13353 if (obj1) {
15afbcd0
RD
13354 arg2 = (int) SWIG_AsInt(obj1);
13355 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13356 }
13357 if (obj2) {
15afbcd0
RD
13358 arg3 = (int) SWIG_AsInt(obj2);
13359 if (PyErr_Occurred()) SWIG_fail;
994141e6 13360 }
d14a1e28
RD
13361 {
13362 PyThreadState* __tstate = wxPyBeginAllowThreads();
13363 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13364
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
15afbcd0 13368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
d14a1e28
RD
13369 return resultobj;
13370 fail:
13371 return NULL;
13372}
13373
13374
13375static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13376 PyObject *resultobj;
13377 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 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:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13387 {
13388 PyThreadState* __tstate = wxPyBeginAllowThreads();
13389 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
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_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13402 PyObject *resultobj;
13403 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13404 int result;
13405 PyObject * obj0 = 0 ;
13406 char *kwnames[] = {
13407 (char *) "self", NULL
13408 };
13409
13410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13413 {
13414 PyThreadState* __tstate = wxPyBeginAllowThreads();
13415 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13416
13417 wxPyEndAllowThreads(__tstate);
13418 if (PyErr_Occurred()) SWIG_fail;
13419 }
15afbcd0 13420 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13421 return resultobj;
13422 fail:
13423 return NULL;
13424}
13425
13426
13427static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13428 PyObject *resultobj;
13429 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13430 int arg2 ;
13431 PyObject * obj0 = 0 ;
994141e6 13432 PyObject * obj1 = 0 ;
d14a1e28
RD
13433 char *kwnames[] = {
13434 (char *) "self",(char *) "orient", NULL
13435 };
13436
994141e6 13437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13440 arg2 = (int) SWIG_AsInt(obj1);
13441 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13442 {
13443 PyThreadState* __tstate = wxPyBeginAllowThreads();
13444 (arg1)->SetOrientation(arg2);
13445
13446 wxPyEndAllowThreads(__tstate);
13447 if (PyErr_Occurred()) SWIG_fail;
13448 }
13449 Py_INCREF(Py_None); resultobj = Py_None;
13450 return resultobj;
13451 fail:
13452 return NULL;
13453}
13454
13455
13456static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13457 PyObject *resultobj;
13458 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13459 int arg2 ;
13460 PyObject * obj0 = 0 ;
994141e6 13461 PyObject * obj1 = 0 ;
d14a1e28
RD
13462 char *kwnames[] = {
13463 (char *) "self",(char *) "pos", NULL
13464 };
13465
994141e6 13466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13469 arg2 = (int) SWIG_AsInt(obj1);
13470 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13471 {
13472 PyThreadState* __tstate = wxPyBeginAllowThreads();
13473 (arg1)->SetPosition(arg2);
13474
13475 wxPyEndAllowThreads(__tstate);
13476 if (PyErr_Occurred()) SWIG_fail;
13477 }
13478 Py_INCREF(Py_None); resultobj = Py_None;
13479 return resultobj;
13480 fail:
13481 return NULL;
13482}
13483
13484
13485static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
13486 PyObject *obj;
13487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13488 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13489 Py_INCREF(obj);
13490 return Py_BuildValue((char *)"");
13491}
13492static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13493 PyObject *resultobj;
13494 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13495 wxMouseEvent *result;
994141e6 13496 PyObject * obj0 = 0 ;
d14a1e28
RD
13497 char *kwnames[] = {
13498 (char *) "mouseType", NULL
13499 };
13500
994141e6
RD
13501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13502 if (obj0) {
15afbcd0
RD
13503 arg1 = (wxEventType) SWIG_AsInt(obj0);
13504 if (PyErr_Occurred()) SWIG_fail;
994141e6 13505 }
d14a1e28
RD
13506 {
13507 PyThreadState* __tstate = wxPyBeginAllowThreads();
13508 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13509
13510 wxPyEndAllowThreads(__tstate);
13511 if (PyErr_Occurred()) SWIG_fail;
13512 }
13513 {
13514 resultobj = wxPyMake_wxObject(result);
13515 }
13516 return resultobj;
13517 fail:
13518 return NULL;
13519}
13520
13521
13522static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13523 PyObject *resultobj;
13524 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13525 bool result;
13526 PyObject * obj0 = 0 ;
13527 char *kwnames[] = {
13528 (char *) "self", NULL
13529 };
13530
13531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
13532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13534 {
13535 PyThreadState* __tstate = wxPyBeginAllowThreads();
13536 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13537
13538 wxPyEndAllowThreads(__tstate);
13539 if (PyErr_Occurred()) SWIG_fail;
13540 }
4f89f6a3
RD
13541 {
13542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13543 }
d14a1e28
RD
13544 return resultobj;
13545 fail:
13546 return NULL;
13547}
13548
13549
13550static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13551 PyObject *resultobj;
13552 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13553 int arg2 = (int) wxMOUSE_BTN_ANY ;
13554 bool result;
13555 PyObject * obj0 = 0 ;
994141e6 13556 PyObject * obj1 = 0 ;
d14a1e28
RD
13557 char *kwnames[] = {
13558 (char *) "self",(char *) "but", NULL
13559 };
13560
994141e6 13561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13564 if (obj1) {
15afbcd0
RD
13565 arg2 = (int) SWIG_AsInt(obj1);
13566 if (PyErr_Occurred()) SWIG_fail;
994141e6 13567 }
d14a1e28
RD
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13571
13572 wxPyEndAllowThreads(__tstate);
13573 if (PyErr_Occurred()) SWIG_fail;
13574 }
4f89f6a3
RD
13575 {
13576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13577 }
d14a1e28
RD
13578 return resultobj;
13579 fail:
13580 return NULL;
13581}
13582
13583
13584static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13585 PyObject *resultobj;
13586 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13587 int arg2 = (int) wxMOUSE_BTN_ANY ;
13588 bool result;
13589 PyObject * obj0 = 0 ;
994141e6 13590 PyObject * obj1 = 0 ;
d14a1e28
RD
13591 char *kwnames[] = {
13592 (char *) "self",(char *) "but", NULL
13593 };
13594
994141e6 13595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13598 if (obj1) {
15afbcd0
RD
13599 arg2 = (int) SWIG_AsInt(obj1);
13600 if (PyErr_Occurred()) SWIG_fail;
994141e6 13601 }
d14a1e28
RD
13602 {
13603 PyThreadState* __tstate = wxPyBeginAllowThreads();
13604 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13605
13606 wxPyEndAllowThreads(__tstate);
13607 if (PyErr_Occurred()) SWIG_fail;
13608 }
4f89f6a3
RD
13609 {
13610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13611 }
d14a1e28
RD
13612 return resultobj;
13613 fail:
13614 return NULL;
13615}
13616
13617
13618static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13619 PyObject *resultobj;
13620 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13621 int arg2 = (int) wxMOUSE_BTN_ANY ;
13622 bool result;
13623 PyObject * obj0 = 0 ;
994141e6 13624 PyObject * obj1 = 0 ;
d14a1e28
RD
13625 char *kwnames[] = {
13626 (char *) "self",(char *) "but", NULL
13627 };
13628
994141e6 13629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13632 if (obj1) {
15afbcd0
RD
13633 arg2 = (int) SWIG_AsInt(obj1);
13634 if (PyErr_Occurred()) SWIG_fail;
994141e6 13635 }
d14a1e28
RD
13636 {
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13639
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
4f89f6a3
RD
13643 {
13644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13645 }
d14a1e28
RD
13646 return resultobj;
13647 fail:
13648 return NULL;
13649}
13650
13651
13652static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
13653 PyObject *resultobj;
13654 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13655 int arg2 ;
13656 bool result;
13657 PyObject * obj0 = 0 ;
994141e6 13658 PyObject * obj1 = 0 ;
d14a1e28
RD
13659 char *kwnames[] = {
13660 (char *) "self",(char *) "but", NULL
13661 };
13662
994141e6 13663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13666 arg2 = (int) SWIG_AsInt(obj1);
13667 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13668 {
13669 PyThreadState* __tstate = wxPyBeginAllowThreads();
13670 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13671
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
4f89f6a3
RD
13675 {
13676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13677 }
d14a1e28
RD
13678 return resultobj;
13679 fail:
13680 return NULL;
13681}
13682
13683
13684static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13685 PyObject *resultobj;
13686 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13687 int arg2 ;
13688 bool result;
13689 PyObject * obj0 = 0 ;
994141e6 13690 PyObject * obj1 = 0 ;
d14a1e28
RD
13691 char *kwnames[] = {
13692 (char *) "self",(char *) "but", NULL
13693 };
13694
994141e6 13695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13698 arg2 = (int) SWIG_AsInt(obj1);
13699 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13703
13704 wxPyEndAllowThreads(__tstate);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
4f89f6a3
RD
13707 {
13708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13709 }
d14a1e28
RD
13710 return resultobj;
13711 fail:
13712 return NULL;
13713}
13714
13715
13716static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13717 PyObject *resultobj;
13718 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13719 int result;
13720 PyObject * obj0 = 0 ;
13721 char *kwnames[] = {
13722 (char *) "self", NULL
13723 };
13724
13725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
13726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13728 {
13729 PyThreadState* __tstate = wxPyBeginAllowThreads();
13730 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13731
13732 wxPyEndAllowThreads(__tstate);
13733 if (PyErr_Occurred()) SWIG_fail;
13734 }
15afbcd0 13735 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13736 return resultobj;
13737 fail:
13738 return NULL;
13739}
13740
13741
13742static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13743 PyObject *resultobj;
13744 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13745 bool result;
13746 PyObject * obj0 = 0 ;
13747 char *kwnames[] = {
13748 (char *) "self", NULL
13749 };
13750
13751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13754 {
13755 PyThreadState* __tstate = wxPyBeginAllowThreads();
13756 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13757
13758 wxPyEndAllowThreads(__tstate);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
4f89f6a3
RD
13761 {
13762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13763 }
d14a1e28
RD
13764 return resultobj;
13765 fail:
13766 return NULL;
13767}
13768
13769
13770static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13771 PyObject *resultobj;
13772 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13773 bool result;
13774 PyObject * obj0 = 0 ;
13775 char *kwnames[] = {
13776 (char *) "self", NULL
13777 };
13778
13779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13782 {
13783 PyThreadState* __tstate = wxPyBeginAllowThreads();
13784 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13785
13786 wxPyEndAllowThreads(__tstate);
13787 if (PyErr_Occurred()) SWIG_fail;
13788 }
4f89f6a3
RD
13789 {
13790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13791 }
d14a1e28
RD
13792 return resultobj;
13793 fail:
13794 return NULL;
13795}
13796
13797
13798static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13799 PyObject *resultobj;
13800 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13801 bool result;
13802 PyObject * obj0 = 0 ;
13803 char *kwnames[] = {
13804 (char *) "self", NULL
13805 };
13806
13807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13810 {
13811 PyThreadState* __tstate = wxPyBeginAllowThreads();
13812 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
13813
13814 wxPyEndAllowThreads(__tstate);
13815 if (PyErr_Occurred()) SWIG_fail;
13816 }
4f89f6a3
RD
13817 {
13818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13819 }
d14a1e28
RD
13820 return resultobj;
13821 fail:
13822 return NULL;
13823}
13824
13825
13826static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13827 PyObject *resultobj;
13828 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13829 bool result;
13830 PyObject * obj0 = 0 ;
13831 char *kwnames[] = {
13832 (char *) "self", NULL
13833 };
13834
13835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13838 {
13839 PyThreadState* __tstate = wxPyBeginAllowThreads();
13840 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
13841
13842 wxPyEndAllowThreads(__tstate);
13843 if (PyErr_Occurred()) SWIG_fail;
13844 }
4f89f6a3
RD
13845 {
13846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13847 }
d14a1e28
RD
13848 return resultobj;
13849 fail:
13850 return NULL;
13851}
13852
13853
13854static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13855 PyObject *resultobj;
13856 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13857 bool result;
13858 PyObject * obj0 = 0 ;
13859 char *kwnames[] = {
13860 (char *) "self", NULL
13861 };
13862
13863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13866 {
13867 PyThreadState* __tstate = wxPyBeginAllowThreads();
13868 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
13869
13870 wxPyEndAllowThreads(__tstate);
13871 if (PyErr_Occurred()) SWIG_fail;
13872 }
4f89f6a3
RD
13873 {
13874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13875 }
d14a1e28
RD
13876 return resultobj;
13877 fail:
13878 return NULL;
13879}
13880
13881
13882static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13883 PyObject *resultobj;
13884 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13885 bool result;
13886 PyObject * obj0 = 0 ;
13887 char *kwnames[] = {
13888 (char *) "self", NULL
13889 };
13890
13891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13894 {
13895 PyThreadState* __tstate = wxPyBeginAllowThreads();
13896 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
13897
13898 wxPyEndAllowThreads(__tstate);
13899 if (PyErr_Occurred()) SWIG_fail;
13900 }
4f89f6a3
RD
13901 {
13902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13903 }
d14a1e28
RD
13904 return resultobj;
13905 fail:
13906 return NULL;
13907}
13908
13909
13910static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13911 PyObject *resultobj;
13912 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13913 bool result;
13914 PyObject * obj0 = 0 ;
13915 char *kwnames[] = {
13916 (char *) "self", NULL
13917 };
13918
13919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13922 {
13923 PyThreadState* __tstate = wxPyBeginAllowThreads();
13924 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
13925
13926 wxPyEndAllowThreads(__tstate);
13927 if (PyErr_Occurred()) SWIG_fail;
13928 }
4f89f6a3
RD
13929 {
13930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13931 }
d14a1e28
RD
13932 return resultobj;
13933 fail:
13934 return NULL;
13935}
13936
13937
13938static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13939 PyObject *resultobj;
13940 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13941 bool result;
13942 PyObject * obj0 = 0 ;
13943 char *kwnames[] = {
13944 (char *) "self", NULL
13945 };
13946
13947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
13948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13950 {
13951 PyThreadState* __tstate = wxPyBeginAllowThreads();
13952 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
13953
13954 wxPyEndAllowThreads(__tstate);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
4f89f6a3
RD
13957 {
13958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13959 }
d14a1e28
RD
13960 return resultobj;
13961 fail:
13962 return NULL;
13963}
13964
13965
13966static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13967 PyObject *resultobj;
13968 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13969 bool result;
13970 PyObject * obj0 = 0 ;
13971 char *kwnames[] = {
13972 (char *) "self", NULL
13973 };
13974
13975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
13976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13978 {
13979 PyThreadState* __tstate = wxPyBeginAllowThreads();
13980 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
13981
13982 wxPyEndAllowThreads(__tstate);
13983 if (PyErr_Occurred()) SWIG_fail;
13984 }
4f89f6a3
RD
13985 {
13986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13987 }
d14a1e28
RD
13988 return resultobj;
13989 fail:
13990 return NULL;
13991}
13992
13993
13994static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13995 PyObject *resultobj;
13996 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13997 bool result;
13998 PyObject * obj0 = 0 ;
13999 char *kwnames[] = {
14000 (char *) "self", NULL
14001 };
14002
14003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14006 {
14007 PyThreadState* __tstate = wxPyBeginAllowThreads();
14008 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
14009
14010 wxPyEndAllowThreads(__tstate);
14011 if (PyErr_Occurred()) SWIG_fail;
14012 }
4f89f6a3
RD
14013 {
14014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14015 }
d14a1e28
RD
14016 return resultobj;
14017 fail:
14018 return NULL;
14019}
14020
14021
14022static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14023 PyObject *resultobj;
14024 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14025 bool result;
14026 PyObject * obj0 = 0 ;
14027 char *kwnames[] = {
14028 (char *) "self", NULL
14029 };
14030
14031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14034 {
14035 PyThreadState* __tstate = wxPyBeginAllowThreads();
14036 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
14037
14038 wxPyEndAllowThreads(__tstate);
14039 if (PyErr_Occurred()) SWIG_fail;
14040 }
4f89f6a3
RD
14041 {
14042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14043 }
d14a1e28
RD
14044 return resultobj;
14045 fail:
14046 return NULL;
14047}
14048
14049
14050static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14051 PyObject *resultobj;
14052 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14053 bool result;
14054 PyObject * obj0 = 0 ;
14055 char *kwnames[] = {
14056 (char *) "self", NULL
14057 };
14058
14059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14062 {
14063 PyThreadState* __tstate = wxPyBeginAllowThreads();
14064 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
14065
14066 wxPyEndAllowThreads(__tstate);
14067 if (PyErr_Occurred()) SWIG_fail;
14068 }
4f89f6a3
RD
14069 {
14070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14071 }
d14a1e28
RD
14072 return resultobj;
14073 fail:
14074 return NULL;
14075}
14076
14077
14078static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14079 PyObject *resultobj;
14080 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14081 bool result;
14082 PyObject * obj0 = 0 ;
14083 char *kwnames[] = {
14084 (char *) "self", NULL
14085 };
14086
14087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14090 {
14091 PyThreadState* __tstate = wxPyBeginAllowThreads();
14092 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
14093
14094 wxPyEndAllowThreads(__tstate);
14095 if (PyErr_Occurred()) SWIG_fail;
14096 }
4f89f6a3
RD
14097 {
14098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14099 }
d14a1e28
RD
14100 return resultobj;
14101 fail:
14102 return NULL;
14103}
14104
14105
14106static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14107 PyObject *resultobj;
14108 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14109 bool result;
14110 PyObject * obj0 = 0 ;
14111 char *kwnames[] = {
14112 (char *) "self", NULL
14113 };
14114
14115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14118 {
14119 PyThreadState* __tstate = wxPyBeginAllowThreads();
14120 result = (bool)(arg1)->LeftIsDown();
14121
14122 wxPyEndAllowThreads(__tstate);
14123 if (PyErr_Occurred()) SWIG_fail;
14124 }
4f89f6a3
RD
14125 {
14126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14127 }
d14a1e28
RD
14128 return resultobj;
14129 fail:
14130 return NULL;
14131}
14132
14133
14134static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14135 PyObject *resultobj;
14136 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14137 bool result;
14138 PyObject * obj0 = 0 ;
14139 char *kwnames[] = {
14140 (char *) "self", NULL
14141 };
14142
14143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14146 {
14147 PyThreadState* __tstate = wxPyBeginAllowThreads();
14148 result = (bool)(arg1)->MiddleIsDown();
14149
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
4f89f6a3
RD
14153 {
14154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14155 }
d14a1e28
RD
14156 return resultobj;
14157 fail:
14158 return NULL;
14159}
14160
14161
14162static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14163 PyObject *resultobj;
14164 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14165 bool result;
14166 PyObject * obj0 = 0 ;
14167 char *kwnames[] = {
14168 (char *) "self", NULL
14169 };
14170
14171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14174 {
14175 PyThreadState* __tstate = wxPyBeginAllowThreads();
14176 result = (bool)(arg1)->RightIsDown();
14177
14178 wxPyEndAllowThreads(__tstate);
14179 if (PyErr_Occurred()) SWIG_fail;
14180 }
4f89f6a3
RD
14181 {
14182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14183 }
d14a1e28
RD
14184 return resultobj;
14185 fail:
14186 return NULL;
14187}
14188
14189
14190static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
14191 PyObject *resultobj;
14192 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14193 bool result;
14194 PyObject * obj0 = 0 ;
14195 char *kwnames[] = {
14196 (char *) "self", NULL
14197 };
14198
14199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
15afbcd0
RD
14200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14202 {
14203 PyThreadState* __tstate = wxPyBeginAllowThreads();
14204 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
14205
14206 wxPyEndAllowThreads(__tstate);
14207 if (PyErr_Occurred()) SWIG_fail;
14208 }
4f89f6a3
RD
14209 {
14210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14211 }
d14a1e28
RD
14212 return resultobj;
14213 fail:
14214 return NULL;
14215}
14216
14217
14218static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
14219 PyObject *resultobj;
14220 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14221 bool result;
14222 PyObject * obj0 = 0 ;
14223 char *kwnames[] = {
14224 (char *) "self", NULL
14225 };
14226
14227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
15afbcd0
RD
14228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14230 {
14231 PyThreadState* __tstate = wxPyBeginAllowThreads();
14232 result = (bool)((wxMouseEvent const *)arg1)->Moving();
14233
14234 wxPyEndAllowThreads(__tstate);
14235 if (PyErr_Occurred()) SWIG_fail;
14236 }
4f89f6a3
RD
14237 {
14238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14239 }
d14a1e28
RD
14240 return resultobj;
14241 fail:
14242 return NULL;
14243}
14244
14245
14246static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
14247 PyObject *resultobj;
14248 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14249 bool result;
14250 PyObject * obj0 = 0 ;
14251 char *kwnames[] = {
14252 (char *) "self", NULL
14253 };
14254
14255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
15afbcd0
RD
14256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14258 {
14259 PyThreadState* __tstate = wxPyBeginAllowThreads();
14260 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14261
14262 wxPyEndAllowThreads(__tstate);
14263 if (PyErr_Occurred()) SWIG_fail;
14264 }
4f89f6a3
RD
14265 {
14266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14267 }
d14a1e28
RD
14268 return resultobj;
14269 fail:
14270 return NULL;
14271}
14272
14273
14274static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
14275 PyObject *resultobj;
14276 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14277 bool result;
14278 PyObject * obj0 = 0 ;
14279 char *kwnames[] = {
14280 (char *) "self", NULL
14281 };
14282
14283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
15afbcd0
RD
14284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14286 {
14287 PyThreadState* __tstate = wxPyBeginAllowThreads();
14288 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14289
14290 wxPyEndAllowThreads(__tstate);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
4f89f6a3
RD
14293 {
14294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14295 }
d14a1e28
RD
14296 return resultobj;
14297 fail:
14298 return NULL;
14299}
14300
14301
14302static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14303 PyObject *resultobj;
14304 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14305 wxPoint result;
14306 PyObject * obj0 = 0 ;
14307 char *kwnames[] = {
14308 (char *) "self", NULL
14309 };
14310
14311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
14312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14314 {
14315 PyThreadState* __tstate = wxPyBeginAllowThreads();
14316 result = (arg1)->GetPosition();
14317
14318 wxPyEndAllowThreads(__tstate);
14319 if (PyErr_Occurred()) SWIG_fail;
14320 }
14321 {
14322 wxPoint * resultptr;
14323 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14325 }
14326 return resultobj;
14327 fail:
14328 return NULL;
14329}
14330
14331
14332static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
14333 PyObject *resultobj;
14334 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14335 long *arg2 = (long *) 0 ;
14336 long *arg3 = (long *) 0 ;
14337 long temp2 ;
14338 long temp3 ;
14339 PyObject * obj0 = 0 ;
14340 char *kwnames[] = {
14341 (char *) "self", NULL
14342 };
14343
14344 arg2 = &temp2;
14345 arg3 = &temp3;
14346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14349 {
14350 PyThreadState* __tstate = wxPyBeginAllowThreads();
14351 (arg1)->GetPosition(arg2,arg3);
14352
14353 wxPyEndAllowThreads(__tstate);
14354 if (PyErr_Occurred()) SWIG_fail;
14355 }
14356 Py_INCREF(Py_None); resultobj = Py_None;
14357 {
14358 PyObject *o = PyInt_FromLong((long) (*arg2));
14359 resultobj = t_output_helper(resultobj,o);
14360 }
14361 {
14362 PyObject *o = PyInt_FromLong((long) (*arg3));
14363 resultobj = t_output_helper(resultobj,o);
14364 }
14365 return resultobj;
14366 fail:
14367 return NULL;
14368}
14369
14370
14371static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14372 PyObject *resultobj;
14373 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14374 wxDC *arg2 = 0 ;
14375 wxPoint result;
14376 PyObject * obj0 = 0 ;
14377 PyObject * obj1 = 0 ;
14378 char *kwnames[] = {
14379 (char *) "self",(char *) "dc", NULL
14380 };
14381
14382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14385 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14386 SWIG_POINTER_EXCEPTION | 0)) == -1)
14387 SWIG_fail;
d14a1e28 14388 if (arg2 == NULL) {
15afbcd0
RD
14389 PyErr_SetString(PyExc_TypeError,"null reference");
14390 SWIG_fail;
d14a1e28
RD
14391 }
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14395
14396 wxPyEndAllowThreads(__tstate);
14397 if (PyErr_Occurred()) SWIG_fail;
14398 }
14399 {
14400 wxPoint * resultptr;
14401 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14402 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14403 }
14404 return resultobj;
14405 fail:
14406 return NULL;
14407}
14408
14409
14410static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14411 PyObject *resultobj;
14412 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14413 int result;
d14a1e28
RD
14414 PyObject * obj0 = 0 ;
14415 char *kwnames[] = {
14416 (char *) "self", NULL
14417 };
14418
14419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14422 {
14423 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14424 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
14425
14426 wxPyEndAllowThreads(__tstate);
14427 if (PyErr_Occurred()) SWIG_fail;
14428 }
15afbcd0 14429 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14430 return resultobj;
14431 fail:
14432 return NULL;
14433}
14434
14435
14436static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14437 PyObject *resultobj;
14438 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14439 int result;
d14a1e28
RD
14440 PyObject * obj0 = 0 ;
14441 char *kwnames[] = {
14442 (char *) "self", NULL
14443 };
14444
14445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14448 {
14449 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14450 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
14451
14452 wxPyEndAllowThreads(__tstate);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 }
15afbcd0 14455 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14456 return resultobj;
14457 fail:
14458 return NULL;
14459}
14460
14461
14462static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
14463 PyObject *resultobj;
14464 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14465 int result;
14466 PyObject * obj0 = 0 ;
14467 char *kwnames[] = {
14468 (char *) "self", NULL
14469 };
14470
14471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
15afbcd0
RD
14472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14474 {
14475 PyThreadState* __tstate = wxPyBeginAllowThreads();
14476 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14477
14478 wxPyEndAllowThreads(__tstate);
14479 if (PyErr_Occurred()) SWIG_fail;
14480 }
15afbcd0 14481 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14482 return resultobj;
14483 fail:
14484 return NULL;
14485}
14486
14487
14488static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
14489 PyObject *resultobj;
14490 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14491 int result;
14492 PyObject * obj0 = 0 ;
14493 char *kwnames[] = {
14494 (char *) "self", NULL
14495 };
14496
14497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
15afbcd0
RD
14498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14500 {
14501 PyThreadState* __tstate = wxPyBeginAllowThreads();
14502 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14503
14504 wxPyEndAllowThreads(__tstate);
14505 if (PyErr_Occurred()) SWIG_fail;
14506 }
15afbcd0 14507 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14508 return resultobj;
14509 fail:
14510 return NULL;
14511}
14512
14513
14514static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
14515 PyObject *resultobj;
14516 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14517 int result;
14518 PyObject * obj0 = 0 ;
14519 char *kwnames[] = {
14520 (char *) "self", NULL
14521 };
14522
14523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
15afbcd0
RD
14524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14526 {
14527 PyThreadState* __tstate = wxPyBeginAllowThreads();
14528 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14529
14530 wxPyEndAllowThreads(__tstate);
14531 if (PyErr_Occurred()) SWIG_fail;
14532 }
15afbcd0 14533 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14534 return resultobj;
14535 fail:
14536 return NULL;
14537}
14538
14539
14540static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
14541 PyObject *resultobj;
14542 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14543 bool result;
14544 PyObject * obj0 = 0 ;
14545 char *kwnames[] = {
14546 (char *) "self", NULL
14547 };
14548
14549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
15afbcd0
RD
14550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14555
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
4f89f6a3
RD
14559 {
14560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14561 }
d14a1e28
RD
14562 return resultobj;
14563 fail:
14564 return NULL;
14565}
14566
14567
14568static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14569 PyObject *resultobj;
14570 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14571 int arg2 ;
d14a1e28 14572 PyObject * obj0 = 0 ;
994141e6 14573 PyObject * obj1 = 0 ;
d14a1e28
RD
14574 char *kwnames[] = {
14575 (char *) "self",(char *) "m_x", NULL
14576 };
14577
994141e6 14578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14581 arg2 = (int) SWIG_AsInt(obj1);
14582 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14583 if (arg1) (arg1)->m_x = arg2;
14584
14585 Py_INCREF(Py_None); resultobj = Py_None;
14586 return resultobj;
14587 fail:
14588 return NULL;
14589}
14590
14591
14592static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14593 PyObject *resultobj;
14594 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14595 int result;
d14a1e28
RD
14596 PyObject * obj0 = 0 ;
14597 char *kwnames[] = {
14598 (char *) "self", NULL
14599 };
14600
14601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 14604 result = (int) ((arg1)->m_x);
d14a1e28 14605
15afbcd0 14606 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14607 return resultobj;
14608 fail:
14609 return NULL;
14610}
14611
14612
14613static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14614 PyObject *resultobj;
14615 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14616 int arg2 ;
d14a1e28 14617 PyObject * obj0 = 0 ;
994141e6 14618 PyObject * obj1 = 0 ;
d14a1e28
RD
14619 char *kwnames[] = {
14620 (char *) "self",(char *) "m_y", NULL
14621 };
14622
994141e6 14623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14626 arg2 = (int) SWIG_AsInt(obj1);
14627 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14628 if (arg1) (arg1)->m_y = arg2;
14629
14630 Py_INCREF(Py_None); resultobj = Py_None;
14631 return resultobj;
14632 fail:
14633 return NULL;
14634}
14635
14636
14637static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14638 PyObject *resultobj;
14639 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14640 int result;
d14a1e28
RD
14641 PyObject * obj0 = 0 ;
14642 char *kwnames[] = {
14643 (char *) "self", NULL
14644 };
14645
14646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 14649 result = (int) ((arg1)->m_y);
d14a1e28 14650
15afbcd0 14651 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14652 return resultobj;
14653 fail:
14654 return NULL;
14655}
14656
14657
14658static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14659 PyObject *resultobj;
14660 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14661 bool arg2 ;
14662 PyObject * obj0 = 0 ;
14663 PyObject * obj1 = 0 ;
14664 char *kwnames[] = {
14665 (char *) "self",(char *) "m_leftDown", NULL
14666 };
14667
14668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14671 arg2 = (bool) SWIG_AsBool(obj1);
14672 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14673 if (arg1) (arg1)->m_leftDown = arg2;
14674
14675 Py_INCREF(Py_None); resultobj = Py_None;
14676 return resultobj;
14677 fail:
14678 return NULL;
14679}
14680
14681
14682static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14683 PyObject *resultobj;
14684 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14685 bool result;
14686 PyObject * obj0 = 0 ;
14687 char *kwnames[] = {
14688 (char *) "self", NULL
14689 };
14690
14691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14694 result = (bool) ((arg1)->m_leftDown);
14695
4f89f6a3
RD
14696 {
14697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14698 }
d14a1e28
RD
14699 return resultobj;
14700 fail:
14701 return NULL;
14702}
14703
14704
14705static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14706 PyObject *resultobj;
14707 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14708 bool arg2 ;
14709 PyObject * obj0 = 0 ;
14710 PyObject * obj1 = 0 ;
14711 char *kwnames[] = {
14712 (char *) "self",(char *) "m_middleDown", NULL
14713 };
14714
14715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14718 arg2 = (bool) SWIG_AsBool(obj1);
14719 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14720 if (arg1) (arg1)->m_middleDown = arg2;
14721
14722 Py_INCREF(Py_None); resultobj = Py_None;
14723 return resultobj;
14724 fail:
14725 return NULL;
14726}
14727
14728
14729static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14730 PyObject *resultobj;
14731 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14732 bool result;
14733 PyObject * obj0 = 0 ;
14734 char *kwnames[] = {
14735 (char *) "self", NULL
14736 };
14737
14738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14741 result = (bool) ((arg1)->m_middleDown);
14742
4f89f6a3
RD
14743 {
14744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14745 }
d14a1e28
RD
14746 return resultobj;
14747 fail:
14748 return NULL;
14749}
14750
14751
14752static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14753 PyObject *resultobj;
14754 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14755 bool arg2 ;
14756 PyObject * obj0 = 0 ;
14757 PyObject * obj1 = 0 ;
14758 char *kwnames[] = {
14759 (char *) "self",(char *) "m_rightDown", NULL
14760 };
14761
14762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14765 arg2 = (bool) SWIG_AsBool(obj1);
14766 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14767 if (arg1) (arg1)->m_rightDown = arg2;
14768
14769 Py_INCREF(Py_None); resultobj = Py_None;
14770 return resultobj;
14771 fail:
14772 return NULL;
14773}
14774
14775
14776static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14777 PyObject *resultobj;
14778 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14779 bool result;
14780 PyObject * obj0 = 0 ;
14781 char *kwnames[] = {
14782 (char *) "self", NULL
14783 };
14784
14785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14788 result = (bool) ((arg1)->m_rightDown);
14789
4f89f6a3
RD
14790 {
14791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14792 }
d14a1e28
RD
14793 return resultobj;
14794 fail:
14795 return NULL;
14796}
14797
14798
14799static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14800 PyObject *resultobj;
14801 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14802 bool arg2 ;
14803 PyObject * obj0 = 0 ;
14804 PyObject * obj1 = 0 ;
14805 char *kwnames[] = {
14806 (char *) "self",(char *) "m_controlDown", NULL
14807 };
14808
14809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14812 arg2 = (bool) SWIG_AsBool(obj1);
14813 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14814 if (arg1) (arg1)->m_controlDown = arg2;
14815
14816 Py_INCREF(Py_None); resultobj = Py_None;
14817 return resultobj;
14818 fail:
14819 return NULL;
14820}
14821
14822
14823static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14824 PyObject *resultobj;
14825 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14826 bool result;
14827 PyObject * obj0 = 0 ;
14828 char *kwnames[] = {
14829 (char *) "self", NULL
14830 };
14831
14832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14835 result = (bool) ((arg1)->m_controlDown);
14836
4f89f6a3
RD
14837 {
14838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14839 }
d14a1e28
RD
14840 return resultobj;
14841 fail:
14842 return NULL;
14843}
14844
14845
14846static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14847 PyObject *resultobj;
14848 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14849 bool arg2 ;
14850 PyObject * obj0 = 0 ;
14851 PyObject * obj1 = 0 ;
14852 char *kwnames[] = {
14853 (char *) "self",(char *) "m_shiftDown", NULL
14854 };
14855
14856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14859 arg2 = (bool) SWIG_AsBool(obj1);
14860 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14861 if (arg1) (arg1)->m_shiftDown = arg2;
14862
14863 Py_INCREF(Py_None); resultobj = Py_None;
14864 return resultobj;
14865 fail:
14866 return NULL;
14867}
14868
14869
14870static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14871 PyObject *resultobj;
14872 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14873 bool result;
14874 PyObject * obj0 = 0 ;
14875 char *kwnames[] = {
14876 (char *) "self", NULL
14877 };
14878
14879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14882 result = (bool) ((arg1)->m_shiftDown);
14883
4f89f6a3
RD
14884 {
14885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14886 }
d14a1e28
RD
14887 return resultobj;
14888 fail:
14889 return NULL;
14890}
14891
14892
14893static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14894 PyObject *resultobj;
14895 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14896 bool arg2 ;
14897 PyObject * obj0 = 0 ;
14898 PyObject * obj1 = 0 ;
14899 char *kwnames[] = {
14900 (char *) "self",(char *) "m_altDown", NULL
14901 };
14902
14903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14906 arg2 = (bool) SWIG_AsBool(obj1);
14907 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14908 if (arg1) (arg1)->m_altDown = arg2;
14909
14910 Py_INCREF(Py_None); resultobj = Py_None;
14911 return resultobj;
14912 fail:
14913 return NULL;
14914}
14915
14916
14917static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14920 bool result;
14921 PyObject * obj0 = 0 ;
14922 char *kwnames[] = {
14923 (char *) "self", NULL
14924 };
14925
14926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14929 result = (bool) ((arg1)->m_altDown);
14930
4f89f6a3
RD
14931 {
14932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14933 }
d14a1e28
RD
14934 return resultobj;
14935 fail:
14936 return NULL;
14937}
14938
14939
14940static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14941 PyObject *resultobj;
14942 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14943 bool arg2 ;
14944 PyObject * obj0 = 0 ;
14945 PyObject * obj1 = 0 ;
14946 char *kwnames[] = {
14947 (char *) "self",(char *) "m_metaDown", NULL
14948 };
14949
14950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14953 arg2 = (bool) SWIG_AsBool(obj1);
14954 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14955 if (arg1) (arg1)->m_metaDown = arg2;
14956
14957 Py_INCREF(Py_None); resultobj = Py_None;
14958 return resultobj;
14959 fail:
14960 return NULL;
14961}
14962
14963
14964static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14965 PyObject *resultobj;
14966 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14967 bool result;
14968 PyObject * obj0 = 0 ;
14969 char *kwnames[] = {
14970 (char *) "self", NULL
14971 };
14972
14973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14976 result = (bool) ((arg1)->m_metaDown);
14977
4f89f6a3
RD
14978 {
14979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14980 }
d14a1e28
RD
14981 return resultobj;
14982 fail:
14983 return NULL;
14984}
14985
14986
14987static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14988 PyObject *resultobj;
14989 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14990 int arg2 ;
14991 PyObject * obj0 = 0 ;
994141e6 14992 PyObject * obj1 = 0 ;
d14a1e28
RD
14993 char *kwnames[] = {
14994 (char *) "self",(char *) "m_wheelRotation", NULL
14995 };
14996
994141e6 14997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15000 arg2 = (int) SWIG_AsInt(obj1);
15001 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15002 if (arg1) (arg1)->m_wheelRotation = arg2;
15003
15004 Py_INCREF(Py_None); resultobj = Py_None;
15005 return resultobj;
15006 fail:
15007 return NULL;
15008}
15009
15010
15011static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15012 PyObject *resultobj;
15013 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15014 int result;
15015 PyObject * obj0 = 0 ;
15016 char *kwnames[] = {
15017 (char *) "self", NULL
15018 };
15019
15020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15023 result = (int) ((arg1)->m_wheelRotation);
15024
15afbcd0 15025 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15026 return resultobj;
15027 fail:
15028 return NULL;
15029}
15030
15031
15032static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15033 PyObject *resultobj;
15034 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15035 int arg2 ;
15036 PyObject * obj0 = 0 ;
994141e6 15037 PyObject * obj1 = 0 ;
d14a1e28
RD
15038 char *kwnames[] = {
15039 (char *) "self",(char *) "m_wheelDelta", NULL
15040 };
15041
994141e6 15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15045 arg2 = (int) SWIG_AsInt(obj1);
15046 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15047 if (arg1) (arg1)->m_wheelDelta = arg2;
15048
15049 Py_INCREF(Py_None); resultobj = Py_None;
15050 return resultobj;
15051 fail:
15052 return NULL;
15053}
15054
15055
15056static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15057 PyObject *resultobj;
15058 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15059 int result;
15060 PyObject * obj0 = 0 ;
15061 char *kwnames[] = {
15062 (char *) "self", NULL
15063 };
15064
15065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15068 result = (int) ((arg1)->m_wheelDelta);
15069
15afbcd0 15070 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15071 return resultobj;
15072 fail:
15073 return NULL;
15074}
15075
15076
15077static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15078 PyObject *resultobj;
15079 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15080 int arg2 ;
15081 PyObject * obj0 = 0 ;
994141e6 15082 PyObject * obj1 = 0 ;
d14a1e28
RD
15083 char *kwnames[] = {
15084 (char *) "self",(char *) "m_linesPerAction", NULL
15085 };
15086
994141e6 15087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15090 arg2 = (int) SWIG_AsInt(obj1);
15091 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15092 if (arg1) (arg1)->m_linesPerAction = arg2;
15093
15094 Py_INCREF(Py_None); resultobj = Py_None;
15095 return resultobj;
15096 fail:
15097 return NULL;
15098}
15099
15100
15101static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15102 PyObject *resultobj;
15103 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15104 int result;
15105 PyObject * obj0 = 0 ;
15106 char *kwnames[] = {
15107 (char *) "self", NULL
15108 };
15109
15110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15113 result = (int) ((arg1)->m_linesPerAction);
15114
15afbcd0 15115 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15116 return resultobj;
15117 fail:
15118 return NULL;
15119}
15120
15121
15122static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
15123 PyObject *obj;
15124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15125 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15126 Py_INCREF(obj);
15127 return Py_BuildValue((char *)"");
15128}
15129static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15130 PyObject *resultobj;
e811c8ce
RD
15131 int arg1 = (int) 0 ;
15132 int arg2 = (int) 0 ;
d14a1e28 15133 wxSetCursorEvent *result;
994141e6
RD
15134 PyObject * obj0 = 0 ;
15135 PyObject * obj1 = 0 ;
d14a1e28
RD
15136 char *kwnames[] = {
15137 (char *) "x",(char *) "y", NULL
15138 };
15139
994141e6
RD
15140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15141 if (obj0) {
15afbcd0
RD
15142 arg1 = (int) SWIG_AsInt(obj0);
15143 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15144 }
15145 if (obj1) {
15afbcd0
RD
15146 arg2 = (int) SWIG_AsInt(obj1);
15147 if (PyErr_Occurred()) SWIG_fail;
994141e6 15148 }
d14a1e28
RD
15149 {
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15152
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15afbcd0 15156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
d14a1e28
RD
15157 return resultobj;
15158 fail:
15159 return NULL;
15160}
15161
15162
15163static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15164 PyObject *resultobj;
15165 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15166 int result;
d14a1e28
RD
15167 PyObject * obj0 = 0 ;
15168 char *kwnames[] = {
15169 (char *) "self", NULL
15170 };
15171
15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
15173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15175 {
15176 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15177 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
15178
15179 wxPyEndAllowThreads(__tstate);
15180 if (PyErr_Occurred()) SWIG_fail;
15181 }
15afbcd0 15182 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15183 return resultobj;
15184 fail:
15185 return NULL;
15186}
15187
15188
15189static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15190 PyObject *resultobj;
15191 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15192 int result;
d14a1e28
RD
15193 PyObject * obj0 = 0 ;
15194 char *kwnames[] = {
15195 (char *) "self", NULL
15196 };
15197
15198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15201 {
15202 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15203 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
15204
15205 wxPyEndAllowThreads(__tstate);
15206 if (PyErr_Occurred()) SWIG_fail;
15207 }
15afbcd0 15208 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15209 return resultobj;
15210 fail:
15211 return NULL;
15212}
15213
15214
15215static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15216 PyObject *resultobj;
15217 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15218 wxCursor *arg2 = 0 ;
15219 PyObject * obj0 = 0 ;
15220 PyObject * obj1 = 0 ;
15221 char *kwnames[] = {
15222 (char *) "self",(char *) "cursor", NULL
15223 };
15224
15225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15228 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15229 SWIG_POINTER_EXCEPTION | 0)) == -1)
15230 SWIG_fail;
d14a1e28 15231 if (arg2 == NULL) {
15afbcd0
RD
15232 PyErr_SetString(PyExc_TypeError,"null reference");
15233 SWIG_fail;
d14a1e28
RD
15234 }
15235 {
15236 PyThreadState* __tstate = wxPyBeginAllowThreads();
15237 (arg1)->SetCursor((wxCursor const &)*arg2);
15238
15239 wxPyEndAllowThreads(__tstate);
15240 if (PyErr_Occurred()) SWIG_fail;
15241 }
15242 Py_INCREF(Py_None); resultobj = Py_None;
15243 return resultobj;
15244 fail:
15245 return NULL;
15246}
15247
15248
15249static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15250 PyObject *resultobj;
15251 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15252 wxCursor *result;
15253 PyObject * obj0 = 0 ;
15254 char *kwnames[] = {
15255 (char *) "self", NULL
15256 };
15257
15258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 {
15264 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15265 result = (wxCursor *) &_result_ref;
15266 }
15267
15268 wxPyEndAllowThreads(__tstate);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
4276dc52
RD
15271 {
15272 wxCursor* resultptr = new wxCursor(*result);
15273 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15274 }
d14a1e28
RD
15275 return resultobj;
15276 fail:
15277 return NULL;
15278}
15279
15280
15281static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15282 PyObject *resultobj;
15283 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15284 bool result;
15285 PyObject * obj0 = 0 ;
15286 char *kwnames[] = {
15287 (char *) "self", NULL
15288 };
15289
15290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15293 {
15294 PyThreadState* __tstate = wxPyBeginAllowThreads();
15295 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15296
15297 wxPyEndAllowThreads(__tstate);
15298 if (PyErr_Occurred()) SWIG_fail;
15299 }
4f89f6a3
RD
15300 {
15301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15302 }
d14a1e28
RD
15303 return resultobj;
15304 fail:
15305 return NULL;
15306}
15307
15308
15309static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
15310 PyObject *obj;
15311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15312 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15313 Py_INCREF(obj);
15314 return Py_BuildValue((char *)"");
15315}
15316static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15317 PyObject *resultobj;
15318 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15319 wxKeyEvent *result;
994141e6 15320 PyObject * obj0 = 0 ;
d14a1e28
RD
15321 char *kwnames[] = {
15322 (char *) "keyType", NULL
15323 };
15324
994141e6
RD
15325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15326 if (obj0) {
15afbcd0
RD
15327 arg1 = (wxEventType) SWIG_AsInt(obj0);
15328 if (PyErr_Occurred()) SWIG_fail;
994141e6 15329 }
d14a1e28
RD
15330 {
15331 PyThreadState* __tstate = wxPyBeginAllowThreads();
15332 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15333
15334 wxPyEndAllowThreads(__tstate);
15335 if (PyErr_Occurred()) SWIG_fail;
15336 }
15afbcd0 15337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
d14a1e28
RD
15338 return resultobj;
15339 fail:
15340 return NULL;
15341}
15342
15343
15344static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15345 PyObject *resultobj;
15346 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15347 bool result;
15348 PyObject * obj0 = 0 ;
15349 char *kwnames[] = {
15350 (char *) "self", NULL
15351 };
15352
15353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15356 {
15357 PyThreadState* __tstate = wxPyBeginAllowThreads();
15358 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15359
15360 wxPyEndAllowThreads(__tstate);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 }
4f89f6a3
RD
15363 {
15364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15365 }
d14a1e28
RD
15366 return resultobj;
15367 fail:
15368 return NULL;
15369}
15370
15371
15372static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15373 PyObject *resultobj;
15374 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15375 bool result;
15376 PyObject * obj0 = 0 ;
15377 char *kwnames[] = {
15378 (char *) "self", NULL
15379 };
15380
15381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15384 {
15385 PyThreadState* __tstate = wxPyBeginAllowThreads();
15386 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15387
15388 wxPyEndAllowThreads(__tstate);
15389 if (PyErr_Occurred()) SWIG_fail;
15390 }
4f89f6a3
RD
15391 {
15392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15393 }
d14a1e28
RD
15394 return resultobj;
15395 fail:
15396 return NULL;
15397}
15398
15399
15400static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj;
15402 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15403 bool result;
15404 PyObject * obj0 = 0 ;
15405 char *kwnames[] = {
15406 (char *) "self", NULL
15407 };
15408
15409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15415
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
4f89f6a3
RD
15419 {
15420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15421 }
d14a1e28
RD
15422 return resultobj;
15423 fail:
15424 return NULL;
15425}
15426
15427
15428static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15429 PyObject *resultobj;
15430 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15431 bool result;
15432 PyObject * obj0 = 0 ;
15433 char *kwnames[] = {
15434 (char *) "self", NULL
15435 };
15436
15437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15440 {
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15443
15444 wxPyEndAllowThreads(__tstate);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 }
4f89f6a3
RD
15447 {
15448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15449 }
d14a1e28
RD
15450 return resultobj;
15451 fail:
15452 return NULL;
15453}
15454
15455
15456static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
15457 PyObject *resultobj;
15458 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15459 bool result;
15460 PyObject * obj0 = 0 ;
15461 char *kwnames[] = {
15462 (char *) "self", NULL
15463 };
15464
15465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
15afbcd0
RD
15466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15468 {
15469 PyThreadState* __tstate = wxPyBeginAllowThreads();
15470 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15471
15472 wxPyEndAllowThreads(__tstate);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
4f89f6a3
RD
15475 {
15476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15477 }
d14a1e28
RD
15478 return resultobj;
15479 fail:
15480 return NULL;
15481}
15482
15483
15484static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15485 PyObject *resultobj;
15486 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15487 int result;
15488 PyObject * obj0 = 0 ;
15489 char *kwnames[] = {
15490 (char *) "self", NULL
15491 };
15492
15493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
15494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15496 {
15497 PyThreadState* __tstate = wxPyBeginAllowThreads();
15498 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15499
15500 wxPyEndAllowThreads(__tstate);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15afbcd0 15503 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15504 return resultobj;
15505 fail:
15506 return NULL;
15507}
15508
15509
15510static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
15511 PyObject *resultobj;
15512 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15513 int result;
15514 PyObject * obj0 = 0 ;
15515 char *kwnames[] = {
15516 (char *) "self", NULL
15517 };
15518
15519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
15afbcd0
RD
15520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15522 {
15523 PyThreadState* __tstate = wxPyBeginAllowThreads();
15524 result = (int)wxKeyEvent_GetUniChar(arg1);
15525
15526 wxPyEndAllowThreads(__tstate);
15527 if (PyErr_Occurred()) SWIG_fail;
15528 }
15afbcd0 15529 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15530 return resultobj;
15531 fail:
15532 return NULL;
15533}
15534
15535
15536static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15537 PyObject *resultobj;
15538 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15539 unsigned int result;
d14a1e28
RD
15540 PyObject * obj0 = 0 ;
15541 char *kwnames[] = {
15542 (char *) "self", NULL
15543 };
15544
15545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
15546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15548 {
15549 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15550 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
15551
15552 wxPyEndAllowThreads(__tstate);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
15afbcd0 15555 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15556 return resultobj;
15557 fail:
15558 return NULL;
15559}
15560
15561
15562static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
15563 PyObject *resultobj;
15564 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15565 unsigned int result;
d14a1e28
RD
15566 PyObject * obj0 = 0 ;
15567 char *kwnames[] = {
15568 (char *) "self", NULL
15569 };
15570
15571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
15572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15574 {
15575 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15576 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
15577
15578 wxPyEndAllowThreads(__tstate);
15579 if (PyErr_Occurred()) SWIG_fail;
15580 }
15afbcd0 15581 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15582 return resultobj;
15583 fail:
15584 return NULL;
15585}
15586
15587
15588static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15589 PyObject *resultobj;
15590 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15591 wxPoint result;
15592 PyObject * obj0 = 0 ;
15593 char *kwnames[] = {
15594 (char *) "self", NULL
15595 };
15596
15597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
15598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 result = (arg1)->GetPosition();
15603
15604 wxPyEndAllowThreads(__tstate);
15605 if (PyErr_Occurred()) SWIG_fail;
15606 }
15607 {
15608 wxPoint * resultptr;
15609 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 15610 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
15611 }
15612 return resultobj;
15613 fail:
15614 return NULL;
15615}
15616
15617
15618static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
15619 PyObject *resultobj;
15620 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15621 long *arg2 = (long *) 0 ;
15622 long *arg3 = (long *) 0 ;
15623 long temp2 ;
15624 long temp3 ;
15625 PyObject * obj0 = 0 ;
15626 char *kwnames[] = {
15627 (char *) "self", NULL
15628 };
15629
15630 arg2 = &temp2;
15631 arg3 = &temp3;
15632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
15633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15635 {
15636 PyThreadState* __tstate = wxPyBeginAllowThreads();
15637 (arg1)->GetPosition(arg2,arg3);
15638
15639 wxPyEndAllowThreads(__tstate);
15640 if (PyErr_Occurred()) SWIG_fail;
15641 }
15642 Py_INCREF(Py_None); resultobj = Py_None;
15643 {
15644 PyObject *o = PyInt_FromLong((long) (*arg2));
15645 resultobj = t_output_helper(resultobj,o);
15646 }
15647 {
15648 PyObject *o = PyInt_FromLong((long) (*arg3));
15649 resultobj = t_output_helper(resultobj,o);
15650 }
15651 return resultobj;
15652 fail:
15653 return NULL;
15654}
15655
15656
15657static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15658 PyObject *resultobj;
15659 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15660 int result;
d14a1e28
RD
15661 PyObject * obj0 = 0 ;
15662 char *kwnames[] = {
15663 (char *) "self", NULL
15664 };
15665
15666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
15667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15669 {
15670 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15671 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
15672
15673 wxPyEndAllowThreads(__tstate);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 }
15afbcd0 15676 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15677 return resultobj;
15678 fail:
15679 return NULL;
15680}
15681
15682
15683static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15684 PyObject *resultobj;
15685 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15686 int result;
d14a1e28
RD
15687 PyObject * obj0 = 0 ;
15688 char *kwnames[] = {
15689 (char *) "self", NULL
15690 };
15691
15692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15695 {
15696 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15697 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
15698
15699 wxPyEndAllowThreads(__tstate);
15700 if (PyErr_Occurred()) SWIG_fail;
15701 }
15afbcd0 15702 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15703 return resultobj;
15704 fail:
15705 return NULL;
15706}
15707
15708
15709static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15710 PyObject *resultobj;
15711 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15712 int arg2 ;
d14a1e28 15713 PyObject * obj0 = 0 ;
994141e6 15714 PyObject * obj1 = 0 ;
d14a1e28
RD
15715 char *kwnames[] = {
15716 (char *) "self",(char *) "m_x", NULL
15717 };
15718
994141e6 15719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15722 arg2 = (int) SWIG_AsInt(obj1);
15723 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15724 if (arg1) (arg1)->m_x = arg2;
15725
15726 Py_INCREF(Py_None); resultobj = Py_None;
15727 return resultobj;
15728 fail:
15729 return NULL;
15730}
15731
15732
15733static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15734 PyObject *resultobj;
15735 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15736 int result;
d14a1e28
RD
15737 PyObject * obj0 = 0 ;
15738 char *kwnames[] = {
15739 (char *) "self", NULL
15740 };
15741
15742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15745 result = (int) ((arg1)->m_x);
d14a1e28 15746
15afbcd0 15747 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15748 return resultobj;
15749 fail:
15750 return NULL;
15751}
15752
15753
15754static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15755 PyObject *resultobj;
15756 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15757 int arg2 ;
d14a1e28 15758 PyObject * obj0 = 0 ;
994141e6 15759 PyObject * obj1 = 0 ;
d14a1e28
RD
15760 char *kwnames[] = {
15761 (char *) "self",(char *) "m_y", NULL
15762 };
15763
994141e6 15764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15767 arg2 = (int) SWIG_AsInt(obj1);
15768 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15769 if (arg1) (arg1)->m_y = arg2;
15770
15771 Py_INCREF(Py_None); resultobj = Py_None;
15772 return resultobj;
15773 fail:
15774 return NULL;
15775}
15776
15777
15778static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15779 PyObject *resultobj;
15780 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15781 int result;
d14a1e28
RD
15782 PyObject * obj0 = 0 ;
15783 char *kwnames[] = {
15784 (char *) "self", NULL
15785 };
15786
15787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15790 result = (int) ((arg1)->m_y);
d14a1e28 15791
15afbcd0 15792 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15793 return resultobj;
15794 fail:
15795 return NULL;
15796}
15797
15798
15799static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15800 PyObject *resultobj;
15801 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15802 long arg2 ;
15803 PyObject * obj0 = 0 ;
994141e6 15804 PyObject * obj1 = 0 ;
d14a1e28
RD
15805 char *kwnames[] = {
15806 (char *) "self",(char *) "m_keyCode", NULL
15807 };
15808
994141e6 15809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15812 arg2 = (long) SWIG_AsLong(obj1);
15813 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15814 if (arg1) (arg1)->m_keyCode = arg2;
15815
15816 Py_INCREF(Py_None); resultobj = Py_None;
15817 return resultobj;
15818 fail:
15819 return NULL;
15820}
15821
15822
15823static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15824 PyObject *resultobj;
15825 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15826 long result;
15827 PyObject * obj0 = 0 ;
15828 char *kwnames[] = {
15829 (char *) "self", NULL
15830 };
15831
15832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15835 result = (long) ((arg1)->m_keyCode);
15836
15afbcd0 15837 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
15838 return resultobj;
15839 fail:
15840 return NULL;
15841}
15842
15843
15844static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15845 PyObject *resultobj;
15846 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15847 bool arg2 ;
15848 PyObject * obj0 = 0 ;
15849 PyObject * obj1 = 0 ;
15850 char *kwnames[] = {
15851 (char *) "self",(char *) "m_controlDown", NULL
15852 };
15853
15854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15857 arg2 = (bool) SWIG_AsBool(obj1);
15858 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15859 if (arg1) (arg1)->m_controlDown = arg2;
15860
15861 Py_INCREF(Py_None); resultobj = Py_None;
15862 return resultobj;
15863 fail:
15864 return NULL;
15865}
15866
15867
15868static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15869 PyObject *resultobj;
15870 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15871 bool result;
15872 PyObject * obj0 = 0 ;
15873 char *kwnames[] = {
15874 (char *) "self", NULL
15875 };
15876
15877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15880 result = (bool) ((arg1)->m_controlDown);
15881
4f89f6a3
RD
15882 {
15883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15884 }
d14a1e28
RD
15885 return resultobj;
15886 fail:
15887 return NULL;
15888}
15889
15890
15891static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15892 PyObject *resultobj;
15893 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15894 bool arg2 ;
15895 PyObject * obj0 = 0 ;
15896 PyObject * obj1 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "self",(char *) "m_shiftDown", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15904 arg2 = (bool) SWIG_AsBool(obj1);
15905 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15906 if (arg1) (arg1)->m_shiftDown = arg2;
15907
15908 Py_INCREF(Py_None); resultobj = Py_None;
15909 return resultobj;
15910 fail:
15911 return NULL;
15912}
15913
15914
15915static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15916 PyObject *resultobj;
15917 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15918 bool result;
15919 PyObject * obj0 = 0 ;
15920 char *kwnames[] = {
15921 (char *) "self", NULL
15922 };
15923
15924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15927 result = (bool) ((arg1)->m_shiftDown);
15928
4f89f6a3
RD
15929 {
15930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15931 }
d14a1e28
RD
15932 return resultobj;
15933 fail:
15934 return NULL;
15935}
15936
15937
15938static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15941 bool arg2 ;
15942 PyObject * obj0 = 0 ;
15943 PyObject * obj1 = 0 ;
15944 char *kwnames[] = {
15945 (char *) "self",(char *) "m_altDown", NULL
15946 };
15947
15948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15951 arg2 = (bool) SWIG_AsBool(obj1);
15952 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15953 if (arg1) (arg1)->m_altDown = arg2;
15954
15955 Py_INCREF(Py_None); resultobj = Py_None;
15956 return resultobj;
15957 fail:
15958 return NULL;
15959}
15960
15961
15962static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj;
15964 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15965 bool result;
15966 PyObject * obj0 = 0 ;
15967 char *kwnames[] = {
15968 (char *) "self", NULL
15969 };
15970
15971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15974 result = (bool) ((arg1)->m_altDown);
15975
4f89f6a3
RD
15976 {
15977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15978 }
d14a1e28
RD
15979 return resultobj;
15980 fail:
15981 return NULL;
15982}
15983
15984
15985static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15986 PyObject *resultobj;
15987 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15988 bool arg2 ;
15989 PyObject * obj0 = 0 ;
15990 PyObject * obj1 = 0 ;
15991 char *kwnames[] = {
15992 (char *) "self",(char *) "m_metaDown", NULL
15993 };
15994
15995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15998 arg2 = (bool) SWIG_AsBool(obj1);
15999 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16000 if (arg1) (arg1)->m_metaDown = arg2;
16001
16002 Py_INCREF(Py_None); resultobj = Py_None;
16003 return resultobj;
16004 fail:
16005 return NULL;
16006}
16007
16008
16009static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16010 PyObject *resultobj;
16011 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16012 bool result;
16013 PyObject * obj0 = 0 ;
16014 char *kwnames[] = {
16015 (char *) "self", NULL
16016 };
16017
16018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16021 result = (bool) ((arg1)->m_metaDown);
16022
4f89f6a3
RD
16023 {
16024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16025 }
d14a1e28
RD
16026 return resultobj;
16027 fail:
16028 return NULL;
16029}
16030
16031
16032static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16033 PyObject *resultobj;
16034 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16035 bool arg2 ;
16036 PyObject * obj0 = 0 ;
16037 PyObject * obj1 = 0 ;
16038 char *kwnames[] = {
16039 (char *) "self",(char *) "m_scanCode", NULL
16040 };
16041
16042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16045 arg2 = (bool) SWIG_AsBool(obj1);
16046 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16047 if (arg1) (arg1)->m_scanCode = arg2;
16048
16049 Py_INCREF(Py_None); resultobj = Py_None;
16050 return resultobj;
16051 fail:
16052 return NULL;
16053}
16054
16055
16056static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16057 PyObject *resultobj;
16058 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16059 bool result;
16060 PyObject * obj0 = 0 ;
16061 char *kwnames[] = {
16062 (char *) "self", NULL
16063 };
16064
16065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16068 result = (bool) ((arg1)->m_scanCode);
16069
4f89f6a3
RD
16070 {
16071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16072 }
d14a1e28
RD
16073 return resultobj;
16074 fail:
16075 return NULL;
16076}
16077
16078
16079static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16080 PyObject *resultobj;
16081 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16082 unsigned int arg2 ;
d14a1e28
RD
16083 PyObject * obj0 = 0 ;
16084 PyObject * obj1 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "self",(char *) "m_rawCode", NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16092 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16093 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16094 if (arg1) (arg1)->m_rawCode = arg2;
16095
16096 Py_INCREF(Py_None); resultobj = Py_None;
16097 return resultobj;
16098 fail:
16099 return NULL;
16100}
16101
16102
16103static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16104 PyObject *resultobj;
16105 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16106 unsigned int result;
d14a1e28
RD
16107 PyObject * obj0 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16115 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28 16116
15afbcd0 16117 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16118 return resultobj;
16119 fail:
16120 return NULL;
16121}
16122
16123
16124static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16125 PyObject *resultobj;
16126 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16127 unsigned int arg2 ;
d14a1e28
RD
16128 PyObject * obj0 = 0 ;
16129 PyObject * obj1 = 0 ;
16130 char *kwnames[] = {
16131 (char *) "self",(char *) "m_rawFlags", NULL
16132 };
16133
16134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16137 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16138 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16139 if (arg1) (arg1)->m_rawFlags = arg2;
16140
16141 Py_INCREF(Py_None); resultobj = Py_None;
16142 return resultobj;
16143 fail:
16144 return NULL;
16145}
16146
16147
16148static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16149 PyObject *resultobj;
16150 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16151 unsigned int result;
d14a1e28
RD
16152 PyObject * obj0 = 0 ;
16153 char *kwnames[] = {
16154 (char *) "self", NULL
16155 };
16156
16157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16160 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28 16161
15afbcd0 16162 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16163 return resultobj;
16164 fail:
16165 return NULL;
16166}
16167
16168
16169static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
16170 PyObject *obj;
16171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16172 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16173 Py_INCREF(obj);
16174 return Py_BuildValue((char *)"");
16175}
16176static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16177 PyObject *resultobj;
16178 wxSize const &arg1_defvalue = wxDefaultSize ;
16179 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16180 int arg2 = (int) 0 ;
16181 wxSizeEvent *result;
16182 wxSize temp1 ;
16183 PyObject * obj0 = 0 ;
994141e6 16184 PyObject * obj1 = 0 ;
d14a1e28
RD
16185 char *kwnames[] = {
16186 (char *) "sz",(char *) "winid", NULL
16187 };
16188
994141e6 16189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16190 if (obj0) {
16191 {
16192 arg1 = &temp1;
16193 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16194 }
16195 }
994141e6 16196 if (obj1) {
15afbcd0
RD
16197 arg2 = (int) SWIG_AsInt(obj1);
16198 if (PyErr_Occurred()) SWIG_fail;
994141e6 16199 }
d14a1e28
RD
16200 {
16201 PyThreadState* __tstate = wxPyBeginAllowThreads();
16202 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16203
16204 wxPyEndAllowThreads(__tstate);
16205 if (PyErr_Occurred()) SWIG_fail;
16206 }
15afbcd0 16207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
d14a1e28
RD
16208 return resultobj;
16209 fail:
16210 return NULL;
16211}
16212
16213
16214static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16215 PyObject *resultobj;
16216 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16217 wxSize result;
16218 PyObject * obj0 = 0 ;
16219 char *kwnames[] = {
16220 (char *) "self", NULL
16221 };
16222
16223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16226 {
16227 PyThreadState* __tstate = wxPyBeginAllowThreads();
16228 result = ((wxSizeEvent const *)arg1)->GetSize();
16229
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 {
16234 wxSize * resultptr;
16235 resultptr = new wxSize((wxSize &) result);
15afbcd0 16236 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16237 }
16238 return resultobj;
16239 fail:
16240 return NULL;
16241}
16242
16243
16244static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16245 PyObject *resultobj;
16246 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16247 wxRect result;
16248 PyObject * obj0 = 0 ;
16249 char *kwnames[] = {
16250 (char *) "self", NULL
16251 };
16252
16253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
16254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16256 {
16257 PyThreadState* __tstate = wxPyBeginAllowThreads();
16258 result = ((wxSizeEvent const *)arg1)->GetRect();
16259
16260 wxPyEndAllowThreads(__tstate);
16261 if (PyErr_Occurred()) SWIG_fail;
16262 }
16263 {
16264 wxRect * resultptr;
16265 resultptr = new wxRect((wxRect &) result);
15afbcd0 16266 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16267 }
16268 return resultobj;
16269 fail:
16270 return NULL;
16271}
16272
16273
16274static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16275 PyObject *resultobj;
16276 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16277 wxRect arg2 ;
16278 wxRect *argp2 ;
16279 PyObject * obj0 = 0 ;
16280 PyObject * obj1 = 0 ;
16281 char *kwnames[] = {
16282 (char *) "self",(char *) "rect", NULL
16283 };
16284
16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16288 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16289 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16290 arg2 = *argp2;
d14a1e28
RD
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 (arg1)->SetRect(arg2);
16294
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 Py_INCREF(Py_None); resultobj = Py_None;
16299 return resultobj;
16300 fail:
16301 return NULL;
16302}
16303
16304
16305static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16306 PyObject *resultobj;
16307 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16308 wxSize arg2 ;
16309 wxSize *argp2 ;
16310 PyObject * obj0 = 0 ;
16311 PyObject * obj1 = 0 ;
16312 char *kwnames[] = {
16313 (char *) "self",(char *) "size", NULL
16314 };
16315
16316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16319 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16320 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16321 arg2 = *argp2;
d14a1e28
RD
16322 {
16323 PyThreadState* __tstate = wxPyBeginAllowThreads();
16324 wxSizeEvent_SetSize(arg1,arg2);
16325
16326 wxPyEndAllowThreads(__tstate);
16327 if (PyErr_Occurred()) SWIG_fail;
16328 }
16329 Py_INCREF(Py_None); resultobj = Py_None;
16330 return resultobj;
16331 fail:
16332 return NULL;
16333}
16334
16335
16336static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16337 PyObject *resultobj;
16338 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16339 wxSize *arg2 = (wxSize *) 0 ;
16340 PyObject * obj0 = 0 ;
16341 PyObject * obj1 = 0 ;
16342 char *kwnames[] = {
16343 (char *) "self",(char *) "m_size", NULL
16344 };
16345
16346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16351 if (arg1) (arg1)->m_size = *arg2;
16352
16353 Py_INCREF(Py_None); resultobj = Py_None;
16354 return resultobj;
16355 fail:
16356 return NULL;
16357}
16358
16359
16360static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj;
16362 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16363 wxSize *result;
16364 PyObject * obj0 = 0 ;
16365 char *kwnames[] = {
16366 (char *) "self", NULL
16367 };
16368
16369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16372 result = (wxSize *)& ((arg1)->m_size);
16373
15afbcd0 16374 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
16375 return resultobj;
16376 fail:
16377 return NULL;
16378}
16379
16380
16381static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16382 PyObject *resultobj;
16383 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16384 wxRect *arg2 = (wxRect *) 0 ;
16385 PyObject * obj0 = 0 ;
16386 PyObject * obj1 = 0 ;
16387 char *kwnames[] = {
16388 (char *) "self",(char *) "m_rect", NULL
16389 };
16390
16391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16394 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16396 if (arg1) (arg1)->m_rect = *arg2;
16397
16398 Py_INCREF(Py_None); resultobj = Py_None;
16399 return resultobj;
16400 fail:
16401 return NULL;
16402}
16403
16404
16405static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16406 PyObject *resultobj;
16407 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16408 wxRect *result;
16409 PyObject * obj0 = 0 ;
16410 char *kwnames[] = {
16411 (char *) "self", NULL
16412 };
16413
16414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16417 result = (wxRect *)& ((arg1)->m_rect);
16418
15afbcd0 16419 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16420 return resultobj;
16421 fail:
16422 return NULL;
16423}
16424
16425
16426static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
16427 PyObject *obj;
16428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16429 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16430 Py_INCREF(obj);
16431 return Py_BuildValue((char *)"");
16432}
16433static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16434 PyObject *resultobj;
16435 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16436 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16437 int arg2 = (int) 0 ;
16438 wxMoveEvent *result;
16439 wxPoint temp1 ;
16440 PyObject * obj0 = 0 ;
994141e6 16441 PyObject * obj1 = 0 ;
d14a1e28
RD
16442 char *kwnames[] = {
16443 (char *) "pos",(char *) "winid", NULL
16444 };
16445
994141e6 16446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16447 if (obj0) {
16448 {
16449 arg1 = &temp1;
16450 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16451 }
16452 }
994141e6 16453 if (obj1) {
15afbcd0
RD
16454 arg2 = (int) SWIG_AsInt(obj1);
16455 if (PyErr_Occurred()) SWIG_fail;
994141e6 16456 }
d14a1e28
RD
16457 {
16458 PyThreadState* __tstate = wxPyBeginAllowThreads();
16459 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16460
16461 wxPyEndAllowThreads(__tstate);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 }
15afbcd0 16464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
d14a1e28
RD
16465 return resultobj;
16466 fail:
16467 return NULL;
16468}
16469
16470
16471static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16472 PyObject *resultobj;
16473 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16474 wxPoint result;
16475 PyObject * obj0 = 0 ;
16476 char *kwnames[] = {
16477 (char *) "self", NULL
16478 };
16479
16480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16483 {
16484 PyThreadState* __tstate = wxPyBeginAllowThreads();
16485 result = ((wxMoveEvent const *)arg1)->GetPosition();
16486
16487 wxPyEndAllowThreads(__tstate);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 }
16490 {
16491 wxPoint * resultptr;
16492 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 16493 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
16494 }
16495 return resultobj;
16496 fail:
16497 return NULL;
16498}
16499
16500
16501static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16502 PyObject *resultobj;
16503 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16504 wxRect result;
16505 PyObject * obj0 = 0 ;
16506 char *kwnames[] = {
16507 (char *) "self", NULL
16508 };
16509
16510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
16511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16513 {
16514 PyThreadState* __tstate = wxPyBeginAllowThreads();
16515 result = ((wxMoveEvent const *)arg1)->GetRect();
16516
16517 wxPyEndAllowThreads(__tstate);
16518 if (PyErr_Occurred()) SWIG_fail;
16519 }
16520 {
16521 wxRect * resultptr;
16522 resultptr = new wxRect((wxRect &) result);
15afbcd0 16523 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16524 }
16525 return resultobj;
16526 fail:
16527 return NULL;
16528}
16529
16530
16531static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16532 PyObject *resultobj;
16533 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16534 wxRect arg2 ;
16535 wxRect *argp2 ;
16536 PyObject * obj0 = 0 ;
16537 PyObject * obj1 = 0 ;
16538 char *kwnames[] = {
16539 (char *) "self",(char *) "rect", NULL
16540 };
16541
16542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16545 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16546 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16547 arg2 = *argp2;
d14a1e28
RD
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 (arg1)->SetRect(arg2);
16551
16552 wxPyEndAllowThreads(__tstate);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 }
16555 Py_INCREF(Py_None); resultobj = Py_None;
16556 return resultobj;
16557 fail:
16558 return NULL;
16559}
16560
16561
16562static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16563 PyObject *resultobj;
16564 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16565 wxPoint arg2 ;
16566 wxPoint *argp2 ;
16567 PyObject * obj0 = 0 ;
16568 PyObject * obj1 = 0 ;
16569 char *kwnames[] = {
16570 (char *) "self",(char *) "pos", NULL
16571 };
16572
16573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16576 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
16577 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16578 arg2 = *argp2;
d14a1e28
RD
16579 {
16580 PyThreadState* __tstate = wxPyBeginAllowThreads();
16581 wxMoveEvent_SetPosition(arg1,arg2);
16582
16583 wxPyEndAllowThreads(__tstate);
16584 if (PyErr_Occurred()) SWIG_fail;
16585 }
16586 Py_INCREF(Py_None); resultobj = Py_None;
16587 return resultobj;
16588 fail:
16589 return NULL;
16590}
16591
16592
16593static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16594 PyObject *resultobj;
16595 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16596 wxPoint *arg2 = (wxPoint *) 0 ;
16597 PyObject * obj0 = 0 ;
16598 PyObject * obj1 = 0 ;
16599 char *kwnames[] = {
16600 (char *) "self",(char *) "m_pos", NULL
16601 };
16602
16603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
16607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16608 if (arg1) (arg1)->m_pos = *arg2;
16609
16610 Py_INCREF(Py_None); resultobj = Py_None;
16611 return resultobj;
16612 fail:
16613 return NULL;
16614}
16615
16616
16617static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16618 PyObject *resultobj;
16619 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16620 wxPoint *result;
16621 PyObject * obj0 = 0 ;
16622 char *kwnames[] = {
16623 (char *) "self", NULL
16624 };
16625
16626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16629 result = (wxPoint *)& ((arg1)->m_pos);
16630
15afbcd0 16631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
16632 return resultobj;
16633 fail:
16634 return NULL;
16635}
16636
16637
16638static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16639 PyObject *resultobj;
16640 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16641 wxRect *arg2 = (wxRect *) 0 ;
16642 PyObject * obj0 = 0 ;
16643 PyObject * obj1 = 0 ;
16644 char *kwnames[] = {
16645 (char *) "self",(char *) "m_rect", NULL
16646 };
16647
16648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16651 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16653 if (arg1) (arg1)->m_rect = *arg2;
16654
16655 Py_INCREF(Py_None); resultobj = Py_None;
16656 return resultobj;
16657 fail:
16658 return NULL;
16659}
16660
16661
16662static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16663 PyObject *resultobj;
16664 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16665 wxRect *result;
16666 PyObject * obj0 = 0 ;
16667 char *kwnames[] = {
16668 (char *) "self", NULL
16669 };
16670
16671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16674 result = (wxRect *)& ((arg1)->m_rect);
16675
15afbcd0 16676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16677 return resultobj;
16678 fail:
16679 return NULL;
16680}
16681
16682
16683static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
16684 PyObject *obj;
16685 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16686 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16687 Py_INCREF(obj);
16688 return Py_BuildValue((char *)"");
16689}
16690static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16691 PyObject *resultobj;
16692 int arg1 = (int) 0 ;
16693 wxPaintEvent *result;
994141e6 16694 PyObject * obj0 = 0 ;
d14a1e28
RD
16695 char *kwnames[] = {
16696 (char *) "Id", NULL
16697 };
16698
994141e6
RD
16699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16700 if (obj0) {
15afbcd0
RD
16701 arg1 = (int) SWIG_AsInt(obj0);
16702 if (PyErr_Occurred()) SWIG_fail;
994141e6 16703 }
d14a1e28
RD
16704 {
16705 PyThreadState* __tstate = wxPyBeginAllowThreads();
16706 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16707
16708 wxPyEndAllowThreads(__tstate);
16709 if (PyErr_Occurred()) SWIG_fail;
16710 }
15afbcd0 16711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
d14a1e28
RD
16712 return resultobj;
16713 fail:
16714 return NULL;
16715}
16716
16717
16718static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
16719 PyObject *obj;
16720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16721 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16722 Py_INCREF(obj);
16723 return Py_BuildValue((char *)"");
16724}
16725static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16726 PyObject *resultobj;
16727 int arg1 = (int) 0 ;
16728 wxNcPaintEvent *result;
994141e6 16729 PyObject * obj0 = 0 ;
d14a1e28
RD
16730 char *kwnames[] = {
16731 (char *) "winid", NULL
16732 };
16733
994141e6
RD
16734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16735 if (obj0) {
15afbcd0
RD
16736 arg1 = (int) SWIG_AsInt(obj0);
16737 if (PyErr_Occurred()) SWIG_fail;
994141e6 16738 }
d14a1e28
RD
16739 {
16740 PyThreadState* __tstate = wxPyBeginAllowThreads();
16741 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16742
16743 wxPyEndAllowThreads(__tstate);
16744 if (PyErr_Occurred()) SWIG_fail;
16745 }
15afbcd0 16746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
d14a1e28
RD
16747 return resultobj;
16748 fail:
16749 return NULL;
16750}
16751
16752
16753static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
16754 PyObject *obj;
16755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16756 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16757 Py_INCREF(obj);
16758 return Py_BuildValue((char *)"");
16759}
16760static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16761 PyObject *resultobj;
16762 int arg1 = (int) 0 ;
16763 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16764 wxEraseEvent *result;
994141e6 16765 PyObject * obj0 = 0 ;
d14a1e28
RD
16766 PyObject * obj1 = 0 ;
16767 char *kwnames[] = {
16768 (char *) "Id",(char *) "dc", NULL
16769 };
16770
994141e6
RD
16771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16772 if (obj0) {
15afbcd0
RD
16773 arg1 = (int) SWIG_AsInt(obj0);
16774 if (PyErr_Occurred()) SWIG_fail;
994141e6 16775 }
d14a1e28 16776 if (obj1) {
15afbcd0
RD
16777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16779 }
16780 {
16781 PyThreadState* __tstate = wxPyBeginAllowThreads();
16782 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16783
16784 wxPyEndAllowThreads(__tstate);
16785 if (PyErr_Occurred()) SWIG_fail;
16786 }
15afbcd0 16787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
d14a1e28
RD
16788 return resultobj;
16789 fail:
16790 return NULL;
16791}
16792
16793
16794static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
16795 PyObject *resultobj;
16796 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16797 wxDC *result;
16798 PyObject * obj0 = 0 ;
16799 char *kwnames[] = {
16800 (char *) "self", NULL
16801 };
16802
16803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
16804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
16805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 {
16814 resultobj = wxPyMake_wxObject(result);
16815 }
16816 return resultobj;
16817 fail:
16818 return NULL;
16819}
16820
16821
16822static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
16823 PyObject *obj;
16824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16825 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
16826 Py_INCREF(obj);
16827 return Py_BuildValue((char *)"");
16828}
16829static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16830 PyObject *resultobj;
16831 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16832 int arg2 = (int) 0 ;
16833 wxFocusEvent *result;
994141e6
RD
16834 PyObject * obj0 = 0 ;
16835 PyObject * obj1 = 0 ;
d14a1e28
RD
16836 char *kwnames[] = {
16837 (char *) "type",(char *) "winid", NULL
16838 };
16839
994141e6
RD
16840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
16841 if (obj0) {
15afbcd0
RD
16842 arg1 = (wxEventType) SWIG_AsInt(obj0);
16843 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
16844 }
16845 if (obj1) {
15afbcd0
RD
16846 arg2 = (int) SWIG_AsInt(obj1);
16847 if (PyErr_Occurred()) SWIG_fail;
994141e6 16848 }
d14a1e28
RD
16849 {
16850 PyThreadState* __tstate = wxPyBeginAllowThreads();
16851 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
16852
16853 wxPyEndAllowThreads(__tstate);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
15afbcd0 16856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
d14a1e28
RD
16857 return resultobj;
16858 fail:
16859 return NULL;
16860}
16861
16862
16863static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16864 PyObject *resultobj;
16865 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16866 wxWindow *result;
16867 PyObject * obj0 = 0 ;
16868 char *kwnames[] = {
16869 (char *) "self", NULL
16870 };
16871
16872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16875 {
16876 PyThreadState* __tstate = wxPyBeginAllowThreads();
16877 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
16878
16879 wxPyEndAllowThreads(__tstate);
16880 if (PyErr_Occurred()) SWIG_fail;
16881 }
16882 {
16883 resultobj = wxPyMake_wxObject(result);
16884 }
16885 return resultobj;
16886 fail:
16887 return NULL;
16888}
16889
16890
16891static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16892 PyObject *resultobj;
16893 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16894 wxWindow *arg2 = (wxWindow *) 0 ;
16895 PyObject * obj0 = 0 ;
16896 PyObject * obj1 = 0 ;
16897 char *kwnames[] = {
16898 (char *) "self",(char *) "win", NULL
16899 };
16900
16901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16906 {
16907 PyThreadState* __tstate = wxPyBeginAllowThreads();
16908 (arg1)->SetWindow(arg2);
16909
16910 wxPyEndAllowThreads(__tstate);
16911 if (PyErr_Occurred()) SWIG_fail;
16912 }
16913 Py_INCREF(Py_None); resultobj = Py_None;
16914 return resultobj;
16915 fail:
16916 return NULL;
16917}
16918
16919
16920static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
16921 PyObject *obj;
16922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16923 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
16924 Py_INCREF(obj);
16925 return Py_BuildValue((char *)"");
16926}
16927static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16928 PyObject *resultobj;
16929 wxWindow *arg1 = (wxWindow *) NULL ;
16930 wxChildFocusEvent *result;
16931 PyObject * obj0 = 0 ;
16932 char *kwnames[] = {
16933 (char *) "win", NULL
16934 };
16935
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
16937 if (obj0) {
15afbcd0
RD
16938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16940 }
16941 {
16942 PyThreadState* __tstate = wxPyBeginAllowThreads();
16943 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
16944
16945 wxPyEndAllowThreads(__tstate);
16946 if (PyErr_Occurred()) SWIG_fail;
16947 }
15afbcd0 16948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
d14a1e28
RD
16949 return resultobj;
16950 fail:
16951 return NULL;
16952}
16953
16954
16955static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16956 PyObject *resultobj;
16957 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
16958 wxWindow *result;
16959 PyObject * obj0 = 0 ;
16960 char *kwnames[] = {
16961 (char *) "self", NULL
16962 };
16963
16964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
16966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16967 {
16968 PyThreadState* __tstate = wxPyBeginAllowThreads();
16969 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
16970
16971 wxPyEndAllowThreads(__tstate);
16972 if (PyErr_Occurred()) SWIG_fail;
16973 }
16974 {
16975 resultobj = wxPyMake_wxObject(result);
16976 }
16977 return resultobj;
16978 fail:
16979 return NULL;
16980}
16981
16982
16983static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
16984 PyObject *obj;
16985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16986 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
16987 Py_INCREF(obj);
16988 return Py_BuildValue((char *)"");
16989}
16990static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16991 PyObject *resultobj;
16992 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 16993 bool arg2 = (bool) True ;
d14a1e28
RD
16994 int arg3 = (int) 0 ;
16995 wxActivateEvent *result;
994141e6 16996 PyObject * obj0 = 0 ;
d14a1e28 16997 PyObject * obj1 = 0 ;
994141e6 16998 PyObject * obj2 = 0 ;
d14a1e28
RD
16999 char *kwnames[] = {
17000 (char *) "type",(char *) "active",(char *) "Id", NULL
17001 };
17002
994141e6
RD
17003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17004 if (obj0) {
15afbcd0
RD
17005 arg1 = (wxEventType) SWIG_AsInt(obj0);
17006 if (PyErr_Occurred()) SWIG_fail;
994141e6 17007 }
d14a1e28 17008 if (obj1) {
15afbcd0
RD
17009 arg2 = (bool) SWIG_AsBool(obj1);
17010 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17011 }
17012 if (obj2) {
15afbcd0
RD
17013 arg3 = (int) SWIG_AsInt(obj2);
17014 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17015 }
17016 {
17017 PyThreadState* __tstate = wxPyBeginAllowThreads();
17018 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
17019
17020 wxPyEndAllowThreads(__tstate);
17021 if (PyErr_Occurred()) SWIG_fail;
17022 }
15afbcd0 17023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
d14a1e28
RD
17024 return resultobj;
17025 fail:
17026 return NULL;
17027}
17028
17029
17030static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17031 PyObject *resultobj;
17032 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
17033 bool result;
17034 PyObject * obj0 = 0 ;
17035 char *kwnames[] = {
17036 (char *) "self", NULL
17037 };
17038
17039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
17040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
17041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17042 {
17043 PyThreadState* __tstate = wxPyBeginAllowThreads();
17044 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
17045
17046 wxPyEndAllowThreads(__tstate);
17047 if (PyErr_Occurred()) SWIG_fail;
17048 }
4f89f6a3
RD
17049 {
17050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17051 }
d14a1e28
RD
17052 return resultobj;
17053 fail:
17054 return NULL;
17055}
17056
17057
17058static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
17059 PyObject *obj;
17060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17061 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
17062 Py_INCREF(obj);
17063 return Py_BuildValue((char *)"");
17064}
17065static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17066 PyObject *resultobj;
17067 int arg1 = (int) 0 ;
17068 wxInitDialogEvent *result;
994141e6 17069 PyObject * obj0 = 0 ;
d14a1e28
RD
17070 char *kwnames[] = {
17071 (char *) "Id", NULL
17072 };
17073
994141e6
RD
17074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
17075 if (obj0) {
15afbcd0
RD
17076 arg1 = (int) SWIG_AsInt(obj0);
17077 if (PyErr_Occurred()) SWIG_fail;
994141e6 17078 }
d14a1e28
RD
17079 {
17080 PyThreadState* __tstate = wxPyBeginAllowThreads();
17081 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
17082
17083 wxPyEndAllowThreads(__tstate);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 }
15afbcd0 17086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
d14a1e28
RD
17087 return resultobj;
17088 fail:
17089 return NULL;
17090}
17091
17092
17093static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
17094 PyObject *obj;
17095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17096 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
17097 Py_INCREF(obj);
17098 return Py_BuildValue((char *)"");
17099}
17100static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17101 PyObject *resultobj;
17102 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17103 int arg2 = (int) 0 ;
17104 wxMenu *arg3 = (wxMenu *) NULL ;
17105 wxMenuEvent *result;
994141e6
RD
17106 PyObject * obj0 = 0 ;
17107 PyObject * obj1 = 0 ;
d14a1e28
RD
17108 PyObject * obj2 = 0 ;
17109 char *kwnames[] = {
17110 (char *) "type",(char *) "winid",(char *) "menu", NULL
17111 };
17112
994141e6
RD
17113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17114 if (obj0) {
15afbcd0
RD
17115 arg1 = (wxEventType) SWIG_AsInt(obj0);
17116 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17117 }
17118 if (obj1) {
15afbcd0
RD
17119 arg2 = (int) SWIG_AsInt(obj1);
17120 if (PyErr_Occurred()) SWIG_fail;
994141e6 17121 }
d14a1e28 17122 if (obj2) {
15afbcd0
RD
17123 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17125 }
17126 {
17127 PyThreadState* __tstate = wxPyBeginAllowThreads();
17128 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17129
17130 wxPyEndAllowThreads(__tstate);
17131 if (PyErr_Occurred()) SWIG_fail;
17132 }
15afbcd0 17133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
d14a1e28
RD
17134 return resultobj;
17135 fail:
17136 return NULL;
17137}
17138
17139
17140static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
17141 PyObject *resultobj;
17142 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17143 int result;
17144 PyObject * obj0 = 0 ;
17145 char *kwnames[] = {
17146 (char *) "self", NULL
17147 };
17148
17149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15afbcd0
RD
17150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17152 {
17153 PyThreadState* __tstate = wxPyBeginAllowThreads();
17154 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17155
17156 wxPyEndAllowThreads(__tstate);
17157 if (PyErr_Occurred()) SWIG_fail;
17158 }
15afbcd0 17159 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17160 return resultobj;
17161 fail:
17162 return NULL;
17163}
17164
17165
17166static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
17167 PyObject *resultobj;
17168 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17169 bool result;
17170 PyObject * obj0 = 0 ;
17171 char *kwnames[] = {
17172 (char *) "self", NULL
17173 };
17174
17175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15afbcd0
RD
17176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17178 {
17179 PyThreadState* __tstate = wxPyBeginAllowThreads();
17180 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17181
17182 wxPyEndAllowThreads(__tstate);
17183 if (PyErr_Occurred()) SWIG_fail;
17184 }
4f89f6a3
RD
17185 {
17186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17187 }
d14a1e28
RD
17188 return resultobj;
17189 fail:
17190 return NULL;
17191}
17192
17193
17194static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
17195 PyObject *resultobj;
17196 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17197 wxMenu *result;
17198 PyObject * obj0 = 0 ;
17199 char *kwnames[] = {
17200 (char *) "self", NULL
17201 };
17202
17203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
17204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17206 {
17207 PyThreadState* __tstate = wxPyBeginAllowThreads();
17208 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17209
17210 wxPyEndAllowThreads(__tstate);
17211 if (PyErr_Occurred()) SWIG_fail;
17212 }
17213 {
17214 resultobj = wxPyMake_wxObject(result);
17215 }
17216 return resultobj;
17217 fail:
17218 return NULL;
17219}
17220
17221
17222static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
17223 PyObject *obj;
17224 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17225 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17226 Py_INCREF(obj);
17227 return Py_BuildValue((char *)"");
17228}
17229static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17230 PyObject *resultobj;
17231 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17232 int arg2 = (int) 0 ;
17233 wxCloseEvent *result;
994141e6
RD
17234 PyObject * obj0 = 0 ;
17235 PyObject * obj1 = 0 ;
d14a1e28
RD
17236 char *kwnames[] = {
17237 (char *) "type",(char *) "winid", NULL
17238 };
17239
994141e6
RD
17240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17241 if (obj0) {
15afbcd0
RD
17242 arg1 = (wxEventType) SWIG_AsInt(obj0);
17243 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17244 }
17245 if (obj1) {
15afbcd0
RD
17246 arg2 = (int) SWIG_AsInt(obj1);
17247 if (PyErr_Occurred()) SWIG_fail;
994141e6 17248 }
d14a1e28
RD
17249 {
17250 PyThreadState* __tstate = wxPyBeginAllowThreads();
17251 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17252
17253 wxPyEndAllowThreads(__tstate);
17254 if (PyErr_Occurred()) SWIG_fail;
17255 }
15afbcd0 17256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
d14a1e28
RD
17257 return resultobj;
17258 fail:
17259 return NULL;
17260}
17261
17262
17263static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17264 PyObject *resultobj;
17265 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17266 bool arg2 ;
17267 PyObject * obj0 = 0 ;
17268 PyObject * obj1 = 0 ;
17269 char *kwnames[] = {
17270 (char *) "self",(char *) "logOff", NULL
17271 };
17272
17273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17276 arg2 = (bool) SWIG_AsBool(obj1);
17277 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17278 {
17279 PyThreadState* __tstate = wxPyBeginAllowThreads();
17280 (arg1)->SetLoggingOff(arg2);
17281
17282 wxPyEndAllowThreads(__tstate);
17283 if (PyErr_Occurred()) SWIG_fail;
17284 }
17285 Py_INCREF(Py_None); resultobj = Py_None;
17286 return resultobj;
17287 fail:
17288 return NULL;
17289}
17290
17291
17292static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17293 PyObject *resultobj;
17294 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17295 bool result;
17296 PyObject * obj0 = 0 ;
17297 char *kwnames[] = {
17298 (char *) "self", NULL
17299 };
17300
17301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15afbcd0
RD
17302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17304 {
17305 PyThreadState* __tstate = wxPyBeginAllowThreads();
17306 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17307
17308 wxPyEndAllowThreads(__tstate);
17309 if (PyErr_Occurred()) SWIG_fail;
17310 }
4f89f6a3
RD
17311 {
17312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17313 }
d14a1e28
RD
17314 return resultobj;
17315 fail:
17316 return NULL;
17317}
17318
17319
17320static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
17321 PyObject *resultobj;
17322 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
e811c8ce 17323 bool arg2 = (bool) True ;
d14a1e28
RD
17324 PyObject * obj0 = 0 ;
17325 PyObject * obj1 = 0 ;
17326 char *kwnames[] = {
17327 (char *) "self",(char *) "veto", NULL
17328 };
17329
17330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 17333 if (obj1) {
15afbcd0
RD
17334 arg2 = (bool) SWIG_AsBool(obj1);
17335 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17336 }
17337 {
17338 PyThreadState* __tstate = wxPyBeginAllowThreads();
17339 (arg1)->Veto(arg2);
17340
17341 wxPyEndAllowThreads(__tstate);
17342 if (PyErr_Occurred()) SWIG_fail;
17343 }
17344 Py_INCREF(Py_None); resultobj = Py_None;
17345 return resultobj;
17346 fail:
17347 return NULL;
17348}
17349
17350
17351static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17352 PyObject *resultobj;
17353 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17354 bool arg2 ;
17355 PyObject * obj0 = 0 ;
17356 PyObject * obj1 = 0 ;
17357 char *kwnames[] = {
17358 (char *) "self",(char *) "canVeto", NULL
17359 };
17360
17361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17364 arg2 = (bool) SWIG_AsBool(obj1);
17365 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17366 {
17367 PyThreadState* __tstate = wxPyBeginAllowThreads();
17368 (arg1)->SetCanVeto(arg2);
17369
17370 wxPyEndAllowThreads(__tstate);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 }
17373 Py_INCREF(Py_None); resultobj = Py_None;
17374 return resultobj;
17375 fail:
17376 return NULL;
17377}
17378
17379
17380static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17381 PyObject *resultobj;
17382 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17383 bool result;
17384 PyObject * obj0 = 0 ;
17385 char *kwnames[] = {
17386 (char *) "self", NULL
17387 };
17388
17389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17392 {
17393 PyThreadState* __tstate = wxPyBeginAllowThreads();
17394 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17395
17396 wxPyEndAllowThreads(__tstate);
17397 if (PyErr_Occurred()) SWIG_fail;
17398 }
4f89f6a3
RD
17399 {
17400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17401 }
d14a1e28
RD
17402 return resultobj;
17403 fail:
17404 return NULL;
17405}
17406
17407
17408static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17409 PyObject *resultobj;
17410 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17411 bool result;
17412 PyObject * obj0 = 0 ;
17413 char *kwnames[] = {
17414 (char *) "self", NULL
17415 };
17416
17417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17420 {
17421 PyThreadState* __tstate = wxPyBeginAllowThreads();
17422 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17423
17424 wxPyEndAllowThreads(__tstate);
17425 if (PyErr_Occurred()) SWIG_fail;
17426 }
4f89f6a3
RD
17427 {
17428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17429 }
d14a1e28
RD
17430 return resultobj;
17431 fail:
17432 return NULL;
17433}
17434
17435
17436static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
17437 PyObject *obj;
17438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17439 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17440 Py_INCREF(obj);
17441 return Py_BuildValue((char *)"");
17442}
17443static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17444 PyObject *resultobj;
17445 int arg1 = (int) 0 ;
e811c8ce 17446 bool arg2 = (bool) False ;
d14a1e28 17447 wxShowEvent *result;
994141e6 17448 PyObject * obj0 = 0 ;
d14a1e28
RD
17449 PyObject * obj1 = 0 ;
17450 char *kwnames[] = {
17451 (char *) "winid",(char *) "show", NULL
17452 };
17453
994141e6
RD
17454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17455 if (obj0) {
15afbcd0
RD
17456 arg1 = (int) SWIG_AsInt(obj0);
17457 if (PyErr_Occurred()) SWIG_fail;
994141e6 17458 }
d14a1e28 17459 if (obj1) {
15afbcd0
RD
17460 arg2 = (bool) SWIG_AsBool(obj1);
17461 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17462 }
17463 {
17464 PyThreadState* __tstate = wxPyBeginAllowThreads();
17465 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17466
17467 wxPyEndAllowThreads(__tstate);
17468 if (PyErr_Occurred()) SWIG_fail;
17469 }
15afbcd0 17470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
d14a1e28
RD
17471 return resultobj;
17472 fail:
17473 return NULL;
17474}
17475
17476
17477static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17478 PyObject *resultobj;
17479 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17480 bool arg2 ;
17481 PyObject * obj0 = 0 ;
17482 PyObject * obj1 = 0 ;
17483 char *kwnames[] = {
17484 (char *) "self",(char *) "show", NULL
17485 };
17486
17487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17490 arg2 = (bool) SWIG_AsBool(obj1);
17491 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17492 {
17493 PyThreadState* __tstate = wxPyBeginAllowThreads();
17494 (arg1)->SetShow(arg2);
17495
17496 wxPyEndAllowThreads(__tstate);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 }
17499 Py_INCREF(Py_None); resultobj = Py_None;
17500 return resultobj;
17501 fail:
17502 return NULL;
17503}
17504
17505
17506static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17507 PyObject *resultobj;
17508 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17509 bool result;
17510 PyObject * obj0 = 0 ;
17511 char *kwnames[] = {
17512 (char *) "self", NULL
17513 };
17514
17515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17518 {
17519 PyThreadState* __tstate = wxPyBeginAllowThreads();
17520 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17521
17522 wxPyEndAllowThreads(__tstate);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 }
4f89f6a3
RD
17525 {
17526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17527 }
d14a1e28
RD
17528 return resultobj;
17529 fail:
17530 return NULL;
17531}
17532
17533
17534static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
17535 PyObject *obj;
17536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17537 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17538 Py_INCREF(obj);
17539 return Py_BuildValue((char *)"");
17540}
17541static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17542 PyObject *resultobj;
17543 int arg1 = (int) 0 ;
e811c8ce 17544 bool arg2 = (bool) True ;
d14a1e28 17545 wxIconizeEvent *result;
994141e6 17546 PyObject * obj0 = 0 ;
d14a1e28
RD
17547 PyObject * obj1 = 0 ;
17548 char *kwnames[] = {
17549 (char *) "id",(char *) "iconized", NULL
17550 };
17551
994141e6
RD
17552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17553 if (obj0) {
15afbcd0
RD
17554 arg1 = (int) SWIG_AsInt(obj0);
17555 if (PyErr_Occurred()) SWIG_fail;
994141e6 17556 }
d14a1e28 17557 if (obj1) {
15afbcd0
RD
17558 arg2 = (bool) SWIG_AsBool(obj1);
17559 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17560 }
17561 {
17562 PyThreadState* __tstate = wxPyBeginAllowThreads();
17563 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
17564
17565 wxPyEndAllowThreads(__tstate);
17566 if (PyErr_Occurred()) SWIG_fail;
17567 }
15afbcd0 17568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
d14a1e28
RD
17569 return resultobj;
17570 fail:
17571 return NULL;
17572}
17573
17574
17575static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
17576 PyObject *resultobj;
17577 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17578 bool result;
17579 PyObject * obj0 = 0 ;
17580 char *kwnames[] = {
17581 (char *) "self", NULL
17582 };
17583
17584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15afbcd0
RD
17585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
17586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17587 {
17588 PyThreadState* __tstate = wxPyBeginAllowThreads();
17589 result = (bool)(arg1)->Iconized();
17590
17591 wxPyEndAllowThreads(__tstate);
17592 if (PyErr_Occurred()) SWIG_fail;
17593 }
4f89f6a3
RD
17594 {
17595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17596 }
d14a1e28
RD
17597 return resultobj;
17598 fail:
17599 return NULL;
17600}
17601
17602
17603static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
17604 PyObject *obj;
17605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17606 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17607 Py_INCREF(obj);
17608 return Py_BuildValue((char *)"");
17609}
17610static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17611 PyObject *resultobj;
17612 int arg1 = (int) 0 ;
17613 wxMaximizeEvent *result;
994141e6 17614 PyObject * obj0 = 0 ;
d14a1e28
RD
17615 char *kwnames[] = {
17616 (char *) "id", NULL
17617 };
17618
994141e6
RD
17619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17620 if (obj0) {
15afbcd0
RD
17621 arg1 = (int) SWIG_AsInt(obj0);
17622 if (PyErr_Occurred()) SWIG_fail;
994141e6 17623 }
d14a1e28
RD
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
17626 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17627
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
15afbcd0 17631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
d14a1e28
RD
17632 return resultobj;
17633 fail:
17634 return NULL;
17635}
17636
17637
17638static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
17639 PyObject *obj;
17640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17641 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17642 Py_INCREF(obj);
17643 return Py_BuildValue((char *)"");
17644}
17645static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17646 PyObject *resultobj;
17647 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17648 wxPoint result;
17649 PyObject * obj0 = 0 ;
17650 char *kwnames[] = {
17651 (char *) "self", NULL
17652 };
17653
17654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
17655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17657 {
17658 PyThreadState* __tstate = wxPyBeginAllowThreads();
17659 result = (arg1)->GetPosition();
17660
17661 wxPyEndAllowThreads(__tstate);
17662 if (PyErr_Occurred()) SWIG_fail;
17663 }
17664 {
17665 wxPoint * resultptr;
17666 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 17667 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
17668 }
17669 return resultobj;
17670 fail:
17671 return NULL;
17672}
17673
17674
17675static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17676 PyObject *resultobj;
17677 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17678 int result;
17679 PyObject * obj0 = 0 ;
17680 char *kwnames[] = {
17681 (char *) "self", NULL
17682 };
17683
17684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
17685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17687 {
17688 PyThreadState* __tstate = wxPyBeginAllowThreads();
17689 result = (int)(arg1)->GetNumberOfFiles();
17690
17691 wxPyEndAllowThreads(__tstate);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
15afbcd0 17694 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17695 return resultobj;
17696 fail:
17697 return NULL;
17698}
17699
17700
17701static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17702 PyObject *resultobj;
17703 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17704 PyObject *result;
17705 PyObject * obj0 = 0 ;
17706 char *kwnames[] = {
17707 (char *) "self", NULL
17708 };
17709
17710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
17711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17713 {
17714 PyThreadState* __tstate = wxPyBeginAllowThreads();
17715 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17716
17717 wxPyEndAllowThreads(__tstate);
17718 if (PyErr_Occurred()) SWIG_fail;
17719 }
17720 resultobj = result;
17721 return resultobj;
17722 fail:
17723 return NULL;
17724}
17725
17726
17727static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
17728 PyObject *obj;
17729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17730 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17731 Py_INCREF(obj);
17732 return Py_BuildValue((char *)"");
17733}
17734static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17735 PyObject *resultobj;
e811c8ce 17736 int arg1 = (int) 0 ;
d14a1e28 17737 wxUpdateUIEvent *result;
994141e6 17738 PyObject * obj0 = 0 ;
d14a1e28
RD
17739 char *kwnames[] = {
17740 (char *) "commandId", NULL
17741 };
17742
994141e6
RD
17743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17744 if (obj0) {
15afbcd0
RD
17745 arg1 = (int) SWIG_AsInt(obj0);
17746 if (PyErr_Occurred()) SWIG_fail;
994141e6 17747 }
d14a1e28
RD
17748 {
17749 PyThreadState* __tstate = wxPyBeginAllowThreads();
17750 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17751
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
15afbcd0 17755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
d14a1e28
RD
17756 return resultobj;
17757 fail:
17758 return NULL;
17759}
17760
17761
17762static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17763 PyObject *resultobj;
17764 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 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:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
17772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17774 {
17775 PyThreadState* __tstate = wxPyBeginAllowThreads();
17776 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
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 *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17791 PyObject *resultobj;
17792 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17793 bool result;
17794 PyObject * obj0 = 0 ;
17795 char *kwnames[] = {
17796 (char *) "self", NULL
17797 };
17798
17799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
17800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17802 {
17803 PyThreadState* __tstate = wxPyBeginAllowThreads();
17804 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17805
17806 wxPyEndAllowThreads(__tstate);
17807 if (PyErr_Occurred()) SWIG_fail;
17808 }
4f89f6a3
RD
17809 {
17810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17811 }
d14a1e28
RD
17812 return resultobj;
17813 fail:
17814 return NULL;
17815}
17816
17817
17818static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17819 PyObject *resultobj;
17820 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17821 wxString result;
17822 PyObject * obj0 = 0 ;
17823 char *kwnames[] = {
17824 (char *) "self", NULL
17825 };
17826
17827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
17828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17830 {
17831 PyThreadState* __tstate = wxPyBeginAllowThreads();
17832 result = ((wxUpdateUIEvent const *)arg1)->GetText();
17833
17834 wxPyEndAllowThreads(__tstate);
17835 if (PyErr_Occurred()) SWIG_fail;
17836 }
17837 {
17838#if wxUSE_UNICODE
17839 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17840#else
17841 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17842#endif
17843 }
17844 return resultobj;
17845 fail:
17846 return NULL;
17847}
17848
17849
17850static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj;
17852 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17853 bool result;
17854 PyObject * obj0 = 0 ;
17855 char *kwnames[] = {
17856 (char *) "self", NULL
17857 };
17858
17859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
17860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
17865
17866 wxPyEndAllowThreads(__tstate);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
4f89f6a3
RD
17869 {
17870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17871 }
d14a1e28
RD
17872 return resultobj;
17873 fail:
17874 return NULL;
17875}
17876
17877
17878static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17879 PyObject *resultobj;
17880 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17881 bool result;
17882 PyObject * obj0 = 0 ;
17883 char *kwnames[] = {
17884 (char *) "self", NULL
17885 };
17886
17887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
17888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17890 {
17891 PyThreadState* __tstate = wxPyBeginAllowThreads();
17892 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
17893
17894 wxPyEndAllowThreads(__tstate);
17895 if (PyErr_Occurred()) SWIG_fail;
17896 }
4f89f6a3
RD
17897 {
17898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17899 }
d14a1e28
RD
17900 return resultobj;
17901 fail:
17902 return NULL;
17903}
17904
17905
17906static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17907 PyObject *resultobj;
17908 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17909 bool result;
17910 PyObject * obj0 = 0 ;
17911 char *kwnames[] = {
17912 (char *) "self", NULL
17913 };
17914
17915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
17916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17918 {
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
17921
17922 wxPyEndAllowThreads(__tstate);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 }
4f89f6a3
RD
17925 {
17926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17927 }
d14a1e28
RD
17928 return resultobj;
17929 fail:
17930 return NULL;
17931}
17932
17933
17934static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
17935 PyObject *resultobj;
17936 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17937 bool arg2 ;
17938 PyObject * obj0 = 0 ;
17939 PyObject * obj1 = 0 ;
17940 char *kwnames[] = {
17941 (char *) "self",(char *) "check", NULL
17942 };
17943
17944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17947 arg2 = (bool) SWIG_AsBool(obj1);
17948 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17949 {
17950 PyThreadState* __tstate = wxPyBeginAllowThreads();
17951 (arg1)->Check(arg2);
17952
17953 wxPyEndAllowThreads(__tstate);
17954 if (PyErr_Occurred()) SWIG_fail;
17955 }
17956 Py_INCREF(Py_None); resultobj = Py_None;
17957 return resultobj;
17958 fail:
17959 return NULL;
17960}
17961
17962
17963static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
17964 PyObject *resultobj;
17965 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17966 bool arg2 ;
17967 PyObject * obj0 = 0 ;
17968 PyObject * obj1 = 0 ;
17969 char *kwnames[] = {
17970 (char *) "self",(char *) "enable", NULL
17971 };
17972
17973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17976 arg2 = (bool) SWIG_AsBool(obj1);
17977 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17978 {
17979 PyThreadState* __tstate = wxPyBeginAllowThreads();
17980 (arg1)->Enable(arg2);
17981
17982 wxPyEndAllowThreads(__tstate);
17983 if (PyErr_Occurred()) SWIG_fail;
17984 }
17985 Py_INCREF(Py_None); resultobj = Py_None;
17986 return resultobj;
17987 fail:
17988 return NULL;
17989}
17990
17991
17992static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17993 PyObject *resultobj;
17994 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17995 wxString *arg2 = 0 ;
e811c8ce 17996 bool temp2 = False ;
d14a1e28
RD
17997 PyObject * obj0 = 0 ;
17998 PyObject * obj1 = 0 ;
17999 char *kwnames[] = {
18000 (char *) "self",(char *) "text", NULL
18001 };
18002
18003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18006 {
18007 arg2 = wxString_in_helper(obj1);
18008 if (arg2 == NULL) SWIG_fail;
e811c8ce 18009 temp2 = True;
d14a1e28
RD
18010 }
18011 {
18012 PyThreadState* __tstate = wxPyBeginAllowThreads();
18013 (arg1)->SetText((wxString const &)*arg2);
18014
18015 wxPyEndAllowThreads(__tstate);
18016 if (PyErr_Occurred()) SWIG_fail;
18017 }
18018 Py_INCREF(Py_None); resultobj = Py_None;
18019 {
18020 if (temp2)
18021 delete arg2;
18022 }
18023 return resultobj;
18024 fail:
18025 {
18026 if (temp2)
18027 delete arg2;
18028 }
18029 return NULL;
18030}
18031
18032
18033static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18034 PyObject *resultobj;
18035 long arg1 ;
994141e6 18036 PyObject * obj0 = 0 ;
d14a1e28
RD
18037 char *kwnames[] = {
18038 (char *) "updateInterval", NULL
18039 };
18040
994141e6 18041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
15afbcd0
RD
18042 arg1 = (long) SWIG_AsLong(obj0);
18043 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18044 {
18045 PyThreadState* __tstate = wxPyBeginAllowThreads();
18046 wxUpdateUIEvent::SetUpdateInterval(arg1);
18047
18048 wxPyEndAllowThreads(__tstate);
18049 if (PyErr_Occurred()) SWIG_fail;
18050 }
18051 Py_INCREF(Py_None); resultobj = Py_None;
18052 return resultobj;
18053 fail:
18054 return NULL;
18055}
18056
18057
18058static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18059 PyObject *resultobj;
18060 long result;
18061 char *kwnames[] = {
18062 NULL
18063 };
18064
18065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
18066 {
18067 PyThreadState* __tstate = wxPyBeginAllowThreads();
18068 result = (long)wxUpdateUIEvent::GetUpdateInterval();
18069
18070 wxPyEndAllowThreads(__tstate);
18071 if (PyErr_Occurred()) SWIG_fail;
18072 }
15afbcd0 18073 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18074 return resultobj;
18075 fail:
18076 return NULL;
18077}
18078
18079
18080static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
18081 PyObject *resultobj;
18082 wxWindow *arg1 = (wxWindow *) 0 ;
18083 bool result;
18084 PyObject * obj0 = 0 ;
18085 char *kwnames[] = {
18086 (char *) "win", NULL
18087 };
18088
18089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
15afbcd0
RD
18090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18092 {
18093 PyThreadState* __tstate = wxPyBeginAllowThreads();
18094 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
18095
18096 wxPyEndAllowThreads(__tstate);
18097 if (PyErr_Occurred()) SWIG_fail;
18098 }
4f89f6a3
RD
18099 {
18100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18101 }
d14a1e28
RD
18102 return resultobj;
18103 fail:
18104 return NULL;
18105}
18106
18107
18108static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18109 PyObject *resultobj;
18110 char *kwnames[] = {
18111 NULL
18112 };
18113
18114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18115 {
18116 PyThreadState* __tstate = wxPyBeginAllowThreads();
18117 wxUpdateUIEvent::ResetUpdateTime();
18118
18119 wxPyEndAllowThreads(__tstate);
18120 if (PyErr_Occurred()) SWIG_fail;
18121 }
18122 Py_INCREF(Py_None); resultobj = Py_None;
18123 return resultobj;
18124 fail:
18125 return NULL;
18126}
18127
18128
18129static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18130 PyObject *resultobj;
18131 int arg1 ;
994141e6 18132 PyObject * obj0 = 0 ;
d14a1e28
RD
18133 char *kwnames[] = {
18134 (char *) "mode", NULL
18135 };
18136
994141e6 18137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
18138 arg1 = (wxUpdateUIMode) SWIG_AsInt(obj0);
18139 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18140 {
18141 PyThreadState* __tstate = wxPyBeginAllowThreads();
18142 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18143
18144 wxPyEndAllowThreads(__tstate);
18145 if (PyErr_Occurred()) SWIG_fail;
18146 }
18147 Py_INCREF(Py_None); resultobj = Py_None;
18148 return resultobj;
18149 fail:
18150 return NULL;
18151}
18152
18153
18154static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18155 PyObject *resultobj;
18156 int result;
18157 char *kwnames[] = {
18158 NULL
18159 };
18160
18161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18162 {
18163 PyThreadState* __tstate = wxPyBeginAllowThreads();
18164 result = (int)wxUpdateUIEvent::GetMode();
18165
18166 wxPyEndAllowThreads(__tstate);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 }
15afbcd0 18169 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18170 return resultobj;
18171 fail:
18172 return NULL;
18173}
18174
18175
18176static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
18177 PyObject *obj;
18178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18179 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18180 Py_INCREF(obj);
18181 return Py_BuildValue((char *)"");
18182}
18183static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18184 PyObject *resultobj;
18185 wxSysColourChangedEvent *result;
18186 char *kwnames[] = {
18187 NULL
18188 };
18189
18190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18191 {
18192 PyThreadState* __tstate = wxPyBeginAllowThreads();
18193 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18194
18195 wxPyEndAllowThreads(__tstate);
18196 if (PyErr_Occurred()) SWIG_fail;
18197 }
15afbcd0 18198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
d14a1e28
RD
18199 return resultobj;
18200 fail:
18201 return NULL;
18202}
18203
18204
18205static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
18206 PyObject *obj;
18207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18208 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18209 Py_INCREF(obj);
18210 return Py_BuildValue((char *)"");
18211}
18212static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18213 PyObject *resultobj;
e811c8ce 18214 int arg1 = (int) 0 ;
d14a1e28
RD
18215 wxWindow *arg2 = (wxWindow *) NULL ;
18216 wxMouseCaptureChangedEvent *result;
994141e6 18217 PyObject * obj0 = 0 ;
d14a1e28
RD
18218 PyObject * obj1 = 0 ;
18219 char *kwnames[] = {
18220 (char *) "winid",(char *) "gainedCapture", NULL
18221 };
18222
994141e6
RD
18223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18224 if (obj0) {
15afbcd0
RD
18225 arg1 = (int) SWIG_AsInt(obj0);
18226 if (PyErr_Occurred()) SWIG_fail;
994141e6 18227 }
d14a1e28 18228 if (obj1) {
15afbcd0
RD
18229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18231 }
18232 {
18233 PyThreadState* __tstate = wxPyBeginAllowThreads();
18234 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18235
18236 wxPyEndAllowThreads(__tstate);
18237 if (PyErr_Occurred()) SWIG_fail;
18238 }
15afbcd0 18239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
d14a1e28
RD
18240 return resultobj;
18241 fail:
18242 return NULL;
18243}
18244
18245
18246static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18247 PyObject *resultobj;
18248 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18249 wxWindow *result;
18250 PyObject * obj0 = 0 ;
18251 char *kwnames[] = {
18252 (char *) "self", NULL
18253 };
18254
18255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18258 {
18259 PyThreadState* __tstate = wxPyBeginAllowThreads();
18260 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18261
18262 wxPyEndAllowThreads(__tstate);
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
18265 {
18266 resultobj = wxPyMake_wxObject(result);
18267 }
18268 return resultobj;
18269 fail:
18270 return NULL;
18271}
18272
18273
18274static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
18275 PyObject *obj;
18276 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18277 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18278 Py_INCREF(obj);
18279 return Py_BuildValue((char *)"");
18280}
18281static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18282 PyObject *resultobj;
18283 wxDisplayChangedEvent *result;
18284 char *kwnames[] = {
18285 NULL
18286 };
18287
18288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18289 {
18290 PyThreadState* __tstate = wxPyBeginAllowThreads();
18291 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18292
18293 wxPyEndAllowThreads(__tstate);
18294 if (PyErr_Occurred()) SWIG_fail;
18295 }
15afbcd0 18296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
d14a1e28
RD
18297 return resultobj;
18298 fail:
18299 return NULL;
18300}
18301
18302
18303static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
18304 PyObject *obj;
18305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18306 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18307 Py_INCREF(obj);
18308 return Py_BuildValue((char *)"");
18309}
18310static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18311 PyObject *resultobj;
e811c8ce 18312 int arg1 = (int) 0 ;
d14a1e28 18313 wxPaletteChangedEvent *result;
994141e6 18314 PyObject * obj0 = 0 ;
d14a1e28
RD
18315 char *kwnames[] = {
18316 (char *) "id", NULL
18317 };
18318
994141e6
RD
18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18320 if (obj0) {
15afbcd0
RD
18321 arg1 = (int) SWIG_AsInt(obj0);
18322 if (PyErr_Occurred()) SWIG_fail;
994141e6 18323 }
d14a1e28
RD
18324 {
18325 PyThreadState* __tstate = wxPyBeginAllowThreads();
18326 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18327
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
15afbcd0 18331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
d14a1e28
RD
18332 return resultobj;
18333 fail:
18334 return NULL;
18335}
18336
18337
18338static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18339 PyObject *resultobj;
18340 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18341 wxWindow *arg2 = (wxWindow *) 0 ;
18342 PyObject * obj0 = 0 ;
18343 PyObject * obj1 = 0 ;
18344 char *kwnames[] = {
18345 (char *) "self",(char *) "win", NULL
18346 };
18347
18348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 (arg1)->SetChangedWindow(arg2);
18356
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 Py_INCREF(Py_None); resultobj = Py_None;
18361 return resultobj;
18362 fail:
18363 return NULL;
18364}
18365
18366
18367static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj;
18369 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18370 wxWindow *result;
18371 PyObject * obj0 = 0 ;
18372 char *kwnames[] = {
18373 (char *) "self", NULL
18374 };
18375
18376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18379 {
18380 PyThreadState* __tstate = wxPyBeginAllowThreads();
18381 result = (wxWindow *)(arg1)->GetChangedWindow();
18382
18383 wxPyEndAllowThreads(__tstate);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 }
18386 {
18387 resultobj = wxPyMake_wxObject(result);
18388 }
18389 return resultobj;
18390 fail:
18391 return NULL;
18392}
18393
18394
18395static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
18396 PyObject *obj;
18397 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18398 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18399 Py_INCREF(obj);
18400 return Py_BuildValue((char *)"");
18401}
18402static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18403 PyObject *resultobj;
e811c8ce 18404 int arg1 = (int) 0 ;
d14a1e28 18405 wxQueryNewPaletteEvent *result;
994141e6 18406 PyObject * obj0 = 0 ;
d14a1e28
RD
18407 char *kwnames[] = {
18408 (char *) "winid", NULL
18409 };
18410
994141e6
RD
18411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18412 if (obj0) {
15afbcd0
RD
18413 arg1 = (int) SWIG_AsInt(obj0);
18414 if (PyErr_Occurred()) SWIG_fail;
994141e6 18415 }
d14a1e28
RD
18416 {
18417 PyThreadState* __tstate = wxPyBeginAllowThreads();
18418 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18419
18420 wxPyEndAllowThreads(__tstate);
18421 if (PyErr_Occurred()) SWIG_fail;
18422 }
15afbcd0 18423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
d14a1e28
RD
18424 return resultobj;
18425 fail:
18426 return NULL;
18427}
18428
18429
18430static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18431 PyObject *resultobj;
18432 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18433 bool arg2 ;
18434 PyObject * obj0 = 0 ;
18435 PyObject * obj1 = 0 ;
18436 char *kwnames[] = {
18437 (char *) "self",(char *) "realized", NULL
18438 };
18439
18440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18443 arg2 = (bool) SWIG_AsBool(obj1);
18444 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18445 {
18446 PyThreadState* __tstate = wxPyBeginAllowThreads();
18447 (arg1)->SetPaletteRealized(arg2);
18448
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 Py_INCREF(Py_None); resultobj = Py_None;
18453 return resultobj;
18454 fail:
18455 return NULL;
18456}
18457
18458
18459static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18460 PyObject *resultobj;
18461 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18462 bool result;
18463 PyObject * obj0 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
15afbcd0
RD
18469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18474
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
4f89f6a3
RD
18478 {
18479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18480 }
d14a1e28
RD
18481 return resultobj;
18482 fail:
18483 return NULL;
18484}
18485
18486
18487static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
18488 PyObject *obj;
18489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18490 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18491 Py_INCREF(obj);
18492 return Py_BuildValue((char *)"");
18493}
18494static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18495 PyObject *resultobj;
18496 wxNavigationKeyEvent *result;
18497 char *kwnames[] = {
18498 NULL
18499 };
18500
18501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18502 {
18503 PyThreadState* __tstate = wxPyBeginAllowThreads();
18504 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18505
18506 wxPyEndAllowThreads(__tstate);
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
15afbcd0 18509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
d14a1e28
RD
18510 return resultobj;
18511 fail:
18512 return NULL;
18513}
18514
18515
18516static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18517 PyObject *resultobj;
18518 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18519 bool result;
18520 PyObject * obj0 = 0 ;
18521 char *kwnames[] = {
18522 (char *) "self", NULL
18523 };
18524
18525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
18526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18528 {
18529 PyThreadState* __tstate = wxPyBeginAllowThreads();
18530 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18531
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
4f89f6a3
RD
18535 {
18536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18537 }
d14a1e28
RD
18538 return resultobj;
18539 fail:
18540 return NULL;
18541}
18542
18543
18544static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18545 PyObject *resultobj;
18546 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18547 bool arg2 ;
18548 PyObject * obj0 = 0 ;
18549 PyObject * obj1 = 0 ;
18550 char *kwnames[] = {
18551 (char *) "self",(char *) "bForward", NULL
18552 };
18553
18554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18557 arg2 = (bool) SWIG_AsBool(obj1);
18558 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18559 {
18560 PyThreadState* __tstate = wxPyBeginAllowThreads();
18561 (arg1)->SetDirection(arg2);
18562
18563 wxPyEndAllowThreads(__tstate);
18564 if (PyErr_Occurred()) SWIG_fail;
18565 }
18566 Py_INCREF(Py_None); resultobj = Py_None;
18567 return resultobj;
18568 fail:
18569 return NULL;
18570}
18571
18572
18573static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18574 PyObject *resultobj;
18575 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18576 bool result;
18577 PyObject * obj0 = 0 ;
18578 char *kwnames[] = {
18579 (char *) "self", NULL
18580 };
18581
18582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
15afbcd0
RD
18583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18585 {
18586 PyThreadState* __tstate = wxPyBeginAllowThreads();
18587 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
18588
18589 wxPyEndAllowThreads(__tstate);
18590 if (PyErr_Occurred()) SWIG_fail;
18591 }
4f89f6a3
RD
18592 {
18593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18594 }
d14a1e28
RD
18595 return resultobj;
18596 fail:
18597 return NULL;
18598}
18599
18600
18601static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18602 PyObject *resultobj;
18603 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18604 bool arg2 ;
18605 PyObject * obj0 = 0 ;
18606 PyObject * obj1 = 0 ;
18607 char *kwnames[] = {
18608 (char *) "self",(char *) "bIs", NULL
18609 };
18610
18611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18614 arg2 = (bool) SWIG_AsBool(obj1);
18615 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18616 {
18617 PyThreadState* __tstate = wxPyBeginAllowThreads();
18618 (arg1)->SetWindowChange(arg2);
18619
18620 wxPyEndAllowThreads(__tstate);
18621 if (PyErr_Occurred()) SWIG_fail;
18622 }
18623 Py_INCREF(Py_None); resultobj = Py_None;
18624 return resultobj;
18625 fail:
18626 return NULL;
18627}
18628
18629
18630static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18631 PyObject *resultobj;
18632 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18633 wxWindow *result;
18634 PyObject * obj0 = 0 ;
18635 char *kwnames[] = {
18636 (char *) "self", NULL
18637 };
18638
18639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
18640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18642 {
18643 PyThreadState* __tstate = wxPyBeginAllowThreads();
18644 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18645
18646 wxPyEndAllowThreads(__tstate);
18647 if (PyErr_Occurred()) SWIG_fail;
18648 }
18649 {
18650 resultobj = wxPyMake_wxObject(result);
18651 }
18652 return resultobj;
18653 fail:
18654 return NULL;
18655}
18656
18657
18658static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18659 PyObject *resultobj;
18660 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18661 wxWindow *arg2 = (wxWindow *) 0 ;
18662 PyObject * obj0 = 0 ;
18663 PyObject * obj1 = 0 ;
18664 char *kwnames[] = {
18665 (char *) "self",(char *) "win", NULL
18666 };
18667
18668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18673 {
18674 PyThreadState* __tstate = wxPyBeginAllowThreads();
18675 (arg1)->SetCurrentFocus(arg2);
18676
18677 wxPyEndAllowThreads(__tstate);
18678 if (PyErr_Occurred()) SWIG_fail;
18679 }
18680 Py_INCREF(Py_None); resultobj = Py_None;
18681 return resultobj;
18682 fail:
18683 return NULL;
18684}
18685
18686
18687static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
18688 PyObject *obj;
18689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18690 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18691 Py_INCREF(obj);
18692 return Py_BuildValue((char *)"");
18693}
18694static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj;
18696 wxWindow *arg1 = (wxWindow *) NULL ;
18697 wxWindowCreateEvent *result;
18698 PyObject * obj0 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "win", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18704 if (obj0) {
15afbcd0
RD
18705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18707 }
18708 {
18709 PyThreadState* __tstate = wxPyBeginAllowThreads();
18710 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18711
18712 wxPyEndAllowThreads(__tstate);
18713 if (PyErr_Occurred()) SWIG_fail;
18714 }
15afbcd0 18715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
d14a1e28
RD
18716 return resultobj;
18717 fail:
18718 return NULL;
18719}
18720
18721
18722static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18723 PyObject *resultobj;
18724 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18725 wxWindow *result;
18726 PyObject * obj0 = 0 ;
18727 char *kwnames[] = {
18728 (char *) "self", NULL
18729 };
18730
18731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
18733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18734 {
18735 PyThreadState* __tstate = wxPyBeginAllowThreads();
18736 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18737
18738 wxPyEndAllowThreads(__tstate);
18739 if (PyErr_Occurred()) SWIG_fail;
18740 }
18741 {
18742 resultobj = wxPyMake_wxObject(result);
18743 }
18744 return resultobj;
18745 fail:
18746 return NULL;
18747}
18748
18749
18750static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
18751 PyObject *obj;
18752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18753 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18754 Py_INCREF(obj);
18755 return Py_BuildValue((char *)"");
18756}
18757static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18758 PyObject *resultobj;
18759 wxWindow *arg1 = (wxWindow *) NULL ;
18760 wxWindowDestroyEvent *result;
18761 PyObject * obj0 = 0 ;
18762 char *kwnames[] = {
18763 (char *) "win", NULL
18764 };
18765
18766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18767 if (obj0) {
15afbcd0
RD
18768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18770 }
18771 {
18772 PyThreadState* __tstate = wxPyBeginAllowThreads();
18773 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18774
18775 wxPyEndAllowThreads(__tstate);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 }
15afbcd0 18778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
d14a1e28
RD
18779 return resultobj;
18780 fail:
18781 return NULL;
18782}
18783
18784
18785static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18786 PyObject *resultobj;
18787 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
18788 wxWindow *result;
18789 PyObject * obj0 = 0 ;
18790 char *kwnames[] = {
18791 (char *) "self", NULL
18792 };
18793
18794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
18796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18797 {
18798 PyThreadState* __tstate = wxPyBeginAllowThreads();
18799 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
18800
18801 wxPyEndAllowThreads(__tstate);
18802 if (PyErr_Occurred()) SWIG_fail;
18803 }
18804 {
18805 resultobj = wxPyMake_wxObject(result);
18806 }
18807 return resultobj;
18808 fail:
18809 return NULL;
18810}
18811
18812
18813static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
18814 PyObject *obj;
18815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18816 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
18817 Py_INCREF(obj);
18818 return Py_BuildValue((char *)"");
18819}
18820static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18821 PyObject *resultobj;
18822 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 18823 int arg2 = (int) 0 ;
d14a1e28
RD
18824 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18825 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18826 wxContextMenuEvent *result;
18827 wxPoint temp3 ;
994141e6
RD
18828 PyObject * obj0 = 0 ;
18829 PyObject * obj1 = 0 ;
d14a1e28
RD
18830 PyObject * obj2 = 0 ;
18831 char *kwnames[] = {
18832 (char *) "type",(char *) "winid",(char *) "pt", NULL
18833 };
18834
994141e6
RD
18835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
18836 if (obj0) {
15afbcd0
RD
18837 arg1 = (wxEventType) SWIG_AsInt(obj0);
18838 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18839 }
18840 if (obj1) {
15afbcd0
RD
18841 arg2 = (int) SWIG_AsInt(obj1);
18842 if (PyErr_Occurred()) SWIG_fail;
994141e6 18843 }
d14a1e28
RD
18844 if (obj2) {
18845 {
18846 arg3 = &temp3;
18847 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18848 }
18849 }
18850 {
18851 PyThreadState* __tstate = wxPyBeginAllowThreads();
18852 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
18853
18854 wxPyEndAllowThreads(__tstate);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 }
15afbcd0 18857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
d14a1e28
RD
18858 return resultobj;
18859 fail:
18860 return NULL;
18861}
18862
18863
18864static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18865 PyObject *resultobj;
18866 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18867 wxPoint *result;
18868 PyObject * obj0 = 0 ;
18869 char *kwnames[] = {
18870 (char *) "self", NULL
18871 };
18872
18873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
18874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18876 {
18877 PyThreadState* __tstate = wxPyBeginAllowThreads();
18878 {
18879 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
18880 result = (wxPoint *) &_result_ref;
18881 }
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
15afbcd0 18886 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
18887 return resultobj;
18888 fail:
18889 return NULL;
18890}
18891
18892
18893static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18894 PyObject *resultobj;
18895 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18896 wxPoint *arg2 = 0 ;
18897 wxPoint temp2 ;
18898 PyObject * obj0 = 0 ;
18899 PyObject * obj1 = 0 ;
18900 char *kwnames[] = {
18901 (char *) "self",(char *) "pos", NULL
18902 };
18903
18904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18907 {
18908 arg2 = &temp2;
18909 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18910 }
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 (arg1)->SetPosition((wxPoint const &)*arg2);
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 Py_INCREF(Py_None); resultobj = Py_None;
18919 return resultobj;
18920 fail:
18921 return NULL;
18922}
18923
18924
18925static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
18926 PyObject *obj;
18927 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18928 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
18929 Py_INCREF(obj);
18930 return Py_BuildValue((char *)"");
18931}
18932static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18933 PyObject *resultobj;
18934 wxIdleEvent *result;
18935 char *kwnames[] = {
18936 NULL
18937 };
18938
18939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
18940 {
18941 PyThreadState* __tstate = wxPyBeginAllowThreads();
18942 result = (wxIdleEvent *)new wxIdleEvent();
18943
18944 wxPyEndAllowThreads(__tstate);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
15afbcd0 18947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
d14a1e28
RD
18948 return resultobj;
18949 fail:
18950 return NULL;
18951}
18952
18953
18954static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
e811c8ce 18957 bool arg2 = (bool) True ;
d14a1e28
RD
18958 PyObject * obj0 = 0 ;
18959 PyObject * obj1 = 0 ;
18960 char *kwnames[] = {
18961 (char *) "self",(char *) "needMore", NULL
18962 };
18963
18964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
18966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 18967 if (obj1) {
15afbcd0
RD
18968 arg2 = (bool) SWIG_AsBool(obj1);
18969 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18970 }
18971 {
18972 PyThreadState* __tstate = wxPyBeginAllowThreads();
18973 (arg1)->RequestMore(arg2);
18974
18975 wxPyEndAllowThreads(__tstate);
18976 if (PyErr_Occurred()) SWIG_fail;
18977 }
18978 Py_INCREF(Py_None); resultobj = Py_None;
18979 return resultobj;
18980 fail:
18981 return NULL;
18982}
18983
18984
18985static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
18986 PyObject *resultobj;
18987 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
18988 bool result;
18989 PyObject * obj0 = 0 ;
18990 char *kwnames[] = {
18991 (char *) "self", NULL
18992 };
18993
18994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
15afbcd0
RD
18995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
18996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18997 {
18998 PyThreadState* __tstate = wxPyBeginAllowThreads();
18999 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
19000
19001 wxPyEndAllowThreads(__tstate);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
4f89f6a3
RD
19004 {
19005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19006 }
d14a1e28
RD
19007 return resultobj;
19008 fail:
19009 return NULL;
19010}
19011
19012
19013static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj;
19015 int arg1 ;
994141e6 19016 PyObject * obj0 = 0 ;
d14a1e28
RD
19017 char *kwnames[] = {
19018 (char *) "mode", NULL
19019 };
19020
994141e6 19021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
19022 arg1 = (wxIdleMode) SWIG_AsInt(obj0);
19023 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19024 {
19025 PyThreadState* __tstate = wxPyBeginAllowThreads();
19026 wxIdleEvent::SetMode((wxIdleMode )arg1);
19027
19028 wxPyEndAllowThreads(__tstate);
19029 if (PyErr_Occurred()) SWIG_fail;
19030 }
19031 Py_INCREF(Py_None); resultobj = Py_None;
19032 return resultobj;
19033 fail:
19034 return NULL;
19035}
19036
19037
19038static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19039 PyObject *resultobj;
19040 int result;
19041 char *kwnames[] = {
19042 NULL
19043 };
19044
19045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
19046 {
19047 PyThreadState* __tstate = wxPyBeginAllowThreads();
19048 result = (int)wxIdleEvent::GetMode();
19049
19050 wxPyEndAllowThreads(__tstate);
19051 if (PyErr_Occurred()) SWIG_fail;
19052 }
15afbcd0 19053 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19054 return resultobj;
19055 fail:
19056 return NULL;
19057}
19058
19059
19060static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
19061 PyObject *resultobj;
19062 wxWindow *arg1 = (wxWindow *) 0 ;
19063 bool result;
19064 PyObject * obj0 = 0 ;
19065 char *kwnames[] = {
19066 (char *) "win", NULL
19067 };
19068
19069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
15afbcd0
RD
19070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19072 {
19073 PyThreadState* __tstate = wxPyBeginAllowThreads();
19074 result = (bool)wxIdleEvent::CanSend(arg1);
19075
19076 wxPyEndAllowThreads(__tstate);
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
4f89f6a3
RD
19079 {
19080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19081 }
d14a1e28
RD
19082 return resultobj;
19083 fail:
19084 return NULL;
19085}
19086
19087
19088static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
19089 PyObject *obj;
19090 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19091 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
19092 Py_INCREF(obj);
19093 return Py_BuildValue((char *)"");
19094}
19095static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19096 PyObject *resultobj;
19097 int arg1 = (int) 0 ;
19098 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
19099 wxPyEvent *result;
994141e6
RD
19100 PyObject * obj0 = 0 ;
19101 PyObject * obj1 = 0 ;
d14a1e28
RD
19102 char *kwnames[] = {
19103 (char *) "winid",(char *) "commandType", NULL
19104 };
19105
994141e6
RD
19106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19107 if (obj0) {
15afbcd0
RD
19108 arg1 = (int) SWIG_AsInt(obj0);
19109 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19110 }
19111 if (obj1) {
15afbcd0
RD
19112 arg2 = (wxEventType) SWIG_AsInt(obj1);
19113 if (PyErr_Occurred()) SWIG_fail;
994141e6 19114 }
d14a1e28
RD
19115 {
19116 PyThreadState* __tstate = wxPyBeginAllowThreads();
19117 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19118
19119 wxPyEndAllowThreads(__tstate);
19120 if (PyErr_Occurred()) SWIG_fail;
19121 }
15afbcd0 19122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
d14a1e28
RD
19123 return resultobj;
19124 fail:
19125 return NULL;
19126}
19127
19128
19129static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19130 PyObject *resultobj;
19131 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19132 PyObject * obj0 = 0 ;
19133 char *kwnames[] = {
19134 (char *) "self", NULL
19135 };
19136
19137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19140 {
19141 PyThreadState* __tstate = wxPyBeginAllowThreads();
19142 delete arg1;
19143
19144 wxPyEndAllowThreads(__tstate);
19145 if (PyErr_Occurred()) SWIG_fail;
19146 }
19147 Py_INCREF(Py_None); resultobj = Py_None;
19148 return resultobj;
19149 fail:
19150 return NULL;
19151}
19152
19153
19154static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19155 PyObject *resultobj;
19156 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19157 PyObject *arg2 = (PyObject *) 0 ;
19158 PyObject * obj0 = 0 ;
19159 PyObject * obj1 = 0 ;
19160 char *kwnames[] = {
19161 (char *) "self",(char *) "self", NULL
19162 };
19163
19164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19167 arg2 = obj1;
19168 {
19169 PyThreadState* __tstate = wxPyBeginAllowThreads();
19170 (arg1)->SetSelf(arg2);
19171
19172 wxPyEndAllowThreads(__tstate);
19173 if (PyErr_Occurred()) SWIG_fail;
19174 }
19175 Py_INCREF(Py_None); resultobj = Py_None;
19176 return resultobj;
19177 fail:
19178 return NULL;
19179}
19180
19181
19182static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19183 PyObject *resultobj;
19184 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19185 PyObject *result;
19186 PyObject * obj0 = 0 ;
19187 char *kwnames[] = {
19188 (char *) "self", NULL
19189 };
19190
19191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19194 {
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
19196 result = (PyObject *)(arg1)->GetSelf();
19197
19198 wxPyEndAllowThreads(__tstate);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 resultobj = result;
19202 return resultobj;
19203 fail:
19204 return NULL;
19205}
19206
19207
19208static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
19209 PyObject *obj;
19210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19211 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19212 Py_INCREF(obj);
19213 return Py_BuildValue((char *)"");
19214}
19215static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19216 PyObject *resultobj;
19217 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19218 int arg2 = (int) 0 ;
19219 wxPyCommandEvent *result;
994141e6
RD
19220 PyObject * obj0 = 0 ;
19221 PyObject * obj1 = 0 ;
d14a1e28
RD
19222 char *kwnames[] = {
19223 (char *) "commandType",(char *) "id", NULL
19224 };
19225
994141e6
RD
19226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19227 if (obj0) {
15afbcd0
RD
19228 arg1 = (wxEventType) SWIG_AsInt(obj0);
19229 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19230 }
19231 if (obj1) {
15afbcd0
RD
19232 arg2 = (int) SWIG_AsInt(obj1);
19233 if (PyErr_Occurred()) SWIG_fail;
994141e6 19234 }
d14a1e28
RD
19235 {
19236 PyThreadState* __tstate = wxPyBeginAllowThreads();
19237 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19238
19239 wxPyEndAllowThreads(__tstate);
19240 if (PyErr_Occurred()) SWIG_fail;
19241 }
15afbcd0 19242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
d14a1e28
RD
19243 return resultobj;
19244 fail:
19245 return NULL;
19246}
19247
19248
19249static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19250 PyObject *resultobj;
19251 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19252 PyObject * obj0 = 0 ;
19253 char *kwnames[] = {
19254 (char *) "self", NULL
19255 };
19256
19257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19260 {
19261 PyThreadState* __tstate = wxPyBeginAllowThreads();
19262 delete arg1;
19263
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
19267 Py_INCREF(Py_None); resultobj = Py_None;
19268 return resultobj;
19269 fail:
19270 return NULL;
19271}
19272
19273
19274static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19275 PyObject *resultobj;
19276 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19277 PyObject *arg2 = (PyObject *) 0 ;
19278 PyObject * obj0 = 0 ;
19279 PyObject * obj1 = 0 ;
19280 char *kwnames[] = {
19281 (char *) "self",(char *) "self", NULL
19282 };
19283
19284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19287 arg2 = obj1;
19288 {
19289 PyThreadState* __tstate = wxPyBeginAllowThreads();
19290 (arg1)->SetSelf(arg2);
19291
19292 wxPyEndAllowThreads(__tstate);
19293 if (PyErr_Occurred()) SWIG_fail;
19294 }
19295 Py_INCREF(Py_None); resultobj = Py_None;
19296 return resultobj;
19297 fail:
19298 return NULL;
19299}
19300
19301
19302static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19303 PyObject *resultobj;
19304 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19305 PyObject *result;
19306 PyObject * obj0 = 0 ;
19307 char *kwnames[] = {
19308 (char *) "self", NULL
19309 };
19310
19311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19314 {
19315 PyThreadState* __tstate = wxPyBeginAllowThreads();
19316 result = (PyObject *)(arg1)->GetSelf();
19317
19318 wxPyEndAllowThreads(__tstate);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
19321 resultobj = result;
19322 return resultobj;
19323 fail:
19324 return NULL;
19325}
19326
19327
19328static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
19329 PyObject *obj;
19330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19331 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19332 Py_INCREF(obj);
19333 return Py_BuildValue((char *)"");
19334}
19335static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19336 PyObject *resultobj;
19337 wxPyApp *result;
19338 char *kwnames[] = {
19339 NULL
19340 };
19341
19342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19343 {
19344 PyThreadState* __tstate = wxPyBeginAllowThreads();
19345 result = (wxPyApp *)new_wxPyApp();
19346
19347 wxPyEndAllowThreads(__tstate);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
19350 {
19351 resultobj = wxPyMake_wxObject(result);
19352 }
19353 return resultobj;
19354 fail:
19355 return NULL;
19356}
19357
19358
19359static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19360 PyObject *resultobj;
19361 wxPyApp *arg1 = (wxPyApp *) 0 ;
19362 PyObject * obj0 = 0 ;
19363 char *kwnames[] = {
19364 (char *) "self", NULL
19365 };
19366
19367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
19368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19370 {
19371 PyThreadState* __tstate = wxPyBeginAllowThreads();
19372 delete arg1;
19373
19374 wxPyEndAllowThreads(__tstate);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 }
19377 Py_INCREF(Py_None); resultobj = Py_None;
19378 return resultobj;
19379 fail:
19380 return NULL;
19381}
19382
19383
19384static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19385 PyObject *resultobj;
19386 wxPyApp *arg1 = (wxPyApp *) 0 ;
19387 PyObject *arg2 = (PyObject *) 0 ;
19388 PyObject *arg3 = (PyObject *) 0 ;
19389 PyObject * obj0 = 0 ;
19390 PyObject * obj1 = 0 ;
19391 PyObject * obj2 = 0 ;
19392 char *kwnames[] = {
19393 (char *) "self",(char *) "self",(char *) "_class", NULL
19394 };
19395
19396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19399 arg2 = obj1;
19400 arg3 = obj2;
19401 {
19402 PyThreadState* __tstate = wxPyBeginAllowThreads();
19403 (arg1)->_setCallbackInfo(arg2,arg3);
19404
19405 wxPyEndAllowThreads(__tstate);
19406 if (PyErr_Occurred()) SWIG_fail;
19407 }
19408 Py_INCREF(Py_None); resultobj = Py_None;
19409 return resultobj;
19410 fail:
19411 return NULL;
19412}
19413
19414
19415static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19416 PyObject *resultobj;
19417 wxPyApp *arg1 = (wxPyApp *) 0 ;
19418 wxString result;
19419 PyObject * obj0 = 0 ;
19420 char *kwnames[] = {
19421 (char *) "self", NULL
19422 };
19423
19424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19427 {
19428 PyThreadState* __tstate = wxPyBeginAllowThreads();
19429 result = ((wxPyApp const *)arg1)->GetAppName();
19430
19431 wxPyEndAllowThreads(__tstate);
19432 if (PyErr_Occurred()) SWIG_fail;
19433 }
19434 {
19435#if wxUSE_UNICODE
19436 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19437#else
19438 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19439#endif
19440 }
19441 return resultobj;
19442 fail:
19443 return NULL;
19444}
19445
19446
19447static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19448 PyObject *resultobj;
19449 wxPyApp *arg1 = (wxPyApp *) 0 ;
19450 wxString *arg2 = 0 ;
e811c8ce 19451 bool temp2 = False ;
d14a1e28
RD
19452 PyObject * obj0 = 0 ;
19453 PyObject * obj1 = 0 ;
19454 char *kwnames[] = {
19455 (char *) "self",(char *) "name", NULL
19456 };
19457
19458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19461 {
19462 arg2 = wxString_in_helper(obj1);
19463 if (arg2 == NULL) SWIG_fail;
e811c8ce 19464 temp2 = True;
d14a1e28
RD
19465 }
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 (arg1)->SetAppName((wxString const &)*arg2);
19469
19470 wxPyEndAllowThreads(__tstate);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 }
19473 Py_INCREF(Py_None); resultobj = Py_None;
19474 {
19475 if (temp2)
19476 delete arg2;
19477 }
19478 return resultobj;
19479 fail:
19480 {
19481 if (temp2)
19482 delete arg2;
19483 }
19484 return NULL;
19485}
19486
19487
19488static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19489 PyObject *resultobj;
19490 wxPyApp *arg1 = (wxPyApp *) 0 ;
19491 wxString result;
19492 PyObject * obj0 = 0 ;
19493 char *kwnames[] = {
19494 (char *) "self", NULL
19495 };
19496
19497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19500 {
19501 PyThreadState* __tstate = wxPyBeginAllowThreads();
19502 result = ((wxPyApp const *)arg1)->GetClassName();
19503
19504 wxPyEndAllowThreads(__tstate);
19505 if (PyErr_Occurred()) SWIG_fail;
19506 }
19507 {
19508#if wxUSE_UNICODE
19509 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19510#else
19511 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19512#endif
19513 }
19514 return resultobj;
19515 fail:
19516 return NULL;
19517}
19518
19519
19520static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19521 PyObject *resultobj;
19522 wxPyApp *arg1 = (wxPyApp *) 0 ;
19523 wxString *arg2 = 0 ;
e811c8ce 19524 bool temp2 = False ;
d14a1e28
RD
19525 PyObject * obj0 = 0 ;
19526 PyObject * obj1 = 0 ;
19527 char *kwnames[] = {
19528 (char *) "self",(char *) "name", NULL
19529 };
19530
19531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19534 {
19535 arg2 = wxString_in_helper(obj1);
19536 if (arg2 == NULL) SWIG_fail;
e811c8ce 19537 temp2 = True;
d14a1e28
RD
19538 }
19539 {
19540 PyThreadState* __tstate = wxPyBeginAllowThreads();
19541 (arg1)->SetClassName((wxString const &)*arg2);
19542
19543 wxPyEndAllowThreads(__tstate);
19544 if (PyErr_Occurred()) SWIG_fail;
19545 }
19546 Py_INCREF(Py_None); resultobj = Py_None;
19547 {
19548 if (temp2)
19549 delete arg2;
19550 }
19551 return resultobj;
19552 fail:
19553 {
19554 if (temp2)
19555 delete arg2;
19556 }
19557 return NULL;
19558}
19559
19560
19561static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19562 PyObject *resultobj;
19563 wxPyApp *arg1 = (wxPyApp *) 0 ;
19564 wxString *result;
19565 PyObject * obj0 = 0 ;
19566 char *kwnames[] = {
19567 (char *) "self", NULL
19568 };
19569
19570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19573 {
19574 PyThreadState* __tstate = wxPyBeginAllowThreads();
19575 {
19576 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
19577 result = (wxString *) &_result_ref;
19578 }
19579
19580 wxPyEndAllowThreads(__tstate);
19581 if (PyErr_Occurred()) SWIG_fail;
19582 }
cc6dd355
RD
19583 {
19584#if wxUSE_UNICODE
19585 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19586#else
19587 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19588#endif
19589 }
d14a1e28
RD
19590 return resultobj;
19591 fail:
19592 return NULL;
19593}
19594
19595
19596static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19597 PyObject *resultobj;
19598 wxPyApp *arg1 = (wxPyApp *) 0 ;
19599 wxString *arg2 = 0 ;
e811c8ce 19600 bool temp2 = False ;
d14a1e28
RD
19601 PyObject * obj0 = 0 ;
19602 PyObject * obj1 = 0 ;
19603 char *kwnames[] = {
19604 (char *) "self",(char *) "name", NULL
19605 };
19606
19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19610 {
19611 arg2 = wxString_in_helper(obj1);
19612 if (arg2 == NULL) SWIG_fail;
e811c8ce 19613 temp2 = True;
d14a1e28
RD
19614 }
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
19617 (arg1)->SetVendorName((wxString const &)*arg2);
19618
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 Py_INCREF(Py_None); resultobj = Py_None;
19623 {
19624 if (temp2)
19625 delete arg2;
19626 }
19627 return resultobj;
19628 fail:
19629 {
19630 if (temp2)
19631 delete arg2;
19632 }
19633 return NULL;
19634}
19635
19636
19637static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
19638 PyObject *resultobj;
19639 wxPyApp *arg1 = (wxPyApp *) 0 ;
19640 wxAppTraits *result;
19641 PyObject * obj0 = 0 ;
19642 char *kwnames[] = {
19643 (char *) "self", NULL
19644 };
19645
19646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
15afbcd0
RD
19647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19649 {
19650 PyThreadState* __tstate = wxPyBeginAllowThreads();
19651 result = (wxAppTraits *)(arg1)->GetTraits();
19652
19653 wxPyEndAllowThreads(__tstate);
19654 if (PyErr_Occurred()) SWIG_fail;
19655 }
15afbcd0 19656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
d14a1e28
RD
19657 return resultobj;
19658 fail:
19659 return NULL;
19660}
19661
19662
19663static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19664 PyObject *resultobj;
19665 wxPyApp *arg1 = (wxPyApp *) 0 ;
19666 PyObject * obj0 = 0 ;
19667 char *kwnames[] = {
19668 (char *) "self", NULL
19669 };
19670
19671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
19672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19674 {
19675 PyThreadState* __tstate = wxPyBeginAllowThreads();
19676 (arg1)->ProcessPendingEvents();
19677
19678 wxPyEndAllowThreads(__tstate);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 }
19681 Py_INCREF(Py_None); resultobj = Py_None;
19682 return resultobj;
19683 fail:
19684 return NULL;
19685}
19686
19687
19688static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
19689 PyObject *resultobj;
19690 wxPyApp *arg1 = (wxPyApp *) 0 ;
e811c8ce 19691 bool arg2 = (bool) False ;
d14a1e28
RD
19692 bool result;
19693 PyObject * obj0 = 0 ;
19694 PyObject * obj1 = 0 ;
19695 char *kwnames[] = {
19696 (char *) "self",(char *) "onlyIfNeeded", NULL
19697 };
19698
19699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19702 if (obj1) {
15afbcd0
RD
19703 arg2 = (bool) SWIG_AsBool(obj1);
19704 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19705 }
19706 {
19707 PyThreadState* __tstate = wxPyBeginAllowThreads();
19708 result = (bool)(arg1)->Yield(arg2);
19709
19710 wxPyEndAllowThreads(__tstate);
19711 if (PyErr_Occurred()) SWIG_fail;
19712 }
4f89f6a3
RD
19713 {
19714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19715 }
d14a1e28
RD
19716 return resultobj;
19717 fail:
19718 return NULL;
19719}
19720
19721
19722static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19723 PyObject *resultobj;
19724 wxPyApp *arg1 = (wxPyApp *) 0 ;
19725 PyObject * obj0 = 0 ;
19726 char *kwnames[] = {
19727 (char *) "self", NULL
19728 };
19729
19730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
19731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19733 {
19734 PyThreadState* __tstate = wxPyBeginAllowThreads();
19735 (arg1)->WakeUpIdle();
19736
19737 wxPyEndAllowThreads(__tstate);
19738 if (PyErr_Occurred()) SWIG_fail;
19739 }
19740 Py_INCREF(Py_None); resultobj = Py_None;
19741 return resultobj;
19742 fail:
19743 return NULL;
19744}
19745
19746
19747static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19748 PyObject *resultobj;
19749 wxPyApp *arg1 = (wxPyApp *) 0 ;
19750 int result;
19751 PyObject * obj0 = 0 ;
19752 char *kwnames[] = {
19753 (char *) "self", NULL
19754 };
19755
19756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
19757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 result = (int)(arg1)->MainLoop();
19762
19763 wxPyEndAllowThreads(__tstate);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 }
15afbcd0 19766 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19767 return resultobj;
19768 fail:
19769 return NULL;
19770}
19771
19772
19773static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj;
19775 wxPyApp *arg1 = (wxPyApp *) 0 ;
19776 PyObject * obj0 = 0 ;
19777 char *kwnames[] = {
19778 (char *) "self", NULL
19779 };
19780
19781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
15afbcd0
RD
19782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19784 {
19785 PyThreadState* __tstate = wxPyBeginAllowThreads();
19786 (arg1)->Exit();
19787
19788 wxPyEndAllowThreads(__tstate);
19789 if (PyErr_Occurred()) SWIG_fail;
19790 }
19791 Py_INCREF(Py_None); resultobj = Py_None;
19792 return resultobj;
19793 fail:
19794 return NULL;
19795}
19796
19797
19798static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19799 PyObject *resultobj;
19800 wxPyApp *arg1 = (wxPyApp *) 0 ;
19801 PyObject * obj0 = 0 ;
19802 char *kwnames[] = {
19803 (char *) "self", NULL
19804 };
19805
19806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
19807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19809 {
19810 PyThreadState* __tstate = wxPyBeginAllowThreads();
19811 (arg1)->ExitMainLoop();
19812
19813 wxPyEndAllowThreads(__tstate);
19814 if (PyErr_Occurred()) SWIG_fail;
19815 }
19816 Py_INCREF(Py_None); resultobj = Py_None;
19817 return resultobj;
19818 fail:
19819 return NULL;
19820}
19821
19822
19823static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
19824 PyObject *resultobj;
19825 wxPyApp *arg1 = (wxPyApp *) 0 ;
19826 bool result;
19827 PyObject * obj0 = 0 ;
19828 char *kwnames[] = {
19829 (char *) "self", NULL
19830 };
19831
19832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
15afbcd0
RD
19833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19835 {
19836 PyThreadState* __tstate = wxPyBeginAllowThreads();
19837 result = (bool)(arg1)->Pending();
19838
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
4f89f6a3
RD
19842 {
19843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19844 }
d14a1e28
RD
19845 return resultobj;
19846 fail:
19847 return NULL;
19848}
19849
19850
19851static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
19852 PyObject *resultobj;
19853 wxPyApp *arg1 = (wxPyApp *) 0 ;
19854 bool result;
19855 PyObject * obj0 = 0 ;
19856 char *kwnames[] = {
19857 (char *) "self", NULL
19858 };
19859
19860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",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 = (bool)(arg1)->Dispatch();
19866
19867 wxPyEndAllowThreads(__tstate);
19868 if (PyErr_Occurred()) SWIG_fail;
19869 }
4f89f6a3
RD
19870 {
19871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19872 }
d14a1e28
RD
19873 return resultobj;
19874 fail:
19875 return NULL;
19876}
19877
19878
19879static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19880 PyObject *resultobj;
19881 wxPyApp *arg1 = (wxPyApp *) 0 ;
19882 bool result;
19883 PyObject * obj0 = 0 ;
19884 char *kwnames[] = {
19885 (char *) "self", NULL
19886 };
19887
19888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
19889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19891 {
19892 PyThreadState* __tstate = wxPyBeginAllowThreads();
19893 result = (bool)(arg1)->ProcessIdle();
19894
19895 wxPyEndAllowThreads(__tstate);
19896 if (PyErr_Occurred()) SWIG_fail;
19897 }
4f89f6a3
RD
19898 {
19899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19900 }
d14a1e28
RD
19901 return resultobj;
19902 fail:
19903 return NULL;
19904}
19905
19906
19907static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19908 PyObject *resultobj;
19909 wxPyApp *arg1 = (wxPyApp *) 0 ;
19910 wxWindow *arg2 = (wxWindow *) 0 ;
19911 wxIdleEvent *arg3 = 0 ;
19912 bool result;
19913 PyObject * obj0 = 0 ;
19914 PyObject * obj1 = 0 ;
19915 PyObject * obj2 = 0 ;
19916 char *kwnames[] = {
19917 (char *) "self",(char *) "win",(char *) "event", NULL
19918 };
19919
19920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19923 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19925 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
19926 SWIG_POINTER_EXCEPTION | 0)) == -1)
19927 SWIG_fail;
d14a1e28 19928 if (arg3 == NULL) {
15afbcd0
RD
19929 PyErr_SetString(PyExc_TypeError,"null reference");
19930 SWIG_fail;
d14a1e28
RD
19931 }
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
19935
19936 wxPyEndAllowThreads(__tstate);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 }
4f89f6a3
RD
19939 {
19940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19941 }
d14a1e28
RD
19942 return resultobj;
19943 fail:
19944 return NULL;
19945}
19946
19947
d14a1e28
RD
19948static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
19949 PyObject *resultobj;
19950 wxPyApp *arg1 = (wxPyApp *) 0 ;
19951 bool result;
19952 PyObject * obj0 = 0 ;
19953 char *kwnames[] = {
19954 (char *) "self", NULL
19955 };
19956
19957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
19958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19960 {
19961 PyThreadState* __tstate = wxPyBeginAllowThreads();
19962 result = (bool)((wxPyApp const *)arg1)->IsActive();
19963
19964 wxPyEndAllowThreads(__tstate);
19965 if (PyErr_Occurred()) SWIG_fail;
19966 }
4f89f6a3
RD
19967 {
19968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19969 }
d14a1e28
RD
19970 return resultobj;
19971 fail:
19972 return NULL;
19973}
19974
19975
19976static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19977 PyObject *resultobj;
19978 wxPyApp *arg1 = (wxPyApp *) 0 ;
19979 wxWindow *arg2 = (wxWindow *) 0 ;
19980 PyObject * obj0 = 0 ;
19981 PyObject * obj1 = 0 ;
19982 char *kwnames[] = {
19983 (char *) "self",(char *) "win", NULL
19984 };
19985
19986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19991 {
19992 PyThreadState* __tstate = wxPyBeginAllowThreads();
19993 (arg1)->SetTopWindow(arg2);
19994
19995 wxPyEndAllowThreads(__tstate);
19996 if (PyErr_Occurred()) SWIG_fail;
19997 }
19998 Py_INCREF(Py_None); resultobj = Py_None;
19999 return resultobj;
20000 fail:
20001 return NULL;
20002}
20003
20004
20005static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20006 PyObject *resultobj;
20007 wxPyApp *arg1 = (wxPyApp *) 0 ;
20008 wxWindow *result;
20009 PyObject * obj0 = 0 ;
20010 char *kwnames[] = {
20011 (char *) "self", NULL
20012 };
20013
20014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
20015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20017 {
20018 PyThreadState* __tstate = wxPyBeginAllowThreads();
20019 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
20020
20021 wxPyEndAllowThreads(__tstate);
20022 if (PyErr_Occurred()) SWIG_fail;
20023 }
20024 {
20025 resultobj = wxPyMake_wxObject(result);
20026 }
20027 return resultobj;
20028 fail:
20029 return NULL;
20030}
20031
20032
20033static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20034 PyObject *resultobj;
20035 wxPyApp *arg1 = (wxPyApp *) 0 ;
20036 bool arg2 ;
20037 PyObject * obj0 = 0 ;
20038 PyObject * obj1 = 0 ;
20039 char *kwnames[] = {
20040 (char *) "self",(char *) "flag", NULL
20041 };
20042
20043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20046 arg2 = (bool) SWIG_AsBool(obj1);
20047 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20048 {
20049 PyThreadState* __tstate = wxPyBeginAllowThreads();
20050 (arg1)->SetExitOnFrameDelete(arg2);
20051
20052 wxPyEndAllowThreads(__tstate);
20053 if (PyErr_Occurred()) SWIG_fail;
20054 }
20055 Py_INCREF(Py_None); resultobj = Py_None;
20056 return resultobj;
20057 fail:
20058 return NULL;
20059}
20060
20061
20062static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20063 PyObject *resultobj;
20064 wxPyApp *arg1 = (wxPyApp *) 0 ;
20065 bool result;
20066 PyObject * obj0 = 0 ;
20067 char *kwnames[] = {
20068 (char *) "self", NULL
20069 };
20070
20071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
15afbcd0
RD
20072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
4f89f6a3
RD
20081 {
20082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20083 }
d14a1e28
RD
20084 return resultobj;
20085 fail:
20086 return NULL;
20087}
20088
20089
20090static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20091 PyObject *resultobj;
20092 wxPyApp *arg1 = (wxPyApp *) 0 ;
20093 bool arg2 ;
20094 PyObject * obj0 = 0 ;
20095 PyObject * obj1 = 0 ;
20096 char *kwnames[] = {
20097 (char *) "self",(char *) "flag", NULL
20098 };
20099
20100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20103 arg2 = (bool) SWIG_AsBool(obj1);
20104 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20105 {
20106 PyThreadState* __tstate = wxPyBeginAllowThreads();
20107 (arg1)->SetUseBestVisual(arg2);
20108
20109 wxPyEndAllowThreads(__tstate);
20110 if (PyErr_Occurred()) SWIG_fail;
20111 }
20112 Py_INCREF(Py_None); resultobj = Py_None;
20113 return resultobj;
20114 fail:
20115 return NULL;
20116}
20117
20118
20119static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20120 PyObject *resultobj;
20121 wxPyApp *arg1 = (wxPyApp *) 0 ;
20122 bool result;
20123 PyObject * obj0 = 0 ;
20124 char *kwnames[] = {
20125 (char *) "self", NULL
20126 };
20127
20128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
15afbcd0
RD
20129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20131 {
20132 PyThreadState* __tstate = wxPyBeginAllowThreads();
20133 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20134
20135 wxPyEndAllowThreads(__tstate);
20136 if (PyErr_Occurred()) SWIG_fail;
20137 }
4f89f6a3
RD
20138 {
20139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20140 }
d14a1e28
RD
20141 return resultobj;
20142 fail:
20143 return NULL;
20144}
20145
20146
20147static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20148 PyObject *resultobj;
20149 wxPyApp *arg1 = (wxPyApp *) 0 ;
20150 int arg2 ;
20151 PyObject * obj0 = 0 ;
994141e6 20152 PyObject * obj1 = 0 ;
d14a1e28
RD
20153 char *kwnames[] = {
20154 (char *) "self",(char *) "mode", NULL
20155 };
20156
994141e6 20157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20160 arg2 = (int) SWIG_AsInt(obj1);
20161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20162 {
20163 PyThreadState* __tstate = wxPyBeginAllowThreads();
20164 (arg1)->SetPrintMode(arg2);
20165
20166 wxPyEndAllowThreads(__tstate);
20167 if (PyErr_Occurred()) SWIG_fail;
20168 }
20169 Py_INCREF(Py_None); resultobj = Py_None;
20170 return resultobj;
20171 fail:
20172 return NULL;
20173}
20174
20175
20176static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20177 PyObject *resultobj;
20178 wxPyApp *arg1 = (wxPyApp *) 0 ;
20179 int result;
20180 PyObject * obj0 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20191
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
15afbcd0 20195 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20196 return resultobj;
20197 fail:
20198 return NULL;
20199}
20200
20201
6c3b4aae 20202static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20203 PyObject *resultobj;
20204 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20205 int arg2 ;
d14a1e28 20206 PyObject * obj0 = 0 ;
994141e6 20207 PyObject * obj1 = 0 ;
d14a1e28 20208 char *kwnames[] = {
6c3b4aae 20209 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
20210 };
20211
994141e6 20212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20215 arg2 = (int) SWIG_AsInt(obj1);
20216 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20217 {
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20219 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
20220
20221 wxPyEndAllowThreads(__tstate);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
6c3b4aae 20224 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
20225 return resultobj;
20226 fail:
20227 return NULL;
20228}
20229
20230
6c3b4aae 20231static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20232 PyObject *resultobj;
20233 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20234 int result;
d14a1e28
RD
20235 PyObject * obj0 = 0 ;
20236 char *kwnames[] = {
6c3b4aae 20237 (char *) "self", NULL
d14a1e28
RD
20238 };
20239
6c3b4aae 20240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20243 {
20244 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20245 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
20246
20247 wxPyEndAllowThreads(__tstate);
20248 if (PyErr_Occurred()) SWIG_fail;
20249 }
15afbcd0 20250 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20251 return resultobj;
20252 fail:
20253 return NULL;
20254}
20255
20256
20257static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20258 PyObject *resultobj;
20259 bool result;
20260 char *kwnames[] = {
20261 NULL
20262 };
20263
20264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20265 {
20266 PyThreadState* __tstate = wxPyBeginAllowThreads();
20267 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20268
20269 wxPyEndAllowThreads(__tstate);
20270 if (PyErr_Occurred()) SWIG_fail;
20271 }
4f89f6a3
RD
20272 {
20273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20274 }
d14a1e28
RD
20275 return resultobj;
20276 fail:
20277 return NULL;
20278}
20279
20280
20281static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20282 PyObject *resultobj;
20283 long result;
20284 char *kwnames[] = {
20285 NULL
20286 };
20287
20288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20289 {
20290 PyThreadState* __tstate = wxPyBeginAllowThreads();
20291 result = (long)wxPyApp::GetMacAboutMenuItemId();
20292
20293 wxPyEndAllowThreads(__tstate);
20294 if (PyErr_Occurred()) SWIG_fail;
20295 }
15afbcd0 20296 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20297 return resultobj;
20298 fail:
20299 return NULL;
20300}
20301
20302
20303static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20304 PyObject *resultobj;
20305 long result;
20306 char *kwnames[] = {
20307 NULL
20308 };
20309
20310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20311 {
20312 PyThreadState* __tstate = wxPyBeginAllowThreads();
20313 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20314
20315 wxPyEndAllowThreads(__tstate);
20316 if (PyErr_Occurred()) SWIG_fail;
20317 }
15afbcd0 20318 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20319 return resultobj;
20320 fail:
20321 return NULL;
20322}
20323
20324
20325static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20326 PyObject *resultobj;
20327 long result;
20328 char *kwnames[] = {
20329 NULL
20330 };
20331
20332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20333 {
20334 PyThreadState* __tstate = wxPyBeginAllowThreads();
20335 result = (long)wxPyApp::GetMacExitMenuItemId();
20336
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
15afbcd0 20340 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20341 return resultobj;
20342 fail:
20343 return NULL;
20344}
20345
20346
20347static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20348 PyObject *resultobj;
20349 wxString result;
20350 char *kwnames[] = {
20351 NULL
20352 };
20353
20354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20355 {
20356 PyThreadState* __tstate = wxPyBeginAllowThreads();
20357 result = wxPyApp::GetMacHelpMenuTitleName();
20358
20359 wxPyEndAllowThreads(__tstate);
20360 if (PyErr_Occurred()) SWIG_fail;
20361 }
20362 {
20363#if wxUSE_UNICODE
20364 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20365#else
20366 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20367#endif
20368 }
20369 return resultobj;
20370 fail:
20371 return NULL;
20372}
20373
20374
20375static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20376 PyObject *resultobj;
20377 bool arg1 ;
20378 PyObject * obj0 = 0 ;
20379 char *kwnames[] = {
20380 (char *) "val", NULL
20381 };
20382
20383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
15afbcd0
RD
20384 arg1 = (bool) SWIG_AsBool(obj0);
20385 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20386 {
20387 PyThreadState* __tstate = wxPyBeginAllowThreads();
20388 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20389
20390 wxPyEndAllowThreads(__tstate);
20391 if (PyErr_Occurred()) SWIG_fail;
20392 }
20393 Py_INCREF(Py_None); resultobj = Py_None;
20394 return resultobj;
20395 fail:
20396 return NULL;
20397}
20398
20399
20400static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20401 PyObject *resultobj;
20402 long arg1 ;
994141e6 20403 PyObject * obj0 = 0 ;
d14a1e28
RD
20404 char *kwnames[] = {
20405 (char *) "val", NULL
20406 };
20407
994141e6 20408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20409 arg1 = (long) SWIG_AsLong(obj0);
20410 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20411 {
20412 PyThreadState* __tstate = wxPyBeginAllowThreads();
20413 wxPyApp::SetMacAboutMenuItemId(arg1);
20414
20415 wxPyEndAllowThreads(__tstate);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 }
20418 Py_INCREF(Py_None); resultobj = Py_None;
20419 return resultobj;
20420 fail:
20421 return NULL;
20422}
20423
20424
20425static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20426 PyObject *resultobj;
20427 long arg1 ;
994141e6 20428 PyObject * obj0 = 0 ;
d14a1e28
RD
20429 char *kwnames[] = {
20430 (char *) "val", NULL
20431 };
20432
994141e6 20433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20434 arg1 = (long) SWIG_AsLong(obj0);
20435 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20436 {
20437 PyThreadState* __tstate = wxPyBeginAllowThreads();
20438 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20439
20440 wxPyEndAllowThreads(__tstate);
20441 if (PyErr_Occurred()) SWIG_fail;
20442 }
20443 Py_INCREF(Py_None); resultobj = Py_None;
20444 return resultobj;
20445 fail:
20446 return NULL;
20447}
20448
20449
20450static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20451 PyObject *resultobj;
20452 long arg1 ;
994141e6 20453 PyObject * obj0 = 0 ;
d14a1e28
RD
20454 char *kwnames[] = {
20455 (char *) "val", NULL
20456 };
20457
994141e6 20458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20459 arg1 = (long) SWIG_AsLong(obj0);
20460 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20461 {
20462 PyThreadState* __tstate = wxPyBeginAllowThreads();
20463 wxPyApp::SetMacExitMenuItemId(arg1);
20464
20465 wxPyEndAllowThreads(__tstate);
20466 if (PyErr_Occurred()) SWIG_fail;
20467 }
20468 Py_INCREF(Py_None); resultobj = Py_None;
20469 return resultobj;
20470 fail:
20471 return NULL;
20472}
20473
20474
20475static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20476 PyObject *resultobj;
20477 wxString *arg1 = 0 ;
e811c8ce 20478 bool temp1 = False ;
d14a1e28
RD
20479 PyObject * obj0 = 0 ;
20480 char *kwnames[] = {
20481 (char *) "val", NULL
20482 };
20483
20484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20485 {
20486 arg1 = wxString_in_helper(obj0);
20487 if (arg1 == NULL) SWIG_fail;
e811c8ce 20488 temp1 = True;
d14a1e28
RD
20489 }
20490 {
20491 PyThreadState* __tstate = wxPyBeginAllowThreads();
20492 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20493
20494 wxPyEndAllowThreads(__tstate);
20495 if (PyErr_Occurred()) SWIG_fail;
20496 }
20497 Py_INCREF(Py_None); resultobj = Py_None;
20498 {
20499 if (temp1)
20500 delete arg1;
20501 }
20502 return resultobj;
20503 fail:
20504 {
20505 if (temp1)
20506 delete arg1;
20507 }
20508 return NULL;
20509}
20510
20511
20512static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20513 PyObject *resultobj;
20514 wxPyApp *arg1 = (wxPyApp *) 0 ;
20515 PyObject * obj0 = 0 ;
20516 char *kwnames[] = {
20517 (char *) "self", NULL
20518 };
20519
20520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
20521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20523 {
20524 PyThreadState* __tstate = wxPyBeginAllowThreads();
20525 (arg1)->_BootstrapApp();
20526
20527 wxPyEndAllowThreads(__tstate);
20528 if (PyErr_Occurred()) SWIG_fail;
20529 }
20530 Py_INCREF(Py_None); resultobj = Py_None;
20531 return resultobj;
20532 fail:
20533 return NULL;
20534}
20535
20536
20537static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
20538 PyObject *resultobj;
20539 int result;
20540 char *kwnames[] = {
20541 NULL
20542 };
20543
20544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
20545 {
20546 PyThreadState* __tstate = wxPyBeginAllowThreads();
20547 result = (int)PyApp_GetComCtl32Version();
20548
20549 wxPyEndAllowThreads(__tstate);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 }
15afbcd0 20552 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20553 return resultobj;
20554 fail:
20555 return NULL;
20556}
20557
20558
20559static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
20560 PyObject *obj;
20561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20562 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
20563 Py_INCREF(obj);
20564 return Py_BuildValue((char *)"");
20565}
20566static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
20567 PyObject *resultobj;
20568 char *kwnames[] = {
20569 NULL
20570 };
20571
20572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
20573 {
20574 PyThreadState* __tstate = wxPyBeginAllowThreads();
20575 wxExit();
20576
20577 wxPyEndAllowThreads(__tstate);
20578 if (PyErr_Occurred()) SWIG_fail;
20579 }
20580 Py_INCREF(Py_None); resultobj = Py_None;
20581 return resultobj;
20582 fail:
20583 return NULL;
20584}
20585
20586
20587static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
20588 PyObject *resultobj;
20589 bool result;
20590 char *kwnames[] = {
20591 NULL
20592 };
20593
20594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
20595 {
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 result = (bool)wxYield();
20598
20599 wxPyEndAllowThreads(__tstate);
20600 if (PyErr_Occurred()) SWIG_fail;
20601 }
4f89f6a3
RD
20602 {
20603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20604 }
d14a1e28
RD
20605 return resultobj;
20606 fail:
20607 return NULL;
20608}
20609
20610
20611static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
20612 PyObject *resultobj;
20613 bool result;
20614 char *kwnames[] = {
20615 NULL
20616 };
20617
20618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
20619 {
20620 PyThreadState* __tstate = wxPyBeginAllowThreads();
20621 result = (bool)wxYieldIfNeeded();
20622
20623 wxPyEndAllowThreads(__tstate);
20624 if (PyErr_Occurred()) SWIG_fail;
20625 }
4f89f6a3
RD
20626 {
20627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20628 }
d14a1e28
RD
20629 return resultobj;
20630 fail:
20631 return NULL;
20632}
20633
20634
20635static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
20636 PyObject *resultobj;
20637 wxWindow *arg1 = (wxWindow *) NULL ;
e811c8ce 20638 bool arg2 = (bool) False ;
d14a1e28
RD
20639 bool result;
20640 PyObject * obj0 = 0 ;
20641 PyObject * obj1 = 0 ;
20642 char *kwnames[] = {
20643 (char *) "win",(char *) "onlyIfNeeded", NULL
20644 };
20645
20646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20647 if (obj0) {
15afbcd0
RD
20648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20650 }
20651 if (obj1) {
15afbcd0
RD
20652 arg2 = (bool) SWIG_AsBool(obj1);
20653 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20654 }
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
20657 result = (bool)wxSafeYield(arg1,arg2);
20658
20659 wxPyEndAllowThreads(__tstate);
20660 if (PyErr_Occurred()) SWIG_fail;
20661 }
4f89f6a3
RD
20662 {
20663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20664 }
d14a1e28
RD
20665 return resultobj;
20666 fail:
20667 return NULL;
20668}
20669
20670
20671static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20672 PyObject *resultobj;
20673 char *kwnames[] = {
20674 NULL
20675 };
20676
20677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20678 {
20679 PyThreadState* __tstate = wxPyBeginAllowThreads();
20680 wxWakeUpIdle();
20681
20682 wxPyEndAllowThreads(__tstate);
20683 if (PyErr_Occurred()) SWIG_fail;
20684 }
20685 Py_INCREF(Py_None); resultobj = Py_None;
20686 return resultobj;
20687 fail:
20688 return NULL;
20689}
20690
20691
20692static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20693 PyObject *resultobj;
20694 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20695 wxEvent *arg2 = 0 ;
20696 PyObject * obj0 = 0 ;
20697 PyObject * obj1 = 0 ;
20698 char *kwnames[] = {
20699 (char *) "dest",(char *) "event", NULL
20700 };
20701
20702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
20704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20705 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
20706 SWIG_POINTER_EXCEPTION | 0)) == -1)
20707 SWIG_fail;
d14a1e28 20708 if (arg2 == NULL) {
15afbcd0
RD
20709 PyErr_SetString(PyExc_TypeError,"null reference");
20710 SWIG_fail;
d14a1e28
RD
20711 }
20712 {
20713 PyThreadState* __tstate = wxPyBeginAllowThreads();
20714 wxPostEvent(arg1,*arg2);
20715
20716 wxPyEndAllowThreads(__tstate);
20717 if (PyErr_Occurred()) SWIG_fail;
20718 }
20719 Py_INCREF(Py_None); resultobj = Py_None;
20720 return resultobj;
20721 fail:
20722 return NULL;
20723}
20724
20725
20726static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
20727 PyObject *resultobj;
20728 char *kwnames[] = {
20729 NULL
20730 };
20731
20732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20733 {
20734 PyThreadState* __tstate = wxPyBeginAllowThreads();
20735 wxApp_CleanUp();
20736
20737 wxPyEndAllowThreads(__tstate);
20738 if (PyErr_Occurred()) SWIG_fail;
20739 }
20740 Py_INCREF(Py_None); resultobj = Py_None;
20741 return resultobj;
20742 fail:
20743 return NULL;
20744}
20745
20746
20747static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20748 PyObject *resultobj;
20749 wxPyApp *result;
20750 char *kwnames[] = {
20751 NULL
20752 };
20753
20754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20755 {
20756 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 20757 result = (wxPyApp *)wxPyGetApp();
d14a1e28
RD
20758
20759 wxPyEndAllowThreads(__tstate);
20760 if (PyErr_Occurred()) SWIG_fail;
20761 }
20762 {
20763 resultobj = wxPyMake_wxObject(result);
20764 }
20765 return resultobj;
20766 fail:
20767 return NULL;
20768}
20769
20770
1e0c8722
RD
20771static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20772 PyObject *resultobj;
20773 int arg1 = (int) 0 ;
20774 int arg2 = (int) 0 ;
20775 int arg3 = (int) 0 ;
1e0c8722 20776 wxAcceleratorEntry *result;
994141e6
RD
20777 PyObject * obj0 = 0 ;
20778 PyObject * obj1 = 0 ;
20779 PyObject * obj2 = 0 ;
1e0c8722 20780 char *kwnames[] = {
66c033b4 20781 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
1e0c8722
RD
20782 };
20783
66c033b4 20784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 20785 if (obj0) {
15afbcd0
RD
20786 arg1 = (int) SWIG_AsInt(obj0);
20787 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
20788 }
20789 if (obj1) {
15afbcd0
RD
20790 arg2 = (int) SWIG_AsInt(obj1);
20791 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
20792 }
20793 if (obj2) {
15afbcd0
RD
20794 arg3 = (int) SWIG_AsInt(obj2);
20795 if (PyErr_Occurred()) SWIG_fail;
994141e6 20796 }
1e0c8722
RD
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 20799 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3);
1e0c8722
RD
20800
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
15afbcd0 20804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
1e0c8722
RD
20805 return resultobj;
20806 fail:
20807 return NULL;
20808}
20809
20810
20811static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20812 PyObject *resultobj;
20813 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20814 PyObject * obj0 = 0 ;
20815 char *kwnames[] = {
20816 (char *) "self", NULL
20817 };
20818
20819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
15afbcd0
RD
20820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 delete arg1;
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 Py_INCREF(Py_None); resultobj = Py_None;
20830 return resultobj;
20831 fail:
20832 return NULL;
20833}
20834
20835
20836static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
20837 PyObject *resultobj;
20838 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20839 int arg2 ;
20840 int arg3 ;
20841 int arg4 ;
1e0c8722 20842 PyObject * obj0 = 0 ;
994141e6
RD
20843 PyObject * obj1 = 0 ;
20844 PyObject * obj2 = 0 ;
20845 PyObject * obj3 = 0 ;
1e0c8722 20846 char *kwnames[] = {
66c033b4 20847 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
1e0c8722
RD
20848 };
20849
66c033b4 20850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
20851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20853 arg2 = (int) SWIG_AsInt(obj1);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 arg3 = (int) SWIG_AsInt(obj2);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 arg4 = (int) SWIG_AsInt(obj3);
20858 if (PyErr_Occurred()) SWIG_fail;
1e0c8722
RD
20859 {
20860 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 20861 (arg1)->Set(arg2,arg3,arg4);
1e0c8722
RD
20862
20863 wxPyEndAllowThreads(__tstate);
20864 if (PyErr_Occurred()) SWIG_fail;
20865 }
20866 Py_INCREF(Py_None); resultobj = Py_None;
20867 return resultobj;
20868 fail:
20869 return NULL;
20870}
20871
20872
1e0c8722
RD
20873static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
20874 PyObject *resultobj;
20875 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20876 int result;
20877 PyObject * obj0 = 0 ;
20878 char *kwnames[] = {
20879 (char *) "self", NULL
20880 };
20881
20882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
20883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20885 {
20886 PyThreadState* __tstate = wxPyBeginAllowThreads();
20887 result = (int)(arg1)->GetFlags();
20888
20889 wxPyEndAllowThreads(__tstate);
20890 if (PyErr_Occurred()) SWIG_fail;
20891 }
15afbcd0 20892 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
20893 return resultobj;
20894 fail:
20895 return NULL;
20896}
20897
20898
20899static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20900 PyObject *resultobj;
20901 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20902 int result;
20903 PyObject * obj0 = 0 ;
20904 char *kwnames[] = {
20905 (char *) "self", NULL
20906 };
20907
20908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 result = (int)(arg1)->GetKeyCode();
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
15afbcd0 20918 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
20919 return resultobj;
20920 fail:
20921 return NULL;
20922}
20923
20924
20925static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20928 int result;
20929 PyObject * obj0 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
20935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20937 {
20938 PyThreadState* __tstate = wxPyBeginAllowThreads();
20939 result = (int)(arg1)->GetCommand();
20940
20941 wxPyEndAllowThreads(__tstate);
20942 if (PyErr_Occurred()) SWIG_fail;
20943 }
15afbcd0 20944 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
20945 return resultobj;
20946 fail:
20947 return NULL;
20948}
20949
20950
20951static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
20952 PyObject *obj;
20953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20954 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
20955 Py_INCREF(obj);
20956 return Py_BuildValue((char *)"");
20957}
20958static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
20959 PyObject *resultobj;
20960 int arg1 ;
20961 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
20962 wxAcceleratorTable *result;
20963 PyObject * obj0 = 0 ;
20964 char *kwnames[] = {
20965 (char *) "n", NULL
20966 };
20967
20968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
20969 {
20970 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
20971 if (arg2) arg1 = PyList_Size(obj0);
20972 else arg1 = 0;
20973 }
20974 {
20975 PyThreadState* __tstate = wxPyBeginAllowThreads();
20976 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
20977
20978 wxPyEndAllowThreads(__tstate);
20979 if (PyErr_Occurred()) SWIG_fail;
20980 }
15afbcd0 20981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
1e0c8722
RD
20982 {
20983 delete [] arg2;
20984 }
20985 return resultobj;
20986 fail:
20987 {
20988 delete [] arg2;
20989 }
20990 return NULL;
20991}
20992
20993
20994static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
20995 PyObject *resultobj;
20996 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
20997 PyObject * obj0 = 0 ;
20998 char *kwnames[] = {
20999 (char *) "self", NULL
21000 };
21001
21002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
21003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21005 {
21006 PyThreadState* __tstate = wxPyBeginAllowThreads();
21007 delete arg1;
21008
21009 wxPyEndAllowThreads(__tstate);
21010 if (PyErr_Occurred()) SWIG_fail;
21011 }
21012 Py_INCREF(Py_None); resultobj = Py_None;
21013 return resultobj;
21014 fail:
21015 return NULL;
21016}
21017
21018
21019static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21020 PyObject *resultobj;
21021 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21022 bool result;
21023 PyObject * obj0 = 0 ;
21024 char *kwnames[] = {
21025 (char *) "self", NULL
21026 };
21027
21028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
21029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21031 {
21032 PyThreadState* __tstate = wxPyBeginAllowThreads();
21033 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21034
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
4f89f6a3
RD
21038 {
21039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21040 }
1e0c8722
RD
21041 return resultobj;
21042 fail:
21043 return NULL;
21044}
21045
21046
21047static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
21048 PyObject *obj;
21049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21050 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21051 Py_INCREF(obj);
21052 return Py_BuildValue((char *)"");
21053}
21054static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
21055 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21056 return 1;
21057}
21058
21059
21060static PyObject *_wrap_NullAcceleratorTable_get() {
21061 PyObject *pyobj;
21062
15afbcd0 21063 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
1e0c8722
RD
21064 return pyobj;
21065}
21066
21067
21068static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
21069 PyObject *resultobj;
21070 wxString *arg1 = 0 ;
21071 wxAcceleratorEntry *result;
21072 bool temp1 = False ;
21073 PyObject * obj0 = 0 ;
21074 char *kwnames[] = {
21075 (char *) "label", NULL
21076 };
21077
21078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21079 {
21080 arg1 = wxString_in_helper(obj0);
21081 if (arg1 == NULL) SWIG_fail;
21082 temp1 = True;
21083 }
21084 {
21085 PyThreadState* __tstate = wxPyBeginAllowThreads();
21086 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21087
21088 wxPyEndAllowThreads(__tstate);
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
15afbcd0 21091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
1e0c8722
RD
21092 {
21093 if (temp1)
21094 delete arg1;
21095 }
21096 return resultobj;
21097 fail:
21098 {
21099 if (temp1)
21100 delete arg1;
21101 }
21102 return NULL;
21103}
21104
21105
e811c8ce
RD
21106static int _wrap_PanelNameStr_set(PyObject *_val) {
21107 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21108 return 1;
21109}
21110
21111
21112static PyObject *_wrap_PanelNameStr_get() {
21113 PyObject *pyobj;
21114
21115 {
21116#if wxUSE_UNICODE
21117 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21118#else
21119 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21120#endif
21121 }
21122 return pyobj;
21123}
21124
21125
74a57fcd
RD
21126static PyObject *_wrap_new_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21127 PyObject *resultobj;
21128 wxVisualAttributes *result;
21129 char *kwnames[] = {
21130 NULL
21131 };
21132
21133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
21134 {
21135 PyThreadState* __tstate = wxPyBeginAllowThreads();
21136 result = (wxVisualAttributes *)new_wxVisualAttributes();
21137
21138 wxPyEndAllowThreads(__tstate);
21139 if (PyErr_Occurred()) SWIG_fail;
21140 }
21141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
21142 return resultobj;
21143 fail:
21144 return NULL;
21145}
21146
21147
21148static PyObject *_wrap_delete_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21149 PyObject *resultobj;
21150 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21151 PyObject * obj0 = 0 ;
21152 char *kwnames[] = {
21153 (char *) "self", NULL
21154 };
21155
21156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
21157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21159 {
21160 PyThreadState* __tstate = wxPyBeginAllowThreads();
21161 delete_wxVisualAttributes(arg1);
21162
21163 wxPyEndAllowThreads(__tstate);
21164 if (PyErr_Occurred()) SWIG_fail;
21165 }
21166 Py_INCREF(Py_None); resultobj = Py_None;
21167 return resultobj;
21168 fail:
21169 return NULL;
21170}
21171
21172
21173static PyObject *_wrap_VisualAttributes_font_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21174 PyObject *resultobj;
21175 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21176 wxFont *arg2 = (wxFont *) 0 ;
21177 PyObject * obj0 = 0 ;
21178 PyObject * obj1 = 0 ;
21179 char *kwnames[] = {
21180 (char *) "self",(char *) "font", NULL
21181 };
21182
21183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
21184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
21187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21188 if (arg1) (arg1)->font = *arg2;
21189
21190 Py_INCREF(Py_None); resultobj = Py_None;
21191 return resultobj;
21192 fail:
21193 return NULL;
21194}
21195
21196
21197static PyObject *_wrap_VisualAttributes_font_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21198 PyObject *resultobj;
21199 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21200 wxFont *result;
21201 PyObject * obj0 = 0 ;
21202 char *kwnames[] = {
21203 (char *) "self", NULL
21204 };
21205
21206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
21207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21209 result = (wxFont *)& ((arg1)->font);
21210
21211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
21212 return resultobj;
21213 fail:
21214 return NULL;
21215}
21216
21217
21218static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21219 PyObject *resultobj;
21220 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21221 wxColour *arg2 = (wxColour *) 0 ;
21222 PyObject * obj0 = 0 ;
21223 PyObject * obj1 = 0 ;
21224 char *kwnames[] = {
21225 (char *) "self",(char *) "colFg", NULL
21226 };
21227
21228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
21229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21233 if (arg1) (arg1)->colFg = *arg2;
21234
21235 Py_INCREF(Py_None); resultobj = Py_None;
21236 return resultobj;
21237 fail:
21238 return NULL;
21239}
21240
21241
21242static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21243 PyObject *resultobj;
21244 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21245 wxColour *result;
21246 PyObject * obj0 = 0 ;
21247 char *kwnames[] = {
21248 (char *) "self", NULL
21249 };
21250
21251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
21252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21254 result = (wxColour *)& ((arg1)->colFg);
21255
21256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21257 return resultobj;
21258 fail:
21259 return NULL;
21260}
21261
21262
21263static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21264 PyObject *resultobj;
21265 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21266 wxColour *arg2 = (wxColour *) 0 ;
21267 PyObject * obj0 = 0 ;
21268 PyObject * obj1 = 0 ;
21269 char *kwnames[] = {
21270 (char *) "self",(char *) "colBg", NULL
21271 };
21272
21273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
21274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21276 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21278 if (arg1) (arg1)->colBg = *arg2;
21279
21280 Py_INCREF(Py_None); resultobj = Py_None;
21281 return resultobj;
21282 fail:
21283 return NULL;
21284}
21285
21286
21287static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21288 PyObject *resultobj;
21289 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21290 wxColour *result;
21291 PyObject * obj0 = 0 ;
21292 char *kwnames[] = {
21293 (char *) "self", NULL
21294 };
21295
21296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
21297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21299 result = (wxColour *)& ((arg1)->colBg);
21300
21301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21302 return resultobj;
21303 fail:
21304 return NULL;
21305}
21306
21307
21308static PyObject * VisualAttributes_swigregister(PyObject *self, PyObject *args) {
21309 PyObject *obj;
21310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21311 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
21312 Py_INCREF(obj);
21313 return Py_BuildValue((char *)"");
21314}
d14a1e28
RD
21315static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
21316 PyObject *resultobj;
21317 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 21318 int arg2 = (int) (int)-1 ;
d14a1e28
RD
21319 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21320 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21321 wxSize const &arg4_defvalue = wxDefaultSize ;
21322 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21323 long arg5 = (long) 0 ;
21324 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21325 wxString *arg6 = (wxString *) &arg6_defvalue ;
21326 wxWindow *result;
21327 wxPoint temp3 ;
21328 wxSize temp4 ;
e811c8ce 21329 bool temp6 = False ;
d14a1e28 21330 PyObject * obj0 = 0 ;
994141e6 21331 PyObject * obj1 = 0 ;
d14a1e28
RD
21332 PyObject * obj2 = 0 ;
21333 PyObject * obj3 = 0 ;
994141e6 21334 PyObject * obj4 = 0 ;
d14a1e28
RD
21335 PyObject * obj5 = 0 ;
21336 char *kwnames[] = {
21337 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21338 };
21339
74a57fcd 21340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
21341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
21343 if (obj1) {
21344 arg2 = (int const) SWIG_AsInt(obj1);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 }
d14a1e28
RD
21347 if (obj2) {
21348 {
21349 arg3 = &temp3;
21350 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21351 }
21352 }
21353 if (obj3) {
21354 {
21355 arg4 = &temp4;
21356 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21357 }
21358 }
994141e6 21359 if (obj4) {
15afbcd0
RD
21360 arg5 = (long) SWIG_AsLong(obj4);
21361 if (PyErr_Occurred()) SWIG_fail;
994141e6 21362 }
d14a1e28
RD
21363 if (obj5) {
21364 {
21365 arg6 = wxString_in_helper(obj5);
21366 if (arg6 == NULL) SWIG_fail;
e811c8ce 21367 temp6 = True;
d14a1e28
RD
21368 }
21369 }
21370 {
21371 PyThreadState* __tstate = wxPyBeginAllowThreads();
21372 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21373
21374 wxPyEndAllowThreads(__tstate);
21375 if (PyErr_Occurred()) SWIG_fail;
21376 }
21377 {
21378 resultobj = wxPyMake_wxObject(result);
21379 }
21380 {
21381 if (temp6)
21382 delete arg6;
21383 }
21384 return resultobj;
21385 fail:
21386 {
21387 if (temp6)
21388 delete arg6;
21389 }
21390 return NULL;
21391}
21392
21393
21394static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21395 PyObject *resultobj;
21396 wxWindow *result;
21397 char *kwnames[] = {
21398 NULL
21399 };
21400
21401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
21402 {
21403 PyThreadState* __tstate = wxPyBeginAllowThreads();
21404 result = (wxWindow *)new wxWindow();
21405
21406 wxPyEndAllowThreads(__tstate);
21407 if (PyErr_Occurred()) SWIG_fail;
21408 }
21409 {
21410 resultobj = wxPyMake_wxObject(result);
21411 }
21412 return resultobj;
21413 fail:
21414 return NULL;
21415}
21416
21417
21418static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21419 PyObject *resultobj;
21420 wxWindow *arg1 = (wxWindow *) 0 ;
21421 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 21422 int arg3 = (int) (int)-1 ;
d14a1e28
RD
21423 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21424 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21425 wxSize const &arg5_defvalue = wxDefaultSize ;
21426 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21427 long arg6 = (long) 0 ;
21428 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21429 wxString *arg7 = (wxString *) &arg7_defvalue ;
21430 bool result;
21431 wxPoint temp4 ;
21432 wxSize temp5 ;
e811c8ce 21433 bool temp7 = False ;
d14a1e28
RD
21434 PyObject * obj0 = 0 ;
21435 PyObject * obj1 = 0 ;
994141e6 21436 PyObject * obj2 = 0 ;
d14a1e28
RD
21437 PyObject * obj3 = 0 ;
21438 PyObject * obj4 = 0 ;
994141e6 21439 PyObject * obj5 = 0 ;
d14a1e28
RD
21440 PyObject * obj6 = 0 ;
21441 char *kwnames[] = {
21442 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21443 };
21444
74a57fcd 21445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
21446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
21450 if (obj2) {
21451 arg3 = (int const) SWIG_AsInt(obj2);
21452 if (PyErr_Occurred()) SWIG_fail;
21453 }
d14a1e28
RD
21454 if (obj3) {
21455 {
21456 arg4 = &temp4;
21457 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21458 }
21459 }
21460 if (obj4) {
21461 {
21462 arg5 = &temp5;
21463 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21464 }
21465 }
994141e6 21466 if (obj5) {
15afbcd0
RD
21467 arg6 = (long) SWIG_AsLong(obj5);
21468 if (PyErr_Occurred()) SWIG_fail;
994141e6 21469 }
d14a1e28
RD
21470 if (obj6) {
21471 {
21472 arg7 = wxString_in_helper(obj6);
21473 if (arg7 == NULL) SWIG_fail;
e811c8ce 21474 temp7 = True;
d14a1e28
RD
21475 }
21476 }
21477 {
21478 PyThreadState* __tstate = wxPyBeginAllowThreads();
21479 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21480
21481 wxPyEndAllowThreads(__tstate);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 }
4f89f6a3
RD
21484 {
21485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21486 }
d14a1e28
RD
21487 {
21488 if (temp7)
21489 delete arg7;
21490 }
21491 return resultobj;
21492 fail:
21493 {
21494 if (temp7)
21495 delete arg7;
21496 }
21497 return NULL;
21498}
21499
21500
21501static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
21502 PyObject *resultobj;
21503 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21504 bool arg2 = (bool) False ;
d14a1e28
RD
21505 bool result;
21506 PyObject * obj0 = 0 ;
21507 PyObject * obj1 = 0 ;
21508 char *kwnames[] = {
21509 (char *) "self",(char *) "force", NULL
21510 };
21511
21512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 21515 if (obj1) {
15afbcd0
RD
21516 arg2 = (bool) SWIG_AsBool(obj1);
21517 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21518 }
21519 {
21520 PyThreadState* __tstate = wxPyBeginAllowThreads();
21521 result = (bool)(arg1)->Close(arg2);
21522
21523 wxPyEndAllowThreads(__tstate);
21524 if (PyErr_Occurred()) SWIG_fail;
21525 }
4f89f6a3
RD
21526 {
21527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21528 }
d14a1e28
RD
21529 return resultobj;
21530 fail:
21531 return NULL;
21532}
21533
21534
21535static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
21536 PyObject *resultobj;
21537 wxWindow *arg1 = (wxWindow *) 0 ;
21538 bool result;
21539 PyObject * obj0 = 0 ;
21540 char *kwnames[] = {
21541 (char *) "self", NULL
21542 };
21543
21544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
21545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21547 {
21548 PyThreadState* __tstate = wxPyBeginAllowThreads();
21549 result = (bool)(arg1)->Destroy();
21550
21551 wxPyEndAllowThreads(__tstate);
21552 if (PyErr_Occurred()) SWIG_fail;
21553 }
4f89f6a3
RD
21554 {
21555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21556 }
d14a1e28
RD
21557 return resultobj;
21558 fail:
21559 return NULL;
21560}
21561
21562
21563static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21564 PyObject *resultobj;
21565 wxWindow *arg1 = (wxWindow *) 0 ;
21566 bool result;
21567 PyObject * obj0 = 0 ;
21568 char *kwnames[] = {
21569 (char *) "self", NULL
21570 };
21571
21572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
21573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21575 {
21576 PyThreadState* __tstate = wxPyBeginAllowThreads();
21577 result = (bool)(arg1)->DestroyChildren();
21578
21579 wxPyEndAllowThreads(__tstate);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
4f89f6a3
RD
21582 {
21583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21584 }
d14a1e28
RD
21585 return resultobj;
21586 fail:
21587 return NULL;
21588}
21589
21590
21591static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
21592 PyObject *resultobj;
21593 wxWindow *arg1 = (wxWindow *) 0 ;
21594 bool result;
21595 PyObject * obj0 = 0 ;
21596 char *kwnames[] = {
21597 (char *) "self", NULL
21598 };
21599
21600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
15afbcd0
RD
21601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21603 {
21604 PyThreadState* __tstate = wxPyBeginAllowThreads();
21605 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
21606
21607 wxPyEndAllowThreads(__tstate);
21608 if (PyErr_Occurred()) SWIG_fail;
21609 }
4f89f6a3
RD
21610 {
21611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21612 }
d14a1e28
RD
21613 return resultobj;
21614 fail:
21615 return NULL;
21616}
21617
21618
21619static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21620 PyObject *resultobj;
21621 wxWindow *arg1 = (wxWindow *) 0 ;
21622 wxString *arg2 = 0 ;
e811c8ce 21623 bool temp2 = False ;
d14a1e28
RD
21624 PyObject * obj0 = 0 ;
21625 PyObject * obj1 = 0 ;
21626 char *kwnames[] = {
21627 (char *) "self",(char *) "title", NULL
21628 };
21629
21630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21633 {
21634 arg2 = wxString_in_helper(obj1);
21635 if (arg2 == NULL) SWIG_fail;
e811c8ce 21636 temp2 = True;
d14a1e28
RD
21637 }
21638 {
21639 PyThreadState* __tstate = wxPyBeginAllowThreads();
21640 (arg1)->SetTitle((wxString const &)*arg2);
21641
21642 wxPyEndAllowThreads(__tstate);
21643 if (PyErr_Occurred()) SWIG_fail;
21644 }
21645 Py_INCREF(Py_None); resultobj = Py_None;
21646 {
21647 if (temp2)
21648 delete arg2;
21649 }
21650 return resultobj;
21651 fail:
21652 {
21653 if (temp2)
21654 delete arg2;
21655 }
21656 return NULL;
21657}
21658
21659
21660static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21661 PyObject *resultobj;
21662 wxWindow *arg1 = (wxWindow *) 0 ;
21663 wxString result;
21664 PyObject * obj0 = 0 ;
21665 char *kwnames[] = {
21666 (char *) "self", NULL
21667 };
21668
21669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
21670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 result = ((wxWindow const *)arg1)->GetTitle();
21675
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
21679 {
21680#if wxUSE_UNICODE
21681 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21682#else
21683 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21684#endif
21685 }
21686 return resultobj;
21687 fail:
21688 return NULL;
21689}
21690
21691
21692static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21693 PyObject *resultobj;
21694 wxWindow *arg1 = (wxWindow *) 0 ;
21695 wxString *arg2 = 0 ;
e811c8ce 21696 bool temp2 = False ;
d14a1e28
RD
21697 PyObject * obj0 = 0 ;
21698 PyObject * obj1 = 0 ;
21699 char *kwnames[] = {
21700 (char *) "self",(char *) "label", NULL
21701 };
21702
21703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21706 {
21707 arg2 = wxString_in_helper(obj1);
21708 if (arg2 == NULL) SWIG_fail;
e811c8ce 21709 temp2 = True;
d14a1e28
RD
21710 }
21711 {
21712 PyThreadState* __tstate = wxPyBeginAllowThreads();
21713 (arg1)->SetLabel((wxString const &)*arg2);
21714
21715 wxPyEndAllowThreads(__tstate);
21716 if (PyErr_Occurred()) SWIG_fail;
21717 }
21718 Py_INCREF(Py_None); resultobj = Py_None;
21719 {
21720 if (temp2)
21721 delete arg2;
21722 }
21723 return resultobj;
21724 fail:
21725 {
21726 if (temp2)
21727 delete arg2;
21728 }
21729 return NULL;
21730}
21731
21732
21733static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21734 PyObject *resultobj;
21735 wxWindow *arg1 = (wxWindow *) 0 ;
21736 wxString result;
21737 PyObject * obj0 = 0 ;
21738 char *kwnames[] = {
21739 (char *) "self", NULL
21740 };
21741
21742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
21743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21745 {
21746 PyThreadState* __tstate = wxPyBeginAllowThreads();
21747 result = ((wxWindow const *)arg1)->GetLabel();
21748
21749 wxPyEndAllowThreads(__tstate);
21750 if (PyErr_Occurred()) SWIG_fail;
21751 }
21752 {
21753#if wxUSE_UNICODE
21754 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21755#else
21756 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21757#endif
21758 }
21759 return resultobj;
21760 fail:
21761 return NULL;
21762}
21763
21764
21765static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21766 PyObject *resultobj;
21767 wxWindow *arg1 = (wxWindow *) 0 ;
21768 wxString *arg2 = 0 ;
e811c8ce 21769 bool temp2 = False ;
d14a1e28
RD
21770 PyObject * obj0 = 0 ;
21771 PyObject * obj1 = 0 ;
21772 char *kwnames[] = {
21773 (char *) "self",(char *) "name", NULL
21774 };
21775
21776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21779 {
21780 arg2 = wxString_in_helper(obj1);
21781 if (arg2 == NULL) SWIG_fail;
e811c8ce 21782 temp2 = True;
d14a1e28
RD
21783 }
21784 {
21785 PyThreadState* __tstate = wxPyBeginAllowThreads();
21786 (arg1)->SetName((wxString const &)*arg2);
21787
21788 wxPyEndAllowThreads(__tstate);
21789 if (PyErr_Occurred()) SWIG_fail;
21790 }
21791 Py_INCREF(Py_None); resultobj = Py_None;
21792 {
21793 if (temp2)
21794 delete arg2;
21795 }
21796 return resultobj;
21797 fail:
21798 {
21799 if (temp2)
21800 delete arg2;
21801 }
21802 return NULL;
21803}
21804
21805
21806static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21807 PyObject *resultobj;
21808 wxWindow *arg1 = (wxWindow *) 0 ;
21809 wxString result;
21810 PyObject * obj0 = 0 ;
21811 char *kwnames[] = {
21812 (char *) "self", NULL
21813 };
21814
21815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
21816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21818 {
21819 PyThreadState* __tstate = wxPyBeginAllowThreads();
21820 result = ((wxWindow const *)arg1)->GetName();
21821
21822 wxPyEndAllowThreads(__tstate);
21823 if (PyErr_Occurred()) SWIG_fail;
21824 }
21825 {
21826#if wxUSE_UNICODE
21827 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21828#else
21829 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21830#endif
21831 }
21832 return resultobj;
21833 fail:
21834 return NULL;
21835}
21836
21837
4276dc52
RD
21838static PyObject *_wrap_Window_SetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21839 PyObject *resultobj;
21840 wxWindow *arg1 = (wxWindow *) 0 ;
21841 int arg2 ;
21842 PyObject * obj0 = 0 ;
21843 PyObject * obj1 = 0 ;
21844 char *kwnames[] = {
21845 (char *) "self",(char *) "variant", NULL
21846 };
21847
21848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
21849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21851 arg2 = (wxWindowVariant) SWIG_AsInt(obj1);
21852 if (PyErr_Occurred()) SWIG_fail;
21853 {
21854 PyThreadState* __tstate = wxPyBeginAllowThreads();
21855 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
21856
21857 wxPyEndAllowThreads(__tstate);
21858 if (PyErr_Occurred()) SWIG_fail;
21859 }
21860 Py_INCREF(Py_None); resultobj = Py_None;
21861 return resultobj;
21862 fail:
21863 return NULL;
21864}
21865
21866
21867static PyObject *_wrap_Window_GetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21868 PyObject *resultobj;
21869 wxWindow *arg1 = (wxWindow *) 0 ;
21870 int result;
21871 PyObject * obj0 = 0 ;
21872 char *kwnames[] = {
21873 (char *) "self", NULL
21874 };
21875
21876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
21877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21879 {
21880 PyThreadState* __tstate = wxPyBeginAllowThreads();
21881 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
21882
21883 wxPyEndAllowThreads(__tstate);
21884 if (PyErr_Occurred()) SWIG_fail;
21885 }
21886 resultobj = SWIG_FromInt((int)result);
21887 return resultobj;
21888 fail:
21889 return NULL;
21890}
21891
21892
d14a1e28
RD
21893static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21894 PyObject *resultobj;
21895 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21896 int arg2 ;
d14a1e28 21897 PyObject * obj0 = 0 ;
994141e6 21898 PyObject * obj1 = 0 ;
d14a1e28
RD
21899 char *kwnames[] = {
21900 (char *) "self",(char *) "winid", NULL
21901 };
21902
994141e6 21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21906 arg2 = (int) SWIG_AsInt(obj1);
21907 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21908 {
21909 PyThreadState* __tstate = wxPyBeginAllowThreads();
21910 (arg1)->SetId(arg2);
21911
21912 wxPyEndAllowThreads(__tstate);
21913 if (PyErr_Occurred()) SWIG_fail;
21914 }
21915 Py_INCREF(Py_None); resultobj = Py_None;
21916 return resultobj;
21917 fail:
21918 return NULL;
21919}
21920
21921
21922static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21923 PyObject *resultobj;
21924 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21925 int result;
d14a1e28
RD
21926 PyObject * obj0 = 0 ;
21927 char *kwnames[] = {
21928 (char *) "self", NULL
21929 };
21930
21931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
21932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 21936 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
15afbcd0 21941 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21942 return resultobj;
21943 fail:
21944 return NULL;
21945}
21946
21947
21948static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21949 PyObject *resultobj;
21950 int result;
21951 char *kwnames[] = {
21952 NULL
21953 };
21954
21955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
21956 {
21957 PyThreadState* __tstate = wxPyBeginAllowThreads();
21958 result = (int)wxWindow::NewControlId();
21959
21960 wxPyEndAllowThreads(__tstate);
21961 if (PyErr_Occurred()) SWIG_fail;
21962 }
15afbcd0 21963 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21964 return resultobj;
21965 fail:
21966 return NULL;
21967}
21968
21969
21970static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21971 PyObject *resultobj;
21972 int arg1 ;
21973 int result;
994141e6 21974 PyObject * obj0 = 0 ;
d14a1e28
RD
21975 char *kwnames[] = {
21976 (char *) "winid", NULL
21977 };
21978
994141e6 21979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
15afbcd0
RD
21980 arg1 = (int) SWIG_AsInt(obj0);
21981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21982 {
21983 PyThreadState* __tstate = wxPyBeginAllowThreads();
21984 result = (int)wxWindow::NextControlId(arg1);
21985
21986 wxPyEndAllowThreads(__tstate);
21987 if (PyErr_Occurred()) SWIG_fail;
21988 }
15afbcd0 21989 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21990 return resultobj;
21991 fail:
21992 return NULL;
21993}
21994
21995
21996static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21997 PyObject *resultobj;
21998 int arg1 ;
21999 int result;
994141e6 22000 PyObject * obj0 = 0 ;
d14a1e28
RD
22001 char *kwnames[] = {
22002 (char *) "winid", NULL
22003 };
22004
994141e6 22005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
15afbcd0
RD
22006 arg1 = (int) SWIG_AsInt(obj0);
22007 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22008 {
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 result = (int)wxWindow::PrevControlId(arg1);
22011
22012 wxPyEndAllowThreads(__tstate);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
15afbcd0 22015 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22016 return resultobj;
22017 fail:
22018 return NULL;
22019}
22020
22021
22022static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22023 PyObject *resultobj;
22024 wxWindow *arg1 = (wxWindow *) 0 ;
22025 wxSize *arg2 = 0 ;
22026 wxSize temp2 ;
22027 PyObject * obj0 = 0 ;
22028 PyObject * obj1 = 0 ;
22029 char *kwnames[] = {
22030 (char *) "self",(char *) "size", NULL
22031 };
22032
22033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22036 {
22037 arg2 = &temp2;
22038 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22039 }
22040 {
22041 PyThreadState* __tstate = wxPyBeginAllowThreads();
22042 (arg1)->SetSize((wxSize const &)*arg2);
22043
22044 wxPyEndAllowThreads(__tstate);
22045 if (PyErr_Occurred()) SWIG_fail;
22046 }
22047 Py_INCREF(Py_None); resultobj = Py_None;
22048 return resultobj;
22049 fail:
22050 return NULL;
22051}
22052
22053
22054static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
22055 PyObject *resultobj;
22056 wxWindow *arg1 = (wxWindow *) 0 ;
22057 int arg2 ;
22058 int arg3 ;
22059 int arg4 ;
22060 int arg5 ;
22061 int arg6 = (int) wxSIZE_AUTO ;
22062 PyObject * obj0 = 0 ;
994141e6
RD
22063 PyObject * obj1 = 0 ;
22064 PyObject * obj2 = 0 ;
22065 PyObject * obj3 = 0 ;
22066 PyObject * obj4 = 0 ;
22067 PyObject * obj5 = 0 ;
d14a1e28
RD
22068 char *kwnames[] = {
22069 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22070 };
22071
994141e6 22072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
22073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22075 arg2 = (int) SWIG_AsInt(obj1);
22076 if (PyErr_Occurred()) SWIG_fail;
22077 arg3 = (int) SWIG_AsInt(obj2);
22078 if (PyErr_Occurred()) SWIG_fail;
22079 arg4 = (int) SWIG_AsInt(obj3);
22080 if (PyErr_Occurred()) SWIG_fail;
22081 arg5 = (int) SWIG_AsInt(obj4);
22082 if (PyErr_Occurred()) SWIG_fail;
994141e6 22083 if (obj5) {
15afbcd0
RD
22084 arg6 = (int) SWIG_AsInt(obj5);
22085 if (PyErr_Occurred()) SWIG_fail;
994141e6 22086 }
d14a1e28
RD
22087 {
22088 PyThreadState* __tstate = wxPyBeginAllowThreads();
22089 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
22090
22091 wxPyEndAllowThreads(__tstate);
22092 if (PyErr_Occurred()) SWIG_fail;
22093 }
22094 Py_INCREF(Py_None); resultobj = Py_None;
22095 return resultobj;
22096 fail:
22097 return NULL;
22098}
22099
22100
22101static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22102 PyObject *resultobj;
22103 wxWindow *arg1 = (wxWindow *) 0 ;
22104 wxRect *arg2 = 0 ;
22105 int arg3 = (int) wxSIZE_AUTO ;
22106 wxRect temp2 ;
22107 PyObject * obj0 = 0 ;
22108 PyObject * obj1 = 0 ;
994141e6 22109 PyObject * obj2 = 0 ;
d14a1e28
RD
22110 char *kwnames[] = {
22111 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22112 };
22113
994141e6 22114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22117 {
22118 arg2 = &temp2;
22119 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22120 }
994141e6 22121 if (obj2) {
15afbcd0
RD
22122 arg3 = (int) SWIG_AsInt(obj2);
22123 if (PyErr_Occurred()) SWIG_fail;
994141e6 22124 }
d14a1e28
RD
22125 {
22126 PyThreadState* __tstate = wxPyBeginAllowThreads();
22127 (arg1)->SetSize((wxRect const &)*arg2,arg3);
22128
22129 wxPyEndAllowThreads(__tstate);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
22132 Py_INCREF(Py_None); resultobj = Py_None;
22133 return resultobj;
22134 fail:
22135 return NULL;
22136}
22137
22138
22139static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22140 PyObject *resultobj;
22141 wxWindow *arg1 = (wxWindow *) 0 ;
22142 int arg2 ;
22143 int arg3 ;
22144 PyObject * obj0 = 0 ;
994141e6
RD
22145 PyObject * obj1 = 0 ;
22146 PyObject * obj2 = 0 ;
d14a1e28
RD
22147 char *kwnames[] = {
22148 (char *) "self",(char *) "width",(char *) "height", NULL
22149 };
22150
994141e6 22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22154 arg2 = (int) SWIG_AsInt(obj1);
22155 if (PyErr_Occurred()) SWIG_fail;
22156 arg3 = (int) SWIG_AsInt(obj2);
22157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22158 {
22159 PyThreadState* __tstate = wxPyBeginAllowThreads();
22160 (arg1)->SetSize(arg2,arg3);
22161
22162 wxPyEndAllowThreads(__tstate);
22163 if (PyErr_Occurred()) SWIG_fail;
22164 }
22165 Py_INCREF(Py_None); resultobj = Py_None;
22166 return resultobj;
22167 fail:
22168 return NULL;
22169}
22170
22171
22172static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
22173 PyObject *resultobj;
22174 wxWindow *arg1 = (wxWindow *) 0 ;
22175 wxPoint *arg2 = 0 ;
22176 int arg3 = (int) wxSIZE_USE_EXISTING ;
22177 wxPoint temp2 ;
22178 PyObject * obj0 = 0 ;
22179 PyObject * obj1 = 0 ;
994141e6 22180 PyObject * obj2 = 0 ;
d14a1e28
RD
22181 char *kwnames[] = {
22182 (char *) "self",(char *) "pt",(char *) "flags", NULL
22183 };
22184
994141e6 22185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22188 {
22189 arg2 = &temp2;
22190 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22191 }
994141e6 22192 if (obj2) {
15afbcd0
RD
22193 arg3 = (int) SWIG_AsInt(obj2);
22194 if (PyErr_Occurred()) SWIG_fail;
994141e6 22195 }
d14a1e28
RD
22196 {
22197 PyThreadState* __tstate = wxPyBeginAllowThreads();
22198 (arg1)->Move((wxPoint const &)*arg2,arg3);
22199
22200 wxPyEndAllowThreads(__tstate);
22201 if (PyErr_Occurred()) SWIG_fail;
22202 }
22203 Py_INCREF(Py_None); resultobj = Py_None;
22204 return resultobj;
22205 fail:
22206 return NULL;
22207}
22208
22209
22210static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22211 PyObject *resultobj;
22212 wxWindow *arg1 = (wxWindow *) 0 ;
22213 int arg2 ;
22214 int arg3 ;
22215 int arg4 = (int) wxSIZE_USE_EXISTING ;
22216 PyObject * obj0 = 0 ;
994141e6
RD
22217 PyObject * obj1 = 0 ;
22218 PyObject * obj2 = 0 ;
22219 PyObject * obj3 = 0 ;
d14a1e28
RD
22220 char *kwnames[] = {
22221 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22222 };
22223
994141e6 22224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22227 arg2 = (int) SWIG_AsInt(obj1);
22228 if (PyErr_Occurred()) SWIG_fail;
22229 arg3 = (int) SWIG_AsInt(obj2);
22230 if (PyErr_Occurred()) SWIG_fail;
994141e6 22231 if (obj3) {
15afbcd0
RD
22232 arg4 = (int) SWIG_AsInt(obj3);
22233 if (PyErr_Occurred()) SWIG_fail;
994141e6 22234 }
d14a1e28
RD
22235 {
22236 PyThreadState* __tstate = wxPyBeginAllowThreads();
22237 (arg1)->Move(arg2,arg3,arg4);
22238
22239 wxPyEndAllowThreads(__tstate);
22240 if (PyErr_Occurred()) SWIG_fail;
22241 }
22242 Py_INCREF(Py_None); resultobj = Py_None;
22243 return resultobj;
22244 fail:
22245 return NULL;
22246}
22247
22248
22249static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
22250 PyObject *resultobj;
22251 wxWindow *arg1 = (wxWindow *) 0 ;
22252 PyObject * obj0 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
15afbcd0
RD
22258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 (arg1)->Raise();
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 Py_INCREF(Py_None); resultobj = Py_None;
22268 return resultobj;
22269 fail:
22270 return NULL;
22271}
22272
22273
22274static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
22275 PyObject *resultobj;
22276 wxWindow *arg1 = (wxWindow *) 0 ;
22277 PyObject * obj0 = 0 ;
22278 char *kwnames[] = {
22279 (char *) "self", NULL
22280 };
22281
22282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
15afbcd0
RD
22283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22285 {
22286 PyThreadState* __tstate = wxPyBeginAllowThreads();
22287 (arg1)->Lower();
22288
22289 wxPyEndAllowThreads(__tstate);
22290 if (PyErr_Occurred()) SWIG_fail;
22291 }
22292 Py_INCREF(Py_None); resultobj = Py_None;
22293 return resultobj;
22294 fail:
22295 return NULL;
22296}
22297
22298
22299static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22300 PyObject *resultobj;
22301 wxWindow *arg1 = (wxWindow *) 0 ;
22302 wxSize *arg2 = 0 ;
22303 wxSize temp2 ;
22304 PyObject * obj0 = 0 ;
22305 PyObject * obj1 = 0 ;
22306 char *kwnames[] = {
22307 (char *) "self",(char *) "size", NULL
22308 };
22309
22310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22313 {
22314 arg2 = &temp2;
22315 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22316 }
22317 {
22318 PyThreadState* __tstate = wxPyBeginAllowThreads();
22319 (arg1)->SetClientSize((wxSize const &)*arg2);
22320
22321 wxPyEndAllowThreads(__tstate);
22322 if (PyErr_Occurred()) SWIG_fail;
22323 }
22324 Py_INCREF(Py_None); resultobj = Py_None;
22325 return resultobj;
22326 fail:
22327 return NULL;
22328}
22329
22330
22331static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22332 PyObject *resultobj;
22333 wxWindow *arg1 = (wxWindow *) 0 ;
22334 int arg2 ;
22335 int arg3 ;
22336 PyObject * obj0 = 0 ;
994141e6
RD
22337 PyObject * obj1 = 0 ;
22338 PyObject * obj2 = 0 ;
d14a1e28
RD
22339 char *kwnames[] = {
22340 (char *) "self",(char *) "width",(char *) "height", NULL
22341 };
22342
994141e6 22343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22346 arg2 = (int) SWIG_AsInt(obj1);
22347 if (PyErr_Occurred()) SWIG_fail;
22348 arg3 = (int) SWIG_AsInt(obj2);
22349 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22350 {
22351 PyThreadState* __tstate = wxPyBeginAllowThreads();
22352 (arg1)->SetClientSize(arg2,arg3);
22353
22354 wxPyEndAllowThreads(__tstate);
22355 if (PyErr_Occurred()) SWIG_fail;
22356 }
22357 Py_INCREF(Py_None); resultobj = Py_None;
22358 return resultobj;
22359 fail:
22360 return NULL;
22361}
22362
22363
22364static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22365 PyObject *resultobj;
22366 wxWindow *arg1 = (wxWindow *) 0 ;
22367 wxRect *arg2 = 0 ;
22368 wxRect temp2 ;
22369 PyObject * obj0 = 0 ;
22370 PyObject * obj1 = 0 ;
22371 char *kwnames[] = {
22372 (char *) "self",(char *) "rect", NULL
22373 };
22374
22375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22378 {
22379 arg2 = &temp2;
22380 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22381 }
22382 {
22383 PyThreadState* __tstate = wxPyBeginAllowThreads();
22384 (arg1)->SetClientSize((wxRect const &)*arg2);
22385
22386 wxPyEndAllowThreads(__tstate);
22387 if (PyErr_Occurred()) SWIG_fail;
22388 }
22389 Py_INCREF(Py_None); resultobj = Py_None;
22390 return resultobj;
22391 fail:
22392 return NULL;
22393}
22394
22395
22396static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22397 PyObject *resultobj;
22398 wxWindow *arg1 = (wxWindow *) 0 ;
22399 wxPoint result;
22400 PyObject * obj0 = 0 ;
22401 char *kwnames[] = {
22402 (char *) "self", NULL
22403 };
22404
22405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
22406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22408 {
22409 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22410 result = (arg1)->GetPosition();
d14a1e28
RD
22411
22412 wxPyEndAllowThreads(__tstate);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 }
22415 {
22416 wxPoint * resultptr;
22417 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 22418 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22419 }
22420 return resultobj;
22421 fail:
22422 return NULL;
22423}
22424
22425
22426static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22427 PyObject *resultobj;
22428 wxWindow *arg1 = (wxWindow *) 0 ;
22429 int *arg2 = (int *) 0 ;
22430 int *arg3 = (int *) 0 ;
22431 int temp2 ;
22432 int temp3 ;
22433 PyObject * obj0 = 0 ;
22434 char *kwnames[] = {
22435 (char *) "self", NULL
22436 };
22437
22438 arg2 = &temp2;
22439 arg3 = &temp3;
22440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22443 {
22444 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22445 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
22446
22447 wxPyEndAllowThreads(__tstate);
22448 if (PyErr_Occurred()) SWIG_fail;
22449 }
22450 Py_INCREF(Py_None); resultobj = Py_None;
22451 {
22452 PyObject *o = PyInt_FromLong((long) (*arg2));
22453 resultobj = t_output_helper(resultobj,o);
22454 }
22455 {
22456 PyObject *o = PyInt_FromLong((long) (*arg3));
22457 resultobj = t_output_helper(resultobj,o);
22458 }
22459 return resultobj;
22460 fail:
22461 return NULL;
22462}
22463
22464
22465static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22466 PyObject *resultobj;
22467 wxWindow *arg1 = (wxWindow *) 0 ;
22468 wxSize result;
22469 PyObject * obj0 = 0 ;
22470 char *kwnames[] = {
22471 (char *) "self", NULL
22472 };
22473
22474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22477 {
22478 PyThreadState* __tstate = wxPyBeginAllowThreads();
22479 result = ((wxWindow const *)arg1)->GetSize();
22480
22481 wxPyEndAllowThreads(__tstate);
22482 if (PyErr_Occurred()) SWIG_fail;
22483 }
22484 {
22485 wxSize * resultptr;
22486 resultptr = new wxSize((wxSize &) result);
15afbcd0 22487 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22488 }
22489 return resultobj;
22490 fail:
22491 return NULL;
22492}
22493
22494
22495static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22496 PyObject *resultobj;
22497 wxWindow *arg1 = (wxWindow *) 0 ;
22498 int *arg2 = (int *) 0 ;
22499 int *arg3 = (int *) 0 ;
22500 int temp2 ;
22501 int temp3 ;
22502 PyObject * obj0 = 0 ;
22503 char *kwnames[] = {
22504 (char *) "self", NULL
22505 };
22506
22507 arg2 = &temp2;
22508 arg3 = &temp3;
22509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22512 {
22513 PyThreadState* __tstate = wxPyBeginAllowThreads();
22514 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
22515
22516 wxPyEndAllowThreads(__tstate);
22517 if (PyErr_Occurred()) SWIG_fail;
22518 }
22519 Py_INCREF(Py_None); resultobj = Py_None;
22520 {
22521 PyObject *o = PyInt_FromLong((long) (*arg2));
22522 resultobj = t_output_helper(resultobj,o);
22523 }
22524 {
22525 PyObject *o = PyInt_FromLong((long) (*arg3));
22526 resultobj = t_output_helper(resultobj,o);
22527 }
22528 return resultobj;
22529 fail:
22530 return NULL;
22531}
22532
22533
22534static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22535 PyObject *resultobj;
22536 wxWindow *arg1 = (wxWindow *) 0 ;
22537 wxRect result;
22538 PyObject * obj0 = 0 ;
22539 char *kwnames[] = {
22540 (char *) "self", NULL
22541 };
22542
22543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
22544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 result = ((wxWindow const *)arg1)->GetRect();
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 {
22554 wxRect * resultptr;
22555 resultptr = new wxRect((wxRect &) result);
15afbcd0 22556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22557 }
22558 return resultobj;
22559 fail:
22560 return NULL;
22561}
22562
22563
22564static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22565 PyObject *resultobj;
22566 wxWindow *arg1 = (wxWindow *) 0 ;
22567 wxSize result;
22568 PyObject * obj0 = 0 ;
22569 char *kwnames[] = {
22570 (char *) "self", NULL
22571 };
22572
22573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22576 {
22577 PyThreadState* __tstate = wxPyBeginAllowThreads();
22578 result = ((wxWindow const *)arg1)->GetClientSize();
22579
22580 wxPyEndAllowThreads(__tstate);
22581 if (PyErr_Occurred()) SWIG_fail;
22582 }
22583 {
22584 wxSize * resultptr;
22585 resultptr = new wxSize((wxSize &) result);
15afbcd0 22586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22587 }
22588 return resultobj;
22589 fail:
22590 return NULL;
22591}
22592
22593
22594static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22595 PyObject *resultobj;
22596 wxWindow *arg1 = (wxWindow *) 0 ;
22597 int *arg2 = (int *) 0 ;
22598 int *arg3 = (int *) 0 ;
22599 int temp2 ;
22600 int temp3 ;
22601 PyObject * obj0 = 0 ;
22602 char *kwnames[] = {
22603 (char *) "self", NULL
22604 };
22605
22606 arg2 = &temp2;
22607 arg3 = &temp3;
22608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22611 {
22612 PyThreadState* __tstate = wxPyBeginAllowThreads();
22613 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
22614
22615 wxPyEndAllowThreads(__tstate);
22616 if (PyErr_Occurred()) SWIG_fail;
22617 }
22618 Py_INCREF(Py_None); resultobj = Py_None;
22619 {
22620 PyObject *o = PyInt_FromLong((long) (*arg2));
22621 resultobj = t_output_helper(resultobj,o);
22622 }
22623 {
22624 PyObject *o = PyInt_FromLong((long) (*arg3));
22625 resultobj = t_output_helper(resultobj,o);
22626 }
22627 return resultobj;
22628 fail:
22629 return NULL;
22630}
22631
22632
22633static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
22634 PyObject *resultobj;
22635 wxWindow *arg1 = (wxWindow *) 0 ;
22636 wxPoint result;
22637 PyObject * obj0 = 0 ;
22638 char *kwnames[] = {
22639 (char *) "self", NULL
22640 };
22641
22642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
22643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22645 {
22646 PyThreadState* __tstate = wxPyBeginAllowThreads();
22647 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
22648
22649 wxPyEndAllowThreads(__tstate);
22650 if (PyErr_Occurred()) SWIG_fail;
22651 }
22652 {
22653 wxPoint * resultptr;
22654 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 22655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22656 }
22657 return resultobj;
22658 fail:
22659 return NULL;
22660}
22661
22662
22663static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22664 PyObject *resultobj;
22665 wxWindow *arg1 = (wxWindow *) 0 ;
22666 wxRect result;
22667 PyObject * obj0 = 0 ;
22668 char *kwnames[] = {
22669 (char *) "self", NULL
22670 };
22671
22672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
22673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22675 {
22676 PyThreadState* __tstate = wxPyBeginAllowThreads();
22677 result = ((wxWindow const *)arg1)->GetClientRect();
22678
22679 wxPyEndAllowThreads(__tstate);
22680 if (PyErr_Occurred()) SWIG_fail;
22681 }
22682 {
22683 wxRect * resultptr;
22684 resultptr = new wxRect((wxRect &) result);
15afbcd0 22685 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22686 }
22687 return resultobj;
22688 fail:
22689 return NULL;
22690}
22691
22692
22693static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22694 PyObject *resultobj;
22695 wxWindow *arg1 = (wxWindow *) 0 ;
22696 wxSize result;
22697 PyObject * obj0 = 0 ;
22698 char *kwnames[] = {
22699 (char *) "self", NULL
22700 };
22701
22702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22705 {
22706 PyThreadState* __tstate = wxPyBeginAllowThreads();
22707 result = ((wxWindow const *)arg1)->GetBestSize();
22708
22709 wxPyEndAllowThreads(__tstate);
22710 if (PyErr_Occurred()) SWIG_fail;
22711 }
22712 {
22713 wxSize * resultptr;
22714 resultptr = new wxSize((wxSize &) result);
15afbcd0 22715 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22716 }
22717 return resultobj;
22718 fail:
22719 return NULL;
22720}
22721
22722
22723static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22724 PyObject *resultobj;
22725 wxWindow *arg1 = (wxWindow *) 0 ;
22726 int *arg2 = (int *) 0 ;
22727 int *arg3 = (int *) 0 ;
22728 int temp2 ;
22729 int temp3 ;
22730 PyObject * obj0 = 0 ;
22731 char *kwnames[] = {
22732 (char *) "self", NULL
22733 };
22734
22735 arg2 = &temp2;
22736 arg3 = &temp3;
22737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22740 {
22741 PyThreadState* __tstate = wxPyBeginAllowThreads();
22742 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
22743
22744 wxPyEndAllowThreads(__tstate);
22745 if (PyErr_Occurred()) SWIG_fail;
22746 }
22747 Py_INCREF(Py_None); resultobj = Py_None;
22748 {
22749 PyObject *o = PyInt_FromLong((long) (*arg2));
22750 resultobj = t_output_helper(resultobj,o);
22751 }
22752 {
22753 PyObject *o = PyInt_FromLong((long) (*arg3));
22754 resultobj = t_output_helper(resultobj,o);
22755 }
22756 return resultobj;
22757 fail:
22758 return NULL;
22759}
22760
22761
22762static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22763 PyObject *resultobj;
22764 wxWindow *arg1 = (wxWindow *) 0 ;
22765 wxSize result;
22766 PyObject * obj0 = 0 ;
22767 char *kwnames[] = {
22768 (char *) "self", NULL
22769 };
22770
22771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22774 {
22775 PyThreadState* __tstate = wxPyBeginAllowThreads();
22776 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
22777
22778 wxPyEndAllowThreads(__tstate);
22779 if (PyErr_Occurred()) SWIG_fail;
22780 }
22781 {
22782 wxSize * resultptr;
22783 resultptr = new wxSize((wxSize &) result);
15afbcd0 22784 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22785 }
22786 return resultobj;
22787 fail:
22788 return NULL;
22789}
22790
22791
22792static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
22793 PyObject *resultobj;
22794 wxWindow *arg1 = (wxWindow *) 0 ;
22795 int arg2 = (int) wxBOTH ;
22796 PyObject * obj0 = 0 ;
994141e6 22797 PyObject * obj1 = 0 ;
d14a1e28
RD
22798 char *kwnames[] = {
22799 (char *) "self",(char *) "direction", NULL
22800 };
22801
994141e6 22802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22805 if (obj1) {
15afbcd0
RD
22806 arg2 = (int) SWIG_AsInt(obj1);
22807 if (PyErr_Occurred()) SWIG_fail;
994141e6 22808 }
d14a1e28
RD
22809 {
22810 PyThreadState* __tstate = wxPyBeginAllowThreads();
22811 (arg1)->Center(arg2);
22812
22813 wxPyEndAllowThreads(__tstate);
22814 if (PyErr_Occurred()) SWIG_fail;
22815 }
22816 Py_INCREF(Py_None); resultobj = Py_None;
22817 return resultobj;
22818 fail:
22819 return NULL;
22820}
22821
22822
22823static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22824 PyObject *resultobj;
22825 wxWindow *arg1 = (wxWindow *) 0 ;
22826 int arg2 = (int) wxBOTH ;
22827 PyObject * obj0 = 0 ;
994141e6 22828 PyObject * obj1 = 0 ;
d14a1e28
RD
22829 char *kwnames[] = {
22830 (char *) "self",(char *) "dir", NULL
22831 };
22832
994141e6 22833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22836 if (obj1) {
15afbcd0
RD
22837 arg2 = (int) SWIG_AsInt(obj1);
22838 if (PyErr_Occurred()) SWIG_fail;
994141e6 22839 }
d14a1e28
RD
22840 {
22841 PyThreadState* __tstate = wxPyBeginAllowThreads();
22842 (arg1)->CenterOnScreen(arg2);
22843
22844 wxPyEndAllowThreads(__tstate);
22845 if (PyErr_Occurred()) SWIG_fail;
22846 }
22847 Py_INCREF(Py_None); resultobj = Py_None;
22848 return resultobj;
22849 fail:
22850 return NULL;
22851}
22852
22853
22854static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22855 PyObject *resultobj;
22856 wxWindow *arg1 = (wxWindow *) 0 ;
22857 int arg2 = (int) wxBOTH ;
22858 PyObject * obj0 = 0 ;
994141e6 22859 PyObject * obj1 = 0 ;
d14a1e28
RD
22860 char *kwnames[] = {
22861 (char *) "self",(char *) "dir", NULL
22862 };
22863
994141e6 22864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22867 if (obj1) {
15afbcd0
RD
22868 arg2 = (int) SWIG_AsInt(obj1);
22869 if (PyErr_Occurred()) SWIG_fail;
994141e6 22870 }
d14a1e28
RD
22871 {
22872 PyThreadState* __tstate = wxPyBeginAllowThreads();
22873 (arg1)->CenterOnParent(arg2);
22874
22875 wxPyEndAllowThreads(__tstate);
22876 if (PyErr_Occurred()) SWIG_fail;
22877 }
22878 Py_INCREF(Py_None); resultobj = Py_None;
22879 return resultobj;
22880 fail:
22881 return NULL;
22882}
22883
22884
22885static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
22886 PyObject *resultobj;
22887 wxWindow *arg1 = (wxWindow *) 0 ;
22888 PyObject * obj0 = 0 ;
22889 char *kwnames[] = {
22890 (char *) "self", NULL
22891 };
22892
22893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
15afbcd0
RD
22894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
22898 (arg1)->Fit();
22899
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
22903 Py_INCREF(Py_None); resultobj = Py_None;
22904 return resultobj;
22905 fail:
22906 return NULL;
22907}
22908
22909
22910static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
22911 PyObject *resultobj;
22912 wxWindow *arg1 = (wxWindow *) 0 ;
22913 PyObject * obj0 = 0 ;
22914 char *kwnames[] = {
22915 (char *) "self", NULL
22916 };
22917
22918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
15afbcd0
RD
22919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 (arg1)->FitInside();
22924
22925 wxPyEndAllowThreads(__tstate);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 }
22928 Py_INCREF(Py_None); resultobj = Py_None;
22929 return resultobj;
22930 fail:
22931 return NULL;
22932}
22933
22934
74a57fcd 22935static PyObject *_wrap_Window_SetSizeHints__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
22936 PyObject *resultobj;
22937 wxWindow *arg1 = (wxWindow *) 0 ;
22938 int arg2 ;
22939 int arg3 ;
22940 int arg4 = (int) -1 ;
22941 int arg5 = (int) -1 ;
22942 int arg6 = (int) -1 ;
22943 int arg7 = (int) -1 ;
22944 PyObject * obj0 = 0 ;
994141e6
RD
22945 PyObject * obj1 = 0 ;
22946 PyObject * obj2 = 0 ;
22947 PyObject * obj3 = 0 ;
22948 PyObject * obj4 = 0 ;
22949 PyObject * obj5 = 0 ;
22950 PyObject * obj6 = 0 ;
d14a1e28 22951
74a57fcd 22952 if(!PyArg_ParseTuple(args,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
22953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22955 arg2 = (int) SWIG_AsInt(obj1);
22956 if (PyErr_Occurred()) SWIG_fail;
22957 arg3 = (int) SWIG_AsInt(obj2);
22958 if (PyErr_Occurred()) SWIG_fail;
994141e6 22959 if (obj3) {
15afbcd0
RD
22960 arg4 = (int) SWIG_AsInt(obj3);
22961 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22962 }
22963 if (obj4) {
15afbcd0
RD
22964 arg5 = (int) SWIG_AsInt(obj4);
22965 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22966 }
22967 if (obj5) {
15afbcd0
RD
22968 arg6 = (int) SWIG_AsInt(obj5);
22969 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22970 }
22971 if (obj6) {
15afbcd0
RD
22972 arg7 = (int) SWIG_AsInt(obj6);
22973 if (PyErr_Occurred()) SWIG_fail;
994141e6 22974 }
d14a1e28
RD
22975 {
22976 PyThreadState* __tstate = wxPyBeginAllowThreads();
22977 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
22978
22979 wxPyEndAllowThreads(__tstate);
22980 if (PyErr_Occurred()) SWIG_fail;
22981 }
22982 Py_INCREF(Py_None); resultobj = Py_None;
22983 return resultobj;
22984 fail:
22985 return NULL;
22986}
22987
22988
74a57fcd
RD
22989static PyObject *_wrap_Window_SetSizeHints__SWIG_1(PyObject *self, PyObject *args) {
22990 PyObject *resultobj;
22991 wxWindow *arg1 = (wxWindow *) 0 ;
22992 wxSize *arg2 = 0 ;
22993 wxSize const &arg3_defvalue = wxDefaultSize ;
22994 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
22995 wxSize const &arg4_defvalue = wxDefaultSize ;
22996 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22997 wxSize temp2 ;
22998 wxSize temp3 ;
22999 wxSize temp4 ;
23000 PyObject * obj0 = 0 ;
23001 PyObject * obj1 = 0 ;
23002 PyObject * obj2 = 0 ;
23003 PyObject * obj3 = 0 ;
23004
23005 if(!PyArg_ParseTuple(args,(char *)"OO|OO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3)) goto fail;
23006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23008 {
23009 arg2 = &temp2;
23010 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23011 }
23012 if (obj2) {
23013 {
23014 arg3 = &temp3;
23015 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23016 }
23017 }
23018 if (obj3) {
23019 {
23020 arg4 = &temp4;
23021 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23022 }
23023 }
23024 {
23025 PyThreadState* __tstate = wxPyBeginAllowThreads();
23026 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
23027
23028 wxPyEndAllowThreads(__tstate);
23029 if (PyErr_Occurred()) SWIG_fail;
23030 }
23031 Py_INCREF(Py_None); resultobj = Py_None;
23032 return resultobj;
23033 fail:
23034 return NULL;
23035}
23036
23037
23038static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args) {
23039 int argc;
23040 PyObject *argv[8];
23041 int ii;
23042
23043 argc = PyObject_Length(args);
23044 for (ii = 0; (ii < argc) && (ii < 7); ii++) {
23045 argv[ii] = PyTuple_GetItem(args,ii);
23046 }
23047 if ((argc >= 2) && (argc <= 4)) {
23048 int _v;
23049 {
23050 void *ptr;
23051 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23052 _v = 0;
23053 PyErr_Clear();
23054 } else {
23055 _v = 1;
23056 }
23057 }
23058 if (_v) {
23059 {
23060 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23061 }
23062 if (_v) {
23063 if (argc <= 2) {
23064 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23065 }
23066 {
23067 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23068 }
23069 if (_v) {
23070 if (argc <= 3) {
23071 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23072 }
23073 {
23074 _v = wxPySimple_typecheck(argv[3], wxT("wxSize"), 2);
23075 }
23076 if (_v) {
23077 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23078 }
23079 }
23080 }
23081 }
23082 }
23083 if ((argc >= 3) && (argc <= 7)) {
23084 int _v;
23085 {
23086 void *ptr;
23087 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23088 _v = 0;
23089 PyErr_Clear();
23090 } else {
23091 _v = 1;
23092 }
23093 }
23094 if (_v) {
23095 _v = SWIG_CheckInt(argv[1]);
23096 if (_v) {
23097 _v = SWIG_CheckInt(argv[2]);
23098 if (_v) {
23099 if (argc <= 3) {
23100 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23101 }
23102 _v = SWIG_CheckInt(argv[3]);
23103 if (_v) {
23104 if (argc <= 4) {
23105 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23106 }
23107 _v = SWIG_CheckInt(argv[4]);
23108 if (_v) {
23109 if (argc <= 5) {
23110 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23111 }
23112 _v = SWIG_CheckInt(argv[5]);
23113 if (_v) {
23114 if (argc <= 6) {
23115 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23116 }
23117 _v = SWIG_CheckInt(argv[6]);
23118 if (_v) {
23119 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23120 }
23121 }
23122 }
23123 }
23124 }
23125 }
23126 }
23127 }
23128
23129 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetSizeHints'");
23130 return NULL;
23131}
23132
23133
23134static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
23135 PyObject *resultobj;
23136 wxWindow *arg1 = (wxWindow *) 0 ;
23137 int arg2 ;
23138 int arg3 ;
23139 int arg4 = (int) -1 ;
23140 int arg5 = (int) -1 ;
23141 PyObject * obj0 = 0 ;
994141e6
RD
23142 PyObject * obj1 = 0 ;
23143 PyObject * obj2 = 0 ;
23144 PyObject * obj3 = 0 ;
23145 PyObject * obj4 = 0 ;
d14a1e28 23146
74a57fcd 23147 if(!PyArg_ParseTuple(args,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
23148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23150 arg2 = (int) SWIG_AsInt(obj1);
23151 if (PyErr_Occurred()) SWIG_fail;
23152 arg3 = (int) SWIG_AsInt(obj2);
23153 if (PyErr_Occurred()) SWIG_fail;
994141e6 23154 if (obj3) {
15afbcd0
RD
23155 arg4 = (int) SWIG_AsInt(obj3);
23156 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23157 }
23158 if (obj4) {
15afbcd0
RD
23159 arg5 = (int) SWIG_AsInt(obj4);
23160 if (PyErr_Occurred()) SWIG_fail;
994141e6 23161 }
d14a1e28
RD
23162 {
23163 PyThreadState* __tstate = wxPyBeginAllowThreads();
23164 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
23165
23166 wxPyEndAllowThreads(__tstate);
23167 if (PyErr_Occurred()) SWIG_fail;
23168 }
23169 Py_INCREF(Py_None); resultobj = Py_None;
23170 return resultobj;
23171 fail:
23172 return NULL;
23173}
23174
23175
74a57fcd
RD
23176static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject *self, PyObject *args) {
23177 PyObject *resultobj;
23178 wxWindow *arg1 = (wxWindow *) 0 ;
23179 wxSize *arg2 = 0 ;
23180 wxSize const &arg3_defvalue = wxDefaultSize ;
23181 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23182 wxSize temp2 ;
23183 wxSize temp3 ;
23184 PyObject * obj0 = 0 ;
23185 PyObject * obj1 = 0 ;
23186 PyObject * obj2 = 0 ;
23187
23188 if(!PyArg_ParseTuple(args,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2)) goto fail;
23189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23191 {
23192 arg2 = &temp2;
23193 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23194 }
23195 if (obj2) {
23196 {
23197 arg3 = &temp3;
23198 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23199 }
23200 }
23201 {
23202 PyThreadState* __tstate = wxPyBeginAllowThreads();
23203 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
23204
23205 wxPyEndAllowThreads(__tstate);
23206 if (PyErr_Occurred()) SWIG_fail;
23207 }
23208 Py_INCREF(Py_None); resultobj = Py_None;
23209 return resultobj;
23210 fail:
23211 return NULL;
23212}
23213
23214
23215static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args) {
23216 int argc;
23217 PyObject *argv[6];
23218 int ii;
23219
23220 argc = PyObject_Length(args);
23221 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
23222 argv[ii] = PyTuple_GetItem(args,ii);
23223 }
23224 if ((argc >= 2) && (argc <= 3)) {
23225 int _v;
23226 {
23227 void *ptr;
23228 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23229 _v = 0;
23230 PyErr_Clear();
23231 } else {
23232 _v = 1;
23233 }
23234 }
23235 if (_v) {
23236 {
23237 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23238 }
23239 if (_v) {
23240 if (argc <= 2) {
23241 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23242 }
23243 {
23244 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23245 }
23246 if (_v) {
23247 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23248 }
23249 }
23250 }
23251 }
23252 if ((argc >= 3) && (argc <= 5)) {
23253 int _v;
23254 {
23255 void *ptr;
23256 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23257 _v = 0;
23258 PyErr_Clear();
23259 } else {
23260 _v = 1;
23261 }
23262 }
23263 if (_v) {
23264 _v = SWIG_CheckInt(argv[1]);
23265 if (_v) {
23266 _v = SWIG_CheckInt(argv[2]);
23267 if (_v) {
23268 if (argc <= 3) {
23269 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23270 }
23271 _v = SWIG_CheckInt(argv[3]);
23272 if (_v) {
23273 if (argc <= 4) {
23274 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23275 }
23276 _v = SWIG_CheckInt(argv[4]);
23277 if (_v) {
23278 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23279 }
23280 }
23281 }
23282 }
23283 }
23284 }
23285
23286 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23287 return NULL;
23288}
23289
23290
d14a1e28
RD
23291static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23292 PyObject *resultobj;
23293 wxWindow *arg1 = (wxWindow *) 0 ;
23294 int result;
23295 PyObject * obj0 = 0 ;
23296 char *kwnames[] = {
23297 (char *) "self", NULL
23298 };
23299
23300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
23301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23303 {
23304 PyThreadState* __tstate = wxPyBeginAllowThreads();
23305 result = (int)((wxWindow const *)arg1)->GetMinWidth();
23306
23307 wxPyEndAllowThreads(__tstate);
23308 if (PyErr_Occurred()) SWIG_fail;
23309 }
15afbcd0 23310 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23311 return resultobj;
23312 fail:
23313 return NULL;
23314}
23315
23316
23317static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23318 PyObject *resultobj;
23319 wxWindow *arg1 = (wxWindow *) 0 ;
23320 int result;
23321 PyObject * obj0 = 0 ;
23322 char *kwnames[] = {
23323 (char *) "self", NULL
23324 };
23325
23326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
23327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23329 {
23330 PyThreadState* __tstate = wxPyBeginAllowThreads();
23331 result = (int)((wxWindow const *)arg1)->GetMinHeight();
23332
23333 wxPyEndAllowThreads(__tstate);
23334 if (PyErr_Occurred()) SWIG_fail;
23335 }
15afbcd0 23336 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23337 return resultobj;
23338 fail:
23339 return NULL;
23340}
23341
23342
23343static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23344 PyObject *resultobj;
23345 wxWindow *arg1 = (wxWindow *) 0 ;
23346 int result;
23347 PyObject * obj0 = 0 ;
23348 char *kwnames[] = {
23349 (char *) "self", NULL
23350 };
23351
23352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
23353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23355 {
23356 PyThreadState* __tstate = wxPyBeginAllowThreads();
23357 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
23358
23359 wxPyEndAllowThreads(__tstate);
23360 if (PyErr_Occurred()) SWIG_fail;
23361 }
15afbcd0 23362 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23363 return resultobj;
23364 fail:
23365 return NULL;
23366}
23367
23368
23369static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23370 PyObject *resultobj;
23371 wxWindow *arg1 = (wxWindow *) 0 ;
23372 int result;
23373 PyObject * obj0 = 0 ;
23374 char *kwnames[] = {
23375 (char *) "self", NULL
23376 };
23377
23378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
23379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23381 {
23382 PyThreadState* __tstate = wxPyBeginAllowThreads();
23383 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
23384
23385 wxPyEndAllowThreads(__tstate);
23386 if (PyErr_Occurred()) SWIG_fail;
23387 }
15afbcd0 23388 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23389 return resultobj;
23390 fail:
23391 return NULL;
23392}
23393
23394
23395static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23396 PyObject *resultobj;
23397 wxWindow *arg1 = (wxWindow *) 0 ;
23398 wxSize result;
23399 PyObject * obj0 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23407 {
23408 PyThreadState* __tstate = wxPyBeginAllowThreads();
23409 result = ((wxWindow const *)arg1)->GetMaxSize();
23410
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
23414 {
23415 wxSize * resultptr;
23416 resultptr = new wxSize((wxSize &) result);
15afbcd0 23417 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23418 }
23419 return resultobj;
23420 fail:
23421 return NULL;
23422}
23423
23424
74a57fcd
RD
23425static PyObject *_wrap_Window_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23426 PyObject *resultobj;
23427 wxWindow *arg1 = (wxWindow *) 0 ;
23428 wxSize result;
23429 PyObject * obj0 = 0 ;
23430 char *kwnames[] = {
23431 (char *) "self", NULL
23432 };
23433
23434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
23435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23437 {
23438 PyThreadState* __tstate = wxPyBeginAllowThreads();
23439 result = ((wxWindow const *)arg1)->GetMinSize();
23440
23441 wxPyEndAllowThreads(__tstate);
23442 if (PyErr_Occurred()) SWIG_fail;
23443 }
23444 {
23445 wxSize * resultptr;
23446 resultptr = new wxSize((wxSize &) result);
23447 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23448 }
23449 return resultobj;
23450 fail:
23451 return NULL;
23452}
23453
23454
d14a1e28
RD
23455static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23456 PyObject *resultobj;
23457 wxWindow *arg1 = (wxWindow *) 0 ;
23458 wxSize *arg2 = 0 ;
23459 wxSize temp2 ;
23460 PyObject * obj0 = 0 ;
23461 PyObject * obj1 = 0 ;
23462 char *kwnames[] = {
23463 (char *) "self",(char *) "size", NULL
23464 };
23465
23466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23469 {
23470 arg2 = &temp2;
23471 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23472 }
23473 {
23474 PyThreadState* __tstate = wxPyBeginAllowThreads();
23475 (arg1)->SetVirtualSize((wxSize const &)*arg2);
23476
23477 wxPyEndAllowThreads(__tstate);
23478 if (PyErr_Occurred()) SWIG_fail;
23479 }
23480 Py_INCREF(Py_None); resultobj = Py_None;
23481 return resultobj;
23482 fail:
23483 return NULL;
23484}
23485
23486
23487static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
23488 PyObject *resultobj;
23489 wxWindow *arg1 = (wxWindow *) 0 ;
23490 int arg2 ;
23491 int arg3 ;
23492 PyObject * obj0 = 0 ;
994141e6
RD
23493 PyObject * obj1 = 0 ;
23494 PyObject * obj2 = 0 ;
d14a1e28
RD
23495 char *kwnames[] = {
23496 (char *) "self",(char *) "w",(char *) "h", NULL
23497 };
23498
994141e6 23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23502 arg2 = (int) SWIG_AsInt(obj1);
23503 if (PyErr_Occurred()) SWIG_fail;
23504 arg3 = (int) SWIG_AsInt(obj2);
23505 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23506 {
23507 PyThreadState* __tstate = wxPyBeginAllowThreads();
23508 (arg1)->SetVirtualSize(arg2,arg3);
23509
23510 wxPyEndAllowThreads(__tstate);
23511 if (PyErr_Occurred()) SWIG_fail;
23512 }
23513 Py_INCREF(Py_None); resultobj = Py_None;
23514 return resultobj;
23515 fail:
23516 return NULL;
23517}
23518
23519
23520static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23521 PyObject *resultobj;
23522 wxWindow *arg1 = (wxWindow *) 0 ;
23523 wxSize result;
23524 PyObject * obj0 = 0 ;
23525 char *kwnames[] = {
23526 (char *) "self", NULL
23527 };
23528
23529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23532 {
23533 PyThreadState* __tstate = wxPyBeginAllowThreads();
23534 result = ((wxWindow const *)arg1)->GetVirtualSize();
23535
23536 wxPyEndAllowThreads(__tstate);
23537 if (PyErr_Occurred()) SWIG_fail;
23538 }
23539 {
23540 wxSize * resultptr;
23541 resultptr = new wxSize((wxSize &) result);
15afbcd0 23542 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23543 }
23544 return resultobj;
23545 fail:
23546 return NULL;
23547}
23548
23549
23550static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
23551 PyObject *resultobj;
23552 wxWindow *arg1 = (wxWindow *) 0 ;
23553 int *arg2 = (int *) 0 ;
23554 int *arg3 = (int *) 0 ;
23555 int temp2 ;
23556 int temp3 ;
23557 PyObject * obj0 = 0 ;
23558 char *kwnames[] = {
23559 (char *) "self", NULL
23560 };
23561
23562 arg2 = &temp2;
23563 arg3 = &temp3;
23564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
23565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23567 {
23568 PyThreadState* __tstate = wxPyBeginAllowThreads();
23569 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
23570
23571 wxPyEndAllowThreads(__tstate);
23572 if (PyErr_Occurred()) SWIG_fail;
23573 }
23574 Py_INCREF(Py_None); resultobj = Py_None;
23575 {
23576 PyObject *o = PyInt_FromLong((long) (*arg2));
23577 resultobj = t_output_helper(resultobj,o);
23578 }
23579 {
23580 PyObject *o = PyInt_FromLong((long) (*arg3));
23581 resultobj = t_output_helper(resultobj,o);
23582 }
23583 return resultobj;
23584 fail:
23585 return NULL;
23586}
23587
23588
23589static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23590 PyObject *resultobj;
23591 wxWindow *arg1 = (wxWindow *) 0 ;
23592 wxSize result;
23593 PyObject * obj0 = 0 ;
23594 char *kwnames[] = {
23595 (char *) "self", NULL
23596 };
23597
23598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23601 {
23602 PyThreadState* __tstate = wxPyBeginAllowThreads();
23603 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
23604
23605 wxPyEndAllowThreads(__tstate);
23606 if (PyErr_Occurred()) SWIG_fail;
23607 }
23608 {
23609 wxSize * resultptr;
23610 resultptr = new wxSize((wxSize &) result);
15afbcd0 23611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23612 }
23613 return resultobj;
23614 fail:
23615 return NULL;
23616}
23617
23618
23619static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
23620 PyObject *resultobj;
23621 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23622 bool arg2 = (bool) True ;
d14a1e28
RD
23623 bool result;
23624 PyObject * obj0 = 0 ;
23625 PyObject * obj1 = 0 ;
23626 char *kwnames[] = {
23627 (char *) "self",(char *) "show", NULL
23628 };
23629
23630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23633 if (obj1) {
15afbcd0
RD
23634 arg2 = (bool) SWIG_AsBool(obj1);
23635 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23636 }
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 result = (bool)(arg1)->Show(arg2);
23640
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
4f89f6a3
RD
23644 {
23645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23646 }
d14a1e28
RD
23647 return resultobj;
23648 fail:
23649 return NULL;
23650}
23651
23652
23653static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
23654 PyObject *resultobj;
23655 wxWindow *arg1 = (wxWindow *) 0 ;
23656 bool result;
23657 PyObject * obj0 = 0 ;
23658 char *kwnames[] = {
23659 (char *) "self", NULL
23660 };
23661
23662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
23663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23665 {
23666 PyThreadState* __tstate = wxPyBeginAllowThreads();
23667 result = (bool)(arg1)->Hide();
23668
23669 wxPyEndAllowThreads(__tstate);
23670 if (PyErr_Occurred()) SWIG_fail;
23671 }
4f89f6a3
RD
23672 {
23673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23674 }
d14a1e28
RD
23675 return resultobj;
23676 fail:
23677 return NULL;
23678}
23679
23680
23681static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
23682 PyObject *resultobj;
23683 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23684 bool arg2 = (bool) True ;
d14a1e28
RD
23685 bool result;
23686 PyObject * obj0 = 0 ;
23687 PyObject * obj1 = 0 ;
23688 char *kwnames[] = {
23689 (char *) "self",(char *) "enable", NULL
23690 };
23691
23692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23695 if (obj1) {
15afbcd0
RD
23696 arg2 = (bool) SWIG_AsBool(obj1);
23697 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23698 }
23699 {
23700 PyThreadState* __tstate = wxPyBeginAllowThreads();
23701 result = (bool)(arg1)->Enable(arg2);
23702
23703 wxPyEndAllowThreads(__tstate);
23704 if (PyErr_Occurred()) SWIG_fail;
23705 }
4f89f6a3
RD
23706 {
23707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23708 }
d14a1e28
RD
23709 return resultobj;
23710 fail:
23711 return NULL;
23712}
23713
23714
23715static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
23716 PyObject *resultobj;
23717 wxWindow *arg1 = (wxWindow *) 0 ;
23718 bool result;
23719 PyObject * obj0 = 0 ;
23720 char *kwnames[] = {
23721 (char *) "self", NULL
23722 };
23723
23724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
15afbcd0
RD
23725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23727 {
23728 PyThreadState* __tstate = wxPyBeginAllowThreads();
23729 result = (bool)(arg1)->Disable();
23730
23731 wxPyEndAllowThreads(__tstate);
23732 if (PyErr_Occurred()) SWIG_fail;
23733 }
4f89f6a3
RD
23734 {
23735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23736 }
d14a1e28
RD
23737 return resultobj;
23738 fail:
23739 return NULL;
23740}
23741
23742
23743static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
23744 PyObject *resultobj;
23745 wxWindow *arg1 = (wxWindow *) 0 ;
23746 bool result;
23747 PyObject * obj0 = 0 ;
23748 char *kwnames[] = {
23749 (char *) "self", NULL
23750 };
23751
23752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
23753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23755 {
23756 PyThreadState* __tstate = wxPyBeginAllowThreads();
23757 result = (bool)((wxWindow const *)arg1)->IsShown();
23758
23759 wxPyEndAllowThreads(__tstate);
23760 if (PyErr_Occurred()) SWIG_fail;
23761 }
4f89f6a3
RD
23762 {
23763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23764 }
d14a1e28
RD
23765 return resultobj;
23766 fail:
23767 return NULL;
23768}
23769
23770
23771static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
23772 PyObject *resultobj;
23773 wxWindow *arg1 = (wxWindow *) 0 ;
23774 bool result;
23775 PyObject * obj0 = 0 ;
23776 char *kwnames[] = {
23777 (char *) "self", NULL
23778 };
23779
23780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
23781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23783 {
23784 PyThreadState* __tstate = wxPyBeginAllowThreads();
23785 result = (bool)((wxWindow const *)arg1)->IsEnabled();
23786
23787 wxPyEndAllowThreads(__tstate);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
4f89f6a3
RD
23790 {
23791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23792 }
d14a1e28
RD
23793 return resultobj;
23794 fail:
23795 return NULL;
23796}
23797
23798
23799static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23800 PyObject *resultobj;
23801 wxWindow *arg1 = (wxWindow *) 0 ;
23802 long arg2 ;
23803 PyObject * obj0 = 0 ;
994141e6 23804 PyObject * obj1 = 0 ;
d14a1e28
RD
23805 char *kwnames[] = {
23806 (char *) "self",(char *) "style", NULL
23807 };
23808
994141e6 23809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23812 arg2 = (long) SWIG_AsLong(obj1);
23813 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 (arg1)->SetWindowStyleFlag(arg2);
23817
23818 wxPyEndAllowThreads(__tstate);
23819 if (PyErr_Occurred()) SWIG_fail;
23820 }
23821 Py_INCREF(Py_None); resultobj = Py_None;
23822 return resultobj;
23823 fail:
23824 return NULL;
23825}
23826
23827
23828static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23829 PyObject *resultobj;
23830 wxWindow *arg1 = (wxWindow *) 0 ;
23831 long result;
23832 PyObject * obj0 = 0 ;
23833 char *kwnames[] = {
23834 (char *) "self", NULL
23835 };
23836
23837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
23838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
23843
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
15afbcd0 23847 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23848 return resultobj;
23849 fail:
23850 return NULL;
23851}
23852
23853
23854static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23855 PyObject *resultobj;
23856 wxWindow *arg1 = (wxWindow *) 0 ;
23857 int arg2 ;
23858 bool result;
23859 PyObject * obj0 = 0 ;
994141e6 23860 PyObject * obj1 = 0 ;
d14a1e28
RD
23861 char *kwnames[] = {
23862 (char *) "self",(char *) "flag", NULL
23863 };
23864
994141e6 23865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23868 arg2 = (int) SWIG_AsInt(obj1);
23869 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23870 {
23871 PyThreadState* __tstate = wxPyBeginAllowThreads();
23872 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
23873
23874 wxPyEndAllowThreads(__tstate);
23875 if (PyErr_Occurred()) SWIG_fail;
23876 }
4f89f6a3
RD
23877 {
23878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23879 }
d14a1e28
RD
23880 return resultobj;
23881 fail:
23882 return NULL;
23883}
23884
23885
23886static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
23887 PyObject *resultobj;
23888 wxWindow *arg1 = (wxWindow *) 0 ;
23889 bool result;
23890 PyObject * obj0 = 0 ;
23891 char *kwnames[] = {
23892 (char *) "self", NULL
23893 };
23894
23895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
15afbcd0
RD
23896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23898 {
23899 PyThreadState* __tstate = wxPyBeginAllowThreads();
23900 result = (bool)((wxWindow const *)arg1)->IsRetained();
23901
23902 wxPyEndAllowThreads(__tstate);
23903 if (PyErr_Occurred()) SWIG_fail;
23904 }
4f89f6a3
RD
23905 {
23906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23907 }
d14a1e28
RD
23908 return resultobj;
23909 fail:
23910 return NULL;
23911}
23912
23913
23914static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
23915 PyObject *resultobj;
23916 wxWindow *arg1 = (wxWindow *) 0 ;
23917 long arg2 ;
23918 PyObject * obj0 = 0 ;
994141e6 23919 PyObject * obj1 = 0 ;
d14a1e28
RD
23920 char *kwnames[] = {
23921 (char *) "self",(char *) "exStyle", NULL
23922 };
23923
994141e6 23924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23927 arg2 = (long) SWIG_AsLong(obj1);
23928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23929 {
23930 PyThreadState* __tstate = wxPyBeginAllowThreads();
23931 (arg1)->SetExtraStyle(arg2);
23932
23933 wxPyEndAllowThreads(__tstate);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 }
23936 Py_INCREF(Py_None); resultobj = Py_None;
23937 return resultobj;
23938 fail:
23939 return NULL;
23940}
23941
23942
23943static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
23944 PyObject *resultobj;
23945 wxWindow *arg1 = (wxWindow *) 0 ;
23946 long result;
23947 PyObject * obj0 = 0 ;
23948 char *kwnames[] = {
23949 (char *) "self", NULL
23950 };
23951
23952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
23953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23955 {
23956 PyThreadState* __tstate = wxPyBeginAllowThreads();
23957 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
23958
23959 wxPyEndAllowThreads(__tstate);
23960 if (PyErr_Occurred()) SWIG_fail;
23961 }
15afbcd0 23962 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23963 return resultobj;
23964 fail:
23965 return NULL;
23966}
23967
23968
23969static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
23970 PyObject *resultobj;
23971 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23972 bool arg2 = (bool) True ;
d14a1e28
RD
23973 PyObject * obj0 = 0 ;
23974 PyObject * obj1 = 0 ;
23975 char *kwnames[] = {
23976 (char *) "self",(char *) "modal", NULL
23977 };
23978
23979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23982 if (obj1) {
15afbcd0
RD
23983 arg2 = (bool) SWIG_AsBool(obj1);
23984 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23985 }
23986 {
23987 PyThreadState* __tstate = wxPyBeginAllowThreads();
23988 (arg1)->MakeModal(arg2);
23989
23990 wxPyEndAllowThreads(__tstate);
23991 if (PyErr_Occurred()) SWIG_fail;
23992 }
23993 Py_INCREF(Py_None); resultobj = Py_None;
23994 return resultobj;
23995 fail:
23996 return NULL;
23997}
23998
23999
24000static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24001 PyObject *resultobj;
24002 wxWindow *arg1 = (wxWindow *) 0 ;
24003 bool arg2 ;
24004 PyObject * obj0 = 0 ;
24005 PyObject * obj1 = 0 ;
24006 char *kwnames[] = {
24007 (char *) "self",(char *) "enableTheme", NULL
24008 };
24009
24010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24013 arg2 = (bool) SWIG_AsBool(obj1);
24014 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24015 {
24016 PyThreadState* __tstate = wxPyBeginAllowThreads();
24017 (arg1)->SetThemeEnabled(arg2);
24018
24019 wxPyEndAllowThreads(__tstate);
24020 if (PyErr_Occurred()) SWIG_fail;
24021 }
24022 Py_INCREF(Py_None); resultobj = Py_None;
24023 return resultobj;
24024 fail:
24025 return NULL;
24026}
24027
24028
24029static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24030 PyObject *resultobj;
24031 wxWindow *arg1 = (wxWindow *) 0 ;
24032 bool result;
24033 PyObject * obj0 = 0 ;
24034 char *kwnames[] = {
24035 (char *) "self", NULL
24036 };
24037
24038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
24039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24041 {
24042 PyThreadState* __tstate = wxPyBeginAllowThreads();
24043 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
24044
24045 wxPyEndAllowThreads(__tstate);
24046 if (PyErr_Occurred()) SWIG_fail;
24047 }
4f89f6a3
RD
24048 {
24049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24050 }
d14a1e28
RD
24051 return resultobj;
24052 fail:
24053 return NULL;
24054}
24055
24056
d14a1e28
RD
24057static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24058 PyObject *resultobj;
24059 wxWindow *arg1 = (wxWindow *) 0 ;
24060 PyObject * obj0 = 0 ;
24061 char *kwnames[] = {
24062 (char *) "self", NULL
24063 };
24064
24065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
24066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24068 {
24069 PyThreadState* __tstate = wxPyBeginAllowThreads();
24070 (arg1)->SetFocus();
24071
24072 wxPyEndAllowThreads(__tstate);
24073 if (PyErr_Occurred()) SWIG_fail;
24074 }
24075 Py_INCREF(Py_None); resultobj = Py_None;
24076 return resultobj;
24077 fail:
24078 return NULL;
24079}
24080
24081
24082static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
24083 PyObject *resultobj;
24084 wxWindow *arg1 = (wxWindow *) 0 ;
24085 PyObject * obj0 = 0 ;
24086 char *kwnames[] = {
24087 (char *) "self", NULL
24088 };
24089
24090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
15afbcd0
RD
24091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24093 {
24094 PyThreadState* __tstate = wxPyBeginAllowThreads();
24095 (arg1)->SetFocusFromKbd();
24096
24097 wxPyEndAllowThreads(__tstate);
24098 if (PyErr_Occurred()) SWIG_fail;
24099 }
24100 Py_INCREF(Py_None); resultobj = Py_None;
24101 return resultobj;
24102 fail:
24103 return NULL;
24104}
24105
24106
24107static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24108 PyObject *resultobj;
24109 wxWindow *result;
24110 char *kwnames[] = {
24111 NULL
24112 };
24113
24114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
24115 {
24116 PyThreadState* __tstate = wxPyBeginAllowThreads();
24117 result = (wxWindow *)wxWindow::FindFocus();
24118
24119 wxPyEndAllowThreads(__tstate);
24120 if (PyErr_Occurred()) SWIG_fail;
24121 }
24122 {
24123 resultobj = wxPyMake_wxObject(result);
24124 }
24125 return resultobj;
24126 fail:
24127 return NULL;
24128}
24129
24130
24131static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24132 PyObject *resultobj;
24133 wxWindow *arg1 = (wxWindow *) 0 ;
24134 bool result;
24135 PyObject * obj0 = 0 ;
24136 char *kwnames[] = {
24137 (char *) "self", NULL
24138 };
24139
24140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
24141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24143 {
24144 PyThreadState* __tstate = wxPyBeginAllowThreads();
24145 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
24146
24147 wxPyEndAllowThreads(__tstate);
24148 if (PyErr_Occurred()) SWIG_fail;
24149 }
4f89f6a3
RD
24150 {
24151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24152 }
d14a1e28
RD
24153 return resultobj;
24154 fail:
24155 return NULL;
24156}
24157
24158
24159static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj;
24161 wxWindow *arg1 = (wxWindow *) 0 ;
24162 bool result;
24163 PyObject * obj0 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
24169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24171 {
24172 PyThreadState* __tstate = wxPyBeginAllowThreads();
24173 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
24174
24175 wxPyEndAllowThreads(__tstate);
24176 if (PyErr_Occurred()) SWIG_fail;
24177 }
4f89f6a3
RD
24178 {
24179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24180 }
d14a1e28
RD
24181 return resultobj;
24182 fail:
24183 return NULL;
24184}
24185
24186
24187static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24188 PyObject *resultobj;
24189 wxWindow *arg1 = (wxWindow *) 0 ;
24190 wxWindow *result;
24191 PyObject * obj0 = 0 ;
24192 char *kwnames[] = {
24193 (char *) "self", NULL
24194 };
24195
24196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
24197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24199 {
24200 PyThreadState* __tstate = wxPyBeginAllowThreads();
24201 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
24202
24203 wxPyEndAllowThreads(__tstate);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 }
24206 {
24207 resultobj = wxPyMake_wxObject(result);
24208 }
24209 return resultobj;
24210 fail:
24211 return NULL;
24212}
24213
24214
24215static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj;
24217 wxWindow *arg1 = (wxWindow *) 0 ;
24218 wxWindow *arg2 = (wxWindow *) 0 ;
24219 wxWindow *result;
24220 PyObject * obj0 = 0 ;
24221 PyObject * obj1 = 0 ;
24222 char *kwnames[] = {
24223 (char *) "self",(char *) "child", NULL
24224 };
24225
24226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24231 {
24232 PyThreadState* __tstate = wxPyBeginAllowThreads();
24233 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
24234
24235 wxPyEndAllowThreads(__tstate);
24236 if (PyErr_Occurred()) SWIG_fail;
24237 }
24238 {
24239 resultobj = wxPyMake_wxObject(result);
24240 }
24241 return resultobj;
24242 fail:
24243 return NULL;
24244}
24245
24246
24247static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24248 PyObject *resultobj;
24249 wxWindow *arg1 = (wxWindow *) 0 ;
24250 wxWindow *arg2 = (wxWindow *) 0 ;
24251 PyObject * obj0 = 0 ;
24252 PyObject * obj1 = 0 ;
24253 char *kwnames[] = {
24254 (char *) "self",(char *) "win", NULL
24255 };
24256
24257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24262 {
24263 PyThreadState* __tstate = wxPyBeginAllowThreads();
24264 (arg1)->SetTmpDefaultItem(arg2);
24265
24266 wxPyEndAllowThreads(__tstate);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 }
24269 Py_INCREF(Py_None); resultobj = Py_None;
24270 return resultobj;
24271 fail:
24272 return NULL;
24273}
24274
24275
24276static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24277 PyObject *resultobj;
24278 wxWindow *arg1 = (wxWindow *) 0 ;
24279 PyObject *result;
24280 PyObject * obj0 = 0 ;
24281 char *kwnames[] = {
24282 (char *) "self", NULL
24283 };
24284
24285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
24286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24288 {
24289 PyThreadState* __tstate = wxPyBeginAllowThreads();
24290 result = (PyObject *)wxWindow_GetChildren(arg1);
24291
24292 wxPyEndAllowThreads(__tstate);
24293 if (PyErr_Occurred()) SWIG_fail;
24294 }
24295 resultobj = result;
24296 return resultobj;
24297 fail:
24298 return NULL;
24299}
24300
24301
24302static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24303 PyObject *resultobj;
24304 wxWindow *arg1 = (wxWindow *) 0 ;
24305 wxWindow *result;
24306 PyObject * obj0 = 0 ;
24307 char *kwnames[] = {
24308 (char *) "self", NULL
24309 };
24310
24311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
24312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24314 {
24315 PyThreadState* __tstate = wxPyBeginAllowThreads();
24316 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
24317
24318 wxPyEndAllowThreads(__tstate);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 }
24321 {
24322 resultobj = wxPyMake_wxObject(result);
24323 }
24324 return resultobj;
24325 fail:
24326 return NULL;
24327}
24328
24329
24330static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24331 PyObject *resultobj;
24332 wxWindow *arg1 = (wxWindow *) 0 ;
24333 wxWindow *result;
24334 PyObject * obj0 = 0 ;
24335 char *kwnames[] = {
24336 (char *) "self", NULL
24337 };
24338
24339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
24340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24342 {
24343 PyThreadState* __tstate = wxPyBeginAllowThreads();
24344 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
24345
24346 wxPyEndAllowThreads(__tstate);
24347 if (PyErr_Occurred()) SWIG_fail;
24348 }
24349 {
24350 resultobj = wxPyMake_wxObject(result);
24351 }
24352 return resultobj;
24353 fail:
24354 return NULL;
24355}
24356
24357
24358static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
24359 PyObject *resultobj;
24360 wxWindow *arg1 = (wxWindow *) 0 ;
24361 bool result;
24362 PyObject * obj0 = 0 ;
24363 char *kwnames[] = {
24364 (char *) "self", NULL
24365 };
24366
24367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
15afbcd0
RD
24368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24370 {
24371 PyThreadState* __tstate = wxPyBeginAllowThreads();
24372 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
24373
24374 wxPyEndAllowThreads(__tstate);
24375 if (PyErr_Occurred()) SWIG_fail;
24376 }
4f89f6a3
RD
24377 {
24378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24379 }
d14a1e28
RD
24380 return resultobj;
24381 fail:
24382 return NULL;
24383}
24384
24385
24386static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
24387 PyObject *resultobj;
24388 wxWindow *arg1 = (wxWindow *) 0 ;
24389 wxWindow *arg2 = (wxWindow *) 0 ;
24390 bool result;
24391 PyObject * obj0 = 0 ;
24392 PyObject * obj1 = 0 ;
24393 char *kwnames[] = {
24394 (char *) "self",(char *) "newParent", NULL
24395 };
24396
24397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24402 {
24403 PyThreadState* __tstate = wxPyBeginAllowThreads();
24404 result = (bool)(arg1)->Reparent(arg2);
24405
24406 wxPyEndAllowThreads(__tstate);
24407 if (PyErr_Occurred()) SWIG_fail;
24408 }
4f89f6a3
RD
24409 {
24410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24411 }
d14a1e28
RD
24412 return resultobj;
24413 fail:
24414 return NULL;
24415}
24416
24417
24418static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24419 PyObject *resultobj;
24420 wxWindow *arg1 = (wxWindow *) 0 ;
24421 wxWindow *arg2 = (wxWindow *) 0 ;
24422 PyObject * obj0 = 0 ;
24423 PyObject * obj1 = 0 ;
24424 char *kwnames[] = {
24425 (char *) "self",(char *) "child", NULL
24426 };
24427
24428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24431 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24433 {
24434 PyThreadState* __tstate = wxPyBeginAllowThreads();
24435 (arg1)->AddChild(arg2);
24436
24437 wxPyEndAllowThreads(__tstate);
24438 if (PyErr_Occurred()) SWIG_fail;
24439 }
24440 Py_INCREF(Py_None); resultobj = Py_None;
24441 return resultobj;
24442 fail:
24443 return NULL;
24444}
24445
24446
24447static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24448 PyObject *resultobj;
24449 wxWindow *arg1 = (wxWindow *) 0 ;
24450 wxWindow *arg2 = (wxWindow *) 0 ;
24451 PyObject * obj0 = 0 ;
24452 PyObject * obj1 = 0 ;
24453 char *kwnames[] = {
24454 (char *) "self",(char *) "child", NULL
24455 };
24456
24457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24462 {
24463 PyThreadState* __tstate = wxPyBeginAllowThreads();
24464 (arg1)->RemoveChild(arg2);
24465
24466 wxPyEndAllowThreads(__tstate);
24467 if (PyErr_Occurred()) SWIG_fail;
24468 }
24469 Py_INCREF(Py_None); resultobj = Py_None;
24470 return resultobj;
24471 fail:
24472 return NULL;
24473}
24474
24475
24476static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24477 PyObject *resultobj;
24478 wxWindow *arg1 = (wxWindow *) 0 ;
24479 long arg2 ;
24480 wxWindow *result;
24481 PyObject * obj0 = 0 ;
994141e6 24482 PyObject * obj1 = 0 ;
d14a1e28
RD
24483 char *kwnames[] = {
24484 (char *) "self",(char *) "winid", NULL
24485 };
24486
994141e6 24487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24490 arg2 = (long) SWIG_AsLong(obj1);
24491 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24492 {
24493 PyThreadState* __tstate = wxPyBeginAllowThreads();
24494 result = (wxWindow *)(arg1)->FindWindow(arg2);
24495
24496 wxPyEndAllowThreads(__tstate);
24497 if (PyErr_Occurred()) SWIG_fail;
24498 }
24499 {
24500 resultobj = wxPyMake_wxObject(result);
24501 }
24502 return resultobj;
24503 fail:
24504 return NULL;
24505}
24506
24507
24508static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24509 PyObject *resultobj;
24510 wxWindow *arg1 = (wxWindow *) 0 ;
24511 wxString *arg2 = 0 ;
24512 wxWindow *result;
e811c8ce 24513 bool temp2 = False ;
d14a1e28
RD
24514 PyObject * obj0 = 0 ;
24515 PyObject * obj1 = 0 ;
24516 char *kwnames[] = {
24517 (char *) "self",(char *) "name", NULL
24518 };
24519
24520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24523 {
24524 arg2 = wxString_in_helper(obj1);
24525 if (arg2 == NULL) SWIG_fail;
e811c8ce 24526 temp2 = True;
d14a1e28
RD
24527 }
24528 {
24529 PyThreadState* __tstate = wxPyBeginAllowThreads();
24530 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
24531
24532 wxPyEndAllowThreads(__tstate);
24533 if (PyErr_Occurred()) SWIG_fail;
24534 }
24535 {
24536 resultobj = wxPyMake_wxObject(result);
24537 }
24538 {
24539 if (temp2)
24540 delete arg2;
24541 }
24542 return resultobj;
24543 fail:
24544 {
24545 if (temp2)
24546 delete arg2;
24547 }
24548 return NULL;
24549}
24550
24551
24552static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24553 PyObject *resultobj;
24554 wxWindow *arg1 = (wxWindow *) 0 ;
24555 wxEvtHandler *result;
24556 PyObject * obj0 = 0 ;
24557 char *kwnames[] = {
24558 (char *) "self", NULL
24559 };
24560
24561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
24562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24564 {
24565 PyThreadState* __tstate = wxPyBeginAllowThreads();
24566 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
24567
24568 wxPyEndAllowThreads(__tstate);
24569 if (PyErr_Occurred()) SWIG_fail;
24570 }
24571 {
24572 resultobj = wxPyMake_wxObject(result);
24573 }
24574 return resultobj;
24575 fail:
24576 return NULL;
24577}
24578
24579
24580static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24581 PyObject *resultobj;
24582 wxWindow *arg1 = (wxWindow *) 0 ;
24583 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24584 PyObject * obj0 = 0 ;
24585 PyObject * obj1 = 0 ;
24586 char *kwnames[] = {
24587 (char *) "self",(char *) "handler", NULL
24588 };
24589
24590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24595 {
24596 PyThreadState* __tstate = wxPyBeginAllowThreads();
24597 (arg1)->SetEventHandler(arg2);
24598
24599 wxPyEndAllowThreads(__tstate);
24600 if (PyErr_Occurred()) SWIG_fail;
24601 }
24602 Py_INCREF(Py_None); resultobj = Py_None;
24603 return resultobj;
24604 fail:
24605 return NULL;
24606}
24607
24608
24609static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24610 PyObject *resultobj;
24611 wxWindow *arg1 = (wxWindow *) 0 ;
24612 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24613 PyObject * obj0 = 0 ;
24614 PyObject * obj1 = 0 ;
24615 char *kwnames[] = {
24616 (char *) "self",(char *) "handler", NULL
24617 };
24618
24619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24624 {
24625 PyThreadState* __tstate = wxPyBeginAllowThreads();
24626 (arg1)->PushEventHandler(arg2);
24627
24628 wxPyEndAllowThreads(__tstate);
24629 if (PyErr_Occurred()) SWIG_fail;
24630 }
24631 Py_INCREF(Py_None); resultobj = Py_None;
24632 return resultobj;
24633 fail:
24634 return NULL;
24635}
24636
24637
24638static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24639 PyObject *resultobj;
24640 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24641 bool arg2 = (bool) False ;
d14a1e28
RD
24642 wxEvtHandler *result;
24643 PyObject * obj0 = 0 ;
24644 PyObject * obj1 = 0 ;
24645 char *kwnames[] = {
24646 (char *) "self",(char *) "deleteHandler", NULL
24647 };
24648
24649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24652 if (obj1) {
15afbcd0
RD
24653 arg2 = (bool) SWIG_AsBool(obj1);
24654 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24655 }
24656 {
24657 PyThreadState* __tstate = wxPyBeginAllowThreads();
24658 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
24659
24660 wxPyEndAllowThreads(__tstate);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
24663 {
24664 resultobj = wxPyMake_wxObject(result);
24665 }
24666 return resultobj;
24667 fail:
24668 return NULL;
24669}
24670
24671
24672static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24673 PyObject *resultobj;
24674 wxWindow *arg1 = (wxWindow *) 0 ;
24675 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24676 bool result;
24677 PyObject * obj0 = 0 ;
24678 PyObject * obj1 = 0 ;
24679 char *kwnames[] = {
24680 (char *) "self",(char *) "handler", NULL
24681 };
24682
24683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24688 {
24689 PyThreadState* __tstate = wxPyBeginAllowThreads();
24690 result = (bool)(arg1)->RemoveEventHandler(arg2);
24691
24692 wxPyEndAllowThreads(__tstate);
24693 if (PyErr_Occurred()) SWIG_fail;
24694 }
4f89f6a3
RD
24695 {
24696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24697 }
d14a1e28
RD
24698 return resultobj;
24699 fail:
24700 return NULL;
24701}
24702
24703
24704static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24705 PyObject *resultobj;
24706 wxWindow *arg1 = (wxWindow *) 0 ;
24707 wxValidator *arg2 = 0 ;
24708 PyObject * obj0 = 0 ;
24709 PyObject * obj1 = 0 ;
24710 char *kwnames[] = {
24711 (char *) "self",(char *) "validator", NULL
24712 };
24713
24714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
24718 SWIG_POINTER_EXCEPTION | 0)) == -1)
24719 SWIG_fail;
d14a1e28 24720 if (arg2 == NULL) {
15afbcd0
RD
24721 PyErr_SetString(PyExc_TypeError,"null reference");
24722 SWIG_fail;
d14a1e28
RD
24723 }
24724 {
24725 PyThreadState* __tstate = wxPyBeginAllowThreads();
24726 (arg1)->SetValidator((wxValidator const &)*arg2);
24727
24728 wxPyEndAllowThreads(__tstate);
24729 if (PyErr_Occurred()) SWIG_fail;
24730 }
24731 Py_INCREF(Py_None); resultobj = Py_None;
24732 return resultobj;
24733 fail:
24734 return NULL;
24735}
24736
24737
24738static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24739 PyObject *resultobj;
24740 wxWindow *arg1 = (wxWindow *) 0 ;
24741 wxValidator *result;
24742 PyObject * obj0 = 0 ;
24743 char *kwnames[] = {
24744 (char *) "self", NULL
24745 };
24746
24747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
15afbcd0
RD
24748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 result = (wxValidator *)(arg1)->GetValidator();
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 {
24758 resultobj = wxPyMake_wxObject(result);
24759 }
24760 return resultobj;
24761 fail:
24762 return NULL;
24763}
24764
24765
74a57fcd
RD
24766static PyObject *_wrap_Window_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24767 PyObject *resultobj;
24768 wxWindow *arg1 = (wxWindow *) 0 ;
24769 bool result;
24770 PyObject * obj0 = 0 ;
24771 char *kwnames[] = {
24772 (char *) "self", NULL
24773 };
24774
24775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
24776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24778 {
24779 PyThreadState* __tstate = wxPyBeginAllowThreads();
24780 result = (bool)(arg1)->Validate();
24781
24782 wxPyEndAllowThreads(__tstate);
24783 if (PyErr_Occurred()) SWIG_fail;
24784 }
24785 {
24786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24787 }
24788 return resultobj;
24789 fail:
24790 return NULL;
24791}
24792
24793
24794static PyObject *_wrap_Window_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24795 PyObject *resultobj;
24796 wxWindow *arg1 = (wxWindow *) 0 ;
24797 bool result;
24798 PyObject * obj0 = 0 ;
24799 char *kwnames[] = {
24800 (char *) "self", NULL
24801 };
24802
24803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
24804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24806 {
24807 PyThreadState* __tstate = wxPyBeginAllowThreads();
24808 result = (bool)(arg1)->TransferDataToWindow();
24809
24810 wxPyEndAllowThreads(__tstate);
24811 if (PyErr_Occurred()) SWIG_fail;
24812 }
24813 {
24814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24815 }
24816 return resultobj;
24817 fail:
24818 return NULL;
24819}
24820
24821
24822static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24823 PyObject *resultobj;
24824 wxWindow *arg1 = (wxWindow *) 0 ;
24825 bool result;
24826 PyObject * obj0 = 0 ;
24827 char *kwnames[] = {
24828 (char *) "self", NULL
24829 };
24830
24831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24834 {
24835 PyThreadState* __tstate = wxPyBeginAllowThreads();
24836 result = (bool)(arg1)->TransferDataFromWindow();
24837
24838 wxPyEndAllowThreads(__tstate);
24839 if (PyErr_Occurred()) SWIG_fail;
24840 }
24841 {
24842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24843 }
24844 return resultobj;
24845 fail:
24846 return NULL;
24847}
24848
24849
24850static PyObject *_wrap_Window_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24851 PyObject *resultobj;
24852 wxWindow *arg1 = (wxWindow *) 0 ;
24853 PyObject * obj0 = 0 ;
24854 char *kwnames[] = {
24855 (char *) "self", NULL
24856 };
24857
24858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
24859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24861 {
24862 PyThreadState* __tstate = wxPyBeginAllowThreads();
24863 (arg1)->InitDialog();
24864
24865 wxPyEndAllowThreads(__tstate);
24866 if (PyErr_Occurred()) SWIG_fail;
24867 }
24868 Py_INCREF(Py_None); resultobj = Py_None;
24869 return resultobj;
24870 fail:
24871 return NULL;
24872}
24873
24874
d14a1e28
RD
24875static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
24876 PyObject *resultobj;
24877 wxWindow *arg1 = (wxWindow *) 0 ;
24878 wxAcceleratorTable *arg2 = 0 ;
24879 PyObject * obj0 = 0 ;
24880 PyObject * obj1 = 0 ;
24881 char *kwnames[] = {
24882 (char *) "self",(char *) "accel", NULL
24883 };
24884
24885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
24889 SWIG_POINTER_EXCEPTION | 0)) == -1)
24890 SWIG_fail;
d14a1e28 24891 if (arg2 == NULL) {
15afbcd0
RD
24892 PyErr_SetString(PyExc_TypeError,"null reference");
24893 SWIG_fail;
d14a1e28
RD
24894 }
24895 {
24896 PyThreadState* __tstate = wxPyBeginAllowThreads();
24897 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
24898
24899 wxPyEndAllowThreads(__tstate);
24900 if (PyErr_Occurred()) SWIG_fail;
24901 }
24902 Py_INCREF(Py_None); resultobj = Py_None;
24903 return resultobj;
24904 fail:
24905 return NULL;
24906}
24907
24908
24909static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
24910 PyObject *resultobj;
24911 wxWindow *arg1 = (wxWindow *) 0 ;
24912 wxAcceleratorTable *result;
24913 PyObject * obj0 = 0 ;
24914 char *kwnames[] = {
24915 (char *) "self", NULL
24916 };
24917
24918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
24919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24921 {
24922 PyThreadState* __tstate = wxPyBeginAllowThreads();
24923 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
24924
24925 wxPyEndAllowThreads(__tstate);
24926 if (PyErr_Occurred()) SWIG_fail;
24927 }
15afbcd0 24928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
d14a1e28
RD
24929 return resultobj;
24930 fail:
24931 return NULL;
24932}
24933
24934
24935static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
24936 PyObject *resultobj;
24937 wxWindow *arg1 = (wxWindow *) 0 ;
24938 int arg2 ;
24939 int arg3 ;
24940 int arg4 ;
24941 bool result;
24942 PyObject * obj0 = 0 ;
994141e6
RD
24943 PyObject * obj1 = 0 ;
24944 PyObject * obj2 = 0 ;
24945 PyObject * obj3 = 0 ;
d14a1e28
RD
24946 char *kwnames[] = {
24947 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24948 };
24949
994141e6 24950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
24951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24953 arg2 = (int) SWIG_AsInt(obj1);
24954 if (PyErr_Occurred()) SWIG_fail;
24955 arg3 = (int) SWIG_AsInt(obj2);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 arg4 = (int) SWIG_AsInt(obj3);
24958 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24959 {
24960 PyThreadState* __tstate = wxPyBeginAllowThreads();
24961 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
24962
24963 wxPyEndAllowThreads(__tstate);
24964 if (PyErr_Occurred()) SWIG_fail;
24965 }
4f89f6a3
RD
24966 {
24967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24968 }
d14a1e28
RD
24969 return resultobj;
24970 fail:
24971 return NULL;
24972}
24973
24974
24975static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
24976 PyObject *resultobj;
24977 wxWindow *arg1 = (wxWindow *) 0 ;
24978 int arg2 ;
24979 bool result;
24980 PyObject * obj0 = 0 ;
994141e6 24981 PyObject * obj1 = 0 ;
d14a1e28
RD
24982 char *kwnames[] = {
24983 (char *) "self",(char *) "hotkeyId", NULL
24984 };
24985
994141e6 24986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24989 arg2 = (int) SWIG_AsInt(obj1);
24990 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24991 {
24992 PyThreadState* __tstate = wxPyBeginAllowThreads();
24993 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
24994
24995 wxPyEndAllowThreads(__tstate);
24996 if (PyErr_Occurred()) SWIG_fail;
24997 }
4f89f6a3
RD
24998 {
24999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25000 }
d14a1e28
RD
25001 return resultobj;
25002 fail:
25003 return NULL;
25004}
25005
25006
25007static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25008 PyObject *resultobj;
25009 wxWindow *arg1 = (wxWindow *) 0 ;
25010 wxPoint *arg2 = 0 ;
25011 wxPoint result;
25012 wxPoint temp2 ;
25013 PyObject * obj0 = 0 ;
25014 PyObject * obj1 = 0 ;
25015 char *kwnames[] = {
25016 (char *) "self",(char *) "pt", NULL
25017 };
25018
25019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25022 {
25023 arg2 = &temp2;
25024 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25025 }
25026 {
25027 PyThreadState* __tstate = wxPyBeginAllowThreads();
25028 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25029
25030 wxPyEndAllowThreads(__tstate);
25031 if (PyErr_Occurred()) SWIG_fail;
25032 }
25033 {
25034 wxPoint * resultptr;
25035 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25037 }
25038 return resultobj;
25039 fail:
25040 return NULL;
25041}
25042
25043
25044static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25045 PyObject *resultobj;
25046 wxWindow *arg1 = (wxWindow *) 0 ;
25047 wxSize *arg2 = 0 ;
25048 wxSize result;
25049 wxSize temp2 ;
25050 PyObject * obj0 = 0 ;
25051 PyObject * obj1 = 0 ;
25052 char *kwnames[] = {
25053 (char *) "self",(char *) "sz", NULL
25054 };
25055
25056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25059 {
25060 arg2 = &temp2;
25061 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25062 }
25063 {
25064 PyThreadState* __tstate = wxPyBeginAllowThreads();
25065 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25066
25067 wxPyEndAllowThreads(__tstate);
25068 if (PyErr_Occurred()) SWIG_fail;
25069 }
25070 {
25071 wxSize * resultptr;
25072 resultptr = new wxSize((wxSize &) result);
15afbcd0 25073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25074 }
25075 return resultobj;
25076 fail:
25077 return NULL;
25078}
25079
25080
25081static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
25082 PyObject *resultobj;
25083 wxWindow *arg1 = (wxWindow *) 0 ;
25084 wxPoint *arg2 = 0 ;
25085 wxPoint result;
25086 wxPoint temp2 ;
25087 PyObject * obj0 = 0 ;
25088 PyObject * obj1 = 0 ;
25089 char *kwnames[] = {
25090 (char *) "self",(char *) "pt", NULL
25091 };
25092
25093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25096 {
25097 arg2 = &temp2;
25098 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25099 }
25100 {
25101 PyThreadState* __tstate = wxPyBeginAllowThreads();
25102 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25103
25104 wxPyEndAllowThreads(__tstate);
25105 if (PyErr_Occurred()) SWIG_fail;
25106 }
25107 {
25108 wxPoint * resultptr;
25109 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25110 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25111 }
25112 return resultobj;
25113 fail:
25114 return NULL;
25115}
25116
25117
25118static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
25119 PyObject *resultobj;
25120 wxWindow *arg1 = (wxWindow *) 0 ;
25121 wxSize *arg2 = 0 ;
25122 wxSize result;
25123 wxSize temp2 ;
25124 PyObject * obj0 = 0 ;
25125 PyObject * obj1 = 0 ;
25126 char *kwnames[] = {
25127 (char *) "self",(char *) "sz", NULL
25128 };
25129
25130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25133 {
25134 arg2 = &temp2;
25135 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25136 }
25137 {
25138 PyThreadState* __tstate = wxPyBeginAllowThreads();
25139 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25140
25141 wxPyEndAllowThreads(__tstate);
25142 if (PyErr_Occurred()) SWIG_fail;
25143 }
25144 {
25145 wxSize * resultptr;
25146 resultptr = new wxSize((wxSize &) result);
15afbcd0 25147 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25148 }
25149 return resultobj;
25150 fail:
25151 return NULL;
25152}
25153
25154
25155static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25156 PyObject *resultobj;
25157 wxWindow *arg1 = (wxWindow *) 0 ;
25158 wxPoint *arg2 = 0 ;
25159 wxPoint result;
25160 wxPoint temp2 ;
25161 PyObject * obj0 = 0 ;
25162 PyObject * obj1 = 0 ;
25163 char *kwnames[] = {
25164 (char *) "self",(char *) "pt", NULL
25165 };
25166
25167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25170 {
25171 arg2 = &temp2;
25172 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25173 }
25174 {
25175 PyThreadState* __tstate = wxPyBeginAllowThreads();
25176 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
25177
25178 wxPyEndAllowThreads(__tstate);
25179 if (PyErr_Occurred()) SWIG_fail;
25180 }
25181 {
25182 wxPoint * resultptr;
25183 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25184 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25185 }
25186 return resultobj;
25187 fail:
25188 return NULL;
25189}
25190
25191
25192static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25193 PyObject *resultobj;
25194 wxWindow *arg1 = (wxWindow *) 0 ;
25195 wxSize *arg2 = 0 ;
25196 wxSize result;
25197 wxSize temp2 ;
25198 PyObject * obj0 = 0 ;
25199 PyObject * obj1 = 0 ;
25200 char *kwnames[] = {
25201 (char *) "self",(char *) "sz", NULL
25202 };
25203
25204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25207 {
25208 arg2 = &temp2;
25209 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25210 }
25211 {
25212 PyThreadState* __tstate = wxPyBeginAllowThreads();
25213 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
25214
25215 wxPyEndAllowThreads(__tstate);
25216 if (PyErr_Occurred()) SWIG_fail;
25217 }
25218 {
25219 wxSize * resultptr;
25220 resultptr = new wxSize((wxSize &) result);
15afbcd0 25221 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25222 }
25223 return resultobj;
25224 fail:
25225 return NULL;
25226}
25227
25228
25229static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
25230 PyObject *resultobj;
25231 wxWindow *arg1 = (wxWindow *) 0 ;
25232 int arg2 ;
25233 int arg3 ;
25234 PyObject * obj0 = 0 ;
994141e6
RD
25235 PyObject * obj1 = 0 ;
25236 PyObject * obj2 = 0 ;
d14a1e28
RD
25237 char *kwnames[] = {
25238 (char *) "self",(char *) "x",(char *) "y", NULL
25239 };
25240
994141e6 25241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25244 arg2 = (int) SWIG_AsInt(obj1);
25245 if (PyErr_Occurred()) SWIG_fail;
25246 arg3 = (int) SWIG_AsInt(obj2);
25247 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25248 {
25249 PyThreadState* __tstate = wxPyBeginAllowThreads();
25250 (arg1)->WarpPointer(arg2,arg3);
25251
25252 wxPyEndAllowThreads(__tstate);
25253 if (PyErr_Occurred()) SWIG_fail;
25254 }
25255 Py_INCREF(Py_None); resultobj = Py_None;
25256 return resultobj;
25257 fail:
25258 return NULL;
25259}
25260
25261
25262static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25263 PyObject *resultobj;
25264 wxWindow *arg1 = (wxWindow *) 0 ;
25265 PyObject * obj0 = 0 ;
25266 char *kwnames[] = {
25267 (char *) "self", NULL
25268 };
25269
25270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
25271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25273 {
25274 PyThreadState* __tstate = wxPyBeginAllowThreads();
25275 (arg1)->CaptureMouse();
25276
25277 wxPyEndAllowThreads(__tstate);
25278 if (PyErr_Occurred()) SWIG_fail;
25279 }
25280 Py_INCREF(Py_None); resultobj = Py_None;
25281 return resultobj;
25282 fail:
25283 return NULL;
25284}
25285
25286
25287static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25288 PyObject *resultobj;
25289 wxWindow *arg1 = (wxWindow *) 0 ;
25290 PyObject * obj0 = 0 ;
25291 char *kwnames[] = {
25292 (char *) "self", NULL
25293 };
25294
25295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
25296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25298 {
25299 PyThreadState* __tstate = wxPyBeginAllowThreads();
25300 (arg1)->ReleaseMouse();
25301
25302 wxPyEndAllowThreads(__tstate);
25303 if (PyErr_Occurred()) SWIG_fail;
25304 }
25305 Py_INCREF(Py_None); resultobj = Py_None;
25306 return resultobj;
25307 fail:
25308 return NULL;
25309}
25310
25311
25312static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25313 PyObject *resultobj;
25314 wxWindow *result;
25315 char *kwnames[] = {
25316 NULL
25317 };
25318
25319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
25320 {
25321 PyThreadState* __tstate = wxPyBeginAllowThreads();
25322 result = (wxWindow *)wxWindow::GetCapture();
25323
25324 wxPyEndAllowThreads(__tstate);
25325 if (PyErr_Occurred()) SWIG_fail;
25326 }
25327 {
25328 resultobj = wxPyMake_wxObject(result);
25329 }
25330 return resultobj;
25331 fail:
25332 return NULL;
25333}
25334
25335
25336static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25337 PyObject *resultobj;
25338 wxWindow *arg1 = (wxWindow *) 0 ;
25339 bool result;
25340 PyObject * obj0 = 0 ;
25341 char *kwnames[] = {
25342 (char *) "self", NULL
25343 };
25344
25345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
15afbcd0
RD
25346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25348 {
25349 PyThreadState* __tstate = wxPyBeginAllowThreads();
25350 result = (bool)((wxWindow const *)arg1)->HasCapture();
25351
25352 wxPyEndAllowThreads(__tstate);
25353 if (PyErr_Occurred()) SWIG_fail;
25354 }
4f89f6a3
RD
25355 {
25356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25357 }
d14a1e28
RD
25358 return resultobj;
25359 fail:
25360 return NULL;
25361}
25362
25363
25364static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
25365 PyObject *resultobj;
25366 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 25367 bool arg2 = (bool) True ;
d14a1e28
RD
25368 wxRect *arg3 = (wxRect *) NULL ;
25369 PyObject * obj0 = 0 ;
25370 PyObject * obj1 = 0 ;
25371 PyObject * obj2 = 0 ;
25372 char *kwnames[] = {
25373 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25374 };
25375
25376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 25379 if (obj1) {
15afbcd0
RD
25380 arg2 = (bool) SWIG_AsBool(obj1);
25381 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25382 }
25383 if (obj2) {
15afbcd0
RD
25384 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
25385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25386 }
25387 {
25388 PyThreadState* __tstate = wxPyBeginAllowThreads();
25389 (arg1)->Refresh(arg2,(wxRect const *)arg3);
25390
25391 wxPyEndAllowThreads(__tstate);
25392 if (PyErr_Occurred()) SWIG_fail;
25393 }
25394 Py_INCREF(Py_None); resultobj = Py_None;
25395 return resultobj;
25396 fail:
25397 return NULL;
25398}
25399
25400
25401static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25402 PyObject *resultobj;
25403 wxWindow *arg1 = (wxWindow *) 0 ;
25404 wxRect *arg2 = 0 ;
25405 wxRect temp2 ;
25406 PyObject * obj0 = 0 ;
25407 PyObject * obj1 = 0 ;
25408 char *kwnames[] = {
25409 (char *) "self",(char *) "rect", NULL
25410 };
25411
25412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25415 {
25416 arg2 = &temp2;
25417 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25418 }
25419 {
25420 PyThreadState* __tstate = wxPyBeginAllowThreads();
25421 (arg1)->RefreshRect((wxRect const &)*arg2);
25422
25423 wxPyEndAllowThreads(__tstate);
25424 if (PyErr_Occurred()) SWIG_fail;
25425 }
25426 Py_INCREF(Py_None); resultobj = Py_None;
25427 return resultobj;
25428 fail:
25429 return NULL;
25430}
25431
25432
25433static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
25434 PyObject *resultobj;
25435 wxWindow *arg1 = (wxWindow *) 0 ;
25436 PyObject * obj0 = 0 ;
25437 char *kwnames[] = {
25438 (char *) "self", NULL
25439 };
25440
25441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
15afbcd0
RD
25442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25444 {
25445 PyThreadState* __tstate = wxPyBeginAllowThreads();
25446 (arg1)->Update();
25447
25448 wxPyEndAllowThreads(__tstate);
25449 if (PyErr_Occurred()) SWIG_fail;
25450 }
25451 Py_INCREF(Py_None); resultobj = Py_None;
25452 return resultobj;
25453 fail:
25454 return NULL;
25455}
25456
25457
25458static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
25459 PyObject *resultobj;
25460 wxWindow *arg1 = (wxWindow *) 0 ;
25461 PyObject * obj0 = 0 ;
25462 char *kwnames[] = {
25463 (char *) "self", NULL
25464 };
25465
25466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
25471 (arg1)->ClearBackground();
25472
25473 wxPyEndAllowThreads(__tstate);
25474 if (PyErr_Occurred()) SWIG_fail;
25475 }
25476 Py_INCREF(Py_None); resultobj = Py_None;
25477 return resultobj;
25478 fail:
25479 return NULL;
25480}
25481
25482
25483static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
25484 PyObject *resultobj;
25485 wxWindow *arg1 = (wxWindow *) 0 ;
25486 PyObject * obj0 = 0 ;
25487 char *kwnames[] = {
25488 (char *) "self", NULL
25489 };
25490
25491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
15afbcd0
RD
25492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25494 {
25495 PyThreadState* __tstate = wxPyBeginAllowThreads();
25496 (arg1)->Freeze();
25497
25498 wxPyEndAllowThreads(__tstate);
25499 if (PyErr_Occurred()) SWIG_fail;
25500 }
25501 Py_INCREF(Py_None); resultobj = Py_None;
25502 return resultobj;
25503 fail:
25504 return NULL;
25505}
25506
25507
25508static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
25509 PyObject *resultobj;
25510 wxWindow *arg1 = (wxWindow *) 0 ;
25511 PyObject * obj0 = 0 ;
25512 char *kwnames[] = {
25513 (char *) "self", NULL
25514 };
25515
25516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
15afbcd0
RD
25517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25519 {
25520 PyThreadState* __tstate = wxPyBeginAllowThreads();
25521 (arg1)->Thaw();
25522
25523 wxPyEndAllowThreads(__tstate);
25524 if (PyErr_Occurred()) SWIG_fail;
25525 }
25526 Py_INCREF(Py_None); resultobj = Py_None;
25527 return resultobj;
25528 fail:
25529 return NULL;
25530}
25531
25532
25533static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
25534 PyObject *resultobj;
25535 wxWindow *arg1 = (wxWindow *) 0 ;
25536 wxDC *arg2 = 0 ;
25537 PyObject * obj0 = 0 ;
25538 PyObject * obj1 = 0 ;
25539 char *kwnames[] = {
25540 (char *) "self",(char *) "dc", NULL
25541 };
25542
25543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25547 SWIG_POINTER_EXCEPTION | 0)) == -1)
25548 SWIG_fail;
d14a1e28 25549 if (arg2 == NULL) {
15afbcd0
RD
25550 PyErr_SetString(PyExc_TypeError,"null reference");
25551 SWIG_fail;
d14a1e28
RD
25552 }
25553 {
25554 PyThreadState* __tstate = wxPyBeginAllowThreads();
25555 (arg1)->PrepareDC(*arg2);
25556
25557 wxPyEndAllowThreads(__tstate);
25558 if (PyErr_Occurred()) SWIG_fail;
25559 }
25560 Py_INCREF(Py_None); resultobj = Py_None;
25561 return resultobj;
25562 fail:
25563 return NULL;
25564}
25565
25566
25567static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25568 PyObject *resultobj;
25569 wxWindow *arg1 = (wxWindow *) 0 ;
25570 wxRegion *result;
25571 PyObject * obj0 = 0 ;
25572 char *kwnames[] = {
25573 (char *) "self", NULL
25574 };
25575
25576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
15afbcd0
RD
25577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25579 {
25580 PyThreadState* __tstate = wxPyBeginAllowThreads();
25581 {
25582 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
25583 result = (wxRegion *) &_result_ref;
25584 }
25585
25586 wxPyEndAllowThreads(__tstate);
25587 if (PyErr_Occurred()) SWIG_fail;
25588 }
15afbcd0 25589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
d14a1e28
RD
25590 return resultobj;
25591 fail:
25592 return NULL;
25593}
25594
25595
25596static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25597 PyObject *resultobj;
25598 wxWindow *arg1 = (wxWindow *) 0 ;
25599 wxRect result;
25600 PyObject * obj0 = 0 ;
25601 char *kwnames[] = {
25602 (char *) "self", NULL
25603 };
25604
25605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
25606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
25611
25612 wxPyEndAllowThreads(__tstate);
25613 if (PyErr_Occurred()) SWIG_fail;
25614 }
25615 {
25616 wxRect * resultptr;
25617 resultptr = new wxRect((wxRect &) result);
15afbcd0 25618 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
25619 }
25620 return resultobj;
25621 fail:
25622 return NULL;
25623}
25624
25625
25626static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
25627 PyObject *resultobj;
25628 wxWindow *arg1 = (wxWindow *) 0 ;
25629 int arg2 ;
25630 int arg3 ;
25631 int arg4 = (int) 1 ;
25632 int arg5 = (int) 1 ;
25633 bool result;
25634 PyObject * obj0 = 0 ;
994141e6
RD
25635 PyObject * obj1 = 0 ;
25636 PyObject * obj2 = 0 ;
25637 PyObject * obj3 = 0 ;
25638 PyObject * obj4 = 0 ;
d14a1e28
RD
25639 char *kwnames[] = {
25640 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25641 };
25642
994141e6 25643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
25644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25646 arg2 = (int) SWIG_AsInt(obj1);
25647 if (PyErr_Occurred()) SWIG_fail;
25648 arg3 = (int) SWIG_AsInt(obj2);
25649 if (PyErr_Occurred()) SWIG_fail;
994141e6 25650 if (obj3) {
15afbcd0
RD
25651 arg4 = (int) SWIG_AsInt(obj3);
25652 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
25653 }
25654 if (obj4) {
15afbcd0
RD
25655 arg5 = (int) SWIG_AsInt(obj4);
25656 if (PyErr_Occurred()) SWIG_fail;
994141e6 25657 }
d14a1e28
RD
25658 {
25659 PyThreadState* __tstate = wxPyBeginAllowThreads();
25660 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
25661
25662 wxPyEndAllowThreads(__tstate);
25663 if (PyErr_Occurred()) SWIG_fail;
25664 }
4f89f6a3
RD
25665 {
25666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25667 }
d14a1e28
RD
25668 return resultobj;
25669 fail:
25670 return NULL;
25671}
25672
25673
25674static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
25675 PyObject *resultobj;
25676 wxWindow *arg1 = (wxWindow *) 0 ;
25677 wxPoint *arg2 = 0 ;
25678 bool result;
25679 wxPoint temp2 ;
25680 PyObject * obj0 = 0 ;
25681 PyObject * obj1 = 0 ;
25682 char *kwnames[] = {
25683 (char *) "self",(char *) "pt", NULL
25684 };
25685
25686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25689 {
25690 arg2 = &temp2;
25691 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25692 }
25693 {
25694 PyThreadState* __tstate = wxPyBeginAllowThreads();
25695 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
25696
25697 wxPyEndAllowThreads(__tstate);
25698 if (PyErr_Occurred()) SWIG_fail;
25699 }
4f89f6a3
RD
25700 {
25701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25702 }
d14a1e28
RD
25703 return resultobj;
25704 fail:
25705 return NULL;
25706}
25707
25708
4276dc52 25709static PyObject *_wrap_Window_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25710 PyObject *resultobj;
25711 wxWindow *arg1 = (wxWindow *) 0 ;
25712 wxRect *arg2 = 0 ;
25713 bool result;
25714 wxRect temp2 ;
25715 PyObject * obj0 = 0 ;
25716 PyObject * obj1 = 0 ;
25717 char *kwnames[] = {
25718 (char *) "self",(char *) "rect", NULL
25719 };
25720
4276dc52 25721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25724 {
25725 arg2 = &temp2;
25726 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25727 }
25728 {
25729 PyThreadState* __tstate = wxPyBeginAllowThreads();
25730 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
25731
25732 wxPyEndAllowThreads(__tstate);
25733 if (PyErr_Occurred()) SWIG_fail;
25734 }
4f89f6a3
RD
25735 {
25736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25737 }
d14a1e28
RD
25738 return resultobj;
25739 fail:
25740 return NULL;
25741}
25742
25743
74a57fcd
RD
25744static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
25745 PyObject *resultobj;
25746 wxWindow *arg1 = (wxWindow *) 0 ;
25747 wxVisualAttributes result;
25748 PyObject * obj0 = 0 ;
25749 char *kwnames[] = {
25750 (char *) "self", NULL
25751 };
25752
25753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
25754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25756 {
25757 PyThreadState* __tstate = wxPyBeginAllowThreads();
25758 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
25759
25760 wxPyEndAllowThreads(__tstate);
25761 if (PyErr_Occurred()) SWIG_fail;
25762 }
25763 {
25764 wxVisualAttributes * resultptr;
25765 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
25766 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
25767 }
25768 return resultobj;
25769 fail:
25770 return NULL;
25771}
25772
25773
25774static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
25775 PyObject *resultobj;
25776 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
25777 wxVisualAttributes result;
25778 PyObject * obj0 = 0 ;
25779 char *kwnames[] = {
25780 (char *) "variant", NULL
25781 };
25782
25783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
25784 if (obj0) {
25785 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
25786 if (PyErr_Occurred()) SWIG_fail;
25787 }
25788 {
25789 PyThreadState* __tstate = wxPyBeginAllowThreads();
25790 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
25791
25792 wxPyEndAllowThreads(__tstate);
25793 if (PyErr_Occurred()) SWIG_fail;
25794 }
25795 {
25796 wxVisualAttributes * resultptr;
25797 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
25798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
25799 }
25800 return resultobj;
25801 fail:
25802 return NULL;
25803}
25804
25805
d14a1e28
RD
25806static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25807 PyObject *resultobj;
25808 wxWindow *arg1 = (wxWindow *) 0 ;
25809 wxColour *arg2 = 0 ;
25810 bool result;
25811 wxColour temp2 ;
25812 PyObject * obj0 = 0 ;
25813 PyObject * obj1 = 0 ;
25814 char *kwnames[] = {
25815 (char *) "self",(char *) "colour", NULL
25816 };
25817
25818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25821 {
25822 arg2 = &temp2;
25823 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25824 }
25825 {
25826 PyThreadState* __tstate = wxPyBeginAllowThreads();
25827 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25828
25829 wxPyEndAllowThreads(__tstate);
25830 if (PyErr_Occurred()) SWIG_fail;
25831 }
4f89f6a3
RD
25832 {
25833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25834 }
d14a1e28
RD
25835 return resultobj;
25836 fail:
25837 return NULL;
25838}
25839
25840
b2df227b
RD
25841static PyObject *_wrap_Window_SetDefaultBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25842 PyObject *resultobj;
25843 wxWindow *arg1 = (wxWindow *) 0 ;
25844 wxColour *arg2 = 0 ;
25845 wxColour temp2 ;
25846 PyObject * obj0 = 0 ;
25847 PyObject * obj1 = 0 ;
25848 char *kwnames[] = {
25849 (char *) "self",(char *) "colour", NULL
25850 };
25851
25852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25855 {
25856 arg2 = &temp2;
25857 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25858 }
25859 {
25860 PyThreadState* __tstate = wxPyBeginAllowThreads();
25861 (arg1)->SetDefaultBackgroundColour((wxColour const &)*arg2);
25862
25863 wxPyEndAllowThreads(__tstate);
25864 if (PyErr_Occurred()) SWIG_fail;
25865 }
25866 Py_INCREF(Py_None); resultobj = Py_None;
25867 return resultobj;
25868 fail:
25869 return NULL;
25870}
25871
25872
d14a1e28
RD
25873static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25874 PyObject *resultobj;
25875 wxWindow *arg1 = (wxWindow *) 0 ;
25876 wxColour *arg2 = 0 ;
25877 bool result;
25878 wxColour temp2 ;
25879 PyObject * obj0 = 0 ;
25880 PyObject * obj1 = 0 ;
25881 char *kwnames[] = {
25882 (char *) "self",(char *) "colour", NULL
25883 };
25884
25885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25888 {
25889 arg2 = &temp2;
25890 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25891 }
25892 {
25893 PyThreadState* __tstate = wxPyBeginAllowThreads();
25894 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
25895
25896 wxPyEndAllowThreads(__tstate);
25897 if (PyErr_Occurred()) SWIG_fail;
25898 }
4f89f6a3
RD
25899 {
25900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25901 }
d14a1e28
RD
25902 return resultobj;
25903 fail:
25904 return NULL;
25905}
25906
25907
b2df227b
RD
25908static PyObject *_wrap_Window_SetDefaultForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25909 PyObject *resultobj;
25910 wxWindow *arg1 = (wxWindow *) 0 ;
25911 wxColour *arg2 = 0 ;
25912 wxColour temp2 ;
25913 PyObject * obj0 = 0 ;
25914 PyObject * obj1 = 0 ;
25915 char *kwnames[] = {
25916 (char *) "self",(char *) "colour", NULL
25917 };
25918
25919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultForegroundColour",kwnames,&obj0,&obj1)) goto fail;
25920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25922 {
25923 arg2 = &temp2;
25924 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25925 }
25926 {
25927 PyThreadState* __tstate = wxPyBeginAllowThreads();
25928 (arg1)->SetDefaultForegroundColour((wxColour const &)*arg2);
25929
25930 wxPyEndAllowThreads(__tstate);
25931 if (PyErr_Occurred()) SWIG_fail;
25932 }
25933 Py_INCREF(Py_None); resultobj = Py_None;
25934 return resultobj;
25935 fail:
25936 return NULL;
25937}
25938
25939
d14a1e28
RD
25940static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25941 PyObject *resultobj;
25942 wxWindow *arg1 = (wxWindow *) 0 ;
25943 wxColour result;
25944 PyObject * obj0 = 0 ;
25945 char *kwnames[] = {
25946 (char *) "self", NULL
25947 };
25948
25949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
25950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25952 {
25953 PyThreadState* __tstate = wxPyBeginAllowThreads();
25954 result = ((wxWindow const *)arg1)->GetBackgroundColour();
25955
25956 wxPyEndAllowThreads(__tstate);
25957 if (PyErr_Occurred()) SWIG_fail;
25958 }
25959 {
25960 wxColour * resultptr;
25961 resultptr = new wxColour((wxColour &) result);
15afbcd0 25962 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
25963 }
25964 return resultobj;
25965 fail:
25966 return NULL;
25967}
25968
25969
25970static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25971 PyObject *resultobj;
25972 wxWindow *arg1 = (wxWindow *) 0 ;
25973 wxColour result;
25974 PyObject * obj0 = 0 ;
25975 char *kwnames[] = {
25976 (char *) "self", NULL
25977 };
25978
25979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
25980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25982 {
25983 PyThreadState* __tstate = wxPyBeginAllowThreads();
25984 result = ((wxWindow const *)arg1)->GetForegroundColour();
25985
25986 wxPyEndAllowThreads(__tstate);
25987 if (PyErr_Occurred()) SWIG_fail;
25988 }
25989 {
25990 wxColour * resultptr;
25991 resultptr = new wxColour((wxColour &) result);
15afbcd0 25992 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
25993 }
25994 return resultobj;
25995 fail:
25996 return NULL;
25997}
25998
25999
26000static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26001 PyObject *resultobj;
26002 wxWindow *arg1 = (wxWindow *) 0 ;
26003 wxCursor *arg2 = 0 ;
26004 bool result;
26005 PyObject * obj0 = 0 ;
26006 PyObject * obj1 = 0 ;
26007 char *kwnames[] = {
26008 (char *) "self",(char *) "cursor", NULL
26009 };
26010
26011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
26015 SWIG_POINTER_EXCEPTION | 0)) == -1)
26016 SWIG_fail;
d14a1e28 26017 if (arg2 == NULL) {
15afbcd0
RD
26018 PyErr_SetString(PyExc_TypeError,"null reference");
26019 SWIG_fail;
d14a1e28
RD
26020 }
26021 {
26022 PyThreadState* __tstate = wxPyBeginAllowThreads();
26023 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
26024
26025 wxPyEndAllowThreads(__tstate);
26026 if (PyErr_Occurred()) SWIG_fail;
26027 }
4f89f6a3
RD
26028 {
26029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26030 }
d14a1e28
RD
26031 return resultobj;
26032 fail:
26033 return NULL;
26034}
26035
26036
26037static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26038 PyObject *resultobj;
26039 wxWindow *arg1 = (wxWindow *) 0 ;
26040 wxCursor *result;
26041 PyObject * obj0 = 0 ;
26042 char *kwnames[] = {
26043 (char *) "self", NULL
26044 };
26045
26046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
26047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26049 {
26050 PyThreadState* __tstate = wxPyBeginAllowThreads();
26051 {
26052 wxCursor &_result_ref = (arg1)->GetCursor();
26053 result = (wxCursor *) &_result_ref;
26054 }
26055
26056 wxPyEndAllowThreads(__tstate);
26057 if (PyErr_Occurred()) SWIG_fail;
26058 }
4276dc52
RD
26059 {
26060 wxCursor* resultptr = new wxCursor(*result);
26061 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
26062 }
d14a1e28
RD
26063 return resultobj;
26064 fail:
26065 return NULL;
26066}
26067
26068
26069static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26070 PyObject *resultobj;
26071 wxWindow *arg1 = (wxWindow *) 0 ;
26072 wxFont *arg2 = 0 ;
26073 bool result;
26074 PyObject * obj0 = 0 ;
26075 PyObject * obj1 = 0 ;
26076 char *kwnames[] = {
26077 (char *) "self",(char *) "font", NULL
26078 };
26079
26080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26084 SWIG_POINTER_EXCEPTION | 0)) == -1)
26085 SWIG_fail;
d14a1e28 26086 if (arg2 == NULL) {
15afbcd0
RD
26087 PyErr_SetString(PyExc_TypeError,"null reference");
26088 SWIG_fail;
d14a1e28
RD
26089 }
26090 {
26091 PyThreadState* __tstate = wxPyBeginAllowThreads();
26092 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
26093
26094 wxPyEndAllowThreads(__tstate);
26095 if (PyErr_Occurred()) SWIG_fail;
26096 }
4f89f6a3
RD
26097 {
26098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26099 }
d14a1e28
RD
26100 return resultobj;
26101 fail:
26102 return NULL;
26103}
26104
26105
b2df227b
RD
26106static PyObject *_wrap_Window_SetDefaultFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26107 PyObject *resultobj;
26108 wxWindow *arg1 = (wxWindow *) 0 ;
26109 wxFont *arg2 = 0 ;
26110 PyObject * obj0 = 0 ;
26111 PyObject * obj1 = 0 ;
26112 char *kwnames[] = {
26113 (char *) "self",(char *) "font", NULL
26114 };
26115
26116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultFont",kwnames,&obj0,&obj1)) goto fail;
26117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26119 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26120 SWIG_POINTER_EXCEPTION | 0)) == -1)
26121 SWIG_fail;
26122 if (arg2 == NULL) {
26123 PyErr_SetString(PyExc_TypeError,"null reference");
26124 SWIG_fail;
26125 }
26126 {
26127 PyThreadState* __tstate = wxPyBeginAllowThreads();
26128 (arg1)->SetDefaultFont((wxFont const &)*arg2);
26129
26130 wxPyEndAllowThreads(__tstate);
26131 if (PyErr_Occurred()) SWIG_fail;
26132 }
26133 Py_INCREF(Py_None); resultobj = Py_None;
26134 return resultobj;
26135 fail:
26136 return NULL;
26137}
26138
26139
d14a1e28
RD
26140static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26141 PyObject *resultobj;
26142 wxWindow *arg1 = (wxWindow *) 0 ;
26143 wxFont *result;
26144 PyObject * obj0 = 0 ;
26145 char *kwnames[] = {
26146 (char *) "self", NULL
26147 };
26148
26149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
26150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26152 {
26153 PyThreadState* __tstate = wxPyBeginAllowThreads();
26154 {
26155 wxFont &_result_ref = (arg1)->GetFont();
26156 result = (wxFont *) &_result_ref;
26157 }
26158
26159 wxPyEndAllowThreads(__tstate);
26160 if (PyErr_Occurred()) SWIG_fail;
26161 }
4276dc52
RD
26162 {
26163 wxFont* resultptr = new wxFont(*result);
26164 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
26165 }
d14a1e28
RD
26166 return resultobj;
26167 fail:
26168 return NULL;
26169}
26170
26171
26172static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26173 PyObject *resultobj;
26174 wxWindow *arg1 = (wxWindow *) 0 ;
26175 wxCaret *arg2 = (wxCaret *) 0 ;
26176 PyObject * obj0 = 0 ;
26177 PyObject * obj1 = 0 ;
26178 char *kwnames[] = {
26179 (char *) "self",(char *) "caret", NULL
26180 };
26181
26182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26185 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
26186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26187 {
26188 PyThreadState* __tstate = wxPyBeginAllowThreads();
26189 (arg1)->SetCaret(arg2);
26190
26191 wxPyEndAllowThreads(__tstate);
26192 if (PyErr_Occurred()) SWIG_fail;
26193 }
26194 Py_INCREF(Py_None); resultobj = Py_None;
26195 return resultobj;
26196 fail:
26197 return NULL;
26198}
26199
26200
26201static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26202 PyObject *resultobj;
26203 wxWindow *arg1 = (wxWindow *) 0 ;
26204 wxCaret *result;
26205 PyObject * obj0 = 0 ;
26206 char *kwnames[] = {
26207 (char *) "self", NULL
26208 };
26209
26210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
15afbcd0
RD
26211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26213 {
26214 PyThreadState* __tstate = wxPyBeginAllowThreads();
26215 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
26216
26217 wxPyEndAllowThreads(__tstate);
26218 if (PyErr_Occurred()) SWIG_fail;
26219 }
15afbcd0 26220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
d14a1e28
RD
26221 return resultobj;
26222 fail:
26223 return NULL;
26224}
26225
26226
26227static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
26228 PyObject *resultobj;
26229 wxWindow *arg1 = (wxWindow *) 0 ;
26230 int result;
26231 PyObject * obj0 = 0 ;
26232 char *kwnames[] = {
26233 (char *) "self", NULL
26234 };
26235
26236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
26237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26239 {
26240 PyThreadState* __tstate = wxPyBeginAllowThreads();
26241 result = (int)((wxWindow const *)arg1)->GetCharHeight();
26242
26243 wxPyEndAllowThreads(__tstate);
26244 if (PyErr_Occurred()) SWIG_fail;
26245 }
15afbcd0 26246 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26247 return resultobj;
26248 fail:
26249 return NULL;
26250}
26251
26252
26253static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
26254 PyObject *resultobj;
26255 wxWindow *arg1 = (wxWindow *) 0 ;
26256 int result;
26257 PyObject * obj0 = 0 ;
26258 char *kwnames[] = {
26259 (char *) "self", NULL
26260 };
26261
26262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
26263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26265 {
26266 PyThreadState* __tstate = wxPyBeginAllowThreads();
26267 result = (int)((wxWindow const *)arg1)->GetCharWidth();
26268
26269 wxPyEndAllowThreads(__tstate);
26270 if (PyErr_Occurred()) SWIG_fail;
26271 }
15afbcd0 26272 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26273 return resultobj;
26274 fail:
26275 return NULL;
26276}
26277
26278
26279static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26280 PyObject *resultobj;
26281 wxWindow *arg1 = (wxWindow *) 0 ;
26282 wxString *arg2 = 0 ;
26283 int *arg3 = (int *) 0 ;
26284 int *arg4 = (int *) 0 ;
e811c8ce 26285 bool temp2 = False ;
d14a1e28
RD
26286 int temp3 ;
26287 int temp4 ;
26288 PyObject * obj0 = 0 ;
26289 PyObject * obj1 = 0 ;
26290 char *kwnames[] = {
26291 (char *) "self",(char *) "string", NULL
26292 };
26293
26294 arg3 = &temp3;
26295 arg4 = &temp4;
26296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26299 {
26300 arg2 = wxString_in_helper(obj1);
26301 if (arg2 == NULL) SWIG_fail;
e811c8ce 26302 temp2 = True;
d14a1e28
RD
26303 }
26304 {
26305 PyThreadState* __tstate = wxPyBeginAllowThreads();
26306 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
26307
26308 wxPyEndAllowThreads(__tstate);
26309 if (PyErr_Occurred()) SWIG_fail;
26310 }
26311 Py_INCREF(Py_None); resultobj = Py_None;
26312 {
26313 PyObject *o = PyInt_FromLong((long) (*arg3));
26314 resultobj = t_output_helper(resultobj,o);
26315 }
26316 {
26317 PyObject *o = PyInt_FromLong((long) (*arg4));
26318 resultobj = t_output_helper(resultobj,o);
26319 }
26320 {
26321 if (temp2)
26322 delete arg2;
26323 }
26324 return resultobj;
26325 fail:
26326 {
26327 if (temp2)
26328 delete arg2;
26329 }
26330 return NULL;
26331}
26332
26333
26334static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26335 PyObject *resultobj;
26336 wxWindow *arg1 = (wxWindow *) 0 ;
26337 wxString *arg2 = 0 ;
26338 int *arg3 = (int *) 0 ;
26339 int *arg4 = (int *) 0 ;
26340 int *arg5 = (int *) 0 ;
26341 int *arg6 = (int *) 0 ;
26342 wxFont *arg7 = (wxFont *) NULL ;
e811c8ce 26343 bool temp2 = False ;
d14a1e28
RD
26344 int temp3 ;
26345 int temp4 ;
26346 int temp5 ;
26347 int temp6 ;
26348 PyObject * obj0 = 0 ;
26349 PyObject * obj1 = 0 ;
26350 PyObject * obj2 = 0 ;
26351 char *kwnames[] = {
26352 (char *) "self",(char *) "string",(char *) "font", NULL
26353 };
26354
26355 arg3 = &temp3;
26356 arg4 = &temp4;
26357 arg5 = &temp5;
26358 arg6 = &temp6;
26359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26362 {
26363 arg2 = wxString_in_helper(obj1);
26364 if (arg2 == NULL) SWIG_fail;
e811c8ce 26365 temp2 = True;
d14a1e28
RD
26366 }
26367 if (obj2) {
15afbcd0
RD
26368 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
26369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26370 }
26371 {
26372 PyThreadState* __tstate = wxPyBeginAllowThreads();
26373 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
26374
26375 wxPyEndAllowThreads(__tstate);
26376 if (PyErr_Occurred()) SWIG_fail;
26377 }
26378 Py_INCREF(Py_None); resultobj = Py_None;
26379 {
26380 PyObject *o = PyInt_FromLong((long) (*arg3));
26381 resultobj = t_output_helper(resultobj,o);
26382 }
26383 {
26384 PyObject *o = PyInt_FromLong((long) (*arg4));
26385 resultobj = t_output_helper(resultobj,o);
26386 }
26387 {
26388 PyObject *o = PyInt_FromLong((long) (*arg5));
26389 resultobj = t_output_helper(resultobj,o);
26390 }
26391 {
26392 PyObject *o = PyInt_FromLong((long) (*arg6));
26393 resultobj = t_output_helper(resultobj,o);
26394 }
26395 {
26396 if (temp2)
26397 delete arg2;
26398 }
26399 return resultobj;
26400 fail:
26401 {
26402 if (temp2)
26403 delete arg2;
26404 }
26405 return NULL;
26406}
26407
26408
26409static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26410 PyObject *resultobj;
26411 wxWindow *arg1 = (wxWindow *) 0 ;
26412 int *arg2 = (int *) 0 ;
26413 int *arg3 = (int *) 0 ;
26414 int temp2 ;
26415 int temp3 ;
26416 PyObject * obj0 = 0 ;
26417 PyObject * obj1 = 0 ;
26418 PyObject * obj2 = 0 ;
26419 char *kwnames[] = {
26420 (char *) "self",(char *) "x",(char *) "y", NULL
26421 };
26422
26423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26426 {
26427 temp2 = PyInt_AsLong(obj1);
26428 if (PyErr_Occurred()) SWIG_fail;
26429 arg2 = &temp2;
26430 }
26431 {
26432 temp3 = PyInt_AsLong(obj2);
26433 if (PyErr_Occurred()) SWIG_fail;
26434 arg3 = &temp3;
26435 }
26436 {
26437 PyThreadState* __tstate = wxPyBeginAllowThreads();
26438 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
26439
26440 wxPyEndAllowThreads(__tstate);
26441 if (PyErr_Occurred()) SWIG_fail;
26442 }
26443 Py_INCREF(Py_None); resultobj = Py_None;
26444 {
26445 PyObject *o = PyInt_FromLong((long) (*arg2));
26446 resultobj = t_output_helper(resultobj,o);
26447 }
26448 {
26449 PyObject *o = PyInt_FromLong((long) (*arg3));
26450 resultobj = t_output_helper(resultobj,o);
26451 }
26452 return resultobj;
26453 fail:
26454 return NULL;
26455}
26456
26457
26458static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26459 PyObject *resultobj;
26460 wxWindow *arg1 = (wxWindow *) 0 ;
26461 int *arg2 = (int *) 0 ;
26462 int *arg3 = (int *) 0 ;
26463 int temp2 ;
26464 int temp3 ;
26465 PyObject * obj0 = 0 ;
26466 PyObject * obj1 = 0 ;
26467 PyObject * obj2 = 0 ;
26468 char *kwnames[] = {
26469 (char *) "self",(char *) "x",(char *) "y", NULL
26470 };
26471
26472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26475 {
26476 temp2 = PyInt_AsLong(obj1);
26477 if (PyErr_Occurred()) SWIG_fail;
26478 arg2 = &temp2;
26479 }
26480 {
26481 temp3 = PyInt_AsLong(obj2);
26482 if (PyErr_Occurred()) SWIG_fail;
26483 arg3 = &temp3;
26484 }
26485 {
26486 PyThreadState* __tstate = wxPyBeginAllowThreads();
26487 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
26488
26489 wxPyEndAllowThreads(__tstate);
26490 if (PyErr_Occurred()) SWIG_fail;
26491 }
26492 Py_INCREF(Py_None); resultobj = Py_None;
26493 {
26494 PyObject *o = PyInt_FromLong((long) (*arg2));
26495 resultobj = t_output_helper(resultobj,o);
26496 }
26497 {
26498 PyObject *o = PyInt_FromLong((long) (*arg3));
26499 resultobj = t_output_helper(resultobj,o);
26500 }
26501 return resultobj;
26502 fail:
26503 return NULL;
26504}
26505
26506
26507static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
26508 PyObject *resultobj;
26509 wxWindow *arg1 = (wxWindow *) 0 ;
26510 wxPoint *arg2 = 0 ;
26511 wxPoint result;
26512 wxPoint temp2 ;
26513 PyObject * obj0 = 0 ;
26514 PyObject * obj1 = 0 ;
26515 char *kwnames[] = {
26516 (char *) "self",(char *) "pt", NULL
26517 };
26518
26519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26522 {
26523 arg2 = &temp2;
26524 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26525 }
26526 {
26527 PyThreadState* __tstate = wxPyBeginAllowThreads();
26528 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
26529
26530 wxPyEndAllowThreads(__tstate);
26531 if (PyErr_Occurred()) SWIG_fail;
26532 }
26533 {
26534 wxPoint * resultptr;
26535 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 26536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26537 }
26538 return resultobj;
26539 fail:
26540 return NULL;
26541}
26542
26543
26544static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
26545 PyObject *resultobj;
26546 wxWindow *arg1 = (wxWindow *) 0 ;
26547 wxPoint *arg2 = 0 ;
26548 wxPoint result;
26549 wxPoint temp2 ;
26550 PyObject * obj0 = 0 ;
26551 PyObject * obj1 = 0 ;
26552 char *kwnames[] = {
26553 (char *) "self",(char *) "pt", NULL
26554 };
26555
26556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26559 {
26560 arg2 = &temp2;
26561 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26562 }
26563 {
26564 PyThreadState* __tstate = wxPyBeginAllowThreads();
26565 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
26566
26567 wxPyEndAllowThreads(__tstate);
26568 if (PyErr_Occurred()) SWIG_fail;
26569 }
26570 {
26571 wxPoint * resultptr;
26572 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 26573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26574 }
26575 return resultobj;
26576 fail:
26577 return NULL;
26578}
26579
26580
26581static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26582 PyObject *resultobj;
26583 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce
RD
26584 int arg2 ;
26585 int arg3 ;
d14a1e28
RD
26586 int result;
26587 PyObject * obj0 = 0 ;
994141e6
RD
26588 PyObject * obj1 = 0 ;
26589 PyObject * obj2 = 0 ;
d14a1e28
RD
26590 char *kwnames[] = {
26591 (char *) "self",(char *) "x",(char *) "y", NULL
26592 };
26593
994141e6 26594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26597 arg2 = (int) SWIG_AsInt(obj1);
26598 if (PyErr_Occurred()) SWIG_fail;
26599 arg3 = (int) SWIG_AsInt(obj2);
26600 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26601 {
26602 PyThreadState* __tstate = wxPyBeginAllowThreads();
26603 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
26604
26605 wxPyEndAllowThreads(__tstate);
26606 if (PyErr_Occurred()) SWIG_fail;
26607 }
15afbcd0 26608 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26609 return resultobj;
26610 fail:
26611 return NULL;
26612}
26613
26614
26615static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26616 PyObject *resultobj;
26617 wxWindow *arg1 = (wxWindow *) 0 ;
26618 wxPoint *arg2 = 0 ;
26619 int result;
26620 wxPoint temp2 ;
26621 PyObject * obj0 = 0 ;
26622 PyObject * obj1 = 0 ;
26623 char *kwnames[] = {
26624 (char *) "self",(char *) "pt", NULL
26625 };
26626
26627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26630 {
26631 arg2 = &temp2;
26632 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26633 }
26634 {
26635 PyThreadState* __tstate = wxPyBeginAllowThreads();
26636 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
26637
26638 wxPyEndAllowThreads(__tstate);
26639 if (PyErr_Occurred()) SWIG_fail;
26640 }
15afbcd0 26641 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26642 return resultobj;
26643 fail:
26644 return NULL;
26645}
26646
26647
15afbcd0 26648static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
26649 PyObject *resultobj;
26650 wxWindow *arg1 = (wxWindow *) 0 ;
26651 long arg2 ;
26652 int result;
26653 PyObject * obj0 = 0 ;
994141e6 26654 PyObject * obj1 = 0 ;
d14a1e28 26655
15afbcd0
RD
26656 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
26657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26659 arg2 = (long) SWIG_AsLong(obj1);
26660 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26661 {
26662 PyThreadState* __tstate = wxPyBeginAllowThreads();
26663 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
26664
26665 wxPyEndAllowThreads(__tstate);
26666 if (PyErr_Occurred()) SWIG_fail;
26667 }
15afbcd0 26668 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26669 return resultobj;
26670 fail:
26671 return NULL;
26672}
26673
26674
15afbcd0 26675static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
26676 PyObject *resultobj;
26677 wxWindow *arg1 = (wxWindow *) 0 ;
26678 int result;
26679 PyObject * obj0 = 0 ;
d14a1e28 26680
15afbcd0
RD
26681 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
26682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26684 {
26685 PyThreadState* __tstate = wxPyBeginAllowThreads();
26686 result = (int)((wxWindow const *)arg1)->GetBorder();
26687
26688 wxPyEndAllowThreads(__tstate);
26689 if (PyErr_Occurred()) SWIG_fail;
26690 }
15afbcd0 26691 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26692 return resultobj;
26693 fail:
26694 return NULL;
26695}
26696
26697
15afbcd0
RD
26698static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
26699 int argc;
26700 PyObject *argv[3];
26701 int ii;
26702
26703 argc = PyObject_Length(args);
26704 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26705 argv[ii] = PyTuple_GetItem(args,ii);
26706 }
26707 if (argc == 1) {
26708 int _v;
26709 {
26710 void *ptr;
26711 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26712 _v = 0;
26713 PyErr_Clear();
26714 } else {
26715 _v = 1;
26716 }
26717 }
26718 if (_v) {
26719 return _wrap_Window_GetBorder__SWIG_1(self,args);
26720 }
26721 }
26722 if (argc == 2) {
26723 int _v;
26724 {
26725 void *ptr;
26726 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26727 _v = 0;
26728 PyErr_Clear();
26729 } else {
26730 _v = 1;
26731 }
26732 }
26733 if (_v) {
26734 _v = SWIG_CheckLong(argv[1]);
26735 if (_v) {
26736 return _wrap_Window_GetBorder__SWIG_0(self,args);
26737 }
26738 }
26739 }
26740
26741 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
26742 return NULL;
26743}
26744
26745
d14a1e28
RD
26746static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26747 PyObject *resultobj;
26748 wxWindow *arg1 = (wxWindow *) 0 ;
26749 long arg2 = (long) wxUPDATE_UI_NONE ;
26750 PyObject * obj0 = 0 ;
994141e6 26751 PyObject * obj1 = 0 ;
d14a1e28
RD
26752 char *kwnames[] = {
26753 (char *) "self",(char *) "flags", NULL
26754 };
26755
994141e6 26756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 26759 if (obj1) {
15afbcd0
RD
26760 arg2 = (long) SWIG_AsLong(obj1);
26761 if (PyErr_Occurred()) SWIG_fail;
994141e6 26762 }
d14a1e28
RD
26763 {
26764 PyThreadState* __tstate = wxPyBeginAllowThreads();
26765 (arg1)->UpdateWindowUI(arg2);
26766
26767 wxPyEndAllowThreads(__tstate);
26768 if (PyErr_Occurred()) SWIG_fail;
26769 }
26770 Py_INCREF(Py_None); resultobj = Py_None;
26771 return resultobj;
26772 fail:
26773 return NULL;
26774}
26775
26776
26777static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26778 PyObject *resultobj;
26779 wxWindow *arg1 = (wxWindow *) 0 ;
26780 wxMenu *arg2 = (wxMenu *) 0 ;
26781 int arg3 ;
26782 int arg4 ;
26783 bool result;
26784 PyObject * obj0 = 0 ;
26785 PyObject * obj1 = 0 ;
994141e6
RD
26786 PyObject * obj2 = 0 ;
26787 PyObject * obj3 = 0 ;
d14a1e28
RD
26788 char *kwnames[] = {
26789 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26790 };
26791
994141e6 26792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26795 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26797 arg3 = (int) SWIG_AsInt(obj2);
26798 if (PyErr_Occurred()) SWIG_fail;
26799 arg4 = (int) SWIG_AsInt(obj3);
26800 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26801 {
26802 PyThreadState* __tstate = wxPyBeginAllowThreads();
26803 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
26804
26805 wxPyEndAllowThreads(__tstate);
26806 if (PyErr_Occurred()) SWIG_fail;
26807 }
4f89f6a3
RD
26808 {
26809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26810 }
d14a1e28
RD
26811 return resultobj;
26812 fail:
26813 return NULL;
26814}
26815
26816
26817static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26818 PyObject *resultobj;
26819 wxWindow *arg1 = (wxWindow *) 0 ;
26820 wxMenu *arg2 = (wxMenu *) 0 ;
26821 wxPoint *arg3 = 0 ;
26822 bool result;
26823 wxPoint temp3 ;
26824 PyObject * obj0 = 0 ;
26825 PyObject * obj1 = 0 ;
26826 PyObject * obj2 = 0 ;
26827 char *kwnames[] = {
26828 (char *) "self",(char *) "menu",(char *) "pos", NULL
26829 };
26830
26831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26836 {
26837 arg3 = &temp3;
26838 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26839 }
26840 {
26841 PyThreadState* __tstate = wxPyBeginAllowThreads();
26842 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
26843
26844 wxPyEndAllowThreads(__tstate);
26845 if (PyErr_Occurred()) SWIG_fail;
26846 }
4f89f6a3
RD
26847 {
26848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26849 }
d14a1e28
RD
26850 return resultobj;
26851 fail:
26852 return NULL;
26853}
26854
26855
26856static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
26857 PyObject *resultobj;
26858 wxWindow *arg1 = (wxWindow *) 0 ;
26859 long result;
26860 PyObject * obj0 = 0 ;
26861 char *kwnames[] = {
26862 (char *) "self", NULL
26863 };
26864
26865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
15afbcd0
RD
26866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26868 {
26869 PyThreadState* __tstate = wxPyBeginAllowThreads();
26870 result = (long)wxWindow_GetHandle(arg1);
26871
26872 wxPyEndAllowThreads(__tstate);
26873 if (PyErr_Occurred()) SWIG_fail;
26874 }
15afbcd0 26875 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
26876 return resultobj;
26877 fail:
26878 return NULL;
26879}
26880
26881
26882static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
26883 PyObject *resultobj;
26884 wxWindow *arg1 = (wxWindow *) 0 ;
26885 int arg2 ;
26886 bool result;
26887 PyObject * obj0 = 0 ;
994141e6 26888 PyObject * obj1 = 0 ;
d14a1e28
RD
26889 char *kwnames[] = {
26890 (char *) "self",(char *) "orient", NULL
26891 };
26892
994141e6 26893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26896 arg2 = (int) SWIG_AsInt(obj1);
26897 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26898 {
26899 PyThreadState* __tstate = wxPyBeginAllowThreads();
26900 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
26901
26902 wxPyEndAllowThreads(__tstate);
26903 if (PyErr_Occurred()) SWIG_fail;
26904 }
4f89f6a3
RD
26905 {
26906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26907 }
d14a1e28
RD
26908 return resultobj;
26909 fail:
26910 return NULL;
26911}
26912
26913
26914static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
26915 PyObject *resultobj;
26916 wxWindow *arg1 = (wxWindow *) 0 ;
26917 int arg2 ;
26918 int arg3 ;
26919 int arg4 ;
26920 int arg5 ;
e811c8ce 26921 bool arg6 = (bool) True ;
d14a1e28 26922 PyObject * obj0 = 0 ;
994141e6
RD
26923 PyObject * obj1 = 0 ;
26924 PyObject * obj2 = 0 ;
26925 PyObject * obj3 = 0 ;
26926 PyObject * obj4 = 0 ;
d14a1e28
RD
26927 PyObject * obj5 = 0 ;
26928 char *kwnames[] = {
41e2b43e 26929 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
d14a1e28
RD
26930 };
26931
994141e6 26932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
26933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26935 arg2 = (int) SWIG_AsInt(obj1);
26936 if (PyErr_Occurred()) SWIG_fail;
26937 arg3 = (int) SWIG_AsInt(obj2);
26938 if (PyErr_Occurred()) SWIG_fail;
26939 arg4 = (int) SWIG_AsInt(obj3);
26940 if (PyErr_Occurred()) SWIG_fail;
26941 arg5 = (int) SWIG_AsInt(obj4);
26942 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26943 if (obj5) {
15afbcd0
RD
26944 arg6 = (bool) SWIG_AsBool(obj5);
26945 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26946 }
26947 {
26948 PyThreadState* __tstate = wxPyBeginAllowThreads();
26949 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
26950
26951 wxPyEndAllowThreads(__tstate);
26952 if (PyErr_Occurred()) SWIG_fail;
26953 }
26954 Py_INCREF(Py_None); resultobj = Py_None;
26955 return resultobj;
26956 fail:
26957 return NULL;
26958}
26959
26960
26961static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
26962 PyObject *resultobj;
26963 wxWindow *arg1 = (wxWindow *) 0 ;
26964 int arg2 ;
26965 int arg3 ;
e811c8ce 26966 bool arg4 = (bool) True ;
d14a1e28 26967 PyObject * obj0 = 0 ;
994141e6
RD
26968 PyObject * obj1 = 0 ;
26969 PyObject * obj2 = 0 ;
d14a1e28
RD
26970 PyObject * obj3 = 0 ;
26971 char *kwnames[] = {
15afbcd0 26972 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
d14a1e28
RD
26973 };
26974
994141e6 26975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26978 arg2 = (int) SWIG_AsInt(obj1);
26979 if (PyErr_Occurred()) SWIG_fail;
26980 arg3 = (int) SWIG_AsInt(obj2);
26981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26982 if (obj3) {
15afbcd0
RD
26983 arg4 = (bool) SWIG_AsBool(obj3);
26984 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26985 }
26986 {
26987 PyThreadState* __tstate = wxPyBeginAllowThreads();
26988 (arg1)->SetScrollPos(arg2,arg3,arg4);
26989
26990 wxPyEndAllowThreads(__tstate);
26991 if (PyErr_Occurred()) SWIG_fail;
26992 }
26993 Py_INCREF(Py_None); resultobj = Py_None;
26994 return resultobj;
26995 fail:
26996 return NULL;
26997}
26998
26999
27000static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27001 PyObject *resultobj;
27002 wxWindow *arg1 = (wxWindow *) 0 ;
27003 int arg2 ;
27004 int result;
27005 PyObject * obj0 = 0 ;
994141e6 27006 PyObject * obj1 = 0 ;
d14a1e28 27007 char *kwnames[] = {
15afbcd0 27008 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27009 };
27010
994141e6 27011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27014 arg2 = (int) SWIG_AsInt(obj1);
27015 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27016 {
27017 PyThreadState* __tstate = wxPyBeginAllowThreads();
27018 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
27019
27020 wxPyEndAllowThreads(__tstate);
27021 if (PyErr_Occurred()) SWIG_fail;
27022 }
15afbcd0 27023 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27024 return resultobj;
27025 fail:
27026 return NULL;
27027}
27028
27029
27030static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
27031 PyObject *resultobj;
27032 wxWindow *arg1 = (wxWindow *) 0 ;
27033 int arg2 ;
27034 int result;
27035 PyObject * obj0 = 0 ;
994141e6 27036 PyObject * obj1 = 0 ;
d14a1e28 27037 char *kwnames[] = {
15afbcd0 27038 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27039 };
27040
994141e6 27041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27044 arg2 = (int) SWIG_AsInt(obj1);
27045 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27046 {
27047 PyThreadState* __tstate = wxPyBeginAllowThreads();
27048 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
27049
27050 wxPyEndAllowThreads(__tstate);
27051 if (PyErr_Occurred()) SWIG_fail;
27052 }
15afbcd0 27053 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27054 return resultobj;
27055 fail:
27056 return NULL;
27057}
27058
27059
27060static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
27061 PyObject *resultobj;
27062 wxWindow *arg1 = (wxWindow *) 0 ;
27063 int arg2 ;
27064 int result;
27065 PyObject * obj0 = 0 ;
994141e6 27066 PyObject * obj1 = 0 ;
d14a1e28 27067 char *kwnames[] = {
15afbcd0 27068 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27069 };
27070
994141e6 27071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27074 arg2 = (int) SWIG_AsInt(obj1);
27075 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27076 {
27077 PyThreadState* __tstate = wxPyBeginAllowThreads();
27078 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
27079
27080 wxPyEndAllowThreads(__tstate);
27081 if (PyErr_Occurred()) SWIG_fail;
27082 }
15afbcd0 27083 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27084 return resultobj;
27085 fail:
27086 return NULL;
27087}
27088
27089
27090static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27091 PyObject *resultobj;
27092 wxWindow *arg1 = (wxWindow *) 0 ;
27093 int arg2 ;
27094 int arg3 ;
27095 wxRect *arg4 = (wxRect *) NULL ;
27096 PyObject * obj0 = 0 ;
994141e6
RD
27097 PyObject * obj1 = 0 ;
27098 PyObject * obj2 = 0 ;
d14a1e28
RD
27099 PyObject * obj3 = 0 ;
27100 char *kwnames[] = {
27101 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27102 };
27103
994141e6 27104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27107 arg2 = (int) SWIG_AsInt(obj1);
27108 if (PyErr_Occurred()) SWIG_fail;
27109 arg3 = (int) SWIG_AsInt(obj2);
27110 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27111 if (obj3) {
15afbcd0
RD
27112 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
27113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27114 }
27115 {
27116 PyThreadState* __tstate = wxPyBeginAllowThreads();
27117 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
27118
27119 wxPyEndAllowThreads(__tstate);
27120 if (PyErr_Occurred()) SWIG_fail;
27121 }
27122 Py_INCREF(Py_None); resultobj = Py_None;
27123 return resultobj;
27124 fail:
27125 return NULL;
27126}
27127
27128
27129static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
27130 PyObject *resultobj;
27131 wxWindow *arg1 = (wxWindow *) 0 ;
27132 int arg2 ;
27133 bool result;
27134 PyObject * obj0 = 0 ;
994141e6 27135 PyObject * obj1 = 0 ;
d14a1e28
RD
27136 char *kwnames[] = {
27137 (char *) "self",(char *) "lines", NULL
27138 };
27139
994141e6 27140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27143 arg2 = (int) SWIG_AsInt(obj1);
27144 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27145 {
27146 PyThreadState* __tstate = wxPyBeginAllowThreads();
27147 result = (bool)(arg1)->ScrollLines(arg2);
27148
27149 wxPyEndAllowThreads(__tstate);
27150 if (PyErr_Occurred()) SWIG_fail;
27151 }
4f89f6a3
RD
27152 {
27153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27154 }
d14a1e28
RD
27155 return resultobj;
27156 fail:
27157 return NULL;
27158}
27159
27160
27161static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
27162 PyObject *resultobj;
27163 wxWindow *arg1 = (wxWindow *) 0 ;
27164 int arg2 ;
27165 bool result;
27166 PyObject * obj0 = 0 ;
994141e6 27167 PyObject * obj1 = 0 ;
d14a1e28
RD
27168 char *kwnames[] = {
27169 (char *) "self",(char *) "pages", NULL
27170 };
27171
994141e6 27172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27175 arg2 = (int) SWIG_AsInt(obj1);
27176 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27177 {
27178 PyThreadState* __tstate = wxPyBeginAllowThreads();
27179 result = (bool)(arg1)->ScrollPages(arg2);
27180
27181 wxPyEndAllowThreads(__tstate);
27182 if (PyErr_Occurred()) SWIG_fail;
27183 }
4f89f6a3
RD
27184 {
27185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27186 }
d14a1e28
RD
27187 return resultobj;
27188 fail:
27189 return NULL;
27190}
27191
27192
27193static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27194 PyObject *resultobj;
27195 wxWindow *arg1 = (wxWindow *) 0 ;
27196 bool result;
27197 PyObject * obj0 = 0 ;
27198 char *kwnames[] = {
27199 (char *) "self", NULL
27200 };
27201
27202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
27203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27205 {
27206 PyThreadState* __tstate = wxPyBeginAllowThreads();
27207 result = (bool)(arg1)->LineUp();
27208
27209 wxPyEndAllowThreads(__tstate);
27210 if (PyErr_Occurred()) SWIG_fail;
27211 }
4f89f6a3
RD
27212 {
27213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27214 }
d14a1e28
RD
27215 return resultobj;
27216 fail:
27217 return NULL;
27218}
27219
27220
27221static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27222 PyObject *resultobj;
27223 wxWindow *arg1 = (wxWindow *) 0 ;
27224 bool result;
27225 PyObject * obj0 = 0 ;
27226 char *kwnames[] = {
27227 (char *) "self", NULL
27228 };
27229
27230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
27231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27233 {
27234 PyThreadState* __tstate = wxPyBeginAllowThreads();
27235 result = (bool)(arg1)->LineDown();
27236
27237 wxPyEndAllowThreads(__tstate);
27238 if (PyErr_Occurred()) SWIG_fail;
27239 }
4f89f6a3
RD
27240 {
27241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27242 }
d14a1e28
RD
27243 return resultobj;
27244 fail:
27245 return NULL;
27246}
27247
27248
27249static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27250 PyObject *resultobj;
27251 wxWindow *arg1 = (wxWindow *) 0 ;
27252 bool result;
27253 PyObject * obj0 = 0 ;
27254 char *kwnames[] = {
27255 (char *) "self", NULL
27256 };
27257
27258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
27259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27261 {
27262 PyThreadState* __tstate = wxPyBeginAllowThreads();
27263 result = (bool)(arg1)->PageUp();
27264
27265 wxPyEndAllowThreads(__tstate);
27266 if (PyErr_Occurred()) SWIG_fail;
27267 }
4f89f6a3
RD
27268 {
27269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27270 }
d14a1e28
RD
27271 return resultobj;
27272 fail:
27273 return NULL;
27274}
27275
27276
27277static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27278 PyObject *resultobj;
27279 wxWindow *arg1 = (wxWindow *) 0 ;
27280 bool result;
27281 PyObject * obj0 = 0 ;
27282 char *kwnames[] = {
27283 (char *) "self", NULL
27284 };
27285
27286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
27287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27289 {
27290 PyThreadState* __tstate = wxPyBeginAllowThreads();
27291 result = (bool)(arg1)->PageDown();
27292
27293 wxPyEndAllowThreads(__tstate);
27294 if (PyErr_Occurred()) SWIG_fail;
27295 }
4f89f6a3
RD
27296 {
27297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27298 }
d14a1e28
RD
27299 return resultobj;
27300 fail:
27301 return NULL;
27302}
27303
27304
27305static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27306 PyObject *resultobj;
27307 wxWindow *arg1 = (wxWindow *) 0 ;
27308 wxString *arg2 = 0 ;
e811c8ce 27309 bool temp2 = False ;
d14a1e28
RD
27310 PyObject * obj0 = 0 ;
27311 PyObject * obj1 = 0 ;
27312 char *kwnames[] = {
27313 (char *) "self",(char *) "text", NULL
27314 };
27315
27316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27319 {
27320 arg2 = wxString_in_helper(obj1);
27321 if (arg2 == NULL) SWIG_fail;
e811c8ce 27322 temp2 = True;
d14a1e28
RD
27323 }
27324 {
27325 PyThreadState* __tstate = wxPyBeginAllowThreads();
27326 (arg1)->SetHelpText((wxString const &)*arg2);
27327
27328 wxPyEndAllowThreads(__tstate);
27329 if (PyErr_Occurred()) SWIG_fail;
27330 }
27331 Py_INCREF(Py_None); resultobj = Py_None;
27332 {
27333 if (temp2)
27334 delete arg2;
27335 }
27336 return resultobj;
27337 fail:
27338 {
27339 if (temp2)
27340 delete arg2;
27341 }
27342 return NULL;
27343}
27344
27345
27346static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
27347 PyObject *resultobj;
27348 wxWindow *arg1 = (wxWindow *) 0 ;
27349 wxString *arg2 = 0 ;
e811c8ce 27350 bool temp2 = False ;
d14a1e28
RD
27351 PyObject * obj0 = 0 ;
27352 PyObject * obj1 = 0 ;
27353 char *kwnames[] = {
27354 (char *) "self",(char *) "text", NULL
27355 };
27356
27357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27360 {
27361 arg2 = wxString_in_helper(obj1);
27362 if (arg2 == NULL) SWIG_fail;
e811c8ce 27363 temp2 = True;
d14a1e28
RD
27364 }
27365 {
27366 PyThreadState* __tstate = wxPyBeginAllowThreads();
27367 (arg1)->SetHelpTextForId((wxString const &)*arg2);
27368
27369 wxPyEndAllowThreads(__tstate);
27370 if (PyErr_Occurred()) SWIG_fail;
27371 }
27372 Py_INCREF(Py_None); resultobj = Py_None;
27373 {
27374 if (temp2)
27375 delete arg2;
27376 }
27377 return resultobj;
27378 fail:
27379 {
27380 if (temp2)
27381 delete arg2;
27382 }
27383 return NULL;
27384}
27385
27386
27387static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27388 PyObject *resultobj;
27389 wxWindow *arg1 = (wxWindow *) 0 ;
27390 wxString result;
27391 PyObject * obj0 = 0 ;
27392 char *kwnames[] = {
27393 (char *) "self", NULL
27394 };
27395
27396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
15afbcd0
RD
27397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27399 {
27400 PyThreadState* __tstate = wxPyBeginAllowThreads();
27401 result = ((wxWindow const *)arg1)->GetHelpText();
27402
27403 wxPyEndAllowThreads(__tstate);
27404 if (PyErr_Occurred()) SWIG_fail;
27405 }
27406 {
27407#if wxUSE_UNICODE
27408 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27409#else
27410 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27411#endif
27412 }
27413 return resultobj;
27414 fail:
27415 return NULL;
27416}
27417
27418
27419static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
27420 PyObject *resultobj;
27421 wxWindow *arg1 = (wxWindow *) 0 ;
27422 wxString *arg2 = 0 ;
e811c8ce 27423 bool temp2 = False ;
d14a1e28
RD
27424 PyObject * obj0 = 0 ;
27425 PyObject * obj1 = 0 ;
27426 char *kwnames[] = {
27427 (char *) "self",(char *) "tip", NULL
27428 };
27429
27430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27433 {
27434 arg2 = wxString_in_helper(obj1);
27435 if (arg2 == NULL) SWIG_fail;
e811c8ce 27436 temp2 = True;
d14a1e28
RD
27437 }
27438 {
27439 PyThreadState* __tstate = wxPyBeginAllowThreads();
27440 (arg1)->SetToolTip((wxString const &)*arg2);
27441
27442 wxPyEndAllowThreads(__tstate);
27443 if (PyErr_Occurred()) SWIG_fail;
27444 }
27445 Py_INCREF(Py_None); resultobj = Py_None;
27446 {
27447 if (temp2)
27448 delete arg2;
27449 }
27450 return resultobj;
27451 fail:
27452 {
27453 if (temp2)
27454 delete arg2;
27455 }
27456 return NULL;
27457}
27458
27459
27460static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27461 PyObject *resultobj;
27462 wxWindow *arg1 = (wxWindow *) 0 ;
27463 wxToolTip *arg2 = (wxToolTip *) 0 ;
27464 PyObject * obj0 = 0 ;
27465 PyObject * obj1 = 0 ;
27466 char *kwnames[] = {
27467 (char *) "self",(char *) "tip", NULL
27468 };
27469
27470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27473 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
27474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27475 {
27476 PyThreadState* __tstate = wxPyBeginAllowThreads();
27477 (arg1)->SetToolTip(arg2);
27478
27479 wxPyEndAllowThreads(__tstate);
27480 if (PyErr_Occurred()) SWIG_fail;
27481 }
27482 Py_INCREF(Py_None); resultobj = Py_None;
27483 return resultobj;
27484 fail:
27485 return NULL;
27486}
27487
27488
27489static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27490 PyObject *resultobj;
27491 wxWindow *arg1 = (wxWindow *) 0 ;
27492 wxToolTip *result;
27493 PyObject * obj0 = 0 ;
27494 char *kwnames[] = {
27495 (char *) "self", NULL
27496 };
27497
27498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
15afbcd0
RD
27499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27501 {
27502 PyThreadState* __tstate = wxPyBeginAllowThreads();
27503 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
27504
27505 wxPyEndAllowThreads(__tstate);
27506 if (PyErr_Occurred()) SWIG_fail;
27507 }
27508 {
27509 resultobj = wxPyMake_wxObject(result);
27510 }
27511 return resultobj;
27512 fail:
27513 return NULL;
27514}
27515
27516
27517static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27518 PyObject *resultobj;
27519 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 27520 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
27521 PyObject * obj0 = 0 ;
27522 PyObject * obj1 = 0 ;
27523 char *kwnames[] = {
27524 (char *) "self",(char *) "dropTarget", NULL
27525 };
27526
27527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27530 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
27531 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
27532 {
27533 PyThreadState* __tstate = wxPyBeginAllowThreads();
27534 (arg1)->SetDropTarget(arg2);
27535
27536 wxPyEndAllowThreads(__tstate);
27537 if (PyErr_Occurred()) SWIG_fail;
27538 }
27539 Py_INCREF(Py_None); resultobj = Py_None;
27540 return resultobj;
27541 fail:
27542 return NULL;
27543}
27544
27545
27546static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27547 PyObject *resultobj;
27548 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 27549 wxPyDropTarget *result;
d14a1e28
RD
27550 PyObject * obj0 = 0 ;
27551 char *kwnames[] = {
27552 (char *) "self", NULL
27553 };
27554
27555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
27556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27558 {
27559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 27560 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
27561
27562 wxPyEndAllowThreads(__tstate);
27563 if (PyErr_Occurred()) SWIG_fail;
27564 }
15afbcd0 27565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
27566 return resultobj;
27567 fail:
27568 return NULL;
27569}
27570
27571
27572static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27573 PyObject *resultobj;
27574 wxWindow *arg1 = (wxWindow *) 0 ;
27575 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
27576 PyObject * obj0 = 0 ;
27577 PyObject * obj1 = 0 ;
27578 char *kwnames[] = {
27579 (char *) "self",(char *) "constraints", NULL
27580 };
27581
27582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
27586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27587 {
27588 PyThreadState* __tstate = wxPyBeginAllowThreads();
27589 (arg1)->SetConstraints(arg2);
27590
27591 wxPyEndAllowThreads(__tstate);
27592 if (PyErr_Occurred()) SWIG_fail;
27593 }
27594 Py_INCREF(Py_None); resultobj = Py_None;
27595 return resultobj;
27596 fail:
27597 return NULL;
27598}
27599
27600
27601static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27602 PyObject *resultobj;
27603 wxWindow *arg1 = (wxWindow *) 0 ;
27604 wxLayoutConstraints *result;
27605 PyObject * obj0 = 0 ;
27606 char *kwnames[] = {
27607 (char *) "self", NULL
27608 };
27609
27610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
15afbcd0
RD
27611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27613 {
27614 PyThreadState* __tstate = wxPyBeginAllowThreads();
27615 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
27616
27617 wxPyEndAllowThreads(__tstate);
27618 if (PyErr_Occurred()) SWIG_fail;
27619 }
15afbcd0 27620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
d14a1e28
RD
27621 return resultobj;
27622 fail:
27623 return NULL;
27624}
27625
27626
27627static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27628 PyObject *resultobj;
27629 wxWindow *arg1 = (wxWindow *) 0 ;
27630 bool arg2 ;
27631 PyObject * obj0 = 0 ;
27632 PyObject * obj1 = 0 ;
27633 char *kwnames[] = {
27634 (char *) "self",(char *) "autoLayout", NULL
27635 };
27636
27637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27640 arg2 = (bool) SWIG_AsBool(obj1);
27641 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27642 {
27643 PyThreadState* __tstate = wxPyBeginAllowThreads();
27644 (arg1)->SetAutoLayout(arg2);
27645
27646 wxPyEndAllowThreads(__tstate);
27647 if (PyErr_Occurred()) SWIG_fail;
27648 }
27649 Py_INCREF(Py_None); resultobj = Py_None;
27650 return resultobj;
27651 fail:
27652 return NULL;
27653}
27654
27655
27656static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27657 PyObject *resultobj;
27658 wxWindow *arg1 = (wxWindow *) 0 ;
27659 bool result;
27660 PyObject * obj0 = 0 ;
27661 char *kwnames[] = {
27662 (char *) "self", NULL
27663 };
27664
27665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
15afbcd0
RD
27666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27668 {
27669 PyThreadState* __tstate = wxPyBeginAllowThreads();
27670 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
27671
27672 wxPyEndAllowThreads(__tstate);
27673 if (PyErr_Occurred()) SWIG_fail;
27674 }
4f89f6a3
RD
27675 {
27676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27677 }
d14a1e28
RD
27678 return resultobj;
27679 fail:
27680 return NULL;
27681}
27682
27683
27684static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
27685 PyObject *resultobj;
27686 wxWindow *arg1 = (wxWindow *) 0 ;
27687 bool result;
27688 PyObject * obj0 = 0 ;
27689 char *kwnames[] = {
27690 (char *) "self", NULL
27691 };
27692
27693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
27694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27696 {
27697 PyThreadState* __tstate = wxPyBeginAllowThreads();
27698 result = (bool)(arg1)->Layout();
27699
27700 wxPyEndAllowThreads(__tstate);
27701 if (PyErr_Occurred()) SWIG_fail;
27702 }
4f89f6a3
RD
27703 {
27704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27705 }
d14a1e28
RD
27706 return resultobj;
27707 fail:
27708 return NULL;
27709}
27710
27711
27712static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27713 PyObject *resultobj;
27714 wxWindow *arg1 = (wxWindow *) 0 ;
27715 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 27716 bool arg3 = (bool) True ;
d14a1e28
RD
27717 PyObject * obj0 = 0 ;
27718 PyObject * obj1 = 0 ;
27719 PyObject * obj2 = 0 ;
27720 char *kwnames[] = {
27721 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27722 };
27723
27724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27729 if (obj2) {
15afbcd0
RD
27730 arg3 = (bool) SWIG_AsBool(obj2);
27731 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27732 }
27733 {
27734 PyThreadState* __tstate = wxPyBeginAllowThreads();
27735 (arg1)->SetSizer(arg2,arg3);
27736
27737 wxPyEndAllowThreads(__tstate);
27738 if (PyErr_Occurred()) SWIG_fail;
27739 }
27740 Py_INCREF(Py_None); resultobj = Py_None;
27741 return resultobj;
27742 fail:
27743 return NULL;
27744}
27745
27746
27747static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
27748 PyObject *resultobj;
27749 wxWindow *arg1 = (wxWindow *) 0 ;
27750 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 27751 bool arg3 = (bool) True ;
d14a1e28
RD
27752 PyObject * obj0 = 0 ;
27753 PyObject * obj1 = 0 ;
27754 PyObject * obj2 = 0 ;
27755 char *kwnames[] = {
27756 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27757 };
27758
27759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27764 if (obj2) {
15afbcd0
RD
27765 arg3 = (bool) SWIG_AsBool(obj2);
27766 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27767 }
27768 {
27769 PyThreadState* __tstate = wxPyBeginAllowThreads();
27770 (arg1)->SetSizerAndFit(arg2,arg3);
27771
27772 wxPyEndAllowThreads(__tstate);
27773 if (PyErr_Occurred()) SWIG_fail;
27774 }
27775 Py_INCREF(Py_None); resultobj = Py_None;
27776 return resultobj;
27777 fail:
27778 return NULL;
27779}
27780
27781
27782static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27783 PyObject *resultobj;
27784 wxWindow *arg1 = (wxWindow *) 0 ;
27785 wxSizer *result;
27786 PyObject * obj0 = 0 ;
27787 char *kwnames[] = {
27788 (char *) "self", NULL
27789 };
27790
27791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
27792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27794 {
27795 PyThreadState* __tstate = wxPyBeginAllowThreads();
27796 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
27797
27798 wxPyEndAllowThreads(__tstate);
27799 if (PyErr_Occurred()) SWIG_fail;
27800 }
27801 {
27802 resultobj = wxPyMake_wxSizer(result);
27803 }
27804 return resultobj;
27805 fail:
27806 return NULL;
27807}
27808
27809
27810static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27811 PyObject *resultobj;
27812 wxWindow *arg1 = (wxWindow *) 0 ;
27813 wxSizer *arg2 = (wxSizer *) 0 ;
27814 PyObject * obj0 = 0 ;
27815 PyObject * obj1 = 0 ;
27816 char *kwnames[] = {
27817 (char *) "self",(char *) "sizer", NULL
27818 };
27819
27820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27825 {
27826 PyThreadState* __tstate = wxPyBeginAllowThreads();
27827 (arg1)->SetContainingSizer(arg2);
27828
27829 wxPyEndAllowThreads(__tstate);
27830 if (PyErr_Occurred()) SWIG_fail;
27831 }
27832 Py_INCREF(Py_None); resultobj = Py_None;
27833 return resultobj;
27834 fail:
27835 return NULL;
27836}
27837
27838
27839static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27840 PyObject *resultobj;
27841 wxWindow *arg1 = (wxWindow *) 0 ;
27842 wxSizer *result;
27843 PyObject * obj0 = 0 ;
27844 char *kwnames[] = {
27845 (char *) "self", NULL
27846 };
27847
27848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
27849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27851 {
27852 PyThreadState* __tstate = wxPyBeginAllowThreads();
27853 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
27854
27855 wxPyEndAllowThreads(__tstate);
27856 if (PyErr_Occurred()) SWIG_fail;
27857 }
27858 {
27859 resultobj = wxPyMake_wxSizer(result);
27860 }
27861 return resultobj;
27862 fail:
27863 return NULL;
27864}
27865
27866
a95a7133
RD
27867static PyObject *_wrap_Window_InheritAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
27868 PyObject *resultobj;
27869 wxWindow *arg1 = (wxWindow *) 0 ;
27870 PyObject * obj0 = 0 ;
27871 char *kwnames[] = {
27872 (char *) "self", NULL
27873 };
27874
27875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail;
27876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27878 {
27879 PyThreadState* __tstate = wxPyBeginAllowThreads();
27880 (arg1)->InheritAttributes();
27881
27882 wxPyEndAllowThreads(__tstate);
27883 if (PyErr_Occurred()) SWIG_fail;
27884 }
27885 Py_INCREF(Py_None); resultobj = Py_None;
27886 return resultobj;
27887 fail:
27888 return NULL;
27889}
27890
27891
27892static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
27893 PyObject *resultobj;
27894 wxWindow *arg1 = (wxWindow *) 0 ;
27895 bool result;
27896 PyObject * obj0 = 0 ;
27897 char *kwnames[] = {
27898 (char *) "self", NULL
27899 };
27900
27901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
27902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27904 {
27905 PyThreadState* __tstate = wxPyBeginAllowThreads();
27906 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
27907
27908 wxPyEndAllowThreads(__tstate);
27909 if (PyErr_Occurred()) SWIG_fail;
27910 }
27911 {
27912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27913 }
27914 return resultobj;
27915 fail:
27916 return NULL;
27917}
27918
27919
d14a1e28
RD
27920static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
27921 PyObject *obj;
27922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27923 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
27924 Py_INCREF(obj);
27925 return Py_BuildValue((char *)"");
27926}
27927static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
27928 PyObject *resultobj;
27929 long arg1 ;
27930 wxWindow *arg2 = (wxWindow *) NULL ;
27931 wxWindow *result;
994141e6 27932 PyObject * obj0 = 0 ;
d14a1e28
RD
27933 PyObject * obj1 = 0 ;
27934 char *kwnames[] = {
27935 (char *) "id",(char *) "parent", NULL
27936 };
27937
994141e6 27938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27939 arg1 = (long) SWIG_AsLong(obj0);
27940 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27941 if (obj1) {
15afbcd0
RD
27942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27944 }
27945 {
27946 PyThreadState* __tstate = wxPyBeginAllowThreads();
27947 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
27948
27949 wxPyEndAllowThreads(__tstate);
27950 if (PyErr_Occurred()) SWIG_fail;
27951 }
27952 {
27953 resultobj = wxPyMake_wxObject(result);
27954 }
27955 return resultobj;
27956 fail:
27957 return NULL;
27958}
27959
27960
27961static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
27962 PyObject *resultobj;
27963 wxString *arg1 = 0 ;
27964 wxWindow *arg2 = (wxWindow *) NULL ;
27965 wxWindow *result;
e811c8ce 27966 bool temp1 = False ;
d14a1e28
RD
27967 PyObject * obj0 = 0 ;
27968 PyObject * obj1 = 0 ;
27969 char *kwnames[] = {
27970 (char *) "name",(char *) "parent", NULL
27971 };
27972
27973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
27974 {
27975 arg1 = wxString_in_helper(obj0);
27976 if (arg1 == NULL) SWIG_fail;
e811c8ce 27977 temp1 = True;
d14a1e28
RD
27978 }
27979 if (obj1) {
15afbcd0
RD
27980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27982 }
27983 {
27984 PyThreadState* __tstate = wxPyBeginAllowThreads();
27985 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
27986
27987 wxPyEndAllowThreads(__tstate);
27988 if (PyErr_Occurred()) SWIG_fail;
27989 }
27990 {
27991 resultobj = wxPyMake_wxObject(result);
27992 }
27993 {
27994 if (temp1)
27995 delete arg1;
27996 }
27997 return resultobj;
27998 fail:
27999 {
28000 if (temp1)
28001 delete arg1;
28002 }
28003 return NULL;
28004}
28005
28006
28007static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28008 PyObject *resultobj;
28009 wxString *arg1 = 0 ;
28010 wxWindow *arg2 = (wxWindow *) NULL ;
28011 wxWindow *result;
e811c8ce 28012 bool temp1 = False ;
d14a1e28
RD
28013 PyObject * obj0 = 0 ;
28014 PyObject * obj1 = 0 ;
28015 char *kwnames[] = {
28016 (char *) "label",(char *) "parent", NULL
28017 };
28018
28019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
28020 {
28021 arg1 = wxString_in_helper(obj0);
28022 if (arg1 == NULL) SWIG_fail;
e811c8ce 28023 temp1 = True;
d14a1e28
RD
28024 }
28025 if (obj1) {
15afbcd0
RD
28026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28028 }
28029 {
28030 PyThreadState* __tstate = wxPyBeginAllowThreads();
28031 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
28032
28033 wxPyEndAllowThreads(__tstate);
28034 if (PyErr_Occurred()) SWIG_fail;
28035 }
28036 {
28037 resultobj = wxPyMake_wxObject(result);
28038 }
28039 {
28040 if (temp1)
28041 delete arg1;
28042 }
28043 return resultobj;
28044 fail:
28045 {
28046 if (temp1)
28047 delete arg1;
28048 }
28049 return NULL;
28050}
28051
28052
28053static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
28054 PyObject *resultobj;
4276dc52
RD
28055 wxWindow *arg1 = (wxWindow *) 0 ;
28056 unsigned long arg2 ;
d14a1e28
RD
28057 wxWindow *result;
28058 PyObject * obj0 = 0 ;
4276dc52 28059 PyObject * obj1 = 0 ;
d14a1e28 28060 char *kwnames[] = {
4276dc52 28061 (char *) "parent",(char *) "_hWnd", NULL
d14a1e28
RD
28062 };
28063
4276dc52
RD
28064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
28065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28067 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
15afbcd0 28068 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28069 {
28070 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 28071 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
d14a1e28
RD
28072
28073 wxPyEndAllowThreads(__tstate);
28074 if (PyErr_Occurred()) SWIG_fail;
28075 }
28076 {
28077 resultobj = wxPyMake_wxObject(result);
28078 }
28079 return resultobj;
28080 fail:
28081 return NULL;
28082}
28083
28084
28085static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
28086 PyObject *resultobj;
28087 wxValidator *result;
28088 char *kwnames[] = {
28089 NULL
28090 };
28091
28092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
28093 {
28094 PyThreadState* __tstate = wxPyBeginAllowThreads();
28095 result = (wxValidator *)new wxValidator();
28096
28097 wxPyEndAllowThreads(__tstate);
28098 if (PyErr_Occurred()) SWIG_fail;
28099 }
28100 {
28101 resultobj = wxPyMake_wxObject(result);
28102 }
28103 return resultobj;
28104 fail:
28105 return NULL;
28106}
28107
28108
28109static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
28110 PyObject *resultobj;
28111 wxValidator *arg1 = (wxValidator *) 0 ;
28112 wxValidator *result;
28113 PyObject * obj0 = 0 ;
28114 char *kwnames[] = {
28115 (char *) "self", NULL
28116 };
28117
28118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
28119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28121 {
28122 PyThreadState* __tstate = wxPyBeginAllowThreads();
28123 result = (wxValidator *)(arg1)->Clone();
28124
28125 wxPyEndAllowThreads(__tstate);
28126 if (PyErr_Occurred()) SWIG_fail;
28127 }
28128 {
28129 resultobj = wxPyMake_wxObject(result);
28130 }
28131 return resultobj;
28132 fail:
28133 return NULL;
28134}
28135
28136
28137static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28138 PyObject *resultobj;
28139 wxValidator *arg1 = (wxValidator *) 0 ;
28140 wxWindow *arg2 = (wxWindow *) 0 ;
28141 bool result;
28142 PyObject * obj0 = 0 ;
28143 PyObject * obj1 = 0 ;
28144 char *kwnames[] = {
28145 (char *) "self",(char *) "parent", NULL
28146 };
28147
28148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28151 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28153 {
28154 PyThreadState* __tstate = wxPyBeginAllowThreads();
28155 result = (bool)(arg1)->Validate(arg2);
28156
28157 wxPyEndAllowThreads(__tstate);
28158 if (PyErr_Occurred()) SWIG_fail;
28159 }
4f89f6a3
RD
28160 {
28161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28162 }
d14a1e28
RD
28163 return resultobj;
28164 fail:
28165 return NULL;
28166}
28167
28168
28169static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28170 PyObject *resultobj;
28171 wxValidator *arg1 = (wxValidator *) 0 ;
28172 bool result;
28173 PyObject * obj0 = 0 ;
28174 char *kwnames[] = {
28175 (char *) "self", NULL
28176 };
28177
28178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28181 {
28182 PyThreadState* __tstate = wxPyBeginAllowThreads();
28183 result = (bool)(arg1)->TransferToWindow();
28184
28185 wxPyEndAllowThreads(__tstate);
28186 if (PyErr_Occurred()) SWIG_fail;
28187 }
4f89f6a3
RD
28188 {
28189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28190 }
d14a1e28
RD
28191 return resultobj;
28192 fail:
28193 return NULL;
28194}
28195
28196
28197static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28198 PyObject *resultobj;
28199 wxValidator *arg1 = (wxValidator *) 0 ;
28200 bool result;
28201 PyObject * obj0 = 0 ;
28202 char *kwnames[] = {
28203 (char *) "self", NULL
28204 };
28205
28206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28209 {
28210 PyThreadState* __tstate = wxPyBeginAllowThreads();
28211 result = (bool)(arg1)->TransferFromWindow();
28212
28213 wxPyEndAllowThreads(__tstate);
28214 if (PyErr_Occurred()) SWIG_fail;
28215 }
4f89f6a3
RD
28216 {
28217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28218 }
d14a1e28
RD
28219 return resultobj;
28220 fail:
28221 return NULL;
28222}
28223
28224
28225static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28226 PyObject *resultobj;
28227 wxValidator *arg1 = (wxValidator *) 0 ;
28228 wxWindow *result;
28229 PyObject * obj0 = 0 ;
28230 char *kwnames[] = {
28231 (char *) "self", NULL
28232 };
28233
28234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28237 {
28238 PyThreadState* __tstate = wxPyBeginAllowThreads();
28239 result = (wxWindow *)(arg1)->GetWindow();
28240
28241 wxPyEndAllowThreads(__tstate);
28242 if (PyErr_Occurred()) SWIG_fail;
28243 }
28244 {
28245 resultobj = wxPyMake_wxObject(result);
28246 }
28247 return resultobj;
28248 fail:
28249 return NULL;
28250}
28251
28252
28253static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28254 PyObject *resultobj;
28255 wxValidator *arg1 = (wxValidator *) 0 ;
28256 wxWindow *arg2 = (wxWindow *) 0 ;
28257 PyObject * obj0 = 0 ;
28258 PyObject * obj1 = 0 ;
28259 char *kwnames[] = {
28260 (char *) "self",(char *) "window", NULL
28261 };
28262
28263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28268 {
28269 PyThreadState* __tstate = wxPyBeginAllowThreads();
28270 (arg1)->SetWindow(arg2);
28271
28272 wxPyEndAllowThreads(__tstate);
28273 if (PyErr_Occurred()) SWIG_fail;
28274 }
28275 Py_INCREF(Py_None); resultobj = Py_None;
28276 return resultobj;
28277 fail:
28278 return NULL;
28279}
28280
28281
28282static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
28283 PyObject *resultobj;
28284 bool result;
28285 char *kwnames[] = {
28286 NULL
28287 };
28288
28289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
28290 {
28291 PyThreadState* __tstate = wxPyBeginAllowThreads();
28292 result = (bool)wxValidator::IsSilent();
28293
28294 wxPyEndAllowThreads(__tstate);
28295 if (PyErr_Occurred()) SWIG_fail;
28296 }
4f89f6a3
RD
28297 {
28298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28299 }
d14a1e28
RD
28300 return resultobj;
28301 fail:
28302 return NULL;
28303}
28304
28305
28306static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
28307 PyObject *resultobj;
e811c8ce 28308 int arg1 = (int) True ;
994141e6 28309 PyObject * obj0 = 0 ;
d14a1e28
RD
28310 char *kwnames[] = {
28311 (char *) "doIt", NULL
28312 };
28313
994141e6
RD
28314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
28315 if (obj0) {
15afbcd0
RD
28316 arg1 = (int) SWIG_AsInt(obj0);
28317 if (PyErr_Occurred()) SWIG_fail;
994141e6 28318 }
d14a1e28
RD
28319 {
28320 PyThreadState* __tstate = wxPyBeginAllowThreads();
28321 wxValidator::SetBellOnError(arg1);
28322
28323 wxPyEndAllowThreads(__tstate);
28324 if (PyErr_Occurred()) SWIG_fail;
28325 }
28326 Py_INCREF(Py_None); resultobj = Py_None;
28327 return resultobj;
28328 fail:
28329 return NULL;
28330}
28331
28332
28333static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
28334 PyObject *obj;
28335 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28336 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
28337 Py_INCREF(obj);
28338 return Py_BuildValue((char *)"");
28339}
28340static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
28341 PyObject *resultobj;
28342 wxPyValidator *result;
28343 char *kwnames[] = {
28344 NULL
28345 };
28346
28347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
28348 {
28349 PyThreadState* __tstate = wxPyBeginAllowThreads();
28350 result = (wxPyValidator *)new wxPyValidator();
28351
28352 wxPyEndAllowThreads(__tstate);
28353 if (PyErr_Occurred()) SWIG_fail;
28354 }
15afbcd0 28355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
d14a1e28
RD
28356 return resultobj;
28357 fail:
28358 return NULL;
28359}
28360
28361
28362static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28363 PyObject *resultobj;
28364 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
28365 PyObject *arg2 = (PyObject *) 0 ;
28366 PyObject *arg3 = (PyObject *) 0 ;
e811c8ce 28367 int arg4 = (int) True ;
d14a1e28
RD
28368 PyObject * obj0 = 0 ;
28369 PyObject * obj1 = 0 ;
28370 PyObject * obj2 = 0 ;
994141e6 28371 PyObject * obj3 = 0 ;
d14a1e28
RD
28372 char *kwnames[] = {
28373 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28374 };
28375
994141e6 28376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
28378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28379 arg2 = obj1;
28380 arg3 = obj2;
994141e6 28381 if (obj3) {
15afbcd0
RD
28382 arg4 = (int) SWIG_AsInt(obj3);
28383 if (PyErr_Occurred()) SWIG_fail;
994141e6 28384 }
d14a1e28
RD
28385 {
28386 PyThreadState* __tstate = wxPyBeginAllowThreads();
28387 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28388
28389 wxPyEndAllowThreads(__tstate);
28390 if (PyErr_Occurred()) SWIG_fail;
28391 }
28392 Py_INCREF(Py_None); resultobj = Py_None;
28393 return resultobj;
28394 fail:
28395 return NULL;
28396}
28397
28398
28399static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
28400 PyObject *obj;
28401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28402 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
28403 Py_INCREF(obj);
28404 return Py_BuildValue((char *)"");
28405}
28406static int _wrap_DefaultValidator_set(PyObject *_val) {
28407 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
28408 return 1;
28409}
28410
28411
28412static PyObject *_wrap_DefaultValidator_get() {
28413 PyObject *pyobj;
28414
15afbcd0 28415 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
d14a1e28
RD
28416 return pyobj;
28417}
28418
28419
28420static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
28421 PyObject *resultobj;
28422 wxString const &arg1_defvalue = wxPyEmptyString ;
28423 wxString *arg1 = (wxString *) &arg1_defvalue ;
28424 long arg2 = (long) 0 ;
28425 wxMenu *result;
e811c8ce 28426 bool temp1 = False ;
d14a1e28 28427 PyObject * obj0 = 0 ;
994141e6 28428 PyObject * obj1 = 0 ;
d14a1e28
RD
28429 char *kwnames[] = {
28430 (char *) "title",(char *) "style", NULL
28431 };
28432
994141e6 28433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
28434 if (obj0) {
28435 {
28436 arg1 = wxString_in_helper(obj0);
28437 if (arg1 == NULL) SWIG_fail;
e811c8ce 28438 temp1 = True;
d14a1e28
RD
28439 }
28440 }
994141e6 28441 if (obj1) {
15afbcd0
RD
28442 arg2 = (long) SWIG_AsLong(obj1);
28443 if (PyErr_Occurred()) SWIG_fail;
994141e6 28444 }
d14a1e28
RD
28445 {
28446 PyThreadState* __tstate = wxPyBeginAllowThreads();
28447 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
28448
28449 wxPyEndAllowThreads(__tstate);
28450 if (PyErr_Occurred()) SWIG_fail;
28451 }
28452 {
28453 resultobj = wxPyMake_wxObject(result);
28454 }
28455 {
28456 if (temp1)
28457 delete arg1;
28458 }
28459 return resultobj;
28460 fail:
28461 {
28462 if (temp1)
28463 delete arg1;
28464 }
28465 return NULL;
28466}
28467
28468
28469static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28470 PyObject *resultobj;
28471 wxMenu *arg1 = (wxMenu *) 0 ;
28472 int arg2 ;
28473 wxString *arg3 = 0 ;
28474 wxString const &arg4_defvalue = wxPyEmptyString ;
28475 wxString *arg4 = (wxString *) &arg4_defvalue ;
28476 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 28477 wxMenuItem *result;
e811c8ce
RD
28478 bool temp3 = False ;
28479 bool temp4 = False ;
d14a1e28 28480 PyObject * obj0 = 0 ;
994141e6 28481 PyObject * obj1 = 0 ;
d14a1e28
RD
28482 PyObject * obj2 = 0 ;
28483 PyObject * obj3 = 0 ;
994141e6 28484 PyObject * obj4 = 0 ;
d14a1e28 28485 char *kwnames[] = {
242b7b46 28486 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
28487 };
28488
994141e6 28489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28492 arg2 = (int) SWIG_AsInt(obj1);
28493 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28494 {
28495 arg3 = wxString_in_helper(obj2);
28496 if (arg3 == NULL) SWIG_fail;
e811c8ce 28497 temp3 = True;
d14a1e28
RD
28498 }
28499 if (obj3) {
28500 {
28501 arg4 = wxString_in_helper(obj3);
28502 if (arg4 == NULL) SWIG_fail;
e811c8ce 28503 temp4 = True;
d14a1e28
RD
28504 }
28505 }
994141e6 28506 if (obj4) {
15afbcd0
RD
28507 arg5 = (wxItemKind) SWIG_AsInt(obj4);
28508 if (PyErr_Occurred()) SWIG_fail;
994141e6 28509 }
d14a1e28
RD
28510 {
28511 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28512 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
28513
28514 wxPyEndAllowThreads(__tstate);
28515 if (PyErr_Occurred()) SWIG_fail;
28516 }
a41e16b6
RD
28517 {
28518 resultobj = wxPyMake_wxObject(result);
28519 }
d14a1e28
RD
28520 {
28521 if (temp3)
28522 delete arg3;
28523 }
28524 {
28525 if (temp4)
28526 delete arg4;
28527 }
28528 return resultobj;
28529 fail:
28530 {
28531 if (temp3)
28532 delete arg3;
28533 }
28534 {
28535 if (temp4)
28536 delete arg4;
28537 }
28538 return NULL;
28539}
28540
28541
28542static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28543 PyObject *resultobj;
28544 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 28545 wxMenuItem *result;
d14a1e28
RD
28546 PyObject * obj0 = 0 ;
28547 char *kwnames[] = {
28548 (char *) "self", NULL
28549 };
28550
28551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
28552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28554 {
28555 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28556 result = (wxMenuItem *)(arg1)->AppendSeparator();
d14a1e28
RD
28557
28558 wxPyEndAllowThreads(__tstate);
28559 if (PyErr_Occurred()) SWIG_fail;
28560 }
a41e16b6
RD
28561 {
28562 resultobj = wxPyMake_wxObject(result);
28563 }
d14a1e28
RD
28564 return resultobj;
28565 fail:
28566 return NULL;
28567}
28568
28569
28570static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28571 PyObject *resultobj;
28572 wxMenu *arg1 = (wxMenu *) 0 ;
28573 int arg2 ;
28574 wxString *arg3 = 0 ;
28575 wxString const &arg4_defvalue = wxPyEmptyString ;
28576 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 28577 wxMenuItem *result;
e811c8ce
RD
28578 bool temp3 = False ;
28579 bool temp4 = False ;
d14a1e28 28580 PyObject * obj0 = 0 ;
994141e6 28581 PyObject * obj1 = 0 ;
d14a1e28
RD
28582 PyObject * obj2 = 0 ;
28583 PyObject * obj3 = 0 ;
28584 char *kwnames[] = {
242b7b46 28585 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28586 };
28587
994141e6 28588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28591 arg2 = (int) SWIG_AsInt(obj1);
28592 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28593 {
28594 arg3 = wxString_in_helper(obj2);
28595 if (arg3 == NULL) SWIG_fail;
e811c8ce 28596 temp3 = True;
d14a1e28
RD
28597 }
28598 if (obj3) {
28599 {
28600 arg4 = wxString_in_helper(obj3);
28601 if (arg4 == NULL) SWIG_fail;
e811c8ce 28602 temp4 = True;
d14a1e28
RD
28603 }
28604 }
28605 {
28606 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28607 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28608
28609 wxPyEndAllowThreads(__tstate);
28610 if (PyErr_Occurred()) SWIG_fail;
28611 }
a41e16b6
RD
28612 {
28613 resultobj = wxPyMake_wxObject(result);
28614 }
d14a1e28
RD
28615 {
28616 if (temp3)
28617 delete arg3;
28618 }
28619 {
28620 if (temp4)
28621 delete arg4;
28622 }
28623 return resultobj;
28624 fail:
28625 {
28626 if (temp3)
28627 delete arg3;
28628 }
28629 {
28630 if (temp4)
28631 delete arg4;
28632 }
28633 return NULL;
28634}
28635
28636
28637static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28638 PyObject *resultobj;
28639 wxMenu *arg1 = (wxMenu *) 0 ;
28640 int arg2 ;
28641 wxString *arg3 = 0 ;
28642 wxString const &arg4_defvalue = wxPyEmptyString ;
28643 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 28644 wxMenuItem *result;
e811c8ce
RD
28645 bool temp3 = False ;
28646 bool temp4 = False ;
d14a1e28 28647 PyObject * obj0 = 0 ;
994141e6 28648 PyObject * obj1 = 0 ;
d14a1e28
RD
28649 PyObject * obj2 = 0 ;
28650 PyObject * obj3 = 0 ;
28651 char *kwnames[] = {
242b7b46 28652 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28653 };
28654
994141e6 28655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28658 arg2 = (int) SWIG_AsInt(obj1);
28659 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28660 {
28661 arg3 = wxString_in_helper(obj2);
28662 if (arg3 == NULL) SWIG_fail;
e811c8ce 28663 temp3 = True;
d14a1e28
RD
28664 }
28665 if (obj3) {
28666 {
28667 arg4 = wxString_in_helper(obj3);
28668 if (arg4 == NULL) SWIG_fail;
e811c8ce 28669 temp4 = True;
d14a1e28
RD
28670 }
28671 }
28672 {
28673 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28674 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28675
28676 wxPyEndAllowThreads(__tstate);
28677 if (PyErr_Occurred()) SWIG_fail;
28678 }
a41e16b6
RD
28679 {
28680 resultobj = wxPyMake_wxObject(result);
28681 }
d14a1e28
RD
28682 {
28683 if (temp3)
28684 delete arg3;
28685 }
28686 {
28687 if (temp4)
28688 delete arg4;
28689 }
28690 return resultobj;
28691 fail:
28692 {
28693 if (temp3)
28694 delete arg3;
28695 }
28696 {
28697 if (temp4)
28698 delete arg4;
28699 }
28700 return NULL;
28701}
28702
28703
28704static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28705 PyObject *resultobj;
28706 wxMenu *arg1 = (wxMenu *) 0 ;
28707 int arg2 ;
28708 wxString *arg3 = 0 ;
28709 wxMenu *arg4 = (wxMenu *) 0 ;
28710 wxString const &arg5_defvalue = wxPyEmptyString ;
28711 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 28712 wxMenuItem *result;
e811c8ce
RD
28713 bool temp3 = False ;
28714 bool temp5 = False ;
d14a1e28 28715 PyObject * obj0 = 0 ;
994141e6 28716 PyObject * obj1 = 0 ;
d14a1e28
RD
28717 PyObject * obj2 = 0 ;
28718 PyObject * obj3 = 0 ;
28719 PyObject * obj4 = 0 ;
28720 char *kwnames[] = {
242b7b46 28721 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
28722 };
28723
994141e6 28724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28727 arg2 = (int) SWIG_AsInt(obj1);
28728 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28729 {
28730 arg3 = wxString_in_helper(obj2);
28731 if (arg3 == NULL) SWIG_fail;
e811c8ce 28732 temp3 = True;
d14a1e28 28733 }
15afbcd0
RD
28734 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
28735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28736 if (obj4) {
28737 {
28738 arg5 = wxString_in_helper(obj4);
28739 if (arg5 == NULL) SWIG_fail;
e811c8ce 28740 temp5 = True;
d14a1e28
RD
28741 }
28742 }
28743 {
28744 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28745 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
28746
28747 wxPyEndAllowThreads(__tstate);
28748 if (PyErr_Occurred()) SWIG_fail;
28749 }
a41e16b6
RD
28750 {
28751 resultobj = wxPyMake_wxObject(result);
28752 }
d14a1e28
RD
28753 {
28754 if (temp3)
28755 delete arg3;
28756 }
28757 {
28758 if (temp5)
28759 delete arg5;
28760 }
28761 return resultobj;
28762 fail:
28763 {
28764 if (temp3)
28765 delete arg3;
28766 }
28767 {
28768 if (temp5)
28769 delete arg5;
28770 }
28771 return NULL;
28772}
28773
28774
28775static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28776 PyObject *resultobj;
28777 wxMenu *arg1 = (wxMenu *) 0 ;
28778 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 28779 wxMenuItem *result;
d14a1e28
RD
28780 PyObject * obj0 = 0 ;
28781 PyObject * obj1 = 0 ;
28782 char *kwnames[] = {
28783 (char *) "self",(char *) "item", NULL
28784 };
28785
28786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28789 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28791 {
28792 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28793 result = (wxMenuItem *)(arg1)->Append(arg2);
d14a1e28
RD
28794
28795 wxPyEndAllowThreads(__tstate);
28796 if (PyErr_Occurred()) SWIG_fail;
28797 }
a41e16b6
RD
28798 {
28799 resultobj = wxPyMake_wxObject(result);
28800 }
d14a1e28
RD
28801 return resultobj;
28802 fail:
28803 return NULL;
28804}
28805
28806
28807static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
28808 PyObject *resultobj;
28809 wxMenu *arg1 = (wxMenu *) 0 ;
28810 PyObject * obj0 = 0 ;
28811 char *kwnames[] = {
28812 (char *) "self", NULL
28813 };
28814
28815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
15afbcd0
RD
28816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28818 {
28819 PyThreadState* __tstate = wxPyBeginAllowThreads();
28820 (arg1)->Break();
28821
28822 wxPyEndAllowThreads(__tstate);
28823 if (PyErr_Occurred()) SWIG_fail;
28824 }
28825 Py_INCREF(Py_None); resultobj = Py_None;
28826 return resultobj;
28827 fail:
28828 return NULL;
28829}
28830
28831
28832static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28833 PyObject *resultobj;
28834 wxMenu *arg1 = (wxMenu *) 0 ;
28835 size_t arg2 ;
28836 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
a41e16b6 28837 wxMenuItem *result;
d14a1e28
RD
28838 PyObject * obj0 = 0 ;
28839 PyObject * obj1 = 0 ;
28840 PyObject * obj2 = 0 ;
28841 char *kwnames[] = {
28842 (char *) "self",(char *) "pos",(char *) "item", NULL
28843 };
28844
28845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28848 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28849 if (PyErr_Occurred()) SWIG_fail;
28850 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
28851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28852 {
28853 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28854 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
28855
28856 wxPyEndAllowThreads(__tstate);
28857 if (PyErr_Occurred()) SWIG_fail;
28858 }
a41e16b6
RD
28859 {
28860 resultobj = wxPyMake_wxObject(result);
28861 }
d14a1e28
RD
28862 return resultobj;
28863 fail:
28864 return NULL;
28865}
28866
28867
28868static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
28869 PyObject *resultobj;
28870 wxMenu *arg1 = (wxMenu *) 0 ;
28871 size_t arg2 ;
28872 int arg3 ;
28873 wxString *arg4 = 0 ;
28874 wxString const &arg5_defvalue = wxPyEmptyString ;
28875 wxString *arg5 = (wxString *) &arg5_defvalue ;
28876 int arg6 = (int) wxITEM_NORMAL ;
a41e16b6 28877 wxMenuItem *result;
e811c8ce
RD
28878 bool temp4 = False ;
28879 bool temp5 = False ;
d14a1e28
RD
28880 PyObject * obj0 = 0 ;
28881 PyObject * obj1 = 0 ;
994141e6 28882 PyObject * obj2 = 0 ;
d14a1e28
RD
28883 PyObject * obj3 = 0 ;
28884 PyObject * obj4 = 0 ;
994141e6 28885 PyObject * obj5 = 0 ;
d14a1e28 28886 char *kwnames[] = {
242b7b46 28887 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
28888 };
28889
994141e6 28890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
28891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28893 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28894 if (PyErr_Occurred()) SWIG_fail;
28895 arg3 = (int) SWIG_AsInt(obj2);
28896 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28897 {
28898 arg4 = wxString_in_helper(obj3);
28899 if (arg4 == NULL) SWIG_fail;
e811c8ce 28900 temp4 = True;
d14a1e28
RD
28901 }
28902 if (obj4) {
28903 {
28904 arg5 = wxString_in_helper(obj4);
28905 if (arg5 == NULL) SWIG_fail;
e811c8ce 28906 temp5 = True;
d14a1e28
RD
28907 }
28908 }
994141e6 28909 if (obj5) {
15afbcd0
RD
28910 arg6 = (wxItemKind) SWIG_AsInt(obj5);
28911 if (PyErr_Occurred()) SWIG_fail;
994141e6 28912 }
d14a1e28
RD
28913 {
28914 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28915 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
d14a1e28
RD
28916
28917 wxPyEndAllowThreads(__tstate);
28918 if (PyErr_Occurred()) SWIG_fail;
28919 }
a41e16b6
RD
28920 {
28921 resultobj = wxPyMake_wxObject(result);
28922 }
d14a1e28
RD
28923 {
28924 if (temp4)
28925 delete arg4;
28926 }
28927 {
28928 if (temp5)
28929 delete arg5;
28930 }
28931 return resultobj;
28932 fail:
28933 {
28934 if (temp4)
28935 delete arg4;
28936 }
28937 {
28938 if (temp5)
28939 delete arg5;
28940 }
28941 return NULL;
28942}
28943
28944
28945static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28946 PyObject *resultobj;
28947 wxMenu *arg1 = (wxMenu *) 0 ;
28948 size_t arg2 ;
a41e16b6 28949 wxMenuItem *result;
d14a1e28
RD
28950 PyObject * obj0 = 0 ;
28951 PyObject * obj1 = 0 ;
28952 char *kwnames[] = {
28953 (char *) "self",(char *) "pos", NULL
28954 };
28955
28956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28959 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28960 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28961 {
28962 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28963 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
d14a1e28
RD
28964
28965 wxPyEndAllowThreads(__tstate);
28966 if (PyErr_Occurred()) SWIG_fail;
28967 }
a41e16b6
RD
28968 {
28969 resultobj = wxPyMake_wxObject(result);
28970 }
d14a1e28
RD
28971 return resultobj;
28972 fail:
28973 return NULL;
28974}
28975
28976
28977static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28978 PyObject *resultobj;
28979 wxMenu *arg1 = (wxMenu *) 0 ;
28980 size_t arg2 ;
28981 int arg3 ;
28982 wxString *arg4 = 0 ;
28983 wxString const &arg5_defvalue = wxPyEmptyString ;
28984 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 28985 wxMenuItem *result;
e811c8ce
RD
28986 bool temp4 = False ;
28987 bool temp5 = False ;
d14a1e28
RD
28988 PyObject * obj0 = 0 ;
28989 PyObject * obj1 = 0 ;
994141e6 28990 PyObject * obj2 = 0 ;
d14a1e28
RD
28991 PyObject * obj3 = 0 ;
28992 PyObject * obj4 = 0 ;
28993 char *kwnames[] = {
242b7b46 28994 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28995 };
28996
994141e6 28997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29000 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29001 if (PyErr_Occurred()) SWIG_fail;
29002 arg3 = (int) SWIG_AsInt(obj2);
29003 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29004 {
29005 arg4 = wxString_in_helper(obj3);
29006 if (arg4 == NULL) SWIG_fail;
e811c8ce 29007 temp4 = True;
d14a1e28
RD
29008 }
29009 if (obj4) {
29010 {
29011 arg5 = wxString_in_helper(obj4);
29012 if (arg5 == NULL) SWIG_fail;
e811c8ce 29013 temp5 = True;
d14a1e28
RD
29014 }
29015 }
29016 {
29017 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29018 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29019
29020 wxPyEndAllowThreads(__tstate);
29021 if (PyErr_Occurred()) SWIG_fail;
29022 }
a41e16b6
RD
29023 {
29024 resultobj = wxPyMake_wxObject(result);
29025 }
d14a1e28
RD
29026 {
29027 if (temp4)
29028 delete arg4;
29029 }
29030 {
29031 if (temp5)
29032 delete arg5;
29033 }
29034 return resultobj;
29035 fail:
29036 {
29037 if (temp4)
29038 delete arg4;
29039 }
29040 {
29041 if (temp5)
29042 delete arg5;
29043 }
29044 return NULL;
29045}
29046
29047
29048static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29049 PyObject *resultobj;
29050 wxMenu *arg1 = (wxMenu *) 0 ;
29051 size_t arg2 ;
29052 int arg3 ;
29053 wxString *arg4 = 0 ;
29054 wxString const &arg5_defvalue = wxPyEmptyString ;
29055 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29056 wxMenuItem *result;
e811c8ce
RD
29057 bool temp4 = False ;
29058 bool temp5 = False ;
d14a1e28
RD
29059 PyObject * obj0 = 0 ;
29060 PyObject * obj1 = 0 ;
994141e6 29061 PyObject * obj2 = 0 ;
d14a1e28
RD
29062 PyObject * obj3 = 0 ;
29063 PyObject * obj4 = 0 ;
29064 char *kwnames[] = {
242b7b46 29065 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29066 };
29067
994141e6 29068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29071 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29072 if (PyErr_Occurred()) SWIG_fail;
29073 arg3 = (int) SWIG_AsInt(obj2);
29074 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29075 {
29076 arg4 = wxString_in_helper(obj3);
29077 if (arg4 == NULL) SWIG_fail;
e811c8ce 29078 temp4 = True;
d14a1e28
RD
29079 }
29080 if (obj4) {
29081 {
29082 arg5 = wxString_in_helper(obj4);
29083 if (arg5 == NULL) SWIG_fail;
e811c8ce 29084 temp5 = True;
d14a1e28
RD
29085 }
29086 }
29087 {
29088 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29089 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29090
29091 wxPyEndAllowThreads(__tstate);
29092 if (PyErr_Occurred()) SWIG_fail;
29093 }
a41e16b6
RD
29094 {
29095 resultobj = wxPyMake_wxObject(result);
29096 }
d14a1e28
RD
29097 {
29098 if (temp4)
29099 delete arg4;
29100 }
29101 {
29102 if (temp5)
29103 delete arg5;
29104 }
29105 return resultobj;
29106 fail:
29107 {
29108 if (temp4)
29109 delete arg4;
29110 }
29111 {
29112 if (temp5)
29113 delete arg5;
29114 }
29115 return NULL;
29116}
29117
29118
29119static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29120 PyObject *resultobj;
29121 wxMenu *arg1 = (wxMenu *) 0 ;
29122 size_t arg2 ;
29123 int arg3 ;
29124 wxString *arg4 = 0 ;
29125 wxMenu *arg5 = (wxMenu *) 0 ;
29126 wxString const &arg6_defvalue = wxPyEmptyString ;
29127 wxString *arg6 = (wxString *) &arg6_defvalue ;
a41e16b6 29128 wxMenuItem *result;
e811c8ce
RD
29129 bool temp4 = False ;
29130 bool temp6 = False ;
d14a1e28
RD
29131 PyObject * obj0 = 0 ;
29132 PyObject * obj1 = 0 ;
994141e6 29133 PyObject * obj2 = 0 ;
d14a1e28
RD
29134 PyObject * obj3 = 0 ;
29135 PyObject * obj4 = 0 ;
29136 PyObject * obj5 = 0 ;
29137 char *kwnames[] = {
242b7b46 29138 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29139 };
29140
994141e6 29141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
29142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29144 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29145 if (PyErr_Occurred()) SWIG_fail;
29146 arg3 = (int) SWIG_AsInt(obj2);
29147 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29148 {
29149 arg4 = wxString_in_helper(obj3);
29150 if (arg4 == NULL) SWIG_fail;
e811c8ce 29151 temp4 = True;
d14a1e28 29152 }
15afbcd0
RD
29153 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
29154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29155 if (obj5) {
29156 {
29157 arg6 = wxString_in_helper(obj5);
29158 if (arg6 == NULL) SWIG_fail;
e811c8ce 29159 temp6 = True;
d14a1e28
RD
29160 }
29161 }
29162 {
29163 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29164 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
29165
29166 wxPyEndAllowThreads(__tstate);
29167 if (PyErr_Occurred()) SWIG_fail;
29168 }
a41e16b6
RD
29169 {
29170 resultobj = wxPyMake_wxObject(result);
29171 }
d14a1e28
RD
29172 {
29173 if (temp4)
29174 delete arg4;
29175 }
29176 {
29177 if (temp6)
29178 delete arg6;
29179 }
29180 return resultobj;
29181 fail:
29182 {
29183 if (temp4)
29184 delete arg4;
29185 }
29186 {
29187 if (temp6)
29188 delete arg6;
29189 }
29190 return NULL;
29191}
29192
29193
29194static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29195 PyObject *resultobj;
29196 wxMenu *arg1 = (wxMenu *) 0 ;
29197 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 29198 wxMenuItem *result;
d14a1e28
RD
29199 PyObject * obj0 = 0 ;
29200 PyObject * obj1 = 0 ;
29201 char *kwnames[] = {
29202 (char *) "self",(char *) "item", NULL
29203 };
29204
29205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29210 {
29211 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29212 result = (wxMenuItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
29213
29214 wxPyEndAllowThreads(__tstate);
29215 if (PyErr_Occurred()) SWIG_fail;
29216 }
a41e16b6
RD
29217 {
29218 resultobj = wxPyMake_wxObject(result);
29219 }
d14a1e28
RD
29220 return resultobj;
29221 fail:
29222 return NULL;
29223}
29224
29225
29226static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
29227 PyObject *resultobj;
29228 wxMenu *arg1 = (wxMenu *) 0 ;
29229 int arg2 ;
29230 wxString *arg3 = 0 ;
29231 wxString const &arg4_defvalue = wxPyEmptyString ;
29232 wxString *arg4 = (wxString *) &arg4_defvalue ;
29233 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 29234 wxMenuItem *result;
e811c8ce
RD
29235 bool temp3 = False ;
29236 bool temp4 = False ;
d14a1e28 29237 PyObject * obj0 = 0 ;
994141e6 29238 PyObject * obj1 = 0 ;
d14a1e28
RD
29239 PyObject * obj2 = 0 ;
29240 PyObject * obj3 = 0 ;
994141e6 29241 PyObject * obj4 = 0 ;
d14a1e28 29242 char *kwnames[] = {
242b7b46 29243 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29244 };
29245
994141e6 29246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29249 arg2 = (int) SWIG_AsInt(obj1);
29250 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29251 {
29252 arg3 = wxString_in_helper(obj2);
29253 if (arg3 == NULL) SWIG_fail;
e811c8ce 29254 temp3 = True;
d14a1e28
RD
29255 }
29256 if (obj3) {
29257 {
29258 arg4 = wxString_in_helper(obj3);
29259 if (arg4 == NULL) SWIG_fail;
e811c8ce 29260 temp4 = True;
d14a1e28
RD
29261 }
29262 }
994141e6 29263 if (obj4) {
15afbcd0
RD
29264 arg5 = (wxItemKind) SWIG_AsInt(obj4);
29265 if (PyErr_Occurred()) SWIG_fail;
994141e6 29266 }
d14a1e28
RD
29267 {
29268 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29269 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
29270
29271 wxPyEndAllowThreads(__tstate);
29272 if (PyErr_Occurred()) SWIG_fail;
29273 }
a41e16b6
RD
29274 {
29275 resultobj = wxPyMake_wxObject(result);
29276 }
d14a1e28
RD
29277 {
29278 if (temp3)
29279 delete arg3;
29280 }
29281 {
29282 if (temp4)
29283 delete arg4;
29284 }
29285 return resultobj;
29286 fail:
29287 {
29288 if (temp3)
29289 delete arg3;
29290 }
29291 {
29292 if (temp4)
29293 delete arg4;
29294 }
29295 return NULL;
29296}
29297
29298
29299static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29300 PyObject *resultobj;
29301 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 29302 wxMenuItem *result;
d14a1e28
RD
29303 PyObject * obj0 = 0 ;
29304 char *kwnames[] = {
29305 (char *) "self", NULL
29306 };
29307
29308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
29309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29311 {
29312 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29313 result = (wxMenuItem *)(arg1)->PrependSeparator();
d14a1e28
RD
29314
29315 wxPyEndAllowThreads(__tstate);
29316 if (PyErr_Occurred()) SWIG_fail;
29317 }
a41e16b6
RD
29318 {
29319 resultobj = wxPyMake_wxObject(result);
29320 }
d14a1e28
RD
29321 return resultobj;
29322 fail:
29323 return NULL;
29324}
29325
29326
29327static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29328 PyObject *resultobj;
29329 wxMenu *arg1 = (wxMenu *) 0 ;
29330 int arg2 ;
29331 wxString *arg3 = 0 ;
29332 wxString const &arg4_defvalue = wxPyEmptyString ;
29333 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 29334 wxMenuItem *result;
e811c8ce
RD
29335 bool temp3 = False ;
29336 bool temp4 = False ;
d14a1e28 29337 PyObject * obj0 = 0 ;
994141e6 29338 PyObject * obj1 = 0 ;
d14a1e28
RD
29339 PyObject * obj2 = 0 ;
29340 PyObject * obj3 = 0 ;
29341 char *kwnames[] = {
242b7b46 29342 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29343 };
29344
994141e6 29345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29348 arg2 = (int) SWIG_AsInt(obj1);
29349 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29350 {
29351 arg3 = wxString_in_helper(obj2);
29352 if (arg3 == NULL) SWIG_fail;
e811c8ce 29353 temp3 = True;
d14a1e28
RD
29354 }
29355 if (obj3) {
29356 {
29357 arg4 = wxString_in_helper(obj3);
29358 if (arg4 == NULL) SWIG_fail;
e811c8ce 29359 temp4 = True;
d14a1e28
RD
29360 }
29361 }
29362 {
29363 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29364 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29365
29366 wxPyEndAllowThreads(__tstate);
29367 if (PyErr_Occurred()) SWIG_fail;
29368 }
a41e16b6
RD
29369 {
29370 resultobj = wxPyMake_wxObject(result);
29371 }
d14a1e28
RD
29372 {
29373 if (temp3)
29374 delete arg3;
29375 }
29376 {
29377 if (temp4)
29378 delete arg4;
29379 }
29380 return resultobj;
29381 fail:
29382 {
29383 if (temp3)
29384 delete arg3;
29385 }
29386 {
29387 if (temp4)
29388 delete arg4;
29389 }
29390 return NULL;
29391}
29392
29393
29394static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29395 PyObject *resultobj;
29396 wxMenu *arg1 = (wxMenu *) 0 ;
29397 int arg2 ;
29398 wxString *arg3 = 0 ;
29399 wxString const &arg4_defvalue = wxPyEmptyString ;
29400 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 29401 wxMenuItem *result;
e811c8ce
RD
29402 bool temp3 = False ;
29403 bool temp4 = False ;
d14a1e28 29404 PyObject * obj0 = 0 ;
994141e6 29405 PyObject * obj1 = 0 ;
d14a1e28
RD
29406 PyObject * obj2 = 0 ;
29407 PyObject * obj3 = 0 ;
29408 char *kwnames[] = {
242b7b46 29409 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29410 };
29411
994141e6 29412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29415 arg2 = (int) SWIG_AsInt(obj1);
29416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29417 {
29418 arg3 = wxString_in_helper(obj2);
29419 if (arg3 == NULL) SWIG_fail;
e811c8ce 29420 temp3 = True;
d14a1e28
RD
29421 }
29422 if (obj3) {
29423 {
29424 arg4 = wxString_in_helper(obj3);
29425 if (arg4 == NULL) SWIG_fail;
e811c8ce 29426 temp4 = True;
d14a1e28
RD
29427 }
29428 }
29429 {
29430 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29431 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29432
29433 wxPyEndAllowThreads(__tstate);
29434 if (PyErr_Occurred()) SWIG_fail;
29435 }
a41e16b6
RD
29436 {
29437 resultobj = wxPyMake_wxObject(result);
29438 }
d14a1e28
RD
29439 {
29440 if (temp3)
29441 delete arg3;
29442 }
29443 {
29444 if (temp4)
29445 delete arg4;
29446 }
29447 return resultobj;
29448 fail:
29449 {
29450 if (temp3)
29451 delete arg3;
29452 }
29453 {
29454 if (temp4)
29455 delete arg4;
29456 }
29457 return NULL;
29458}
29459
29460
29461static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29462 PyObject *resultobj;
29463 wxMenu *arg1 = (wxMenu *) 0 ;
29464 int arg2 ;
29465 wxString *arg3 = 0 ;
29466 wxMenu *arg4 = (wxMenu *) 0 ;
29467 wxString const &arg5_defvalue = wxPyEmptyString ;
29468 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29469 wxMenuItem *result;
e811c8ce
RD
29470 bool temp3 = False ;
29471 bool temp5 = False ;
d14a1e28 29472 PyObject * obj0 = 0 ;
994141e6 29473 PyObject * obj1 = 0 ;
d14a1e28
RD
29474 PyObject * obj2 = 0 ;
29475 PyObject * obj3 = 0 ;
29476 PyObject * obj4 = 0 ;
29477 char *kwnames[] = {
242b7b46 29478 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29479 };
29480
994141e6 29481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29484 arg2 = (int) SWIG_AsInt(obj1);
29485 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29486 {
29487 arg3 = wxString_in_helper(obj2);
29488 if (arg3 == NULL) SWIG_fail;
e811c8ce 29489 temp3 = True;
d14a1e28 29490 }
15afbcd0
RD
29491 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29493 if (obj4) {
29494 {
29495 arg5 = wxString_in_helper(obj4);
29496 if (arg5 == NULL) SWIG_fail;
e811c8ce 29497 temp5 = True;
d14a1e28
RD
29498 }
29499 }
29500 {
29501 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29502 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
29503
29504 wxPyEndAllowThreads(__tstate);
29505 if (PyErr_Occurred()) SWIG_fail;
29506 }
a41e16b6
RD
29507 {
29508 resultobj = wxPyMake_wxObject(result);
29509 }
d14a1e28
RD
29510 {
29511 if (temp3)
29512 delete arg3;
29513 }
29514 {
29515 if (temp5)
29516 delete arg5;
29517 }
29518 return resultobj;
29519 fail:
29520 {
29521 if (temp3)
29522 delete arg3;
29523 }
29524 {
29525 if (temp5)
29526 delete arg5;
29527 }
29528 return NULL;
29529}
29530
29531
29532static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
29533 PyObject *resultobj;
29534 wxMenu *arg1 = (wxMenu *) 0 ;
29535 int arg2 ;
29536 wxMenuItem *result;
29537 PyObject * obj0 = 0 ;
994141e6 29538 PyObject * obj1 = 0 ;
d14a1e28 29539 char *kwnames[] = {
242b7b46 29540 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29541 };
29542
994141e6 29543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29546 arg2 = (int) SWIG_AsInt(obj1);
29547 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29548 {
29549 PyThreadState* __tstate = wxPyBeginAllowThreads();
29550 result = (wxMenuItem *)(arg1)->Remove(arg2);
29551
29552 wxPyEndAllowThreads(__tstate);
29553 if (PyErr_Occurred()) SWIG_fail;
29554 }
29555 {
29556 resultobj = wxPyMake_wxObject(result);
29557 }
29558 return resultobj;
29559 fail:
29560 return NULL;
29561}
29562
29563
29564static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29565 PyObject *resultobj;
29566 wxMenu *arg1 = (wxMenu *) 0 ;
29567 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29568 wxMenuItem *result;
29569 PyObject * obj0 = 0 ;
29570 PyObject * obj1 = 0 ;
29571 char *kwnames[] = {
29572 (char *) "self",(char *) "item", NULL
29573 };
29574
29575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29580 {
29581 PyThreadState* __tstate = wxPyBeginAllowThreads();
29582 result = (wxMenuItem *)(arg1)->Remove(arg2);
29583
29584 wxPyEndAllowThreads(__tstate);
29585 if (PyErr_Occurred()) SWIG_fail;
29586 }
29587 {
29588 resultobj = wxPyMake_wxObject(result);
29589 }
29590 return resultobj;
29591 fail:
29592 return NULL;
29593}
29594
29595
29596static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
29597 PyObject *resultobj;
29598 wxMenu *arg1 = (wxMenu *) 0 ;
29599 int arg2 ;
29600 bool result;
29601 PyObject * obj0 = 0 ;
994141e6 29602 PyObject * obj1 = 0 ;
d14a1e28 29603 char *kwnames[] = {
242b7b46 29604 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29605 };
29606
994141e6 29607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29610 arg2 = (int) SWIG_AsInt(obj1);
29611 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29612 {
29613 PyThreadState* __tstate = wxPyBeginAllowThreads();
29614 result = (bool)(arg1)->Delete(arg2);
29615
29616 wxPyEndAllowThreads(__tstate);
29617 if (PyErr_Occurred()) SWIG_fail;
29618 }
4f89f6a3
RD
29619 {
29620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29621 }
d14a1e28
RD
29622 return resultobj;
29623 fail:
29624 return NULL;
29625}
29626
29627
29628static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29629 PyObject *resultobj;
29630 wxMenu *arg1 = (wxMenu *) 0 ;
29631 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29632 bool result;
29633 PyObject * obj0 = 0 ;
29634 PyObject * obj1 = 0 ;
29635 char *kwnames[] = {
29636 (char *) "self",(char *) "item", NULL
29637 };
29638
29639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29642 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29644 {
29645 PyThreadState* __tstate = wxPyBeginAllowThreads();
29646 result = (bool)(arg1)->Delete(arg2);
29647
29648 wxPyEndAllowThreads(__tstate);
29649 if (PyErr_Occurred()) SWIG_fail;
29650 }
4f89f6a3
RD
29651 {
29652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29653 }
d14a1e28
RD
29654 return resultobj;
29655 fail:
29656 return NULL;
29657}
29658
29659
29660static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29661 PyObject *resultobj;
29662 wxMenu *arg1 = (wxMenu *) 0 ;
29663 PyObject * obj0 = 0 ;
29664 char *kwnames[] = {
29665 (char *) "self", NULL
29666 };
29667
29668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
29669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29671 {
29672 PyThreadState* __tstate = wxPyBeginAllowThreads();
29673 wxMenu_Destroy(arg1);
29674
29675 wxPyEndAllowThreads(__tstate);
29676 if (PyErr_Occurred()) SWIG_fail;
29677 }
29678 Py_INCREF(Py_None); resultobj = Py_None;
29679 return resultobj;
29680 fail:
29681 return NULL;
29682}
29683
29684
29685static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
29686 PyObject *resultobj;
29687 wxMenu *arg1 = (wxMenu *) 0 ;
29688 int arg2 ;
29689 bool result;
29690 PyObject * obj0 = 0 ;
994141e6 29691 PyObject * obj1 = 0 ;
d14a1e28 29692 char *kwnames[] = {
242b7b46 29693 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29694 };
29695
994141e6 29696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29699 arg2 = (int) SWIG_AsInt(obj1);
29700 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29701 {
29702 PyThreadState* __tstate = wxPyBeginAllowThreads();
29703 result = (bool)(arg1)->Destroy(arg2);
29704
29705 wxPyEndAllowThreads(__tstate);
29706 if (PyErr_Occurred()) SWIG_fail;
29707 }
4f89f6a3
RD
29708 {
29709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29710 }
d14a1e28
RD
29711 return resultobj;
29712 fail:
29713 return NULL;
29714}
29715
29716
29717static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29718 PyObject *resultobj;
29719 wxMenu *arg1 = (wxMenu *) 0 ;
29720 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29721 bool result;
29722 PyObject * obj0 = 0 ;
29723 PyObject * obj1 = 0 ;
29724 char *kwnames[] = {
29725 (char *) "self",(char *) "item", NULL
29726 };
29727
29728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29733 {
29734 PyThreadState* __tstate = wxPyBeginAllowThreads();
29735 result = (bool)(arg1)->Destroy(arg2);
29736
29737 wxPyEndAllowThreads(__tstate);
29738 if (PyErr_Occurred()) SWIG_fail;
29739 }
4f89f6a3
RD
29740 {
29741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29742 }
d14a1e28
RD
29743 return resultobj;
29744 fail:
29745 return NULL;
29746}
29747
29748
29749static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
29750 PyObject *resultobj;
29751 wxMenu *arg1 = (wxMenu *) 0 ;
29752 size_t result;
29753 PyObject * obj0 = 0 ;
29754 char *kwnames[] = {
29755 (char *) "self", NULL
29756 };
29757
29758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
29759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29761 {
29762 PyThreadState* __tstate = wxPyBeginAllowThreads();
29763 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
29764
29765 wxPyEndAllowThreads(__tstate);
29766 if (PyErr_Occurred()) SWIG_fail;
29767 }
15afbcd0 29768 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
29769 return resultobj;
29770 fail:
29771 return NULL;
29772}
29773
29774
29775static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
29776 PyObject *resultobj;
29777 wxMenu *arg1 = (wxMenu *) 0 ;
29778 PyObject *result;
29779 PyObject * obj0 = 0 ;
29780 char *kwnames[] = {
29781 (char *) "self", NULL
29782 };
29783
29784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
29785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29787 {
29788 PyThreadState* __tstate = wxPyBeginAllowThreads();
29789 result = (PyObject *)wxMenu_GetMenuItems(arg1);
29790
29791 wxPyEndAllowThreads(__tstate);
29792 if (PyErr_Occurred()) SWIG_fail;
29793 }
29794 resultobj = result;
29795 return resultobj;
29796 fail:
29797 return NULL;
29798}
29799
29800
29801static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29802 PyObject *resultobj;
29803 wxMenu *arg1 = (wxMenu *) 0 ;
29804 wxString *arg2 = 0 ;
29805 int result;
e811c8ce 29806 bool temp2 = False ;
d14a1e28
RD
29807 PyObject * obj0 = 0 ;
29808 PyObject * obj1 = 0 ;
29809 char *kwnames[] = {
29810 (char *) "self",(char *) "item", NULL
29811 };
29812
29813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29816 {
29817 arg2 = wxString_in_helper(obj1);
29818 if (arg2 == NULL) SWIG_fail;
e811c8ce 29819 temp2 = True;
d14a1e28
RD
29820 }
29821 {
29822 PyThreadState* __tstate = wxPyBeginAllowThreads();
29823 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
29824
29825 wxPyEndAllowThreads(__tstate);
29826 if (PyErr_Occurred()) SWIG_fail;
29827 }
15afbcd0 29828 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
29829 {
29830 if (temp2)
29831 delete arg2;
29832 }
29833 return resultobj;
29834 fail:
29835 {
29836 if (temp2)
29837 delete arg2;
29838 }
29839 return NULL;
29840}
29841
29842
29843static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
29844 PyObject *resultobj;
29845 wxMenu *arg1 = (wxMenu *) 0 ;
29846 int arg2 ;
29847 wxMenuItem *result;
29848 PyObject * obj0 = 0 ;
994141e6 29849 PyObject * obj1 = 0 ;
d14a1e28 29850 char *kwnames[] = {
242b7b46 29851 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29852 };
29853
994141e6 29854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29857 arg2 = (int) SWIG_AsInt(obj1);
29858 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29859 {
29860 PyThreadState* __tstate = wxPyBeginAllowThreads();
29861 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
29862
29863 wxPyEndAllowThreads(__tstate);
29864 if (PyErr_Occurred()) SWIG_fail;
29865 }
29866 {
29867 resultobj = wxPyMake_wxObject(result);
29868 }
29869 return resultobj;
29870 fail:
29871 return NULL;
29872}
29873
29874
29875static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29876 PyObject *resultobj;
29877 wxMenu *arg1 = (wxMenu *) 0 ;
29878 size_t arg2 ;
29879 wxMenuItem *result;
29880 PyObject * obj0 = 0 ;
29881 PyObject * obj1 = 0 ;
29882 char *kwnames[] = {
29883 (char *) "self",(char *) "position", NULL
29884 };
29885
29886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29889 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29890 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29891 {
29892 PyThreadState* __tstate = wxPyBeginAllowThreads();
29893 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
29894
29895 wxPyEndAllowThreads(__tstate);
29896 if (PyErr_Occurred()) SWIG_fail;
29897 }
29898 {
29899 resultobj = wxPyMake_wxObject(result);
29900 }
29901 return resultobj;
29902 fail:
29903 return NULL;
29904}
29905
29906
29907static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
29908 PyObject *resultobj;
29909 wxMenu *arg1 = (wxMenu *) 0 ;
29910 int arg2 ;
29911 bool arg3 ;
29912 PyObject * obj0 = 0 ;
994141e6 29913 PyObject * obj1 = 0 ;
d14a1e28
RD
29914 PyObject * obj2 = 0 ;
29915 char *kwnames[] = {
242b7b46 29916 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
29917 };
29918
994141e6 29919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29922 arg2 = (int) SWIG_AsInt(obj1);
29923 if (PyErr_Occurred()) SWIG_fail;
29924 arg3 = (bool) SWIG_AsBool(obj2);
29925 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29926 {
29927 PyThreadState* __tstate = wxPyBeginAllowThreads();
29928 (arg1)->Enable(arg2,arg3);
29929
29930 wxPyEndAllowThreads(__tstate);
29931 if (PyErr_Occurred()) SWIG_fail;
29932 }
29933 Py_INCREF(Py_None); resultobj = Py_None;
29934 return resultobj;
29935 fail:
29936 return NULL;
29937}
29938
29939
29940static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
29941 PyObject *resultobj;
29942 wxMenu *arg1 = (wxMenu *) 0 ;
29943 int arg2 ;
29944 bool result;
29945 PyObject * obj0 = 0 ;
994141e6 29946 PyObject * obj1 = 0 ;
d14a1e28 29947 char *kwnames[] = {
242b7b46 29948 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29949 };
29950
994141e6 29951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29954 arg2 = (int) SWIG_AsInt(obj1);
29955 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29956 {
29957 PyThreadState* __tstate = wxPyBeginAllowThreads();
29958 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
29959
29960 wxPyEndAllowThreads(__tstate);
29961 if (PyErr_Occurred()) SWIG_fail;
29962 }
4f89f6a3
RD
29963 {
29964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29965 }
d14a1e28
RD
29966 return resultobj;
29967 fail:
29968 return NULL;
29969}
29970
29971
29972static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
29973 PyObject *resultobj;
29974 wxMenu *arg1 = (wxMenu *) 0 ;
29975 int arg2 ;
29976 bool arg3 ;
29977 PyObject * obj0 = 0 ;
994141e6 29978 PyObject * obj1 = 0 ;
d14a1e28
RD
29979 PyObject * obj2 = 0 ;
29980 char *kwnames[] = {
242b7b46 29981 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
29982 };
29983
994141e6 29984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29987 arg2 = (int) SWIG_AsInt(obj1);
29988 if (PyErr_Occurred()) SWIG_fail;
29989 arg3 = (bool) SWIG_AsBool(obj2);
29990 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29991 {
29992 PyThreadState* __tstate = wxPyBeginAllowThreads();
29993 (arg1)->Check(arg2,arg3);
29994
29995 wxPyEndAllowThreads(__tstate);
29996 if (PyErr_Occurred()) SWIG_fail;
29997 }
29998 Py_INCREF(Py_None); resultobj = Py_None;
29999 return resultobj;
30000 fail:
30001 return NULL;
30002}
30003
30004
30005static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
30006 PyObject *resultobj;
30007 wxMenu *arg1 = (wxMenu *) 0 ;
30008 int arg2 ;
30009 bool result;
30010 PyObject * obj0 = 0 ;
994141e6 30011 PyObject * obj1 = 0 ;
d14a1e28 30012 char *kwnames[] = {
242b7b46 30013 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30014 };
30015
994141e6 30016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30019 arg2 = (int) SWIG_AsInt(obj1);
30020 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30021 {
30022 PyThreadState* __tstate = wxPyBeginAllowThreads();
30023 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
30024
30025 wxPyEndAllowThreads(__tstate);
30026 if (PyErr_Occurred()) SWIG_fail;
30027 }
4f89f6a3
RD
30028 {
30029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30030 }
d14a1e28
RD
30031 return resultobj;
30032 fail:
30033 return NULL;
30034}
30035
30036
30037static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30038 PyObject *resultobj;
30039 wxMenu *arg1 = (wxMenu *) 0 ;
30040 int arg2 ;
30041 wxString *arg3 = 0 ;
e811c8ce 30042 bool temp3 = False ;
d14a1e28 30043 PyObject * obj0 = 0 ;
994141e6 30044 PyObject * obj1 = 0 ;
d14a1e28
RD
30045 PyObject * obj2 = 0 ;
30046 char *kwnames[] = {
242b7b46 30047 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
30048 };
30049
994141e6 30050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30053 arg2 = (int) SWIG_AsInt(obj1);
30054 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30055 {
30056 arg3 = wxString_in_helper(obj2);
30057 if (arg3 == NULL) SWIG_fail;
e811c8ce 30058 temp3 = True;
d14a1e28
RD
30059 }
30060 {
30061 PyThreadState* __tstate = wxPyBeginAllowThreads();
30062 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
30063
30064 wxPyEndAllowThreads(__tstate);
30065 if (PyErr_Occurred()) SWIG_fail;
30066 }
30067 Py_INCREF(Py_None); resultobj = Py_None;
30068 {
30069 if (temp3)
30070 delete arg3;
30071 }
30072 return resultobj;
30073 fail:
30074 {
30075 if (temp3)
30076 delete arg3;
30077 }
30078 return NULL;
30079}
30080
30081
30082static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30083 PyObject *resultobj;
30084 wxMenu *arg1 = (wxMenu *) 0 ;
30085 int arg2 ;
30086 wxString result;
30087 PyObject * obj0 = 0 ;
994141e6 30088 PyObject * obj1 = 0 ;
d14a1e28 30089 char *kwnames[] = {
242b7b46 30090 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30091 };
30092
994141e6 30093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30096 arg2 = (int) SWIG_AsInt(obj1);
30097 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30098 {
30099 PyThreadState* __tstate = wxPyBeginAllowThreads();
30100 result = ((wxMenu const *)arg1)->GetLabel(arg2);
30101
30102 wxPyEndAllowThreads(__tstate);
30103 if (PyErr_Occurred()) SWIG_fail;
30104 }
30105 {
30106#if wxUSE_UNICODE
30107 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30108#else
30109 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30110#endif
30111 }
30112 return resultobj;
30113 fail:
30114 return NULL;
30115}
30116
30117
30118static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30119 PyObject *resultobj;
30120 wxMenu *arg1 = (wxMenu *) 0 ;
30121 int arg2 ;
30122 wxString *arg3 = 0 ;
e811c8ce 30123 bool temp3 = False ;
d14a1e28 30124 PyObject * obj0 = 0 ;
994141e6 30125 PyObject * obj1 = 0 ;
d14a1e28
RD
30126 PyObject * obj2 = 0 ;
30127 char *kwnames[] = {
242b7b46 30128 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
30129 };
30130
994141e6 30131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30134 arg2 = (int) SWIG_AsInt(obj1);
30135 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30136 {
30137 arg3 = wxString_in_helper(obj2);
30138 if (arg3 == NULL) SWIG_fail;
e811c8ce 30139 temp3 = True;
d14a1e28
RD
30140 }
30141 {
30142 PyThreadState* __tstate = wxPyBeginAllowThreads();
30143 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
30144
30145 wxPyEndAllowThreads(__tstate);
30146 if (PyErr_Occurred()) SWIG_fail;
30147 }
30148 Py_INCREF(Py_None); resultobj = Py_None;
30149 {
30150 if (temp3)
30151 delete arg3;
30152 }
30153 return resultobj;
30154 fail:
30155 {
30156 if (temp3)
30157 delete arg3;
30158 }
30159 return NULL;
30160}
30161
30162
30163static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30164 PyObject *resultobj;
30165 wxMenu *arg1 = (wxMenu *) 0 ;
30166 int arg2 ;
30167 wxString result;
30168 PyObject * obj0 = 0 ;
994141e6 30169 PyObject * obj1 = 0 ;
d14a1e28 30170 char *kwnames[] = {
242b7b46 30171 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30172 };
30173
994141e6 30174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30177 arg2 = (int) SWIG_AsInt(obj1);
30178 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30179 {
30180 PyThreadState* __tstate = wxPyBeginAllowThreads();
30181 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
30182
30183 wxPyEndAllowThreads(__tstate);
30184 if (PyErr_Occurred()) SWIG_fail;
30185 }
30186 {
30187#if wxUSE_UNICODE
30188 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30189#else
30190 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30191#endif
30192 }
30193 return resultobj;
30194 fail:
30195 return NULL;
30196}
30197
30198
30199static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30200 PyObject *resultobj;
30201 wxMenu *arg1 = (wxMenu *) 0 ;
30202 wxString *arg2 = 0 ;
e811c8ce 30203 bool temp2 = False ;
d14a1e28
RD
30204 PyObject * obj0 = 0 ;
30205 PyObject * obj1 = 0 ;
30206 char *kwnames[] = {
30207 (char *) "self",(char *) "title", NULL
30208 };
30209
30210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30213 {
30214 arg2 = wxString_in_helper(obj1);
30215 if (arg2 == NULL) SWIG_fail;
e811c8ce 30216 temp2 = True;
d14a1e28
RD
30217 }
30218 {
30219 PyThreadState* __tstate = wxPyBeginAllowThreads();
30220 (arg1)->SetTitle((wxString const &)*arg2);
30221
30222 wxPyEndAllowThreads(__tstate);
30223 if (PyErr_Occurred()) SWIG_fail;
30224 }
30225 Py_INCREF(Py_None); resultobj = Py_None;
30226 {
30227 if (temp2)
30228 delete arg2;
30229 }
30230 return resultobj;
30231 fail:
30232 {
30233 if (temp2)
30234 delete arg2;
30235 }
30236 return NULL;
30237}
30238
30239
30240static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30241 PyObject *resultobj;
30242 wxMenu *arg1 = (wxMenu *) 0 ;
30243 wxString result;
30244 PyObject * obj0 = 0 ;
30245 char *kwnames[] = {
30246 (char *) "self", NULL
30247 };
30248
30249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
30250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30252 {
30253 PyThreadState* __tstate = wxPyBeginAllowThreads();
30254 result = ((wxMenu const *)arg1)->GetTitle();
30255
30256 wxPyEndAllowThreads(__tstate);
30257 if (PyErr_Occurred()) SWIG_fail;
30258 }
30259 {
30260#if wxUSE_UNICODE
30261 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30262#else
30263 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30264#endif
30265 }
30266 return resultobj;
30267 fail:
30268 return NULL;
30269}
30270
30271
30272static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30273 PyObject *resultobj;
30274 wxMenu *arg1 = (wxMenu *) 0 ;
30275 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
30276 PyObject * obj0 = 0 ;
30277 PyObject * obj1 = 0 ;
30278 char *kwnames[] = {
30279 (char *) "self",(char *) "handler", NULL
30280 };
30281
30282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30287 {
30288 PyThreadState* __tstate = wxPyBeginAllowThreads();
30289 (arg1)->SetEventHandler(arg2);
30290
30291 wxPyEndAllowThreads(__tstate);
30292 if (PyErr_Occurred()) SWIG_fail;
30293 }
30294 Py_INCREF(Py_None); resultobj = Py_None;
30295 return resultobj;
30296 fail:
30297 return NULL;
30298}
30299
30300
30301static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30302 PyObject *resultobj;
30303 wxMenu *arg1 = (wxMenu *) 0 ;
30304 wxEvtHandler *result;
30305 PyObject * obj0 = 0 ;
30306 char *kwnames[] = {
30307 (char *) "self", NULL
30308 };
30309
30310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
30311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30313 {
30314 PyThreadState* __tstate = wxPyBeginAllowThreads();
30315 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
30316
30317 wxPyEndAllowThreads(__tstate);
30318 if (PyErr_Occurred()) SWIG_fail;
30319 }
30320 {
30321 resultobj = wxPyMake_wxObject(result);
30322 }
30323 return resultobj;
30324 fail:
30325 return NULL;
30326}
30327
30328
30329static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30330 PyObject *resultobj;
30331 wxMenu *arg1 = (wxMenu *) 0 ;
30332 wxWindow *arg2 = (wxWindow *) 0 ;
30333 PyObject * obj0 = 0 ;
30334 PyObject * obj1 = 0 ;
30335 char *kwnames[] = {
30336 (char *) "self",(char *) "win", NULL
30337 };
30338
30339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30344 {
30345 PyThreadState* __tstate = wxPyBeginAllowThreads();
30346 (arg1)->SetInvokingWindow(arg2);
30347
30348 wxPyEndAllowThreads(__tstate);
30349 if (PyErr_Occurred()) SWIG_fail;
30350 }
30351 Py_INCREF(Py_None); resultobj = Py_None;
30352 return resultobj;
30353 fail:
30354 return NULL;
30355}
30356
30357
30358static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30359 PyObject *resultobj;
30360 wxMenu *arg1 = (wxMenu *) 0 ;
30361 wxWindow *result;
30362 PyObject * obj0 = 0 ;
30363 char *kwnames[] = {
30364 (char *) "self", NULL
30365 };
30366
30367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
30368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30370 {
30371 PyThreadState* __tstate = wxPyBeginAllowThreads();
30372 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
30373
30374 wxPyEndAllowThreads(__tstate);
30375 if (PyErr_Occurred()) SWIG_fail;
30376 }
30377 {
30378 resultobj = wxPyMake_wxObject(result);
30379 }
30380 return resultobj;
30381 fail:
30382 return NULL;
30383}
30384
30385
30386static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
30387 PyObject *resultobj;
30388 wxMenu *arg1 = (wxMenu *) 0 ;
30389 long result;
30390 PyObject * obj0 = 0 ;
30391 char *kwnames[] = {
30392 (char *) "self", NULL
30393 };
30394
30395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
30396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30398 {
30399 PyThreadState* __tstate = wxPyBeginAllowThreads();
30400 result = (long)((wxMenu const *)arg1)->GetStyle();
30401
30402 wxPyEndAllowThreads(__tstate);
30403 if (PyErr_Occurred()) SWIG_fail;
30404 }
15afbcd0 30405 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
30406 return resultobj;
30407 fail:
30408 return NULL;
30409}
30410
30411
30412static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
30413 PyObject *resultobj;
30414 wxMenu *arg1 = (wxMenu *) 0 ;
30415 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
30416 PyObject * obj0 = 0 ;
30417 PyObject * obj1 = 0 ;
30418 char *kwnames[] = {
30419 (char *) "self",(char *) "source", NULL
30420 };
30421
30422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30425 if (obj1) {
15afbcd0
RD
30426 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30428 }
30429 {
30430 PyThreadState* __tstate = wxPyBeginAllowThreads();
30431 (arg1)->UpdateUI(arg2);
30432
30433 wxPyEndAllowThreads(__tstate);
30434 if (PyErr_Occurred()) SWIG_fail;
30435 }
30436 Py_INCREF(Py_None); resultobj = Py_None;
30437 return resultobj;
30438 fail:
30439 return NULL;
30440}
30441
30442
30443static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30444 PyObject *resultobj;
30445 wxMenu *arg1 = (wxMenu *) 0 ;
30446 wxMenuBar *result;
30447 PyObject * obj0 = 0 ;
30448 char *kwnames[] = {
30449 (char *) "self", NULL
30450 };
30451
30452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
30453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30455 {
30456 PyThreadState* __tstate = wxPyBeginAllowThreads();
30457 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
30458
30459 wxPyEndAllowThreads(__tstate);
30460 if (PyErr_Occurred()) SWIG_fail;
30461 }
30462 {
30463 resultobj = wxPyMake_wxObject(result);
30464 }
30465 return resultobj;
30466 fail:
30467 return NULL;
30468}
30469
30470
30471static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
30472 PyObject *resultobj;
30473 wxMenu *arg1 = (wxMenu *) 0 ;
30474 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
30475 PyObject * obj0 = 0 ;
30476 PyObject * obj1 = 0 ;
30477 char *kwnames[] = {
30478 (char *) "self",(char *) "menubar", NULL
30479 };
30480
30481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
30485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30486 {
30487 PyThreadState* __tstate = wxPyBeginAllowThreads();
30488 (arg1)->Attach(arg2);
30489
30490 wxPyEndAllowThreads(__tstate);
30491 if (PyErr_Occurred()) SWIG_fail;
30492 }
30493 Py_INCREF(Py_None); resultobj = Py_None;
30494 return resultobj;
30495 fail:
30496 return NULL;
30497}
30498
30499
30500static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
30501 PyObject *resultobj;
30502 wxMenu *arg1 = (wxMenu *) 0 ;
30503 PyObject * obj0 = 0 ;
30504 char *kwnames[] = {
30505 (char *) "self", NULL
30506 };
30507
30508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
30509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30511 {
30512 PyThreadState* __tstate = wxPyBeginAllowThreads();
30513 (arg1)->Detach();
30514
30515 wxPyEndAllowThreads(__tstate);
30516 if (PyErr_Occurred()) SWIG_fail;
30517 }
30518 Py_INCREF(Py_None); resultobj = Py_None;
30519 return resultobj;
30520 fail:
30521 return NULL;
30522}
30523
30524
30525static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
30526 PyObject *resultobj;
30527 wxMenu *arg1 = (wxMenu *) 0 ;
30528 bool result;
30529 PyObject * obj0 = 0 ;
30530 char *kwnames[] = {
30531 (char *) "self", NULL
30532 };
30533
30534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
30535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30537 {
30538 PyThreadState* __tstate = wxPyBeginAllowThreads();
30539 result = (bool)((wxMenu const *)arg1)->IsAttached();
30540
30541 wxPyEndAllowThreads(__tstate);
30542 if (PyErr_Occurred()) SWIG_fail;
30543 }
4f89f6a3
RD
30544 {
30545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30546 }
d14a1e28
RD
30547 return resultobj;
30548 fail:
30549 return NULL;
30550}
30551
30552
30553static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30554 PyObject *resultobj;
30555 wxMenu *arg1 = (wxMenu *) 0 ;
30556 wxMenu *arg2 = (wxMenu *) 0 ;
30557 PyObject * obj0 = 0 ;
30558 PyObject * obj1 = 0 ;
30559 char *kwnames[] = {
30560 (char *) "self",(char *) "parent", NULL
30561 };
30562
30563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30566 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30568 {
30569 PyThreadState* __tstate = wxPyBeginAllowThreads();
30570 (arg1)->SetParent(arg2);
30571
30572 wxPyEndAllowThreads(__tstate);
30573 if (PyErr_Occurred()) SWIG_fail;
30574 }
30575 Py_INCREF(Py_None); resultobj = Py_None;
30576 return resultobj;
30577 fail:
30578 return NULL;
30579}
30580
30581
30582static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30583 PyObject *resultobj;
30584 wxMenu *arg1 = (wxMenu *) 0 ;
30585 wxMenu *result;
30586 PyObject * obj0 = 0 ;
30587 char *kwnames[] = {
30588 (char *) "self", NULL
30589 };
30590
30591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
30592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30594 {
30595 PyThreadState* __tstate = wxPyBeginAllowThreads();
30596 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
30597
30598 wxPyEndAllowThreads(__tstate);
30599 if (PyErr_Occurred()) SWIG_fail;
30600 }
30601 {
30602 resultobj = wxPyMake_wxObject(result);
30603 }
30604 return resultobj;
30605 fail:
30606 return NULL;
30607}
30608
30609
30610static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
30611 PyObject *obj;
30612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30613 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
30614 Py_INCREF(obj);
30615 return Py_BuildValue((char *)"");
30616}
30617static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30618 PyObject *resultobj;
30619 long arg1 = (long) 0 ;
30620 wxMenuBar *result;
994141e6 30621 PyObject * obj0 = 0 ;
d14a1e28
RD
30622 char *kwnames[] = {
30623 (char *) "style", NULL
30624 };
30625
994141e6
RD
30626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
30627 if (obj0) {
15afbcd0
RD
30628 arg1 = (long) SWIG_AsLong(obj0);
30629 if (PyErr_Occurred()) SWIG_fail;
994141e6 30630 }
d14a1e28
RD
30631 {
30632 PyThreadState* __tstate = wxPyBeginAllowThreads();
30633 result = (wxMenuBar *)new wxMenuBar(arg1);
30634
30635 wxPyEndAllowThreads(__tstate);
30636 if (PyErr_Occurred()) SWIG_fail;
30637 }
30638 {
30639 resultobj = wxPyMake_wxObject(result);
30640 }
30641 return resultobj;
30642 fail:
30643 return NULL;
30644}
30645
30646
30647static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
30648 PyObject *resultobj;
30649 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30650 wxMenu *arg2 = (wxMenu *) 0 ;
30651 wxString *arg3 = 0 ;
30652 bool result;
e811c8ce 30653 bool temp3 = False ;
d14a1e28
RD
30654 PyObject * obj0 = 0 ;
30655 PyObject * obj1 = 0 ;
30656 PyObject * obj2 = 0 ;
30657 char *kwnames[] = {
30658 (char *) "self",(char *) "menu",(char *) "title", NULL
30659 };
30660
30661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30666 {
30667 arg3 = wxString_in_helper(obj2);
30668 if (arg3 == NULL) SWIG_fail;
e811c8ce 30669 temp3 = True;
d14a1e28
RD
30670 }
30671 {
30672 PyThreadState* __tstate = wxPyBeginAllowThreads();
30673 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
30674
30675 wxPyEndAllowThreads(__tstate);
30676 if (PyErr_Occurred()) SWIG_fail;
30677 }
4f89f6a3
RD
30678 {
30679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30680 }
d14a1e28
RD
30681 {
30682 if (temp3)
30683 delete arg3;
30684 }
30685 return resultobj;
30686 fail:
30687 {
30688 if (temp3)
30689 delete arg3;
30690 }
30691 return NULL;
30692}
30693
30694
30695static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
30696 PyObject *resultobj;
30697 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30698 size_t arg2 ;
30699 wxMenu *arg3 = (wxMenu *) 0 ;
30700 wxString *arg4 = 0 ;
30701 bool result;
e811c8ce 30702 bool temp4 = False ;
d14a1e28
RD
30703 PyObject * obj0 = 0 ;
30704 PyObject * obj1 = 0 ;
30705 PyObject * obj2 = 0 ;
30706 PyObject * obj3 = 0 ;
30707 char *kwnames[] = {
30708 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30709 };
30710
30711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
30712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30714 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30715 if (PyErr_Occurred()) SWIG_fail;
30716 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
30717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30718 {
30719 arg4 = wxString_in_helper(obj3);
30720 if (arg4 == NULL) SWIG_fail;
e811c8ce 30721 temp4 = True;
d14a1e28
RD
30722 }
30723 {
30724 PyThreadState* __tstate = wxPyBeginAllowThreads();
30725 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
30726
30727 wxPyEndAllowThreads(__tstate);
30728 if (PyErr_Occurred()) SWIG_fail;
30729 }
4f89f6a3
RD
30730 {
30731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30732 }
d14a1e28
RD
30733 {
30734 if (temp4)
30735 delete arg4;
30736 }
30737 return resultobj;
30738 fail:
30739 {
30740 if (temp4)
30741 delete arg4;
30742 }
30743 return NULL;
30744}
30745
30746
30747static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
30748 PyObject *resultobj;
30749 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30750 size_t result;
30751 PyObject * obj0 = 0 ;
30752 char *kwnames[] = {
30753 (char *) "self", NULL
30754 };
30755
30756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
30757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30759 {
30760 PyThreadState* __tstate = wxPyBeginAllowThreads();
30761 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
30762
30763 wxPyEndAllowThreads(__tstate);
30764 if (PyErr_Occurred()) SWIG_fail;
30765 }
15afbcd0 30766 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
30767 return resultobj;
30768 fail:
30769 return NULL;
30770}
30771
30772
30773static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30774 PyObject *resultobj;
30775 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30776 size_t arg2 ;
30777 wxMenu *result;
30778 PyObject * obj0 = 0 ;
30779 PyObject * obj1 = 0 ;
30780 char *kwnames[] = {
30781 (char *) "self",(char *) "pos", NULL
30782 };
30783
30784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30787 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30788 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30789 {
30790 PyThreadState* __tstate = wxPyBeginAllowThreads();
30791 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
30792
30793 wxPyEndAllowThreads(__tstate);
30794 if (PyErr_Occurred()) SWIG_fail;
30795 }
30796 {
30797 resultobj = wxPyMake_wxObject(result);
30798 }
30799 return resultobj;
30800 fail:
30801 return NULL;
30802}
30803
30804
30805static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
30806 PyObject *resultobj;
30807 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30808 size_t arg2 ;
30809 wxMenu *arg3 = (wxMenu *) 0 ;
30810 wxString *arg4 = 0 ;
30811 wxMenu *result;
e811c8ce 30812 bool temp4 = False ;
d14a1e28
RD
30813 PyObject * obj0 = 0 ;
30814 PyObject * obj1 = 0 ;
30815 PyObject * obj2 = 0 ;
30816 PyObject * obj3 = 0 ;
30817 char *kwnames[] = {
30818 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30819 };
30820
30821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
30822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30824 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30825 if (PyErr_Occurred()) SWIG_fail;
30826 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
30827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30828 {
30829 arg4 = wxString_in_helper(obj3);
30830 if (arg4 == NULL) SWIG_fail;
e811c8ce 30831 temp4 = True;
d14a1e28
RD
30832 }
30833 {
30834 PyThreadState* __tstate = wxPyBeginAllowThreads();
30835 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
30836
30837 wxPyEndAllowThreads(__tstate);
30838 if (PyErr_Occurred()) SWIG_fail;
30839 }
30840 {
30841 resultobj = wxPyMake_wxObject(result);
30842 }
30843 {
30844 if (temp4)
30845 delete arg4;
30846 }
30847 return resultobj;
30848 fail:
30849 {
30850 if (temp4)
30851 delete arg4;
30852 }
30853 return NULL;
30854}
30855
30856
30857static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
30858 PyObject *resultobj;
30859 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30860 size_t arg2 ;
30861 wxMenu *result;
30862 PyObject * obj0 = 0 ;
30863 PyObject * obj1 = 0 ;
30864 char *kwnames[] = {
30865 (char *) "self",(char *) "pos", NULL
30866 };
30867
30868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30871 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30872 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30873 {
30874 PyThreadState* __tstate = wxPyBeginAllowThreads();
30875 result = (wxMenu *)(arg1)->Remove(arg2);
30876
30877 wxPyEndAllowThreads(__tstate);
30878 if (PyErr_Occurred()) SWIG_fail;
30879 }
30880 {
30881 resultobj = wxPyMake_wxObject(result);
30882 }
30883 return resultobj;
30884 fail:
30885 return NULL;
30886}
30887
30888
30889static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
30890 PyObject *resultobj;
30891 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30892 size_t arg2 ;
30893 bool arg3 ;
30894 PyObject * obj0 = 0 ;
30895 PyObject * obj1 = 0 ;
30896 PyObject * obj2 = 0 ;
30897 char *kwnames[] = {
30898 (char *) "self",(char *) "pos",(char *) "enable", NULL
30899 };
30900
30901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30904 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30905 if (PyErr_Occurred()) SWIG_fail;
30906 arg3 = (bool) SWIG_AsBool(obj2);
30907 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30908 {
30909 PyThreadState* __tstate = wxPyBeginAllowThreads();
30910 (arg1)->EnableTop(arg2,arg3);
30911
30912 wxPyEndAllowThreads(__tstate);
30913 if (PyErr_Occurred()) SWIG_fail;
30914 }
30915 Py_INCREF(Py_None); resultobj = Py_None;
30916 return resultobj;
30917 fail:
30918 return NULL;
30919}
30920
30921
30922static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
30923 PyObject *resultobj;
30924 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30925 size_t arg2 ;
30926 bool result;
30927 PyObject * obj0 = 0 ;
30928 PyObject * obj1 = 0 ;
30929 char *kwnames[] = {
30930 (char *) "self",(char *) "pos", NULL
30931 };
30932
30933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30936 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30937 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30938 {
30939 PyThreadState* __tstate = wxPyBeginAllowThreads();
30940 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
30941
30942 wxPyEndAllowThreads(__tstate);
30943 if (PyErr_Occurred()) SWIG_fail;
30944 }
4f89f6a3
RD
30945 {
30946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30947 }
d14a1e28
RD
30948 return resultobj;
30949 fail:
30950 return NULL;
30951}
30952
30953
30954static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
30955 PyObject *resultobj;
30956 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30957 size_t arg2 ;
30958 wxString *arg3 = 0 ;
e811c8ce 30959 bool temp3 = False ;
d14a1e28
RD
30960 PyObject * obj0 = 0 ;
30961 PyObject * obj1 = 0 ;
30962 PyObject * obj2 = 0 ;
30963 char *kwnames[] = {
30964 (char *) "self",(char *) "pos",(char *) "label", NULL
30965 };
30966
30967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30970 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30971 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30972 {
30973 arg3 = wxString_in_helper(obj2);
30974 if (arg3 == NULL) SWIG_fail;
e811c8ce 30975 temp3 = True;
d14a1e28
RD
30976 }
30977 {
30978 PyThreadState* __tstate = wxPyBeginAllowThreads();
30979 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
30980
30981 wxPyEndAllowThreads(__tstate);
30982 if (PyErr_Occurred()) SWIG_fail;
30983 }
30984 Py_INCREF(Py_None); resultobj = Py_None;
30985 {
30986 if (temp3)
30987 delete arg3;
30988 }
30989 return resultobj;
30990 fail:
30991 {
30992 if (temp3)
30993 delete arg3;
30994 }
30995 return NULL;
30996}
30997
30998
30999static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31000 PyObject *resultobj;
31001 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31002 size_t arg2 ;
31003 wxString result;
31004 PyObject * obj0 = 0 ;
31005 PyObject * obj1 = 0 ;
31006 char *kwnames[] = {
31007 (char *) "self",(char *) "pos", NULL
31008 };
31009
31010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31013 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31014 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31015 {
31016 PyThreadState* __tstate = wxPyBeginAllowThreads();
31017 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
31018
31019 wxPyEndAllowThreads(__tstate);
31020 if (PyErr_Occurred()) SWIG_fail;
31021 }
31022 {
31023#if wxUSE_UNICODE
31024 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31025#else
31026 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31027#endif
31028 }
31029 return resultobj;
31030 fail:
31031 return NULL;
31032}
31033
31034
31035static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31036 PyObject *resultobj;
31037 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31038 wxString *arg2 = 0 ;
31039 wxString *arg3 = 0 ;
31040 int result;
e811c8ce
RD
31041 bool temp2 = False ;
31042 bool temp3 = False ;
d14a1e28
RD
31043 PyObject * obj0 = 0 ;
31044 PyObject * obj1 = 0 ;
31045 PyObject * obj2 = 0 ;
31046 char *kwnames[] = {
31047 (char *) "self",(char *) "menu",(char *) "item", NULL
31048 };
31049
31050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31053 {
31054 arg2 = wxString_in_helper(obj1);
31055 if (arg2 == NULL) SWIG_fail;
e811c8ce 31056 temp2 = True;
d14a1e28
RD
31057 }
31058 {
31059 arg3 = wxString_in_helper(obj2);
31060 if (arg3 == NULL) SWIG_fail;
e811c8ce 31061 temp3 = True;
d14a1e28
RD
31062 }
31063 {
31064 PyThreadState* __tstate = wxPyBeginAllowThreads();
31065 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
31066
31067 wxPyEndAllowThreads(__tstate);
31068 if (PyErr_Occurred()) SWIG_fail;
31069 }
15afbcd0 31070 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31071 {
31072 if (temp2)
31073 delete arg2;
31074 }
31075 {
31076 if (temp3)
31077 delete arg3;
31078 }
31079 return resultobj;
31080 fail:
31081 {
31082 if (temp2)
31083 delete arg2;
31084 }
31085 {
31086 if (temp3)
31087 delete arg3;
31088 }
31089 return NULL;
31090}
31091
31092
31093static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
31094 PyObject *resultobj;
31095 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31096 int arg2 ;
31097 wxMenuItem *result;
31098 PyObject * obj0 = 0 ;
994141e6 31099 PyObject * obj1 = 0 ;
d14a1e28 31100 char *kwnames[] = {
242b7b46 31101 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31102 };
31103
994141e6 31104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31107 arg2 = (int) SWIG_AsInt(obj1);
31108 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31109 {
31110 PyThreadState* __tstate = wxPyBeginAllowThreads();
31111 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
31112
31113 wxPyEndAllowThreads(__tstate);
31114 if (PyErr_Occurred()) SWIG_fail;
31115 }
31116 {
31117 resultobj = wxPyMake_wxObject(result);
31118 }
31119 return resultobj;
31120 fail:
31121 return NULL;
31122}
31123
31124
31125static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31126 PyObject *resultobj;
31127 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31128 wxString *arg2 = 0 ;
31129 int result;
e811c8ce 31130 bool temp2 = False ;
d14a1e28
RD
31131 PyObject * obj0 = 0 ;
31132 PyObject * obj1 = 0 ;
31133 char *kwnames[] = {
31134 (char *) "self",(char *) "title", NULL
31135 };
31136
31137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31140 {
31141 arg2 = wxString_in_helper(obj1);
31142 if (arg2 == NULL) SWIG_fail;
e811c8ce 31143 temp2 = True;
d14a1e28
RD
31144 }
31145 {
31146 PyThreadState* __tstate = wxPyBeginAllowThreads();
31147 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
31148
31149 wxPyEndAllowThreads(__tstate);
31150 if (PyErr_Occurred()) SWIG_fail;
31151 }
15afbcd0 31152 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31153 {
31154 if (temp2)
31155 delete arg2;
31156 }
31157 return resultobj;
31158 fail:
31159 {
31160 if (temp2)
31161 delete arg2;
31162 }
31163 return NULL;
31164}
31165
31166
31167static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
31168 PyObject *resultobj;
31169 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31170 int arg2 ;
31171 bool arg3 ;
31172 PyObject * obj0 = 0 ;
994141e6 31173 PyObject * obj1 = 0 ;
d14a1e28
RD
31174 PyObject * obj2 = 0 ;
31175 char *kwnames[] = {
242b7b46 31176 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
31177 };
31178
994141e6 31179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31182 arg2 = (int) SWIG_AsInt(obj1);
31183 if (PyErr_Occurred()) SWIG_fail;
31184 arg3 = (bool) SWIG_AsBool(obj2);
31185 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31186 {
31187 PyThreadState* __tstate = wxPyBeginAllowThreads();
31188 (arg1)->Enable(arg2,arg3);
31189
31190 wxPyEndAllowThreads(__tstate);
31191 if (PyErr_Occurred()) SWIG_fail;
31192 }
31193 Py_INCREF(Py_None); resultobj = Py_None;
31194 return resultobj;
31195 fail:
31196 return NULL;
31197}
31198
31199
31200static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
31201 PyObject *resultobj;
31202 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31203 int arg2 ;
31204 bool arg3 ;
31205 PyObject * obj0 = 0 ;
994141e6 31206 PyObject * obj1 = 0 ;
d14a1e28
RD
31207 PyObject * obj2 = 0 ;
31208 char *kwnames[] = {
242b7b46 31209 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
31210 };
31211
994141e6 31212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31215 arg2 = (int) SWIG_AsInt(obj1);
31216 if (PyErr_Occurred()) SWIG_fail;
31217 arg3 = (bool) SWIG_AsBool(obj2);
31218 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31219 {
31220 PyThreadState* __tstate = wxPyBeginAllowThreads();
31221 (arg1)->Check(arg2,arg3);
31222
31223 wxPyEndAllowThreads(__tstate);
31224 if (PyErr_Occurred()) SWIG_fail;
31225 }
31226 Py_INCREF(Py_None); resultobj = Py_None;
31227 return resultobj;
31228 fail:
31229 return NULL;
31230}
31231
31232
31233static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
31234 PyObject *resultobj;
31235 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31236 int arg2 ;
31237 bool result;
31238 PyObject * obj0 = 0 ;
994141e6 31239 PyObject * obj1 = 0 ;
d14a1e28 31240 char *kwnames[] = {
242b7b46 31241 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31242 };
31243
994141e6 31244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31247 arg2 = (int) SWIG_AsInt(obj1);
31248 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31249 {
31250 PyThreadState* __tstate = wxPyBeginAllowThreads();
31251 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
31252
31253 wxPyEndAllowThreads(__tstate);
31254 if (PyErr_Occurred()) SWIG_fail;
31255 }
4f89f6a3
RD
31256 {
31257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31258 }
d14a1e28
RD
31259 return resultobj;
31260 fail:
31261 return NULL;
31262}
31263
31264
31265static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
31266 PyObject *resultobj;
31267 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31268 int arg2 ;
31269 bool result;
31270 PyObject * obj0 = 0 ;
994141e6 31271 PyObject * obj1 = 0 ;
d14a1e28 31272 char *kwnames[] = {
242b7b46 31273 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31274 };
31275
994141e6 31276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31279 arg2 = (int) SWIG_AsInt(obj1);
31280 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31281 {
31282 PyThreadState* __tstate = wxPyBeginAllowThreads();
31283 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
31284
31285 wxPyEndAllowThreads(__tstate);
31286 if (PyErr_Occurred()) SWIG_fail;
31287 }
4f89f6a3
RD
31288 {
31289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31290 }
d14a1e28
RD
31291 return resultobj;
31292 fail:
31293 return NULL;
31294}
31295
31296
31297static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31298 PyObject *resultobj;
31299 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31300 int arg2 ;
31301 wxString *arg3 = 0 ;
e811c8ce 31302 bool temp3 = False ;
d14a1e28 31303 PyObject * obj0 = 0 ;
994141e6 31304 PyObject * obj1 = 0 ;
d14a1e28
RD
31305 PyObject * obj2 = 0 ;
31306 char *kwnames[] = {
242b7b46 31307 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
31308 };
31309
994141e6 31310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31313 arg2 = (int) SWIG_AsInt(obj1);
31314 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31315 {
31316 arg3 = wxString_in_helper(obj2);
31317 if (arg3 == NULL) SWIG_fail;
e811c8ce 31318 temp3 = True;
d14a1e28
RD
31319 }
31320 {
31321 PyThreadState* __tstate = wxPyBeginAllowThreads();
31322 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
31323
31324 wxPyEndAllowThreads(__tstate);
31325 if (PyErr_Occurred()) SWIG_fail;
31326 }
31327 Py_INCREF(Py_None); resultobj = Py_None;
31328 {
31329 if (temp3)
31330 delete arg3;
31331 }
31332 return resultobj;
31333 fail:
31334 {
31335 if (temp3)
31336 delete arg3;
31337 }
31338 return NULL;
31339}
31340
31341
31342static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31343 PyObject *resultobj;
31344 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31345 int arg2 ;
31346 wxString result;
31347 PyObject * obj0 = 0 ;
994141e6 31348 PyObject * obj1 = 0 ;
d14a1e28 31349 char *kwnames[] = {
242b7b46 31350 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31351 };
31352
994141e6 31353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31356 arg2 = (int) SWIG_AsInt(obj1);
31357 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31358 {
31359 PyThreadState* __tstate = wxPyBeginAllowThreads();
31360 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
31361
31362 wxPyEndAllowThreads(__tstate);
31363 if (PyErr_Occurred()) SWIG_fail;
31364 }
31365 {
31366#if wxUSE_UNICODE
31367 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31368#else
31369 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31370#endif
31371 }
31372 return resultobj;
31373 fail:
31374 return NULL;
31375}
31376
31377
31378static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31379 PyObject *resultobj;
31380 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31381 int arg2 ;
31382 wxString *arg3 = 0 ;
e811c8ce 31383 bool temp3 = False ;
d14a1e28 31384 PyObject * obj0 = 0 ;
994141e6 31385 PyObject * obj1 = 0 ;
d14a1e28
RD
31386 PyObject * obj2 = 0 ;
31387 char *kwnames[] = {
242b7b46 31388 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
31389 };
31390
994141e6 31391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31394 arg2 = (int) SWIG_AsInt(obj1);
31395 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31396 {
31397 arg3 = wxString_in_helper(obj2);
31398 if (arg3 == NULL) SWIG_fail;
e811c8ce 31399 temp3 = True;
d14a1e28
RD
31400 }
31401 {
31402 PyThreadState* __tstate = wxPyBeginAllowThreads();
31403 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
31404
31405 wxPyEndAllowThreads(__tstate);
31406 if (PyErr_Occurred()) SWIG_fail;
31407 }
31408 Py_INCREF(Py_None); resultobj = Py_None;
31409 {
31410 if (temp3)
31411 delete arg3;
31412 }
31413 return resultobj;
31414 fail:
31415 {
31416 if (temp3)
31417 delete arg3;
31418 }
31419 return NULL;
31420}
31421
31422
31423static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31424 PyObject *resultobj;
31425 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31426 int arg2 ;
31427 wxString result;
31428 PyObject * obj0 = 0 ;
994141e6 31429 PyObject * obj1 = 0 ;
d14a1e28 31430 char *kwnames[] = {
242b7b46 31431 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31432 };
31433
994141e6 31434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31437 arg2 = (int) SWIG_AsInt(obj1);
31438 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31439 {
31440 PyThreadState* __tstate = wxPyBeginAllowThreads();
31441 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
31442
31443 wxPyEndAllowThreads(__tstate);
31444 if (PyErr_Occurred()) SWIG_fail;
31445 }
31446 {
31447#if wxUSE_UNICODE
31448 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31449#else
31450 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31451#endif
31452 }
31453 return resultobj;
31454 fail:
31455 return NULL;
31456}
31457
31458
31459static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
31460 PyObject *resultobj;
31461 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31462 wxFrame *result;
31463 PyObject * obj0 = 0 ;
31464 char *kwnames[] = {
31465 (char *) "self", NULL
31466 };
31467
31468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
15afbcd0
RD
31469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31471 {
31472 PyThreadState* __tstate = wxPyBeginAllowThreads();
31473 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
31474
31475 wxPyEndAllowThreads(__tstate);
31476 if (PyErr_Occurred()) SWIG_fail;
31477 }
31478 {
31479 resultobj = wxPyMake_wxObject(result);
31480 }
31481 return resultobj;
31482 fail:
31483 return NULL;
31484}
31485
31486
31487static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
31488 PyObject *resultobj;
31489 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31490 bool result;
31491 PyObject * obj0 = 0 ;
31492 char *kwnames[] = {
31493 (char *) "self", NULL
31494 };
31495
31496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
31497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31499 {
31500 PyThreadState* __tstate = wxPyBeginAllowThreads();
31501 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
31502
31503 wxPyEndAllowThreads(__tstate);
31504 if (PyErr_Occurred()) SWIG_fail;
31505 }
4f89f6a3
RD
31506 {
31507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31508 }
d14a1e28
RD
31509 return resultobj;
31510 fail:
31511 return NULL;
31512}
31513
31514
31515static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
31516 PyObject *resultobj;
31517 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31518 wxFrame *arg2 = (wxFrame *) 0 ;
31519 PyObject * obj0 = 0 ;
31520 PyObject * obj1 = 0 ;
31521 char *kwnames[] = {
31522 (char *) "self",(char *) "frame", NULL
31523 };
31524
31525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
31529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31530 {
31531 PyThreadState* __tstate = wxPyBeginAllowThreads();
31532 (arg1)->Attach(arg2);
31533
31534 wxPyEndAllowThreads(__tstate);
31535 if (PyErr_Occurred()) SWIG_fail;
31536 }
31537 Py_INCREF(Py_None); resultobj = Py_None;
31538 return resultobj;
31539 fail:
31540 return NULL;
31541}
31542
31543
31544static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
31545 PyObject *resultobj;
31546 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31547 PyObject * obj0 = 0 ;
31548 char *kwnames[] = {
31549 (char *) "self", NULL
31550 };
31551
31552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
31553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31555 {
31556 PyThreadState* __tstate = wxPyBeginAllowThreads();
31557 (arg1)->Detach();
31558
31559 wxPyEndAllowThreads(__tstate);
31560 if (PyErr_Occurred()) SWIG_fail;
31561 }
31562 Py_INCREF(Py_None); resultobj = Py_None;
31563 return resultobj;
31564 fail:
31565 return NULL;
31566}
31567
31568
31569static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
31570 PyObject *obj;
31571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31572 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
31573 Py_INCREF(obj);
31574 return Py_BuildValue((char *)"");
31575}
31576static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31577 PyObject *resultobj;
31578 wxMenu *arg1 = (wxMenu *) NULL ;
a95a7133 31579 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
31580 wxString const &arg3_defvalue = wxPyEmptyString ;
31581 wxString *arg3 = (wxString *) &arg3_defvalue ;
31582 wxString const &arg4_defvalue = wxPyEmptyString ;
31583 wxString *arg4 = (wxString *) &arg4_defvalue ;
31584 int arg5 = (int) wxITEM_NORMAL ;
31585 wxMenu *arg6 = (wxMenu *) NULL ;
31586 wxMenuItem *result;
e811c8ce
RD
31587 bool temp3 = False ;
31588 bool temp4 = False ;
d14a1e28 31589 PyObject * obj0 = 0 ;
994141e6 31590 PyObject * obj1 = 0 ;
d14a1e28
RD
31591 PyObject * obj2 = 0 ;
31592 PyObject * obj3 = 0 ;
994141e6 31593 PyObject * obj4 = 0 ;
d14a1e28
RD
31594 PyObject * obj5 = 0 ;
31595 char *kwnames[] = {
31596 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31597 };
31598
994141e6 31599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 31600 if (obj0) {
15afbcd0
RD
31601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 31603 }
994141e6 31604 if (obj1) {
15afbcd0
RD
31605 arg2 = (int) SWIG_AsInt(obj1);
31606 if (PyErr_Occurred()) SWIG_fail;
994141e6 31607 }
d14a1e28
RD
31608 if (obj2) {
31609 {
31610 arg3 = wxString_in_helper(obj2);
31611 if (arg3 == NULL) SWIG_fail;
e811c8ce 31612 temp3 = True;
d14a1e28
RD
31613 }
31614 }
31615 if (obj3) {
31616 {
31617 arg4 = wxString_in_helper(obj3);
31618 if (arg4 == NULL) SWIG_fail;
e811c8ce 31619 temp4 = True;
d14a1e28
RD
31620 }
31621 }
994141e6 31622 if (obj4) {
15afbcd0
RD
31623 arg5 = (wxItemKind) SWIG_AsInt(obj4);
31624 if (PyErr_Occurred()) SWIG_fail;
994141e6 31625 }
d14a1e28 31626 if (obj5) {
15afbcd0
RD
31627 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
31628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31629 }
31630 {
31631 PyThreadState* __tstate = wxPyBeginAllowThreads();
31632 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
31633
31634 wxPyEndAllowThreads(__tstate);
31635 if (PyErr_Occurred()) SWIG_fail;
31636 }
31637 {
31638 resultobj = wxPyMake_wxObject(result);
31639 }
31640 {
31641 if (temp3)
31642 delete arg3;
31643 }
31644 {
31645 if (temp4)
31646 delete arg4;
31647 }
31648 return resultobj;
31649 fail:
31650 {
31651 if (temp3)
31652 delete arg3;
31653 }
31654 {
31655 if (temp4)
31656 delete arg4;
31657 }
31658 return NULL;
31659}
31660
31661
31662static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31663 PyObject *resultobj;
31664 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31665 wxMenu *result;
31666 PyObject * obj0 = 0 ;
31667 char *kwnames[] = {
31668 (char *) "self", NULL
31669 };
31670
31671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
31672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31674 {
31675 PyThreadState* __tstate = wxPyBeginAllowThreads();
31676 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
31677
31678 wxPyEndAllowThreads(__tstate);
31679 if (PyErr_Occurred()) SWIG_fail;
31680 }
31681 {
31682 resultobj = wxPyMake_wxObject(result);
31683 }
31684 return resultobj;
31685 fail:
31686 return NULL;
31687}
31688
31689
31690static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31691 PyObject *resultobj;
31692 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31693 wxMenu *arg2 = (wxMenu *) 0 ;
31694 PyObject * obj0 = 0 ;
31695 PyObject * obj1 = 0 ;
31696 char *kwnames[] = {
31697 (char *) "self",(char *) "menu", NULL
31698 };
31699
31700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31705 {
31706 PyThreadState* __tstate = wxPyBeginAllowThreads();
31707 (arg1)->SetMenu(arg2);
31708
31709 wxPyEndAllowThreads(__tstate);
31710 if (PyErr_Occurred()) SWIG_fail;
31711 }
31712 Py_INCREF(Py_None); resultobj = Py_None;
31713 return resultobj;
31714 fail:
31715 return NULL;
31716}
31717
31718
31719static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
31720 PyObject *resultobj;
31721 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31722 int arg2 ;
31723 PyObject * obj0 = 0 ;
994141e6 31724 PyObject * obj1 = 0 ;
d14a1e28 31725 char *kwnames[] = {
242b7b46 31726 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31727 };
31728
994141e6 31729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31732 arg2 = (int) SWIG_AsInt(obj1);
31733 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31734 {
31735 PyThreadState* __tstate = wxPyBeginAllowThreads();
31736 (arg1)->SetId(arg2);
31737
31738 wxPyEndAllowThreads(__tstate);
31739 if (PyErr_Occurred()) SWIG_fail;
31740 }
31741 Py_INCREF(Py_None); resultobj = Py_None;
31742 return resultobj;
31743 fail:
31744 return NULL;
31745}
31746
31747
31748static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
31749 PyObject *resultobj;
31750 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31751 int result;
31752 PyObject * obj0 = 0 ;
31753 char *kwnames[] = {
31754 (char *) "self", NULL
31755 };
31756
31757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
31758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31760 {
31761 PyThreadState* __tstate = wxPyBeginAllowThreads();
31762 result = (int)((wxMenuItem const *)arg1)->GetId();
31763
31764 wxPyEndAllowThreads(__tstate);
31765 if (PyErr_Occurred()) SWIG_fail;
31766 }
15afbcd0 31767 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31768 return resultobj;
31769 fail:
31770 return NULL;
31771}
31772
31773
31774static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
31775 PyObject *resultobj;
31776 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31777 bool result;
31778 PyObject * obj0 = 0 ;
31779 char *kwnames[] = {
31780 (char *) "self", NULL
31781 };
31782
31783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
31784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31786 {
31787 PyThreadState* __tstate = wxPyBeginAllowThreads();
31788 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
31789
31790 wxPyEndAllowThreads(__tstate);
31791 if (PyErr_Occurred()) SWIG_fail;
31792 }
4f89f6a3
RD
31793 {
31794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31795 }
d14a1e28
RD
31796 return resultobj;
31797 fail:
31798 return NULL;
31799}
31800
31801
31802static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
31803 PyObject *resultobj;
31804 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31805 wxString *arg2 = 0 ;
e811c8ce 31806 bool temp2 = False ;
d14a1e28
RD
31807 PyObject * obj0 = 0 ;
31808 PyObject * obj1 = 0 ;
31809 char *kwnames[] = {
31810 (char *) "self",(char *) "str", NULL
31811 };
31812
31813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31816 {
31817 arg2 = wxString_in_helper(obj1);
31818 if (arg2 == NULL) SWIG_fail;
e811c8ce 31819 temp2 = True;
d14a1e28
RD
31820 }
31821 {
31822 PyThreadState* __tstate = wxPyBeginAllowThreads();
31823 (arg1)->SetText((wxString const &)*arg2);
31824
31825 wxPyEndAllowThreads(__tstate);
31826 if (PyErr_Occurred()) SWIG_fail;
31827 }
31828 Py_INCREF(Py_None); resultobj = Py_None;
31829 {
31830 if (temp2)
31831 delete arg2;
31832 }
31833 return resultobj;
31834 fail:
31835 {
31836 if (temp2)
31837 delete arg2;
31838 }
31839 return NULL;
31840}
31841
31842
31843static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31844 PyObject *resultobj;
31845 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31846 wxString result;
31847 PyObject * obj0 = 0 ;
31848 char *kwnames[] = {
31849 (char *) "self", NULL
31850 };
31851
31852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
31853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31855 {
31856 PyThreadState* __tstate = wxPyBeginAllowThreads();
31857 result = ((wxMenuItem const *)arg1)->GetLabel();
31858
31859 wxPyEndAllowThreads(__tstate);
31860 if (PyErr_Occurred()) SWIG_fail;
31861 }
31862 {
31863#if wxUSE_UNICODE
31864 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31865#else
31866 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31867#endif
31868 }
31869 return resultobj;
31870 fail:
31871 return NULL;
31872}
31873
31874
31875static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
31876 PyObject *resultobj;
31877 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31878 wxString *result;
31879 PyObject * obj0 = 0 ;
31880 char *kwnames[] = {
31881 (char *) "self", NULL
31882 };
31883
31884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
31885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31887 {
31888 PyThreadState* __tstate = wxPyBeginAllowThreads();
31889 {
31890 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
31891 result = (wxString *) &_result_ref;
31892 }
31893
31894 wxPyEndAllowThreads(__tstate);
31895 if (PyErr_Occurred()) SWIG_fail;
31896 }
cc6dd355
RD
31897 {
31898#if wxUSE_UNICODE
31899 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
31900#else
31901 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
31902#endif
31903 }
d14a1e28
RD
31904 return resultobj;
31905 fail:
31906 return NULL;
31907}
31908
31909
31910static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
31911 PyObject *resultobj;
31912 wxString *arg1 = 0 ;
31913 wxString result;
e811c8ce 31914 bool temp1 = False ;
d14a1e28
RD
31915 PyObject * obj0 = 0 ;
31916 char *kwnames[] = {
31917 (char *) "text", NULL
31918 };
31919
31920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
31921 {
31922 arg1 = wxString_in_helper(obj0);
31923 if (arg1 == NULL) SWIG_fail;
e811c8ce 31924 temp1 = True;
d14a1e28
RD
31925 }
31926 {
31927 PyThreadState* __tstate = wxPyBeginAllowThreads();
31928 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
31929
31930 wxPyEndAllowThreads(__tstate);
31931 if (PyErr_Occurred()) SWIG_fail;
31932 }
31933 {
31934#if wxUSE_UNICODE
31935 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31936#else
31937 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31938#endif
31939 }
31940 {
31941 if (temp1)
31942 delete arg1;
31943 }
31944 return resultobj;
31945 fail:
31946 {
31947 if (temp1)
31948 delete arg1;
31949 }
31950 return NULL;
31951}
31952
31953
31954static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
31955 PyObject *resultobj;
31956 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31957 int result;
31958 PyObject * obj0 = 0 ;
31959 char *kwnames[] = {
31960 (char *) "self", NULL
31961 };
31962
31963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
15afbcd0
RD
31964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31966 {
31967 PyThreadState* __tstate = wxPyBeginAllowThreads();
31968 result = (int)((wxMenuItem const *)arg1)->GetKind();
31969
31970 wxPyEndAllowThreads(__tstate);
31971 if (PyErr_Occurred()) SWIG_fail;
31972 }
15afbcd0 31973 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31974 return resultobj;
31975 fail:
31976 return NULL;
31977}
31978
31979
a95a7133
RD
31980static PyObject *_wrap_MenuItem_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
31981 PyObject *resultobj;
31982 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31983 int arg2 ;
31984 PyObject * obj0 = 0 ;
31985 PyObject * obj1 = 0 ;
31986 char *kwnames[] = {
31987 (char *) "self",(char *) "kind", NULL
31988 };
31989
31990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail;
31991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31993 arg2 = (wxItemKind) SWIG_AsInt(obj1);
31994 if (PyErr_Occurred()) SWIG_fail;
31995 {
31996 PyThreadState* __tstate = wxPyBeginAllowThreads();
31997 (arg1)->SetKind((wxItemKind )arg2);
31998
31999 wxPyEndAllowThreads(__tstate);
32000 if (PyErr_Occurred()) SWIG_fail;
32001 }
32002 Py_INCREF(Py_None); resultobj = Py_None;
32003 return resultobj;
32004 fail:
32005 return NULL;
32006}
32007
32008
d14a1e28
RD
32009static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32010 PyObject *resultobj;
32011 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32012 bool arg2 ;
32013 PyObject * obj0 = 0 ;
32014 PyObject * obj1 = 0 ;
32015 char *kwnames[] = {
32016 (char *) "self",(char *) "checkable", NULL
32017 };
32018
32019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32022 arg2 = (bool) SWIG_AsBool(obj1);
32023 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32024 {
32025 PyThreadState* __tstate = wxPyBeginAllowThreads();
32026 (arg1)->SetCheckable(arg2);
32027
32028 wxPyEndAllowThreads(__tstate);
32029 if (PyErr_Occurred()) SWIG_fail;
32030 }
32031 Py_INCREF(Py_None); resultobj = Py_None;
32032 return resultobj;
32033 fail:
32034 return NULL;
32035}
32036
32037
32038static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32039 PyObject *resultobj;
32040 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32041 bool result;
32042 PyObject * obj0 = 0 ;
32043 char *kwnames[] = {
32044 (char *) "self", NULL
32045 };
32046
32047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
15afbcd0
RD
32048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32050 {
32051 PyThreadState* __tstate = wxPyBeginAllowThreads();
32052 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
32053
32054 wxPyEndAllowThreads(__tstate);
32055 if (PyErr_Occurred()) SWIG_fail;
32056 }
4f89f6a3
RD
32057 {
32058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32059 }
d14a1e28
RD
32060 return resultobj;
32061 fail:
32062 return NULL;
32063}
32064
32065
32066static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32067 PyObject *resultobj;
32068 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32069 bool result;
32070 PyObject * obj0 = 0 ;
32071 char *kwnames[] = {
32072 (char *) "self", NULL
32073 };
32074
32075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
32076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32078 {
32079 PyThreadState* __tstate = wxPyBeginAllowThreads();
32080 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
32081
32082 wxPyEndAllowThreads(__tstate);
32083 if (PyErr_Occurred()) SWIG_fail;
32084 }
4f89f6a3
RD
32085 {
32086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32087 }
d14a1e28
RD
32088 return resultobj;
32089 fail:
32090 return NULL;
32091}
32092
32093
32094static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32095 PyObject *resultobj;
32096 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32097 wxMenu *arg2 = (wxMenu *) 0 ;
32098 PyObject * obj0 = 0 ;
32099 PyObject * obj1 = 0 ;
32100 char *kwnames[] = {
32101 (char *) "self",(char *) "menu", NULL
32102 };
32103
32104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32107 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32109 {
32110 PyThreadState* __tstate = wxPyBeginAllowThreads();
32111 (arg1)->SetSubMenu(arg2);
32112
32113 wxPyEndAllowThreads(__tstate);
32114 if (PyErr_Occurred()) SWIG_fail;
32115 }
32116 Py_INCREF(Py_None); resultobj = Py_None;
32117 return resultobj;
32118 fail:
32119 return NULL;
32120}
32121
32122
32123static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32124 PyObject *resultobj;
32125 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32126 wxMenu *result;
32127 PyObject * obj0 = 0 ;
32128 char *kwnames[] = {
32129 (char *) "self", NULL
32130 };
32131
32132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
32133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32135 {
32136 PyThreadState* __tstate = wxPyBeginAllowThreads();
32137 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
32138
32139 wxPyEndAllowThreads(__tstate);
32140 if (PyErr_Occurred()) SWIG_fail;
32141 }
32142 {
32143 resultobj = wxPyMake_wxObject(result);
32144 }
32145 return resultobj;
32146 fail:
32147 return NULL;
32148}
32149
32150
32151static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
32152 PyObject *resultobj;
32153 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 32154 bool arg2 = (bool) True ;
d14a1e28
RD
32155 PyObject * obj0 = 0 ;
32156 PyObject * obj1 = 0 ;
32157 char *kwnames[] = {
32158 (char *) "self",(char *) "enable", NULL
32159 };
32160
32161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32164 if (obj1) {
15afbcd0
RD
32165 arg2 = (bool) SWIG_AsBool(obj1);
32166 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32167 }
32168 {
32169 PyThreadState* __tstate = wxPyBeginAllowThreads();
32170 (arg1)->Enable(arg2);
32171
32172 wxPyEndAllowThreads(__tstate);
32173 if (PyErr_Occurred()) SWIG_fail;
32174 }
32175 Py_INCREF(Py_None); resultobj = Py_None;
32176 return resultobj;
32177 fail:
32178 return NULL;
32179}
32180
32181
32182static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
32183 PyObject *resultobj;
32184 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32185 bool result;
32186 PyObject * obj0 = 0 ;
32187 char *kwnames[] = {
32188 (char *) "self", NULL
32189 };
32190
32191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
32192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32194 {
32195 PyThreadState* __tstate = wxPyBeginAllowThreads();
32196 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
32197
32198 wxPyEndAllowThreads(__tstate);
32199 if (PyErr_Occurred()) SWIG_fail;
32200 }
4f89f6a3
RD
32201 {
32202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32203 }
d14a1e28
RD
32204 return resultobj;
32205 fail:
32206 return NULL;
32207}
32208
32209
32210static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
32211 PyObject *resultobj;
32212 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 32213 bool arg2 = (bool) True ;
d14a1e28
RD
32214 PyObject * obj0 = 0 ;
32215 PyObject * obj1 = 0 ;
32216 char *kwnames[] = {
32217 (char *) "self",(char *) "check", NULL
32218 };
32219
32220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32223 if (obj1) {
15afbcd0
RD
32224 arg2 = (bool) SWIG_AsBool(obj1);
32225 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32226 }
32227 {
32228 PyThreadState* __tstate = wxPyBeginAllowThreads();
32229 (arg1)->Check(arg2);
32230
32231 wxPyEndAllowThreads(__tstate);
32232 if (PyErr_Occurred()) SWIG_fail;
32233 }
32234 Py_INCREF(Py_None); resultobj = Py_None;
32235 return resultobj;
32236 fail:
32237 return NULL;
32238}
32239
32240
32241static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
32242 PyObject *resultobj;
32243 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32244 bool result;
32245 PyObject * obj0 = 0 ;
32246 char *kwnames[] = {
32247 (char *) "self", NULL
32248 };
32249
32250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
32251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32253 {
32254 PyThreadState* __tstate = wxPyBeginAllowThreads();
32255 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
32256
32257 wxPyEndAllowThreads(__tstate);
32258 if (PyErr_Occurred()) SWIG_fail;
32259 }
4f89f6a3
RD
32260 {
32261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32262 }
d14a1e28
RD
32263 return resultobj;
32264 fail:
32265 return NULL;
32266}
32267
32268
32269static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
32270 PyObject *resultobj;
32271 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32272 PyObject * obj0 = 0 ;
32273 char *kwnames[] = {
32274 (char *) "self", NULL
32275 };
32276
32277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
15afbcd0
RD
32278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32280 {
32281 PyThreadState* __tstate = wxPyBeginAllowThreads();
32282 (arg1)->Toggle();
32283
32284 wxPyEndAllowThreads(__tstate);
32285 if (PyErr_Occurred()) SWIG_fail;
32286 }
32287 Py_INCREF(Py_None); resultobj = Py_None;
32288 return resultobj;
32289 fail:
32290 return NULL;
32291}
32292
32293
32294static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32295 PyObject *resultobj;
32296 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32297 wxString *arg2 = 0 ;
e811c8ce 32298 bool temp2 = False ;
d14a1e28
RD
32299 PyObject * obj0 = 0 ;
32300 PyObject * obj1 = 0 ;
32301 char *kwnames[] = {
32302 (char *) "self",(char *) "str", NULL
32303 };
32304
32305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32308 {
32309 arg2 = wxString_in_helper(obj1);
32310 if (arg2 == NULL) SWIG_fail;
e811c8ce 32311 temp2 = True;
d14a1e28
RD
32312 }
32313 {
32314 PyThreadState* __tstate = wxPyBeginAllowThreads();
32315 (arg1)->SetHelp((wxString const &)*arg2);
32316
32317 wxPyEndAllowThreads(__tstate);
32318 if (PyErr_Occurred()) SWIG_fail;
32319 }
32320 Py_INCREF(Py_None); resultobj = Py_None;
32321 {
32322 if (temp2)
32323 delete arg2;
32324 }
32325 return resultobj;
32326 fail:
32327 {
32328 if (temp2)
32329 delete arg2;
32330 }
32331 return NULL;
32332}
32333
32334
32335static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32336 PyObject *resultobj;
32337 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32338 wxString *result;
32339 PyObject * obj0 = 0 ;
32340 char *kwnames[] = {
32341 (char *) "self", NULL
32342 };
32343
32344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
32345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32347 {
32348 PyThreadState* __tstate = wxPyBeginAllowThreads();
32349 {
32350 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
32351 result = (wxString *) &_result_ref;
32352 }
32353
32354 wxPyEndAllowThreads(__tstate);
32355 if (PyErr_Occurred()) SWIG_fail;
32356 }
cc6dd355
RD
32357 {
32358#if wxUSE_UNICODE
32359 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32360#else
32361 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32362#endif
32363 }
d14a1e28
RD
32364 return resultobj;
32365 fail:
32366 return NULL;
32367}
32368
32369
32370static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32371 PyObject *resultobj;
32372 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32373 wxAcceleratorEntry *result;
32374 PyObject * obj0 = 0 ;
32375 char *kwnames[] = {
32376 (char *) "self", NULL
32377 };
32378
32379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
15afbcd0
RD
32380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32382 {
32383 PyThreadState* __tstate = wxPyBeginAllowThreads();
32384 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
32385
32386 wxPyEndAllowThreads(__tstate);
32387 if (PyErr_Occurred()) SWIG_fail;
32388 }
15afbcd0 32389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
d14a1e28
RD
32390 return resultobj;
32391 fail:
32392 return NULL;
32393}
32394
32395
32396static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32397 PyObject *resultobj;
32398 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32399 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
32400 PyObject * obj0 = 0 ;
32401 PyObject * obj1 = 0 ;
32402 char *kwnames[] = {
32403 (char *) "self",(char *) "accel", NULL
32404 };
32405
32406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
32410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32411 {
32412 PyThreadState* __tstate = wxPyBeginAllowThreads();
32413 (arg1)->SetAccel(arg2);
32414
32415 wxPyEndAllowThreads(__tstate);
32416 if (PyErr_Occurred()) SWIG_fail;
32417 }
32418 Py_INCREF(Py_None); resultobj = Py_None;
32419 return resultobj;
32420 fail:
32421 return NULL;
32422}
32423
32424
32425static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
32426 PyObject *resultobj;
32427 int result;
32428 char *kwnames[] = {
32429 NULL
32430 };
32431
32432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
32433 {
32434 PyThreadState* __tstate = wxPyBeginAllowThreads();
32435 result = (int)MenuItem_GetDefaultMarginWidth();
32436
32437 wxPyEndAllowThreads(__tstate);
32438 if (PyErr_Occurred()) SWIG_fail;
32439 }
15afbcd0 32440 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32441 return resultobj;
32442 fail:
32443 return NULL;
32444}
32445
32446
32447static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32448 PyObject *resultobj;
32449 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32450 wxBitmap *arg2 = 0 ;
32451 PyObject * obj0 = 0 ;
32452 PyObject * obj1 = 0 ;
32453 char *kwnames[] = {
32454 (char *) "self",(char *) "bitmap", NULL
32455 };
32456
32457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
32461 SWIG_POINTER_EXCEPTION | 0)) == -1)
32462 SWIG_fail;
d14a1e28 32463 if (arg2 == NULL) {
15afbcd0
RD
32464 PyErr_SetString(PyExc_TypeError,"null reference");
32465 SWIG_fail;
d14a1e28
RD
32466 }
32467 {
32468 PyThreadState* __tstate = wxPyBeginAllowThreads();
32469 (arg1)->SetBitmap((wxBitmap const &)*arg2);
32470
32471 wxPyEndAllowThreads(__tstate);
32472 if (PyErr_Occurred()) SWIG_fail;
32473 }
32474 Py_INCREF(Py_None); resultobj = Py_None;
32475 return resultobj;
32476 fail:
32477 return NULL;
32478}
32479
32480
32481static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32482 PyObject *resultobj;
32483 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32484 wxBitmap *result;
32485 PyObject * obj0 = 0 ;
32486 char *kwnames[] = {
32487 (char *) "self", NULL
32488 };
32489
32490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
32491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32493 {
32494 PyThreadState* __tstate = wxPyBeginAllowThreads();
32495 {
32496 wxBitmap const &_result_ref = (arg1)->GetBitmap();
32497 result = (wxBitmap *) &_result_ref;
32498 }
32499
32500 wxPyEndAllowThreads(__tstate);
32501 if (PyErr_Occurred()) SWIG_fail;
32502 }
4276dc52
RD
32503 {
32504 wxBitmap* resultptr = new wxBitmap(*result);
32505 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
32506 }
d14a1e28
RD
32507 return resultobj;
32508 fail:
32509 return NULL;
32510}
32511
32512
32513static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
32514 PyObject *obj;
32515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32516 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
32517 Py_INCREF(obj);
32518 return Py_BuildValue((char *)"");
32519}
b2dc1044
RD
32520static int _wrap_ControlNameStr_set(PyObject *_val) {
32521 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
32522 return 1;
32523}
32524
32525
32526static PyObject *_wrap_ControlNameStr_get() {
32527 PyObject *pyobj;
32528
32529 {
32530#if wxUSE_UNICODE
32531 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32532#else
32533 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32534#endif
32535 }
32536 return pyobj;
32537}
32538
32539
d14a1e28
RD
32540static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
32541 PyObject *resultobj;
32542 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 32543 int arg2 ;
d14a1e28
RD
32544 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32545 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32546 wxSize const &arg4_defvalue = wxDefaultSize ;
32547 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32548 long arg5 = (long) 0 ;
32549 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32550 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32551 wxString const &arg7_defvalue = wxPyControlNameStr ;
32552 wxString *arg7 = (wxString *) &arg7_defvalue ;
32553 wxControl *result;
32554 wxPoint temp3 ;
32555 wxSize temp4 ;
e811c8ce 32556 bool temp7 = False ;
d14a1e28 32557 PyObject * obj0 = 0 ;
994141e6 32558 PyObject * obj1 = 0 ;
d14a1e28
RD
32559 PyObject * obj2 = 0 ;
32560 PyObject * obj3 = 0 ;
994141e6 32561 PyObject * obj4 = 0 ;
d14a1e28
RD
32562 PyObject * obj5 = 0 ;
32563 PyObject * obj6 = 0 ;
32564 char *kwnames[] = {
32565 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32566 };
32567
994141e6 32568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
32569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
32570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32571 arg2 = (int) SWIG_AsInt(obj1);
32572 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32573 if (obj2) {
32574 {
32575 arg3 = &temp3;
32576 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32577 }
32578 }
32579 if (obj3) {
32580 {
32581 arg4 = &temp4;
32582 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32583 }
32584 }
994141e6 32585 if (obj4) {
15afbcd0
RD
32586 arg5 = (long) SWIG_AsLong(obj4);
32587 if (PyErr_Occurred()) SWIG_fail;
994141e6 32588 }
d14a1e28 32589 if (obj5) {
15afbcd0
RD
32590 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
32591 SWIG_POINTER_EXCEPTION | 0)) == -1)
32592 SWIG_fail;
d14a1e28 32593 if (arg6 == NULL) {
15afbcd0
RD
32594 PyErr_SetString(PyExc_TypeError,"null reference");
32595 SWIG_fail;
d14a1e28
RD
32596 }
32597 }
32598 if (obj6) {
32599 {
32600 arg7 = wxString_in_helper(obj6);
32601 if (arg7 == NULL) SWIG_fail;
e811c8ce 32602 temp7 = True;
d14a1e28
RD
32603 }
32604 }
32605 {
32606 PyThreadState* __tstate = wxPyBeginAllowThreads();
32607 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32608
32609 wxPyEndAllowThreads(__tstate);
32610 if (PyErr_Occurred()) SWIG_fail;
32611 }
32612 {
32613 resultobj = wxPyMake_wxObject(result);
32614 }
32615 {
32616 if (temp7)
32617 delete arg7;
32618 }
32619 return resultobj;
32620 fail:
32621 {
32622 if (temp7)
32623 delete arg7;
32624 }
32625 return NULL;
32626}
32627
32628
32629static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
32630 PyObject *resultobj;
32631 wxControl *result;
32632 char *kwnames[] = {
32633 NULL
32634 };
32635
32636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
32637 {
32638 PyThreadState* __tstate = wxPyBeginAllowThreads();
32639 result = (wxControl *)new wxControl();
32640
32641 wxPyEndAllowThreads(__tstate);
32642 if (PyErr_Occurred()) SWIG_fail;
32643 }
32644 {
32645 resultobj = wxPyMake_wxObject(result);
32646 }
32647 return resultobj;
32648 fail:
32649 return NULL;
32650}
32651
32652
32653static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
32654 PyObject *resultobj;
32655 wxControl *arg1 = (wxControl *) 0 ;
32656 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 32657 int arg3 ;
d14a1e28
RD
32658 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32659 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32660 wxSize const &arg5_defvalue = wxDefaultSize ;
32661 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32662 long arg6 = (long) 0 ;
32663 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32664 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32665 wxString const &arg8_defvalue = wxPyControlNameStr ;
32666 wxString *arg8 = (wxString *) &arg8_defvalue ;
32667 bool result;
32668 wxPoint temp4 ;
32669 wxSize temp5 ;
e811c8ce 32670 bool temp8 = False ;
d14a1e28
RD
32671 PyObject * obj0 = 0 ;
32672 PyObject * obj1 = 0 ;
994141e6 32673 PyObject * obj2 = 0 ;
d14a1e28
RD
32674 PyObject * obj3 = 0 ;
32675 PyObject * obj4 = 0 ;
994141e6 32676 PyObject * obj5 = 0 ;
d14a1e28
RD
32677 PyObject * obj6 = 0 ;
32678 PyObject * obj7 = 0 ;
32679 char *kwnames[] = {
32680 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32681 };
32682
994141e6 32683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
32684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
32687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32688 arg3 = (int) SWIG_AsInt(obj2);
32689 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32690 if (obj3) {
32691 {
32692 arg4 = &temp4;
32693 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32694 }
32695 }
32696 if (obj4) {
32697 {
32698 arg5 = &temp5;
32699 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32700 }
32701 }
994141e6 32702 if (obj5) {
15afbcd0
RD
32703 arg6 = (long) SWIG_AsLong(obj5);
32704 if (PyErr_Occurred()) SWIG_fail;
994141e6 32705 }
d14a1e28 32706 if (obj6) {
15afbcd0
RD
32707 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
32708 SWIG_POINTER_EXCEPTION | 0)) == -1)
32709 SWIG_fail;
d14a1e28 32710 if (arg7 == NULL) {
15afbcd0
RD
32711 PyErr_SetString(PyExc_TypeError,"null reference");
32712 SWIG_fail;
d14a1e28
RD
32713 }
32714 }
32715 if (obj7) {
32716 {
32717 arg8 = wxString_in_helper(obj7);
32718 if (arg8 == NULL) SWIG_fail;
e811c8ce 32719 temp8 = True;
d14a1e28
RD
32720 }
32721 }
32722 {
32723 PyThreadState* __tstate = wxPyBeginAllowThreads();
32724 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32725
32726 wxPyEndAllowThreads(__tstate);
32727 if (PyErr_Occurred()) SWIG_fail;
32728 }
4f89f6a3
RD
32729 {
32730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32731 }
d14a1e28
RD
32732 {
32733 if (temp8)
32734 delete arg8;
32735 }
32736 return resultobj;
32737 fail:
32738 {
32739 if (temp8)
32740 delete arg8;
32741 }
32742 return NULL;
32743}
32744
32745
32746static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
32747 PyObject *resultobj;
32748 wxControl *arg1 = (wxControl *) 0 ;
32749 wxCommandEvent *arg2 = 0 ;
32750 PyObject * obj0 = 0 ;
32751 PyObject * obj1 = 0 ;
32752 char *kwnames[] = {
32753 (char *) "self",(char *) "event", NULL
32754 };
32755
32756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
32760 SWIG_POINTER_EXCEPTION | 0)) == -1)
32761 SWIG_fail;
d14a1e28 32762 if (arg2 == NULL) {
15afbcd0
RD
32763 PyErr_SetString(PyExc_TypeError,"null reference");
32764 SWIG_fail;
d14a1e28
RD
32765 }
32766 {
32767 PyThreadState* __tstate = wxPyBeginAllowThreads();
32768 (arg1)->Command(*arg2);
32769
32770 wxPyEndAllowThreads(__tstate);
32771 if (PyErr_Occurred()) SWIG_fail;
32772 }
32773 Py_INCREF(Py_None); resultobj = Py_None;
32774 return resultobj;
32775 fail:
32776 return NULL;
32777}
32778
32779
32780static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
32781 PyObject *resultobj;
32782 wxControl *arg1 = (wxControl *) 0 ;
32783 wxString result;
32784 PyObject * obj0 = 0 ;
32785 char *kwnames[] = {
32786 (char *) "self", NULL
32787 };
32788
32789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
32790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32792 {
32793 PyThreadState* __tstate = wxPyBeginAllowThreads();
32794 result = (arg1)->GetLabel();
32795
32796 wxPyEndAllowThreads(__tstate);
32797 if (PyErr_Occurred()) SWIG_fail;
32798 }
32799 {
32800#if wxUSE_UNICODE
32801 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32802#else
32803 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32804#endif
32805 }
32806 return resultobj;
32807 fail:
32808 return NULL;
32809}
32810
32811
32812static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
32813 PyObject *resultobj;
32814 wxControl *arg1 = (wxControl *) 0 ;
32815 wxString *arg2 = 0 ;
e811c8ce 32816 bool temp2 = False ;
d14a1e28
RD
32817 PyObject * obj0 = 0 ;
32818 PyObject * obj1 = 0 ;
32819 char *kwnames[] = {
32820 (char *) "self",(char *) "label", NULL
32821 };
32822
32823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32826 {
32827 arg2 = wxString_in_helper(obj1);
32828 if (arg2 == NULL) SWIG_fail;
e811c8ce 32829 temp2 = True;
d14a1e28
RD
32830 }
32831 {
32832 PyThreadState* __tstate = wxPyBeginAllowThreads();
32833 (arg1)->SetLabel((wxString const &)*arg2);
32834
32835 wxPyEndAllowThreads(__tstate);
32836 if (PyErr_Occurred()) SWIG_fail;
32837 }
32838 Py_INCREF(Py_None); resultobj = Py_None;
32839 {
32840 if (temp2)
32841 delete arg2;
32842 }
32843 return resultobj;
32844 fail:
32845 {
32846 if (temp2)
32847 delete arg2;
32848 }
32849 return NULL;
32850}
32851
32852
74a57fcd
RD
32853static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
32854 PyObject *resultobj;
32855 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
32856 wxVisualAttributes result;
32857 PyObject * obj0 = 0 ;
32858 char *kwnames[] = {
32859 (char *) "variant", NULL
32860 };
32861
32862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
32863 if (obj0) {
32864 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
32865 if (PyErr_Occurred()) SWIG_fail;
32866 }
32867 {
32868 PyThreadState* __tstate = wxPyBeginAllowThreads();
32869 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
32870
32871 wxPyEndAllowThreads(__tstate);
32872 if (PyErr_Occurred()) SWIG_fail;
32873 }
32874 {
32875 wxVisualAttributes * resultptr;
32876 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
32877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32878 }
32879 return resultobj;
32880 fail:
32881 return NULL;
32882}
32883
32884
d14a1e28
RD
32885static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
32886 PyObject *obj;
32887 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32888 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
32889 Py_INCREF(obj);
32890 return Py_BuildValue((char *)"");
32891}
32892static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
32893 PyObject *resultobj;
32894 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32895 wxString *arg2 = 0 ;
32896 PyObject *arg3 = (PyObject *) NULL ;
32897 int result;
e811c8ce 32898 bool temp2 = False ;
d14a1e28
RD
32899 PyObject * obj0 = 0 ;
32900 PyObject * obj1 = 0 ;
32901 PyObject * obj2 = 0 ;
32902 char *kwnames[] = {
32903 (char *) "self",(char *) "item",(char *) "clientData", NULL
32904 };
32905
32906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32909 {
32910 arg2 = wxString_in_helper(obj1);
32911 if (arg2 == NULL) SWIG_fail;
e811c8ce 32912 temp2 = True;
d14a1e28
RD
32913 }
32914 if (obj2) {
32915 arg3 = obj2;
32916 }
32917 {
32918 PyThreadState* __tstate = wxPyBeginAllowThreads();
32919 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
32920
32921 wxPyEndAllowThreads(__tstate);
32922 if (PyErr_Occurred()) SWIG_fail;
32923 }
15afbcd0 32924 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32925 {
32926 if (temp2)
32927 delete arg2;
32928 }
32929 return resultobj;
32930 fail:
32931 {
32932 if (temp2)
32933 delete arg2;
32934 }
32935 return NULL;
32936}
32937
32938
32939static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
32940 PyObject *resultobj;
32941 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32942 wxArrayString *arg2 = 0 ;
3adfb63b 32943 bool temp2 = False ;
d14a1e28
RD
32944 PyObject * obj0 = 0 ;
32945 PyObject * obj1 = 0 ;
32946 char *kwnames[] = {
32947 (char *) "self",(char *) "strings", NULL
32948 };
32949
32950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32953 {
32954 if (! PySequence_Check(obj1)) {
32955 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
32956 SWIG_fail;
32957 }
32958 arg2 = new wxArrayString;
3adfb63b 32959 temp2 = True;
d14a1e28
RD
32960 int i, len=PySequence_Length(obj1);
32961 for (i=0; i<len; i++) {
32962 PyObject* item = PySequence_GetItem(obj1, i);
32963#if wxUSE_UNICODE
32964 PyObject* str = PyObject_Unicode(item);
32965#else
32966 PyObject* str = PyObject_Str(item);
32967#endif
74a57fcd 32968 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32969 arg2->Add(Py2wxString(str));
32970 Py_DECREF(item);
32971 Py_DECREF(str);
32972 }
32973 }
32974 {
32975 PyThreadState* __tstate = wxPyBeginAllowThreads();
32976 (arg1)->Append((wxArrayString const &)*arg2);
32977
32978 wxPyEndAllowThreads(__tstate);
32979 if (PyErr_Occurred()) SWIG_fail;
32980 }
32981 Py_INCREF(Py_None); resultobj = Py_None;
32982 {
3adfb63b 32983 if (temp2) delete arg2;
d14a1e28
RD
32984 }
32985 return resultobj;
32986 fail:
32987 {
3adfb63b 32988 if (temp2) delete arg2;
d14a1e28
RD
32989 }
32990 return NULL;
32991}
32992
32993
32994static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
32995 PyObject *resultobj;
32996 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32997 wxString *arg2 = 0 ;
32998 int arg3 ;
32999 PyObject *arg4 = (PyObject *) NULL ;
33000 int result;
e811c8ce 33001 bool temp2 = False ;
d14a1e28
RD
33002 PyObject * obj0 = 0 ;
33003 PyObject * obj1 = 0 ;
994141e6 33004 PyObject * obj2 = 0 ;
d14a1e28
RD
33005 PyObject * obj3 = 0 ;
33006 char *kwnames[] = {
33007 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33008 };
33009
994141e6 33010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
33011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33013 {
33014 arg2 = wxString_in_helper(obj1);
33015 if (arg2 == NULL) SWIG_fail;
e811c8ce 33016 temp2 = True;
d14a1e28 33017 }
15afbcd0
RD
33018 arg3 = (int) SWIG_AsInt(obj2);
33019 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33020 if (obj3) {
33021 arg4 = obj3;
33022 }
33023 {
33024 PyThreadState* __tstate = wxPyBeginAllowThreads();
33025 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
33026
33027 wxPyEndAllowThreads(__tstate);
33028 if (PyErr_Occurred()) SWIG_fail;
33029 }
15afbcd0 33030 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33031 {
33032 if (temp2)
33033 delete arg2;
33034 }
33035 return resultobj;
33036 fail:
33037 {
33038 if (temp2)
33039 delete arg2;
33040 }
33041 return NULL;
33042}
33043
33044
33045static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
33046 PyObject *resultobj;
33047 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33048 PyObject * obj0 = 0 ;
33049 char *kwnames[] = {
33050 (char *) "self", NULL
33051 };
33052
33053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
33054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33056 {
33057 PyThreadState* __tstate = wxPyBeginAllowThreads();
33058 (arg1)->Clear();
33059
33060 wxPyEndAllowThreads(__tstate);
33061 if (PyErr_Occurred()) SWIG_fail;
33062 }
33063 Py_INCREF(Py_None); resultobj = Py_None;
33064 return resultobj;
33065 fail:
33066 return NULL;
33067}
33068
33069
33070static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
33071 PyObject *resultobj;
33072 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33073 int arg2 ;
33074 PyObject * obj0 = 0 ;
994141e6 33075 PyObject * obj1 = 0 ;
d14a1e28
RD
33076 char *kwnames[] = {
33077 (char *) "self",(char *) "n", NULL
33078 };
33079
994141e6 33080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33083 arg2 = (int) SWIG_AsInt(obj1);
33084 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33085 {
33086 PyThreadState* __tstate = wxPyBeginAllowThreads();
33087 (arg1)->Delete(arg2);
33088
33089 wxPyEndAllowThreads(__tstate);
33090 if (PyErr_Occurred()) SWIG_fail;
33091 }
33092 Py_INCREF(Py_None); resultobj = Py_None;
33093 return resultobj;
33094 fail:
33095 return NULL;
33096}
33097
33098
33099static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
33100 PyObject *resultobj;
33101 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33102 int result;
33103 PyObject * obj0 = 0 ;
33104 char *kwnames[] = {
33105 (char *) "self", NULL
33106 };
33107
33108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
33109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33111 {
33112 PyThreadState* __tstate = wxPyBeginAllowThreads();
33113 result = (int)((wxItemContainer const *)arg1)->GetCount();
33114
33115 wxPyEndAllowThreads(__tstate);
33116 if (PyErr_Occurred()) SWIG_fail;
33117 }
15afbcd0 33118 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33119 return resultobj;
33120 fail:
33121 return NULL;
33122}
33123
33124
33125static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
33126 PyObject *resultobj;
33127 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33128 bool result;
33129 PyObject * obj0 = 0 ;
33130 char *kwnames[] = {
33131 (char *) "self", NULL
33132 };
33133
33134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
15afbcd0
RD
33135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33137 {
33138 PyThreadState* __tstate = wxPyBeginAllowThreads();
33139 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
33140
33141 wxPyEndAllowThreads(__tstate);
33142 if (PyErr_Occurred()) SWIG_fail;
33143 }
4f89f6a3
RD
33144 {
33145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33146 }
d14a1e28
RD
33147 return resultobj;
33148 fail:
33149 return NULL;
33150}
33151
33152
33153static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33154 PyObject *resultobj;
33155 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33156 int arg2 ;
33157 wxString result;
33158 PyObject * obj0 = 0 ;
994141e6 33159 PyObject * obj1 = 0 ;
d14a1e28
RD
33160 char *kwnames[] = {
33161 (char *) "self",(char *) "n", NULL
33162 };
33163
994141e6 33164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33167 arg2 = (int) SWIG_AsInt(obj1);
33168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33169 {
33170 PyThreadState* __tstate = wxPyBeginAllowThreads();
33171 result = ((wxItemContainer const *)arg1)->GetString(arg2);
33172
33173 wxPyEndAllowThreads(__tstate);
33174 if (PyErr_Occurred()) SWIG_fail;
33175 }
33176 {
33177#if wxUSE_UNICODE
33178 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33179#else
33180 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33181#endif
33182 }
33183 return resultobj;
33184 fail:
33185 return NULL;
33186}
33187
33188
33189static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
33190 PyObject *resultobj;
33191 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33192 wxArrayString result;
33193 PyObject * obj0 = 0 ;
33194 char *kwnames[] = {
33195 (char *) "self", NULL
33196 };
33197
33198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
15afbcd0
RD
33199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33201 {
33202 PyThreadState* __tstate = wxPyBeginAllowThreads();
33203 result = ((wxItemContainer const *)arg1)->GetStrings();
33204
33205 wxPyEndAllowThreads(__tstate);
33206 if (PyErr_Occurred()) SWIG_fail;
33207 }
33208 {
33209 resultobj = wxArrayString2PyList_helper(result);
33210 }
33211 return resultobj;
33212 fail:
33213 return NULL;
33214}
33215
33216
33217static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33218 PyObject *resultobj;
33219 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33220 int arg2 ;
33221 wxString *arg3 = 0 ;
e811c8ce 33222 bool temp3 = False ;
d14a1e28 33223 PyObject * obj0 = 0 ;
994141e6 33224 PyObject * obj1 = 0 ;
d14a1e28
RD
33225 PyObject * obj2 = 0 ;
33226 char *kwnames[] = {
33227 (char *) "self",(char *) "n",(char *) "s", NULL
33228 };
33229
994141e6 33230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33233 arg2 = (int) SWIG_AsInt(obj1);
33234 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33235 {
33236 arg3 = wxString_in_helper(obj2);
33237 if (arg3 == NULL) SWIG_fail;
e811c8ce 33238 temp3 = True;
d14a1e28
RD
33239 }
33240 {
33241 PyThreadState* __tstate = wxPyBeginAllowThreads();
33242 (arg1)->SetString(arg2,(wxString const &)*arg3);
33243
33244 wxPyEndAllowThreads(__tstate);
33245 if (PyErr_Occurred()) SWIG_fail;
33246 }
33247 Py_INCREF(Py_None); resultobj = Py_None;
33248 {
33249 if (temp3)
33250 delete arg3;
33251 }
33252 return resultobj;
33253 fail:
33254 {
33255 if (temp3)
33256 delete arg3;
33257 }
33258 return NULL;
33259}
33260
33261
33262static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
33263 PyObject *resultobj;
33264 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33265 wxString *arg2 = 0 ;
33266 int result;
e811c8ce 33267 bool temp2 = False ;
d14a1e28
RD
33268 PyObject * obj0 = 0 ;
33269 PyObject * obj1 = 0 ;
33270 char *kwnames[] = {
33271 (char *) "self",(char *) "s", NULL
33272 };
33273
33274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33277 {
33278 arg2 = wxString_in_helper(obj1);
33279 if (arg2 == NULL) SWIG_fail;
e811c8ce 33280 temp2 = True;
d14a1e28
RD
33281 }
33282 {
33283 PyThreadState* __tstate = wxPyBeginAllowThreads();
33284 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
33285
33286 wxPyEndAllowThreads(__tstate);
33287 if (PyErr_Occurred()) SWIG_fail;
33288 }
15afbcd0 33289 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33290 {
33291 if (temp2)
33292 delete arg2;
33293 }
33294 return resultobj;
33295 fail:
33296 {
33297 if (temp2)
33298 delete arg2;
33299 }
33300 return NULL;
33301}
33302
33303
33304static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
33305 PyObject *resultobj;
33306 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33307 int arg2 ;
33308 PyObject * obj0 = 0 ;
994141e6 33309 PyObject * obj1 = 0 ;
d14a1e28
RD
33310 char *kwnames[] = {
33311 (char *) "self",(char *) "n", NULL
33312 };
33313
994141e6 33314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33317 arg2 = (int) SWIG_AsInt(obj1);
33318 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33319 {
33320 PyThreadState* __tstate = wxPyBeginAllowThreads();
33321 (arg1)->Select(arg2);
33322
33323 wxPyEndAllowThreads(__tstate);
33324 if (PyErr_Occurred()) SWIG_fail;
33325 }
33326 Py_INCREF(Py_None); resultobj = Py_None;
33327 return resultobj;
33328 fail:
33329 return NULL;
33330}
33331
33332
33333static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33334 PyObject *resultobj;
33335 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33336 int result;
33337 PyObject * obj0 = 0 ;
33338 char *kwnames[] = {
33339 (char *) "self", NULL
33340 };
33341
33342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
33343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33345 {
33346 PyThreadState* __tstate = wxPyBeginAllowThreads();
33347 result = (int)((wxItemContainer const *)arg1)->GetSelection();
33348
33349 wxPyEndAllowThreads(__tstate);
33350 if (PyErr_Occurred()) SWIG_fail;
33351 }
15afbcd0 33352 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33353 return resultobj;
33354 fail:
33355 return NULL;
33356}
33357
33358
33359static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33360 PyObject *resultobj;
33361 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33362 wxString result;
33363 PyObject * obj0 = 0 ;
33364 char *kwnames[] = {
33365 (char *) "self", NULL
33366 };
33367
33368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
33369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33371 {
33372 PyThreadState* __tstate = wxPyBeginAllowThreads();
33373 result = ((wxItemContainer const *)arg1)->GetStringSelection();
33374
33375 wxPyEndAllowThreads(__tstate);
33376 if (PyErr_Occurred()) SWIG_fail;
33377 }
33378 {
33379#if wxUSE_UNICODE
33380 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33381#else
33382 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33383#endif
33384 }
33385 return resultobj;
33386 fail:
33387 return NULL;
33388}
33389
33390
33391static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33392 PyObject *resultobj;
33393 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33394 int arg2 ;
33395 PyObject *result;
33396 PyObject * obj0 = 0 ;
994141e6 33397 PyObject * obj1 = 0 ;
d14a1e28
RD
33398 char *kwnames[] = {
33399 (char *) "self",(char *) "n", NULL
33400 };
33401
994141e6 33402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33405 arg2 = (int) SWIG_AsInt(obj1);
33406 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33407 {
33408 PyThreadState* __tstate = wxPyBeginAllowThreads();
33409 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
33410
33411 wxPyEndAllowThreads(__tstate);
33412 if (PyErr_Occurred()) SWIG_fail;
33413 }
33414 resultobj = result;
33415 return resultobj;
33416 fail:
33417 return NULL;
33418}
33419
33420
33421static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33422 PyObject *resultobj;
33423 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33424 int arg2 ;
33425 PyObject *arg3 = (PyObject *) 0 ;
33426 PyObject * obj0 = 0 ;
994141e6 33427 PyObject * obj1 = 0 ;
d14a1e28
RD
33428 PyObject * obj2 = 0 ;
33429 char *kwnames[] = {
33430 (char *) "self",(char *) "n",(char *) "clientData", NULL
33431 };
33432
994141e6 33433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33436 arg2 = (int) SWIG_AsInt(obj1);
33437 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33438 arg3 = obj2;
33439 {
33440 PyThreadState* __tstate = wxPyBeginAllowThreads();
33441 wxItemContainer_SetClientData(arg1,arg2,arg3);
33442
33443 wxPyEndAllowThreads(__tstate);
33444 if (PyErr_Occurred()) SWIG_fail;
33445 }
33446 Py_INCREF(Py_None); resultobj = Py_None;
33447 return resultobj;
33448 fail:
33449 return NULL;
33450}
33451
33452
33453static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
33454 PyObject *obj;
33455 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33456 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
33457 Py_INCREF(obj);
33458 return Py_BuildValue((char *)"");
33459}
33460static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
33461 PyObject *obj;
33462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33463 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
33464 Py_INCREF(obj);
33465 return Py_BuildValue((char *)"");
33466}
33467static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33468 PyObject *resultobj;
33469 wxSizerItem *result;
33470 char *kwnames[] = {
33471 NULL
33472 };
33473
33474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
33475 {
33476 PyThreadState* __tstate = wxPyBeginAllowThreads();
33477 result = (wxSizerItem *)new wxSizerItem();
33478
33479 wxPyEndAllowThreads(__tstate);
33480 if (PyErr_Occurred()) SWIG_fail;
33481 }
15afbcd0 33482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33483 return resultobj;
33484 fail:
33485 return NULL;
33486}
33487
33488
33489static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
33490 PyObject *resultobj;
33491 int arg1 ;
33492 int arg2 ;
33493 int arg3 ;
33494 int arg4 ;
33495 int arg5 ;
33496 wxObject *arg6 = (wxObject *) 0 ;
33497 wxSizerItem *result;
994141e6
RD
33498 PyObject * obj0 = 0 ;
33499 PyObject * obj1 = 0 ;
33500 PyObject * obj2 = 0 ;
33501 PyObject * obj3 = 0 ;
33502 PyObject * obj4 = 0 ;
d14a1e28
RD
33503 PyObject * obj5 = 0 ;
33504 char *kwnames[] = {
33505 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33506 };
33507
994141e6 33508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
33509 arg1 = (int) SWIG_AsInt(obj0);
33510 if (PyErr_Occurred()) SWIG_fail;
33511 arg2 = (int) SWIG_AsInt(obj1);
33512 if (PyErr_Occurred()) SWIG_fail;
33513 arg3 = (int) SWIG_AsInt(obj2);
33514 if (PyErr_Occurred()) SWIG_fail;
33515 arg4 = (int) SWIG_AsInt(obj3);
33516 if (PyErr_Occurred()) SWIG_fail;
33517 arg5 = (int) SWIG_AsInt(obj4);
33518 if (PyErr_Occurred()) SWIG_fail;
33519 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
33520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33521 {
33522 PyThreadState* __tstate = wxPyBeginAllowThreads();
33523 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
33524
33525 wxPyEndAllowThreads(__tstate);
33526 if (PyErr_Occurred()) SWIG_fail;
33527 }
15afbcd0 33528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33529 return resultobj;
33530 fail:
33531 return NULL;
33532}
33533
33534
33535static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
33536 PyObject *resultobj;
33537 wxWindow *arg1 = (wxWindow *) 0 ;
33538 int arg2 ;
33539 int arg3 ;
33540 int arg4 ;
33541 wxObject *arg5 = (wxObject *) 0 ;
33542 wxSizerItem *result;
33543 PyObject * obj0 = 0 ;
994141e6
RD
33544 PyObject * obj1 = 0 ;
33545 PyObject * obj2 = 0 ;
33546 PyObject * obj3 = 0 ;
d14a1e28
RD
33547 PyObject * obj4 = 0 ;
33548 char *kwnames[] = {
33549 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33550 };
33551
994141e6 33552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
33553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
33554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33555 arg2 = (int) SWIG_AsInt(obj1);
33556 if (PyErr_Occurred()) SWIG_fail;
33557 arg3 = (int) SWIG_AsInt(obj2);
33558 if (PyErr_Occurred()) SWIG_fail;
33559 arg4 = (int) SWIG_AsInt(obj3);
33560 if (PyErr_Occurred()) SWIG_fail;
33561 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
33562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33563 {
33564 PyThreadState* __tstate = wxPyBeginAllowThreads();
33565 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
33566
33567 wxPyEndAllowThreads(__tstate);
33568 if (PyErr_Occurred()) SWIG_fail;
33569 }
15afbcd0 33570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33571 return resultobj;
33572 fail:
33573 return NULL;
33574}
33575
33576
33577static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33578 PyObject *resultobj;
33579 wxSizer *arg1 = (wxSizer *) 0 ;
33580 int arg2 ;
33581 int arg3 ;
33582 int arg4 ;
33583 wxObject *arg5 = (wxObject *) 0 ;
33584 wxSizerItem *result;
33585 PyObject * obj0 = 0 ;
994141e6
RD
33586 PyObject * obj1 = 0 ;
33587 PyObject * obj2 = 0 ;
33588 PyObject * obj3 = 0 ;
d14a1e28
RD
33589 PyObject * obj4 = 0 ;
33590 char *kwnames[] = {
33591 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33592 };
33593
994141e6 33594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
33595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33597 arg2 = (int) SWIG_AsInt(obj1);
33598 if (PyErr_Occurred()) SWIG_fail;
33599 arg3 = (int) SWIG_AsInt(obj2);
33600 if (PyErr_Occurred()) SWIG_fail;
33601 arg4 = (int) SWIG_AsInt(obj3);
33602 if (PyErr_Occurred()) SWIG_fail;
33603 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
33604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33605 {
33606 PyThreadState* __tstate = wxPyBeginAllowThreads();
33607 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
33608
33609 wxPyEndAllowThreads(__tstate);
33610 if (PyErr_Occurred()) SWIG_fail;
33611 }
15afbcd0 33612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33613 return resultobj;
33614 fail:
33615 return NULL;
33616}
33617
33618
33619static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
33620 PyObject *resultobj;
33621 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33622 PyObject * obj0 = 0 ;
33623 char *kwnames[] = {
33624 (char *) "self", NULL
33625 };
33626
33627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
33628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33630 {
33631 PyThreadState* __tstate = wxPyBeginAllowThreads();
33632 (arg1)->DeleteWindows();
33633
33634 wxPyEndAllowThreads(__tstate);
33635 if (PyErr_Occurred()) SWIG_fail;
33636 }
33637 Py_INCREF(Py_None); resultobj = Py_None;
33638 return resultobj;
33639 fail:
33640 return NULL;
33641}
33642
33643
33644static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33645 PyObject *resultobj;
33646 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33647 PyObject * obj0 = 0 ;
33648 char *kwnames[] = {
33649 (char *) "self", NULL
33650 };
33651
33652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
33653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33655 {
33656 PyThreadState* __tstate = wxPyBeginAllowThreads();
33657 (arg1)->DetachSizer();
33658
33659 wxPyEndAllowThreads(__tstate);
33660 if (PyErr_Occurred()) SWIG_fail;
33661 }
33662 Py_INCREF(Py_None); resultobj = Py_None;
33663 return resultobj;
33664 fail:
33665 return NULL;
33666}
33667
33668
33669static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33670 PyObject *resultobj;
33671 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33672 wxSize result;
33673 PyObject * obj0 = 0 ;
33674 char *kwnames[] = {
33675 (char *) "self", NULL
33676 };
33677
33678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
33679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33681 {
33682 PyThreadState* __tstate = wxPyBeginAllowThreads();
33683 result = (arg1)->GetSize();
33684
33685 wxPyEndAllowThreads(__tstate);
33686 if (PyErr_Occurred()) SWIG_fail;
33687 }
33688 {
33689 wxSize * resultptr;
33690 resultptr = new wxSize((wxSize &) result);
15afbcd0 33691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33692 }
33693 return resultobj;
33694 fail:
33695 return NULL;
33696}
33697
33698
33699static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
33700 PyObject *resultobj;
33701 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33702 wxSize result;
33703 PyObject * obj0 = 0 ;
33704 char *kwnames[] = {
33705 (char *) "self", NULL
33706 };
33707
33708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
33709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33711 {
33712 PyThreadState* __tstate = wxPyBeginAllowThreads();
33713 result = (arg1)->CalcMin();
33714
33715 wxPyEndAllowThreads(__tstate);
33716 if (PyErr_Occurred()) SWIG_fail;
33717 }
33718 {
33719 wxSize * resultptr;
33720 resultptr = new wxSize((wxSize &) result);
15afbcd0 33721 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33722 }
33723 return resultobj;
33724 fail:
33725 return NULL;
33726}
33727
33728
33729static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
33730 PyObject *resultobj;
33731 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33732 wxPoint arg2 ;
33733 wxSize arg3 ;
33734 wxPoint *argp2 ;
33735 wxSize *argp3 ;
33736 PyObject * obj0 = 0 ;
33737 PyObject * obj1 = 0 ;
33738 PyObject * obj2 = 0 ;
33739 char *kwnames[] = {
33740 (char *) "self",(char *) "pos",(char *) "size", NULL
33741 };
33742
33743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33746 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
33747 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33748 arg2 = *argp2;
33749 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
33750 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33751 arg3 = *argp3;
d14a1e28
RD
33752 {
33753 PyThreadState* __tstate = wxPyBeginAllowThreads();
33754 (arg1)->SetDimension(arg2,arg3);
33755
33756 wxPyEndAllowThreads(__tstate);
33757 if (PyErr_Occurred()) SWIG_fail;
33758 }
33759 Py_INCREF(Py_None); resultobj = Py_None;
33760 return resultobj;
33761 fail:
33762 return NULL;
33763}
33764
33765
33766static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33767 PyObject *resultobj;
33768 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33769 wxSize result;
33770 PyObject * obj0 = 0 ;
33771 char *kwnames[] = {
33772 (char *) "self", NULL
33773 };
33774
33775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
33776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33778 {
33779 PyThreadState* __tstate = wxPyBeginAllowThreads();
33780 result = (arg1)->GetMinSize();
33781
33782 wxPyEndAllowThreads(__tstate);
33783 if (PyErr_Occurred()) SWIG_fail;
33784 }
33785 {
33786 wxSize * resultptr;
33787 resultptr = new wxSize((wxSize &) result);
15afbcd0 33788 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33789 }
33790 return resultobj;
33791 fail:
33792 return NULL;
33793}
33794
33795
33796static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33797 PyObject *resultobj;
33798 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33799 int arg2 ;
33800 int arg3 ;
33801 PyObject * obj0 = 0 ;
994141e6
RD
33802 PyObject * obj1 = 0 ;
33803 PyObject * obj2 = 0 ;
d14a1e28
RD
33804 char *kwnames[] = {
33805 (char *) "self",(char *) "x",(char *) "y", NULL
33806 };
33807
994141e6 33808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33811 arg2 = (int) SWIG_AsInt(obj1);
33812 if (PyErr_Occurred()) SWIG_fail;
33813 arg3 = (int) SWIG_AsInt(obj2);
33814 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33815 {
33816 PyThreadState* __tstate = wxPyBeginAllowThreads();
33817 (arg1)->SetInitSize(arg2,arg3);
33818
33819 wxPyEndAllowThreads(__tstate);
33820 if (PyErr_Occurred()) SWIG_fail;
33821 }
33822 Py_INCREF(Py_None); resultobj = Py_None;
33823 return resultobj;
33824 fail:
33825 return NULL;
33826}
33827
33828
33829static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
33830 PyObject *resultobj;
33831 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33832 int arg2 ;
33833 int arg3 ;
33834 PyObject * obj0 = 0 ;
994141e6
RD
33835 PyObject * obj1 = 0 ;
33836 PyObject * obj2 = 0 ;
d14a1e28
RD
33837 char *kwnames[] = {
33838 (char *) "self",(char *) "width",(char *) "height", NULL
33839 };
33840
994141e6 33841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33844 arg2 = (int) SWIG_AsInt(obj1);
33845 if (PyErr_Occurred()) SWIG_fail;
33846 arg3 = (int) SWIG_AsInt(obj2);
33847 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33848 {
33849 PyThreadState* __tstate = wxPyBeginAllowThreads();
33850 (arg1)->SetRatio(arg2,arg3);
33851
33852 wxPyEndAllowThreads(__tstate);
33853 if (PyErr_Occurred()) SWIG_fail;
33854 }
33855 Py_INCREF(Py_None); resultobj = Py_None;
33856 return resultobj;
33857 fail:
33858 return NULL;
33859}
33860
33861
33862static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33863 PyObject *resultobj;
33864 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33865 wxSize arg2 ;
33866 wxSize *argp2 ;
33867 PyObject * obj0 = 0 ;
33868 PyObject * obj1 = 0 ;
33869 char *kwnames[] = {
33870 (char *) "self",(char *) "size", NULL
33871 };
33872
33873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33876 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
33877 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33878 arg2 = *argp2;
d14a1e28
RD
33879 {
33880 PyThreadState* __tstate = wxPyBeginAllowThreads();
33881 (arg1)->SetRatio(arg2);
33882
33883 wxPyEndAllowThreads(__tstate);
33884 if (PyErr_Occurred()) SWIG_fail;
33885 }
33886 Py_INCREF(Py_None); resultobj = Py_None;
33887 return resultobj;
33888 fail:
33889 return NULL;
33890}
33891
33892
33893static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
33894 PyObject *resultobj;
33895 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33896 float arg2 ;
33897 PyObject * obj0 = 0 ;
994141e6 33898 PyObject * obj1 = 0 ;
d14a1e28
RD
33899 char *kwnames[] = {
33900 (char *) "self",(char *) "ratio", NULL
33901 };
33902
994141e6 33903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33906 arg2 = (float) SWIG_AsFloat(obj1);
33907 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33908 {
33909 PyThreadState* __tstate = wxPyBeginAllowThreads();
33910 (arg1)->SetRatio(arg2);
33911
33912 wxPyEndAllowThreads(__tstate);
33913 if (PyErr_Occurred()) SWIG_fail;
33914 }
33915 Py_INCREF(Py_None); resultobj = Py_None;
33916 return resultobj;
33917 fail:
33918 return NULL;
33919}
33920
33921
33922static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
33923 PyObject *resultobj;
33924 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33925 float result;
33926 PyObject * obj0 = 0 ;
33927 char *kwnames[] = {
33928 (char *) "self", NULL
33929 };
33930
33931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
15afbcd0
RD
33932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33934 {
33935 PyThreadState* __tstate = wxPyBeginAllowThreads();
33936 result = (float)(arg1)->GetRatio();
33937
33938 wxPyEndAllowThreads(__tstate);
33939 if (PyErr_Occurred()) SWIG_fail;
33940 }
15afbcd0 33941 resultobj = SWIG_FromFloat((float)result);
d14a1e28
RD
33942 return resultobj;
33943 fail:
33944 return NULL;
33945}
33946
33947
33948static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
33949 PyObject *resultobj;
33950 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33951 bool result;
33952 PyObject * obj0 = 0 ;
33953 char *kwnames[] = {
33954 (char *) "self", NULL
33955 };
33956
33957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
33958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33960 {
33961 PyThreadState* __tstate = wxPyBeginAllowThreads();
33962 result = (bool)(arg1)->IsWindow();
33963
33964 wxPyEndAllowThreads(__tstate);
33965 if (PyErr_Occurred()) SWIG_fail;
33966 }
4f89f6a3
RD
33967 {
33968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33969 }
d14a1e28
RD
33970 return resultobj;
33971 fail:
33972 return NULL;
33973}
33974
33975
33976static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33977 PyObject *resultobj;
33978 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33979 bool result;
33980 PyObject * obj0 = 0 ;
33981 char *kwnames[] = {
33982 (char *) "self", NULL
33983 };
33984
33985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
33986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33988 {
33989 PyThreadState* __tstate = wxPyBeginAllowThreads();
33990 result = (bool)(arg1)->IsSizer();
33991
33992 wxPyEndAllowThreads(__tstate);
33993 if (PyErr_Occurred()) SWIG_fail;
33994 }
4f89f6a3
RD
33995 {
33996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33997 }
d14a1e28
RD
33998 return resultobj;
33999 fail:
34000 return NULL;
34001}
34002
34003
34004static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34005 PyObject *resultobj;
34006 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34007 bool result;
34008 PyObject * obj0 = 0 ;
34009 char *kwnames[] = {
34010 (char *) "self", NULL
34011 };
34012
34013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34016 {
34017 PyThreadState* __tstate = wxPyBeginAllowThreads();
34018 result = (bool)(arg1)->IsSpacer();
34019
34020 wxPyEndAllowThreads(__tstate);
34021 if (PyErr_Occurred()) SWIG_fail;
34022 }
4f89f6a3
RD
34023 {
34024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34025 }
d14a1e28
RD
34026 return resultobj;
34027 fail:
34028 return NULL;
34029}
34030
34031
34032static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34033 PyObject *resultobj;
34034 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34035 int arg2 ;
34036 PyObject * obj0 = 0 ;
994141e6 34037 PyObject * obj1 = 0 ;
d14a1e28
RD
34038 char *kwnames[] = {
34039 (char *) "self",(char *) "proportion", NULL
34040 };
34041
994141e6 34042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34045 arg2 = (int) SWIG_AsInt(obj1);
34046 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34047 {
34048 PyThreadState* __tstate = wxPyBeginAllowThreads();
34049 (arg1)->SetProportion(arg2);
34050
34051 wxPyEndAllowThreads(__tstate);
34052 if (PyErr_Occurred()) SWIG_fail;
34053 }
34054 Py_INCREF(Py_None); resultobj = Py_None;
34055 return resultobj;
34056 fail:
34057 return NULL;
34058}
34059
34060
34061static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34062 PyObject *resultobj;
34063 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34064 int result;
34065 PyObject * obj0 = 0 ;
34066 char *kwnames[] = {
34067 (char *) "self", NULL
34068 };
34069
34070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
15afbcd0
RD
34071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34073 {
34074 PyThreadState* __tstate = wxPyBeginAllowThreads();
34075 result = (int)(arg1)->GetProportion();
34076
34077 wxPyEndAllowThreads(__tstate);
34078 if (PyErr_Occurred()) SWIG_fail;
34079 }
15afbcd0 34080 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34081 return resultobj;
34082 fail:
34083 return NULL;
34084}
34085
34086
34087static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34088 PyObject *resultobj;
34089 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34090 int arg2 ;
34091 PyObject * obj0 = 0 ;
994141e6 34092 PyObject * obj1 = 0 ;
d14a1e28
RD
34093 char *kwnames[] = {
34094 (char *) "self",(char *) "flag", NULL
34095 };
34096
994141e6 34097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34100 arg2 = (int) SWIG_AsInt(obj1);
34101 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34102 {
34103 PyThreadState* __tstate = wxPyBeginAllowThreads();
34104 (arg1)->SetFlag(arg2);
34105
34106 wxPyEndAllowThreads(__tstate);
34107 if (PyErr_Occurred()) SWIG_fail;
34108 }
34109 Py_INCREF(Py_None); resultobj = Py_None;
34110 return resultobj;
34111 fail:
34112 return NULL;
34113}
34114
34115
34116static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34117 PyObject *resultobj;
34118 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34119 int result;
34120 PyObject * obj0 = 0 ;
34121 char *kwnames[] = {
34122 (char *) "self", NULL
34123 };
34124
34125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
34126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34128 {
34129 PyThreadState* __tstate = wxPyBeginAllowThreads();
34130 result = (int)(arg1)->GetFlag();
34131
34132 wxPyEndAllowThreads(__tstate);
34133 if (PyErr_Occurred()) SWIG_fail;
34134 }
15afbcd0 34135 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34136 return resultobj;
34137 fail:
34138 return NULL;
34139}
34140
34141
34142static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34143 PyObject *resultobj;
34144 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34145 int arg2 ;
34146 PyObject * obj0 = 0 ;
994141e6 34147 PyObject * obj1 = 0 ;
d14a1e28
RD
34148 char *kwnames[] = {
34149 (char *) "self",(char *) "border", NULL
34150 };
34151
994141e6 34152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34155 arg2 = (int) SWIG_AsInt(obj1);
34156 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34157 {
34158 PyThreadState* __tstate = wxPyBeginAllowThreads();
34159 (arg1)->SetBorder(arg2);
34160
34161 wxPyEndAllowThreads(__tstate);
34162 if (PyErr_Occurred()) SWIG_fail;
34163 }
34164 Py_INCREF(Py_None); resultobj = Py_None;
34165 return resultobj;
34166 fail:
34167 return NULL;
34168}
34169
34170
34171static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34172 PyObject *resultobj;
34173 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34174 int result;
34175 PyObject * obj0 = 0 ;
34176 char *kwnames[] = {
34177 (char *) "self", NULL
34178 };
34179
34180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
15afbcd0
RD
34181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34183 {
34184 PyThreadState* __tstate = wxPyBeginAllowThreads();
34185 result = (int)(arg1)->GetBorder();
34186
34187 wxPyEndAllowThreads(__tstate);
34188 if (PyErr_Occurred()) SWIG_fail;
34189 }
15afbcd0 34190 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34191 return resultobj;
34192 fail:
34193 return NULL;
34194}
34195
34196
34197static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34198 PyObject *resultobj;
34199 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34200 wxWindow *result;
34201 PyObject * obj0 = 0 ;
34202 char *kwnames[] = {
34203 (char *) "self", NULL
34204 };
34205
34206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
34207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34209 {
34210 PyThreadState* __tstate = wxPyBeginAllowThreads();
34211 result = (wxWindow *)(arg1)->GetWindow();
34212
34213 wxPyEndAllowThreads(__tstate);
34214 if (PyErr_Occurred()) SWIG_fail;
34215 }
34216 {
34217 resultobj = wxPyMake_wxObject(result);
34218 }
34219 return resultobj;
34220 fail:
34221 return NULL;
34222}
34223
34224
34225static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34226 PyObject *resultobj;
34227 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34228 wxWindow *arg2 = (wxWindow *) 0 ;
34229 PyObject * obj0 = 0 ;
34230 PyObject * obj1 = 0 ;
34231 char *kwnames[] = {
34232 (char *) "self",(char *) "window", NULL
34233 };
34234
34235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34240 {
34241 PyThreadState* __tstate = wxPyBeginAllowThreads();
34242 (arg1)->SetWindow(arg2);
34243
34244 wxPyEndAllowThreads(__tstate);
34245 if (PyErr_Occurred()) SWIG_fail;
34246 }
34247 Py_INCREF(Py_None); resultobj = Py_None;
34248 return resultobj;
34249 fail:
34250 return NULL;
34251}
34252
34253
34254static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34255 PyObject *resultobj;
34256 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34257 wxSizer *result;
34258 PyObject * obj0 = 0 ;
34259 char *kwnames[] = {
34260 (char *) "self", NULL
34261 };
34262
34263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34266 {
34267 PyThreadState* __tstate = wxPyBeginAllowThreads();
34268 result = (wxSizer *)(arg1)->GetSizer();
34269
34270 wxPyEndAllowThreads(__tstate);
34271 if (PyErr_Occurred()) SWIG_fail;
34272 }
34273 {
34274 resultobj = wxPyMake_wxSizer(result);
34275 }
34276 return resultobj;
34277 fail:
34278 return NULL;
34279}
34280
34281
34282static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34283 PyObject *resultobj;
34284 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34285 wxSizer *arg2 = (wxSizer *) 0 ;
34286 PyObject * obj0 = 0 ;
34287 PyObject * obj1 = 0 ;
34288 char *kwnames[] = {
34289 (char *) "self",(char *) "sizer", NULL
34290 };
34291
34292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34295 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
34296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34297 {
34298 PyThreadState* __tstate = wxPyBeginAllowThreads();
34299 (arg1)->SetSizer(arg2);
34300
34301 wxPyEndAllowThreads(__tstate);
34302 if (PyErr_Occurred()) SWIG_fail;
34303 }
34304 Py_INCREF(Py_None); resultobj = Py_None;
34305 return resultobj;
34306 fail:
34307 return NULL;
34308}
34309
34310
34311static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34312 PyObject *resultobj;
34313 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34314 wxSize *result;
34315 PyObject * obj0 = 0 ;
34316 char *kwnames[] = {
34317 (char *) "self", NULL
34318 };
34319
34320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34323 {
34324 PyThreadState* __tstate = wxPyBeginAllowThreads();
34325 {
34326 wxSize const &_result_ref = (arg1)->GetSpacer();
34327 result = (wxSize *) &_result_ref;
34328 }
34329
34330 wxPyEndAllowThreads(__tstate);
34331 if (PyErr_Occurred()) SWIG_fail;
34332 }
15afbcd0 34333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
34334 return resultobj;
34335 fail:
34336 return NULL;
34337}
34338
34339
34340static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34341 PyObject *resultobj;
34342 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34343 wxSize *arg2 = 0 ;
34344 wxSize temp2 ;
34345 PyObject * obj0 = 0 ;
34346 PyObject * obj1 = 0 ;
34347 char *kwnames[] = {
34348 (char *) "self",(char *) "size", NULL
34349 };
34350
34351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34354 {
34355 arg2 = &temp2;
34356 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34357 }
34358 {
34359 PyThreadState* __tstate = wxPyBeginAllowThreads();
34360 (arg1)->SetSpacer((wxSize const &)*arg2);
34361
34362 wxPyEndAllowThreads(__tstate);
34363 if (PyErr_Occurred()) SWIG_fail;
34364 }
34365 Py_INCREF(Py_None); resultobj = Py_None;
34366 return resultobj;
34367 fail:
34368 return NULL;
34369}
34370
34371
34372static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
34373 PyObject *resultobj;
34374 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34375 bool arg2 ;
34376 PyObject * obj0 = 0 ;
34377 PyObject * obj1 = 0 ;
34378 char *kwnames[] = {
34379 (char *) "self",(char *) "show", NULL
34380 };
34381
34382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34385 arg2 = (bool) SWIG_AsBool(obj1);
34386 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34387 {
34388 PyThreadState* __tstate = wxPyBeginAllowThreads();
34389 (arg1)->Show(arg2);
34390
34391 wxPyEndAllowThreads(__tstate);
34392 if (PyErr_Occurred()) SWIG_fail;
34393 }
34394 Py_INCREF(Py_None); resultobj = Py_None;
34395 return resultobj;
34396 fail:
34397 return NULL;
34398}
34399
34400
34401static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
34402 PyObject *resultobj;
34403 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34404 bool result;
34405 PyObject * obj0 = 0 ;
34406 char *kwnames[] = {
34407 (char *) "self", NULL
34408 };
34409
34410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
34411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34413 {
34414 PyThreadState* __tstate = wxPyBeginAllowThreads();
34415 result = (bool)(arg1)->IsShown();
34416
34417 wxPyEndAllowThreads(__tstate);
34418 if (PyErr_Occurred()) SWIG_fail;
34419 }
4f89f6a3
RD
34420 {
34421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34422 }
d14a1e28
RD
34423 return resultobj;
34424 fail:
34425 return NULL;
34426}
34427
34428
34429static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34430 PyObject *resultobj;
34431 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34432 wxPoint result;
34433 PyObject * obj0 = 0 ;
34434 char *kwnames[] = {
34435 (char *) "self", NULL
34436 };
34437
34438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
34439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34441 {
34442 PyThreadState* __tstate = wxPyBeginAllowThreads();
34443 result = (arg1)->GetPosition();
34444
34445 wxPyEndAllowThreads(__tstate);
34446 if (PyErr_Occurred()) SWIG_fail;
34447 }
34448 {
34449 wxPoint * resultptr;
34450 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 34451 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
34452 }
34453 return resultobj;
34454 fail:
34455 return NULL;
34456}
34457
34458
34459static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
34460 PyObject *resultobj;
34461 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34462 PyObject *result;
34463 PyObject * obj0 = 0 ;
34464 char *kwnames[] = {
34465 (char *) "self", NULL
34466 };
34467
34468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
15afbcd0
RD
34469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34471 {
34472 PyThreadState* __tstate = wxPyBeginAllowThreads();
34473 result = (PyObject *)wxSizerItem_GetUserData(arg1);
34474
34475 wxPyEndAllowThreads(__tstate);
34476 if (PyErr_Occurred()) SWIG_fail;
34477 }
34478 resultobj = result;
34479 return resultobj;
34480 fail:
34481 return NULL;
34482}
34483
34484
34485static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
34486 PyObject *obj;
34487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34488 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
34489 Py_INCREF(obj);
34490 return Py_BuildValue((char *)"");
34491}
34492static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
34493 PyObject *resultobj;
34494 wxSizer *arg1 = (wxSizer *) 0 ;
34495 PyObject *arg2 = (PyObject *) 0 ;
34496 PyObject * obj0 = 0 ;
34497 PyObject * obj1 = 0 ;
34498 char *kwnames[] = {
34499 (char *) "self",(char *) "_self", NULL
34500 };
34501
34502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34505 arg2 = obj1;
34506 {
34507 PyThreadState* __tstate = wxPyBeginAllowThreads();
34508 wxSizer__setOORInfo(arg1,arg2);
34509
34510 wxPyEndAllowThreads(__tstate);
34511 if (PyErr_Occurred()) SWIG_fail;
34512 }
34513 Py_INCREF(Py_None); resultobj = Py_None;
34514 return resultobj;
34515 fail:
34516 return NULL;
34517}
34518
34519
34520static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
34521 PyObject *resultobj;
34522 wxSizer *arg1 = (wxSizer *) 0 ;
34523 PyObject *arg2 = (PyObject *) 0 ;
34524 int arg3 = (int) 0 ;
34525 int arg4 = (int) 0 ;
34526 int arg5 = (int) 0 ;
34527 PyObject *arg6 = (PyObject *) NULL ;
34528 PyObject * obj0 = 0 ;
34529 PyObject * obj1 = 0 ;
994141e6
RD
34530 PyObject * obj2 = 0 ;
34531 PyObject * obj3 = 0 ;
34532 PyObject * obj4 = 0 ;
d14a1e28
RD
34533 PyObject * obj5 = 0 ;
34534 char *kwnames[] = {
34535 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34536 };
34537
994141e6 34538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
34539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34541 arg2 = obj1;
994141e6 34542 if (obj2) {
15afbcd0
RD
34543 arg3 = (int) SWIG_AsInt(obj2);
34544 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34545 }
34546 if (obj3) {
15afbcd0
RD
34547 arg4 = (int) SWIG_AsInt(obj3);
34548 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34549 }
34550 if (obj4) {
15afbcd0
RD
34551 arg5 = (int) SWIG_AsInt(obj4);
34552 if (PyErr_Occurred()) SWIG_fail;
994141e6 34553 }
d14a1e28
RD
34554 if (obj5) {
34555 arg6 = obj5;
34556 }
34557 {
34558 PyThreadState* __tstate = wxPyBeginAllowThreads();
34559 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
34560
34561 wxPyEndAllowThreads(__tstate);
34562 if (PyErr_Occurred()) SWIG_fail;
34563 }
34564 Py_INCREF(Py_None); resultobj = Py_None;
34565 return resultobj;
34566 fail:
34567 return NULL;
34568}
34569
34570
34571static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
34572 PyObject *resultobj;
34573 wxSizer *arg1 = (wxSizer *) 0 ;
34574 int arg2 ;
34575 PyObject *arg3 = (PyObject *) 0 ;
34576 int arg4 = (int) 0 ;
34577 int arg5 = (int) 0 ;
34578 int arg6 = (int) 0 ;
34579 PyObject *arg7 = (PyObject *) NULL ;
34580 PyObject * obj0 = 0 ;
994141e6 34581 PyObject * obj1 = 0 ;
d14a1e28 34582 PyObject * obj2 = 0 ;
994141e6
RD
34583 PyObject * obj3 = 0 ;
34584 PyObject * obj4 = 0 ;
34585 PyObject * obj5 = 0 ;
d14a1e28
RD
34586 PyObject * obj6 = 0 ;
34587 char *kwnames[] = {
34588 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34589 };
34590
994141e6 34591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
34592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34594 arg2 = (int) SWIG_AsInt(obj1);
34595 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 34596 arg3 = obj2;
994141e6 34597 if (obj3) {
15afbcd0
RD
34598 arg4 = (int) SWIG_AsInt(obj3);
34599 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34600 }
34601 if (obj4) {
15afbcd0
RD
34602 arg5 = (int) SWIG_AsInt(obj4);
34603 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34604 }
34605 if (obj5) {
15afbcd0
RD
34606 arg6 = (int) SWIG_AsInt(obj5);
34607 if (PyErr_Occurred()) SWIG_fail;
994141e6 34608 }
d14a1e28
RD
34609 if (obj6) {
34610 arg7 = obj6;
34611 }
34612 {
34613 PyThreadState* __tstate = wxPyBeginAllowThreads();
34614 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
34615
34616 wxPyEndAllowThreads(__tstate);
34617 if (PyErr_Occurred()) SWIG_fail;
34618 }
34619 Py_INCREF(Py_None); resultobj = Py_None;
34620 return resultobj;
34621 fail:
34622 return NULL;
34623}
34624
34625
34626static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
34627 PyObject *resultobj;
34628 wxSizer *arg1 = (wxSizer *) 0 ;
34629 PyObject *arg2 = (PyObject *) 0 ;
34630 int arg3 = (int) 0 ;
34631 int arg4 = (int) 0 ;
34632 int arg5 = (int) 0 ;
34633 PyObject *arg6 = (PyObject *) NULL ;
34634 PyObject * obj0 = 0 ;
34635 PyObject * obj1 = 0 ;
994141e6
RD
34636 PyObject * obj2 = 0 ;
34637 PyObject * obj3 = 0 ;
34638 PyObject * obj4 = 0 ;
d14a1e28
RD
34639 PyObject * obj5 = 0 ;
34640 char *kwnames[] = {
34641 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34642 };
34643
994141e6 34644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
34645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34647 arg2 = obj1;
994141e6 34648 if (obj2) {
15afbcd0
RD
34649 arg3 = (int) SWIG_AsInt(obj2);
34650 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34651 }
34652 if (obj3) {
15afbcd0
RD
34653 arg4 = (int) SWIG_AsInt(obj3);
34654 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34655 }
34656 if (obj4) {
15afbcd0
RD
34657 arg5 = (int) SWIG_AsInt(obj4);
34658 if (PyErr_Occurred()) SWIG_fail;
994141e6 34659 }
d14a1e28
RD
34660 if (obj5) {
34661 arg6 = obj5;
34662 }
34663 {
34664 PyThreadState* __tstate = wxPyBeginAllowThreads();
34665 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
34666
34667 wxPyEndAllowThreads(__tstate);
34668 if (PyErr_Occurred()) SWIG_fail;
34669 }
34670 Py_INCREF(Py_None); resultobj = Py_None;
34671 return resultobj;
34672 fail:
34673 return NULL;
34674}
34675
34676
34677static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
34678 PyObject *resultobj;
34679 wxSizer *arg1 = (wxSizer *) 0 ;
34680 PyObject *arg2 = (PyObject *) 0 ;
34681 bool result;
34682 PyObject * obj0 = 0 ;
34683 PyObject * obj1 = 0 ;
34684 char *kwnames[] = {
34685 (char *) "self",(char *) "item", NULL
34686 };
34687
34688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34691 arg2 = obj1;
34692 {
34693 PyThreadState* __tstate = wxPyBeginAllowThreads();
34694 result = (bool)wxSizer_Remove(arg1,arg2);
34695
34696 wxPyEndAllowThreads(__tstate);
34697 if (PyErr_Occurred()) SWIG_fail;
34698 }
4f89f6a3
RD
34699 {
34700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34701 }
d14a1e28
RD
34702 return resultobj;
34703 fail:
34704 return NULL;
34705}
34706
34707
1c0f361b
RD
34708static PyObject *_wrap_Sizer_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
34709 PyObject *resultobj;
34710 wxSizer *arg1 = (wxSizer *) 0 ;
34711 PyObject *arg2 = (PyObject *) 0 ;
34712 bool result;
34713 PyObject * obj0 = 0 ;
34714 PyObject * obj1 = 0 ;
34715 char *kwnames[] = {
34716 (char *) "self",(char *) "item", NULL
34717 };
34718
34719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Detach",kwnames,&obj0,&obj1)) goto fail;
34720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34722 arg2 = obj1;
34723 {
34724 PyThreadState* __tstate = wxPyBeginAllowThreads();
34725 result = (bool)wxSizer_Detach(arg1,arg2);
34726
34727 wxPyEndAllowThreads(__tstate);
34728 if (PyErr_Occurred()) SWIG_fail;
34729 }
34730 {
34731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34732 }
34733 return resultobj;
34734 fail:
34735 return NULL;
34736}
34737
34738
d14a1e28
RD
34739static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34740 PyObject *resultobj;
34741 wxSizer *arg1 = (wxSizer *) 0 ;
34742 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce
RD
34743 wxSize *arg3 = 0 ;
34744 wxSize temp3 ;
d14a1e28
RD
34745 PyObject * obj0 = 0 ;
34746 PyObject * obj1 = 0 ;
34747 PyObject * obj2 = 0 ;
34748 char *kwnames[] = {
34749 (char *) "self",(char *) "item",(char *) "size", NULL
34750 };
34751
34752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34755 arg2 = obj1;
e811c8ce
RD
34756 {
34757 arg3 = &temp3;
34758 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
34759 }
d14a1e28
RD
34760 {
34761 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 34762 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
34763
34764 wxPyEndAllowThreads(__tstate);
34765 if (PyErr_Occurred()) SWIG_fail;
34766 }
34767 Py_INCREF(Py_None); resultobj = Py_None;
34768 return resultobj;
34769 fail:
34770 return NULL;
34771}
34772
34773
34774static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
34775 PyObject *resultobj;
34776 wxSizer *arg1 = (wxSizer *) 0 ;
34777 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
34778 PyObject * obj0 = 0 ;
34779 PyObject * obj1 = 0 ;
34780 char *kwnames[] = {
34781 (char *) "self",(char *) "item", NULL
34782 };
34783
34784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
34788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34789 {
34790 PyThreadState* __tstate = wxPyBeginAllowThreads();
34791 (arg1)->Add(arg2);
34792
34793 wxPyEndAllowThreads(__tstate);
34794 if (PyErr_Occurred()) SWIG_fail;
34795 }
34796 Py_INCREF(Py_None); resultobj = Py_None;
34797 return resultobj;
34798 fail:
34799 return NULL;
34800}
34801
34802
34803static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
34804 PyObject *resultobj;
34805 wxSizer *arg1 = (wxSizer *) 0 ;
34806 size_t arg2 ;
34807 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
34808 PyObject * obj0 = 0 ;
34809 PyObject * obj1 = 0 ;
34810 PyObject * obj2 = 0 ;
34811 char *kwnames[] = {
34812 (char *) "self",(char *) "index",(char *) "item", NULL
34813 };
34814
34815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34818 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
34819 if (PyErr_Occurred()) SWIG_fail;
34820 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
34821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34822 {
34823 PyThreadState* __tstate = wxPyBeginAllowThreads();
34824 (arg1)->Insert(arg2,arg3);
34825
34826 wxPyEndAllowThreads(__tstate);
34827 if (PyErr_Occurred()) SWIG_fail;
34828 }
34829 Py_INCREF(Py_None); resultobj = Py_None;
34830 return resultobj;
34831 fail:
34832 return NULL;
34833}
34834
34835
34836static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
34837 PyObject *resultobj;
34838 wxSizer *arg1 = (wxSizer *) 0 ;
34839 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
34840 PyObject * obj0 = 0 ;
34841 PyObject * obj1 = 0 ;
34842 char *kwnames[] = {
34843 (char *) "self",(char *) "item", NULL
34844 };
34845
34846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
34850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34851 {
34852 PyThreadState* __tstate = wxPyBeginAllowThreads();
34853 (arg1)->Prepend(arg2);
34854
34855 wxPyEndAllowThreads(__tstate);
34856 if (PyErr_Occurred()) SWIG_fail;
34857 }
34858 Py_INCREF(Py_None); resultobj = Py_None;
34859 return resultobj;
34860 fail:
34861 return NULL;
34862}
34863
34864
34865static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
34866 PyObject *resultobj;
34867 wxSizer *arg1 = (wxSizer *) 0 ;
34868 int arg2 ;
34869 int arg3 ;
34870 int arg4 ;
34871 int arg5 ;
34872 PyObject * obj0 = 0 ;
994141e6
RD
34873 PyObject * obj1 = 0 ;
34874 PyObject * obj2 = 0 ;
34875 PyObject * obj3 = 0 ;
34876 PyObject * obj4 = 0 ;
d14a1e28
RD
34877 char *kwnames[] = {
34878 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34879 };
34880
994141e6 34881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
34882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34884 arg2 = (int) SWIG_AsInt(obj1);
34885 if (PyErr_Occurred()) SWIG_fail;
34886 arg3 = (int) SWIG_AsInt(obj2);
34887 if (PyErr_Occurred()) SWIG_fail;
34888 arg4 = (int) SWIG_AsInt(obj3);
34889 if (PyErr_Occurred()) SWIG_fail;
34890 arg5 = (int) SWIG_AsInt(obj4);
34891 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34892 {
34893 PyThreadState* __tstate = wxPyBeginAllowThreads();
34894 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
34895
34896 wxPyEndAllowThreads(__tstate);
34897 if (PyErr_Occurred()) SWIG_fail;
34898 }
34899 Py_INCREF(Py_None); resultobj = Py_None;
34900 return resultobj;
34901 fail:
34902 return NULL;
34903}
34904
34905
34906static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34907 PyObject *resultobj;
34908 wxSizer *arg1 = (wxSizer *) 0 ;
1fc9204a
RD
34909 wxSize *arg2 = 0 ;
34910 wxSize temp2 ;
d14a1e28
RD
34911 PyObject * obj0 = 0 ;
34912 PyObject * obj1 = 0 ;
34913 char *kwnames[] = {
34914 (char *) "self",(char *) "size", NULL
34915 };
34916
34917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1fc9204a
RD
34920 {
34921 arg2 = &temp2;
34922 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34923 }
d14a1e28
RD
34924 {
34925 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fc9204a 34926 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
34927
34928 wxPyEndAllowThreads(__tstate);
34929 if (PyErr_Occurred()) SWIG_fail;
34930 }
34931 Py_INCREF(Py_None); resultobj = Py_None;
34932 return resultobj;
34933 fail:
34934 return NULL;
34935}
34936
34937
34938static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34939 PyObject *resultobj;
34940 wxSizer *arg1 = (wxSizer *) 0 ;
34941 wxSize result;
34942 PyObject * obj0 = 0 ;
34943 char *kwnames[] = {
34944 (char *) "self", NULL
34945 };
34946
34947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
34948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34950 {
34951 PyThreadState* __tstate = wxPyBeginAllowThreads();
34952 result = (arg1)->GetSize();
34953
34954 wxPyEndAllowThreads(__tstate);
34955 if (PyErr_Occurred()) SWIG_fail;
34956 }
34957 {
34958 wxSize * resultptr;
34959 resultptr = new wxSize((wxSize &) result);
15afbcd0 34960 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34961 }
34962 return resultobj;
34963 fail:
34964 return NULL;
34965}
34966
34967
34968static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34969 PyObject *resultobj;
34970 wxSizer *arg1 = (wxSizer *) 0 ;
34971 wxPoint result;
34972 PyObject * obj0 = 0 ;
34973 char *kwnames[] = {
34974 (char *) "self", NULL
34975 };
34976
34977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
34978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34980 {
34981 PyThreadState* __tstate = wxPyBeginAllowThreads();
34982 result = (arg1)->GetPosition();
34983
34984 wxPyEndAllowThreads(__tstate);
34985 if (PyErr_Occurred()) SWIG_fail;
34986 }
34987 {
34988 wxPoint * resultptr;
34989 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 34990 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
34991 }
34992 return resultobj;
34993 fail:
34994 return NULL;
34995}
34996
34997
34998static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34999 PyObject *resultobj;
35000 wxSizer *arg1 = (wxSizer *) 0 ;
35001 wxSize result;
35002 PyObject * obj0 = 0 ;
35003 char *kwnames[] = {
35004 (char *) "self", NULL
35005 };
35006
35007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
35008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35010 {
35011 PyThreadState* __tstate = wxPyBeginAllowThreads();
35012 result = (arg1)->GetMinSize();
35013
35014 wxPyEndAllowThreads(__tstate);
35015 if (PyErr_Occurred()) SWIG_fail;
35016 }
35017 {
35018 wxSize * resultptr;
35019 resultptr = new wxSize((wxSize &) result);
15afbcd0 35020 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35021 }
35022 return resultobj;
35023 fail:
35024 return NULL;
35025}
35026
35027
35028static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35029 PyObject *resultobj;
35030 wxSizer *arg1 = (wxSizer *) 0 ;
35031 PyObject * obj0 = 0 ;
35032 char *kwnames[] = {
35033 (char *) "self", NULL
35034 };
35035
35036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
35037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35039 {
35040 PyThreadState* __tstate = wxPyBeginAllowThreads();
35041 (arg1)->RecalcSizes();
35042
35043 wxPyEndAllowThreads(__tstate);
35044 if (PyErr_Occurred()) SWIG_fail;
35045 }
35046 Py_INCREF(Py_None); resultobj = Py_None;
35047 return resultobj;
35048 fail:
35049 return NULL;
35050}
35051
35052
35053static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35054 PyObject *resultobj;
35055 wxSizer *arg1 = (wxSizer *) 0 ;
35056 wxSize result;
35057 PyObject * obj0 = 0 ;
35058 char *kwnames[] = {
35059 (char *) "self", NULL
35060 };
35061
35062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
35063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35065 {
35066 PyThreadState* __tstate = wxPyBeginAllowThreads();
35067 result = (arg1)->CalcMin();
35068
35069 wxPyEndAllowThreads(__tstate);
35070 if (PyErr_Occurred()) SWIG_fail;
35071 }
35072 {
35073 wxSize * resultptr;
35074 resultptr = new wxSize((wxSize &) result);
15afbcd0 35075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35076 }
35077 return resultobj;
35078 fail:
35079 return NULL;
35080}
35081
35082
35083static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
35084 PyObject *resultobj;
35085 wxSizer *arg1 = (wxSizer *) 0 ;
35086 PyObject * obj0 = 0 ;
35087 char *kwnames[] = {
35088 (char *) "self", NULL
35089 };
35090
35091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
35092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35094 {
35095 PyThreadState* __tstate = wxPyBeginAllowThreads();
35096 (arg1)->Layout();
35097
35098 wxPyEndAllowThreads(__tstate);
35099 if (PyErr_Occurred()) SWIG_fail;
35100 }
35101 Py_INCREF(Py_None); resultobj = Py_None;
35102 return resultobj;
35103 fail:
35104 return NULL;
35105}
35106
35107
35108static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
35109 PyObject *resultobj;
35110 wxSizer *arg1 = (wxSizer *) 0 ;
35111 wxWindow *arg2 = (wxWindow *) 0 ;
35112 wxSize result;
35113 PyObject * obj0 = 0 ;
35114 PyObject * obj1 = 0 ;
35115 char *kwnames[] = {
35116 (char *) "self",(char *) "window", NULL
35117 };
35118
35119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35122 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35124 {
35125 PyThreadState* __tstate = wxPyBeginAllowThreads();
35126 result = (arg1)->Fit(arg2);
35127
35128 wxPyEndAllowThreads(__tstate);
35129 if (PyErr_Occurred()) SWIG_fail;
35130 }
35131 {
35132 wxSize * resultptr;
35133 resultptr = new wxSize((wxSize &) result);
15afbcd0 35134 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35135 }
35136 return resultobj;
35137 fail:
35138 return NULL;
35139}
35140
35141
35142static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
35143 PyObject *resultobj;
35144 wxSizer *arg1 = (wxSizer *) 0 ;
35145 wxWindow *arg2 = (wxWindow *) 0 ;
35146 PyObject * obj0 = 0 ;
35147 PyObject * obj1 = 0 ;
35148 char *kwnames[] = {
35149 (char *) "self",(char *) "window", NULL
35150 };
35151
35152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35155 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35157 {
35158 PyThreadState* __tstate = wxPyBeginAllowThreads();
35159 (arg1)->FitInside(arg2);
35160
35161 wxPyEndAllowThreads(__tstate);
35162 if (PyErr_Occurred()) SWIG_fail;
35163 }
35164 Py_INCREF(Py_None); resultobj = Py_None;
35165 return resultobj;
35166 fail:
35167 return NULL;
35168}
35169
35170
35171static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35172 PyObject *resultobj;
35173 wxSizer *arg1 = (wxSizer *) 0 ;
35174 wxWindow *arg2 = (wxWindow *) 0 ;
35175 PyObject * obj0 = 0 ;
35176 PyObject * obj1 = 0 ;
35177 char *kwnames[] = {
35178 (char *) "self",(char *) "window", NULL
35179 };
35180
35181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35184 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35186 {
35187 PyThreadState* __tstate = wxPyBeginAllowThreads();
35188 (arg1)->SetSizeHints(arg2);
35189
35190 wxPyEndAllowThreads(__tstate);
35191 if (PyErr_Occurred()) SWIG_fail;
35192 }
35193 Py_INCREF(Py_None); resultobj = Py_None;
35194 return resultobj;
35195 fail:
35196 return NULL;
35197}
35198
35199
35200static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35201 PyObject *resultobj;
35202 wxSizer *arg1 = (wxSizer *) 0 ;
35203 wxWindow *arg2 = (wxWindow *) 0 ;
35204 PyObject * obj0 = 0 ;
35205 PyObject * obj1 = 0 ;
35206 char *kwnames[] = {
35207 (char *) "self",(char *) "window", NULL
35208 };
35209
35210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35215 {
35216 PyThreadState* __tstate = wxPyBeginAllowThreads();
35217 (arg1)->SetVirtualSizeHints(arg2);
35218
35219 wxPyEndAllowThreads(__tstate);
35220 if (PyErr_Occurred()) SWIG_fail;
35221 }
35222 Py_INCREF(Py_None); resultobj = Py_None;
35223 return resultobj;
35224 fail:
35225 return NULL;
35226}
35227
35228
35229static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
35230 PyObject *resultobj;
35231 wxSizer *arg1 = (wxSizer *) 0 ;
e811c8ce 35232 bool arg2 = (bool) False ;
d14a1e28
RD
35233 PyObject * obj0 = 0 ;
35234 PyObject * obj1 = 0 ;
35235 char *kwnames[] = {
35236 (char *) "self",(char *) "delete_windows", NULL
35237 };
35238
35239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35242 if (obj1) {
15afbcd0
RD
35243 arg2 = (bool) SWIG_AsBool(obj1);
35244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35245 }
35246 {
35247 PyThreadState* __tstate = wxPyBeginAllowThreads();
35248 (arg1)->Clear(arg2);
35249
35250 wxPyEndAllowThreads(__tstate);
35251 if (PyErr_Occurred()) SWIG_fail;
35252 }
35253 Py_INCREF(Py_None); resultobj = Py_None;
35254 return resultobj;
35255 fail:
35256 return NULL;
35257}
35258
35259
35260static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
35261 PyObject *resultobj;
35262 wxSizer *arg1 = (wxSizer *) 0 ;
35263 PyObject * obj0 = 0 ;
35264 char *kwnames[] = {
35265 (char *) "self", NULL
35266 };
35267
35268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
35269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35271 {
35272 PyThreadState* __tstate = wxPyBeginAllowThreads();
35273 (arg1)->DeleteWindows();
35274
35275 wxPyEndAllowThreads(__tstate);
35276 if (PyErr_Occurred()) SWIG_fail;
35277 }
35278 Py_INCREF(Py_None); resultobj = Py_None;
35279 return resultobj;
35280 fail:
35281 return NULL;
35282}
35283
35284
35285static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
35286 PyObject *resultobj;
35287 wxSizer *arg1 = (wxSizer *) 0 ;
35288 PyObject *result;
35289 PyObject * obj0 = 0 ;
35290 char *kwnames[] = {
35291 (char *) "self", NULL
35292 };
35293
35294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
35295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35297 {
35298 PyThreadState* __tstate = wxPyBeginAllowThreads();
35299 result = (PyObject *)wxSizer_GetChildren(arg1);
35300
35301 wxPyEndAllowThreads(__tstate);
35302 if (PyErr_Occurred()) SWIG_fail;
35303 }
35304 resultobj = result;
35305 return resultobj;
35306 fail:
35307 return NULL;
35308}
35309
35310
35311static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
35312 PyObject *resultobj;
35313 wxSizer *arg1 = (wxSizer *) 0 ;
35314 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 35315 bool arg3 = (bool) True ;
d14a1e28
RD
35316 PyObject * obj0 = 0 ;
35317 PyObject * obj1 = 0 ;
35318 PyObject * obj2 = 0 ;
35319 char *kwnames[] = {
35320 (char *) "self",(char *) "item",(char *) "show", NULL
35321 };
35322
35323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35326 arg2 = obj1;
35327 if (obj2) {
15afbcd0
RD
35328 arg3 = (bool) SWIG_AsBool(obj2);
35329 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35330 }
35331 {
35332 PyThreadState* __tstate = wxPyBeginAllowThreads();
35333 wxSizer_Show(arg1,arg2,arg3);
35334
35335 wxPyEndAllowThreads(__tstate);
35336 if (PyErr_Occurred()) SWIG_fail;
35337 }
35338 Py_INCREF(Py_None); resultobj = Py_None;
35339 return resultobj;
35340 fail:
35341 return NULL;
35342}
35343
35344
35345static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
35346 PyObject *resultobj;
35347 wxSizer *arg1 = (wxSizer *) 0 ;
35348 PyObject *arg2 = (PyObject *) 0 ;
35349 PyObject * obj0 = 0 ;
35350 PyObject * obj1 = 0 ;
35351 char *kwnames[] = {
35352 (char *) "self",(char *) "item", NULL
35353 };
35354
35355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35358 arg2 = obj1;
35359 {
35360 PyThreadState* __tstate = wxPyBeginAllowThreads();
35361 wxSizer_Hide(arg1,arg2);
35362
35363 wxPyEndAllowThreads(__tstate);
35364 if (PyErr_Occurred()) SWIG_fail;
35365 }
35366 Py_INCREF(Py_None); resultobj = Py_None;
35367 return resultobj;
35368 fail:
35369 return NULL;
35370}
35371
35372
35373static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
35374 PyObject *resultobj;
35375 wxSizer *arg1 = (wxSizer *) 0 ;
35376 PyObject *arg2 = (PyObject *) 0 ;
35377 bool result;
35378 PyObject * obj0 = 0 ;
35379 PyObject * obj1 = 0 ;
35380 char *kwnames[] = {
35381 (char *) "self",(char *) "item", NULL
35382 };
35383
35384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35387 arg2 = obj1;
35388 {
35389 PyThreadState* __tstate = wxPyBeginAllowThreads();
35390 result = (bool)wxSizer_IsShown(arg1,arg2);
35391
35392 wxPyEndAllowThreads(__tstate);
35393 if (PyErr_Occurred()) SWIG_fail;
35394 }
4f89f6a3
RD
35395 {
35396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35397 }
d14a1e28
RD
35398 return resultobj;
35399 fail:
35400 return NULL;
35401}
35402
35403
35404static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
35405 PyObject *resultobj;
35406 wxSizer *arg1 = (wxSizer *) 0 ;
35407 bool arg2 ;
35408 PyObject * obj0 = 0 ;
35409 PyObject * obj1 = 0 ;
35410 char *kwnames[] = {
35411 (char *) "self",(char *) "show", NULL
35412 };
35413
35414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35417 arg2 = (bool) SWIG_AsBool(obj1);
35418 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35419 {
35420 PyThreadState* __tstate = wxPyBeginAllowThreads();
35421 (arg1)->ShowItems(arg2);
35422
35423 wxPyEndAllowThreads(__tstate);
35424 if (PyErr_Occurred()) SWIG_fail;
35425 }
35426 Py_INCREF(Py_None); resultobj = Py_None;
35427 return resultobj;
35428 fail:
35429 return NULL;
35430}
35431
35432
35433static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
35434 PyObject *obj;
35435 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35436 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
35437 Py_INCREF(obj);
35438 return Py_BuildValue((char *)"");
35439}
35440static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35441 PyObject *resultobj;
35442 wxPySizer *result;
35443 char *kwnames[] = {
35444 NULL
35445 };
35446
35447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
35448 {
35449 PyThreadState* __tstate = wxPyBeginAllowThreads();
35450 result = (wxPySizer *)new wxPySizer();
35451
35452 wxPyEndAllowThreads(__tstate);
35453 if (PyErr_Occurred()) SWIG_fail;
35454 }
15afbcd0 35455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
d14a1e28
RD
35456 return resultobj;
35457 fail:
35458 return NULL;
35459}
35460
35461
35462static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
35463 PyObject *resultobj;
35464 wxPySizer *arg1 = (wxPySizer *) 0 ;
35465 PyObject *arg2 = (PyObject *) 0 ;
35466 PyObject *arg3 = (PyObject *) 0 ;
35467 PyObject * obj0 = 0 ;
35468 PyObject * obj1 = 0 ;
35469 PyObject * obj2 = 0 ;
35470 char *kwnames[] = {
35471 (char *) "self",(char *) "self",(char *) "_class", NULL
35472 };
35473
35474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
35476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35477 arg2 = obj1;
35478 arg3 = obj2;
35479 {
35480 PyThreadState* __tstate = wxPyBeginAllowThreads();
35481 (arg1)->_setCallbackInfo(arg2,arg3);
35482
35483 wxPyEndAllowThreads(__tstate);
35484 if (PyErr_Occurred()) SWIG_fail;
35485 }
35486 Py_INCREF(Py_None); resultobj = Py_None;
35487 return resultobj;
35488 fail:
35489 return NULL;
35490}
35491
35492
35493static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
35494 PyObject *obj;
35495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35496 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
35497 Py_INCREF(obj);
35498 return Py_BuildValue((char *)"");
35499}
35500static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35501 PyObject *resultobj;
35502 int arg1 = (int) wxHORIZONTAL ;
35503 wxBoxSizer *result;
994141e6 35504 PyObject * obj0 = 0 ;
d14a1e28
RD
35505 char *kwnames[] = {
35506 (char *) "orient", NULL
35507 };
35508
994141e6
RD
35509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
35510 if (obj0) {
15afbcd0
RD
35511 arg1 = (int) SWIG_AsInt(obj0);
35512 if (PyErr_Occurred()) SWIG_fail;
994141e6 35513 }
d14a1e28
RD
35514 {
35515 PyThreadState* __tstate = wxPyBeginAllowThreads();
35516 result = (wxBoxSizer *)new wxBoxSizer(arg1);
35517
35518 wxPyEndAllowThreads(__tstate);
35519 if (PyErr_Occurred()) SWIG_fail;
35520 }
15afbcd0 35521 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
d14a1e28
RD
35522 return resultobj;
35523 fail:
35524 return NULL;
35525}
35526
35527
35528static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
35529 PyObject *resultobj;
35530 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35531 int result;
35532 PyObject * obj0 = 0 ;
35533 char *kwnames[] = {
35534 (char *) "self", NULL
35535 };
35536
35537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
35538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35540 {
35541 PyThreadState* __tstate = wxPyBeginAllowThreads();
35542 result = (int)(arg1)->GetOrientation();
35543
35544 wxPyEndAllowThreads(__tstate);
35545 if (PyErr_Occurred()) SWIG_fail;
35546 }
15afbcd0 35547 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35548 return resultobj;
35549 fail:
35550 return NULL;
35551}
35552
35553
35554static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
35555 PyObject *resultobj;
35556 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35557 int arg2 ;
35558 PyObject * obj0 = 0 ;
994141e6 35559 PyObject * obj1 = 0 ;
d14a1e28
RD
35560 char *kwnames[] = {
35561 (char *) "self",(char *) "orient", NULL
35562 };
35563
994141e6 35564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35567 arg2 = (int) SWIG_AsInt(obj1);
35568 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35569 {
35570 PyThreadState* __tstate = wxPyBeginAllowThreads();
35571 (arg1)->SetOrientation(arg2);
35572
35573 wxPyEndAllowThreads(__tstate);
35574 if (PyErr_Occurred()) SWIG_fail;
35575 }
35576 Py_INCREF(Py_None); resultobj = Py_None;
35577 return resultobj;
35578 fail:
35579 return NULL;
35580}
35581
35582
35583static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35584 PyObject *resultobj;
35585 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35586 PyObject * obj0 = 0 ;
35587 char *kwnames[] = {
35588 (char *) "self", NULL
35589 };
35590
35591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
35592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35594 {
35595 PyThreadState* __tstate = wxPyBeginAllowThreads();
35596 (arg1)->RecalcSizes();
35597
35598 wxPyEndAllowThreads(__tstate);
35599 if (PyErr_Occurred()) SWIG_fail;
35600 }
35601 Py_INCREF(Py_None); resultobj = Py_None;
35602 return resultobj;
35603 fail:
35604 return NULL;
35605}
35606
35607
35608static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35609 PyObject *resultobj;
35610 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35611 wxSize result;
35612 PyObject * obj0 = 0 ;
35613 char *kwnames[] = {
35614 (char *) "self", NULL
35615 };
35616
35617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
35618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35620 {
35621 PyThreadState* __tstate = wxPyBeginAllowThreads();
35622 result = (arg1)->CalcMin();
35623
35624 wxPyEndAllowThreads(__tstate);
35625 if (PyErr_Occurred()) SWIG_fail;
35626 }
35627 {
35628 wxSize * resultptr;
35629 resultptr = new wxSize((wxSize &) result);
15afbcd0 35630 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35631 }
35632 return resultobj;
35633 fail:
35634 return NULL;
35635}
35636
35637
35638static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
35639 PyObject *obj;
35640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35641 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
35642 Py_INCREF(obj);
35643 return Py_BuildValue((char *)"");
35644}
35645static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35646 PyObject *resultobj;
35647 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
35648 int arg2 = (int) wxHORIZONTAL ;
35649 wxStaticBoxSizer *result;
35650 PyObject * obj0 = 0 ;
994141e6 35651 PyObject * obj1 = 0 ;
d14a1e28
RD
35652 char *kwnames[] = {
35653 (char *) "box",(char *) "orient", NULL
35654 };
35655
994141e6 35656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
35658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 35659 if (obj1) {
15afbcd0
RD
35660 arg2 = (int) SWIG_AsInt(obj1);
35661 if (PyErr_Occurred()) SWIG_fail;
994141e6 35662 }
d14a1e28
RD
35663 {
35664 PyThreadState* __tstate = wxPyBeginAllowThreads();
35665 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
35666
35667 wxPyEndAllowThreads(__tstate);
35668 if (PyErr_Occurred()) SWIG_fail;
35669 }
15afbcd0 35670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
d14a1e28
RD
35671 return resultobj;
35672 fail:
35673 return NULL;
35674}
35675
35676
35677static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
35678 PyObject *resultobj;
35679 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35680 wxStaticBox *result;
35681 PyObject * obj0 = 0 ;
35682 char *kwnames[] = {
35683 (char *) "self", NULL
35684 };
35685
35686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
35687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35689 {
35690 PyThreadState* __tstate = wxPyBeginAllowThreads();
35691 result = (wxStaticBox *)(arg1)->GetStaticBox();
35692
35693 wxPyEndAllowThreads(__tstate);
35694 if (PyErr_Occurred()) SWIG_fail;
35695 }
35696 {
35697 resultobj = wxPyMake_wxObject(result);
35698 }
35699 return resultobj;
35700 fail:
35701 return NULL;
35702}
35703
35704
35705static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35706 PyObject *resultobj;
35707 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35708 PyObject * obj0 = 0 ;
35709 char *kwnames[] = {
35710 (char *) "self", NULL
35711 };
35712
35713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
35714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35716 {
35717 PyThreadState* __tstate = wxPyBeginAllowThreads();
35718 (arg1)->RecalcSizes();
35719
35720 wxPyEndAllowThreads(__tstate);
35721 if (PyErr_Occurred()) SWIG_fail;
35722 }
35723 Py_INCREF(Py_None); resultobj = Py_None;
35724 return resultobj;
35725 fail:
35726 return NULL;
35727}
35728
35729
35730static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35731 PyObject *resultobj;
35732 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35733 wxSize result;
35734 PyObject * obj0 = 0 ;
35735 char *kwnames[] = {
35736 (char *) "self", NULL
35737 };
35738
35739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
35740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35742 {
35743 PyThreadState* __tstate = wxPyBeginAllowThreads();
35744 result = (arg1)->CalcMin();
35745
35746 wxPyEndAllowThreads(__tstate);
35747 if (PyErr_Occurred()) SWIG_fail;
35748 }
35749 {
35750 wxSize * resultptr;
35751 resultptr = new wxSize((wxSize &) result);
15afbcd0 35752 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35753 }
35754 return resultobj;
35755 fail:
35756 return NULL;
35757}
35758
35759
35760static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
35761 PyObject *obj;
35762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35763 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
35764 Py_INCREF(obj);
35765 return Py_BuildValue((char *)"");
35766}
35767static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35768 PyObject *resultobj;
35769 int arg1 = (int) 1 ;
35770 int arg2 = (int) 0 ;
35771 int arg3 = (int) 0 ;
35772 int arg4 = (int) 0 ;
35773 wxGridSizer *result;
994141e6
RD
35774 PyObject * obj0 = 0 ;
35775 PyObject * obj1 = 0 ;
35776 PyObject * obj2 = 0 ;
35777 PyObject * obj3 = 0 ;
d14a1e28
RD
35778 char *kwnames[] = {
35779 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35780 };
35781
994141e6
RD
35782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35783 if (obj0) {
15afbcd0
RD
35784 arg1 = (int) SWIG_AsInt(obj0);
35785 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35786 }
35787 if (obj1) {
15afbcd0
RD
35788 arg2 = (int) SWIG_AsInt(obj1);
35789 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35790 }
35791 if (obj2) {
15afbcd0
RD
35792 arg3 = (int) SWIG_AsInt(obj2);
35793 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35794 }
35795 if (obj3) {
15afbcd0
RD
35796 arg4 = (int) SWIG_AsInt(obj3);
35797 if (PyErr_Occurred()) SWIG_fail;
994141e6 35798 }
d14a1e28
RD
35799 {
35800 PyThreadState* __tstate = wxPyBeginAllowThreads();
35801 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
35802
35803 wxPyEndAllowThreads(__tstate);
35804 if (PyErr_Occurred()) SWIG_fail;
35805 }
15afbcd0 35806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
d14a1e28
RD
35807 return resultobj;
35808 fail:
35809 return NULL;
35810}
35811
35812
35813static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35814 PyObject *resultobj;
35815 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35816 PyObject * obj0 = 0 ;
35817 char *kwnames[] = {
35818 (char *) "self", NULL
35819 };
35820
35821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
35822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35824 {
35825 PyThreadState* __tstate = wxPyBeginAllowThreads();
35826 (arg1)->RecalcSizes();
35827
35828 wxPyEndAllowThreads(__tstate);
35829 if (PyErr_Occurred()) SWIG_fail;
35830 }
35831 Py_INCREF(Py_None); resultobj = Py_None;
35832 return resultobj;
35833 fail:
35834 return NULL;
35835}
35836
35837
35838static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35839 PyObject *resultobj;
35840 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35841 wxSize result;
35842 PyObject * obj0 = 0 ;
35843 char *kwnames[] = {
35844 (char *) "self", NULL
35845 };
35846
35847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
35848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35850 {
35851 PyThreadState* __tstate = wxPyBeginAllowThreads();
35852 result = (arg1)->CalcMin();
35853
35854 wxPyEndAllowThreads(__tstate);
35855 if (PyErr_Occurred()) SWIG_fail;
35856 }
35857 {
35858 wxSize * resultptr;
35859 resultptr = new wxSize((wxSize &) result);
15afbcd0 35860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35861 }
35862 return resultobj;
35863 fail:
35864 return NULL;
35865}
35866
35867
35868static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
35869 PyObject *resultobj;
35870 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35871 int arg2 ;
35872 PyObject * obj0 = 0 ;
994141e6 35873 PyObject * obj1 = 0 ;
d14a1e28
RD
35874 char *kwnames[] = {
35875 (char *) "self",(char *) "cols", NULL
35876 };
35877
994141e6 35878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35881 arg2 = (int) SWIG_AsInt(obj1);
35882 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35883 {
35884 PyThreadState* __tstate = wxPyBeginAllowThreads();
35885 (arg1)->SetCols(arg2);
35886
35887 wxPyEndAllowThreads(__tstate);
35888 if (PyErr_Occurred()) SWIG_fail;
35889 }
35890 Py_INCREF(Py_None); resultobj = Py_None;
35891 return resultobj;
35892 fail:
35893 return NULL;
35894}
35895
35896
35897static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
35898 PyObject *resultobj;
35899 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35900 int arg2 ;
35901 PyObject * obj0 = 0 ;
994141e6 35902 PyObject * obj1 = 0 ;
d14a1e28
RD
35903 char *kwnames[] = {
35904 (char *) "self",(char *) "rows", NULL
35905 };
35906
994141e6 35907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35910 arg2 = (int) SWIG_AsInt(obj1);
35911 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35912 {
35913 PyThreadState* __tstate = wxPyBeginAllowThreads();
35914 (arg1)->SetRows(arg2);
35915
35916 wxPyEndAllowThreads(__tstate);
35917 if (PyErr_Occurred()) SWIG_fail;
35918 }
35919 Py_INCREF(Py_None); resultobj = Py_None;
35920 return resultobj;
35921 fail:
35922 return NULL;
35923}
35924
35925
35926static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
35927 PyObject *resultobj;
35928 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35929 int arg2 ;
35930 PyObject * obj0 = 0 ;
994141e6 35931 PyObject * obj1 = 0 ;
d14a1e28
RD
35932 char *kwnames[] = {
35933 (char *) "self",(char *) "gap", NULL
35934 };
35935
994141e6 35936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35939 arg2 = (int) SWIG_AsInt(obj1);
35940 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35941 {
35942 PyThreadState* __tstate = wxPyBeginAllowThreads();
35943 (arg1)->SetVGap(arg2);
35944
35945 wxPyEndAllowThreads(__tstate);
35946 if (PyErr_Occurred()) SWIG_fail;
35947 }
35948 Py_INCREF(Py_None); resultobj = Py_None;
35949 return resultobj;
35950 fail:
35951 return NULL;
35952}
35953
35954
35955static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
35956 PyObject *resultobj;
35957 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35958 int arg2 ;
35959 PyObject * obj0 = 0 ;
994141e6 35960 PyObject * obj1 = 0 ;
d14a1e28
RD
35961 char *kwnames[] = {
35962 (char *) "self",(char *) "gap", NULL
35963 };
35964
994141e6 35965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35968 arg2 = (int) SWIG_AsInt(obj1);
35969 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35970 {
35971 PyThreadState* __tstate = wxPyBeginAllowThreads();
35972 (arg1)->SetHGap(arg2);
35973
35974 wxPyEndAllowThreads(__tstate);
35975 if (PyErr_Occurred()) SWIG_fail;
35976 }
35977 Py_INCREF(Py_None); resultobj = Py_None;
35978 return resultobj;
35979 fail:
35980 return NULL;
35981}
35982
35983
35984static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
35985 PyObject *resultobj;
35986 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35987 int result;
35988 PyObject * obj0 = 0 ;
35989 char *kwnames[] = {
35990 (char *) "self", NULL
35991 };
35992
35993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
35994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35996 {
35997 PyThreadState* __tstate = wxPyBeginAllowThreads();
35998 result = (int)(arg1)->GetCols();
35999
36000 wxPyEndAllowThreads(__tstate);
36001 if (PyErr_Occurred()) SWIG_fail;
36002 }
15afbcd0 36003 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36004 return resultobj;
36005 fail:
36006 return NULL;
36007}
36008
36009
36010static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
36011 PyObject *resultobj;
36012 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36013 int result;
36014 PyObject * obj0 = 0 ;
36015 char *kwnames[] = {
36016 (char *) "self", NULL
36017 };
36018
36019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
36020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36022 {
36023 PyThreadState* __tstate = wxPyBeginAllowThreads();
36024 result = (int)(arg1)->GetRows();
36025
36026 wxPyEndAllowThreads(__tstate);
36027 if (PyErr_Occurred()) SWIG_fail;
36028 }
15afbcd0 36029 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36030 return resultobj;
36031 fail:
36032 return NULL;
36033}
36034
36035
36036static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36037 PyObject *resultobj;
36038 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36039 int result;
36040 PyObject * obj0 = 0 ;
36041 char *kwnames[] = {
36042 (char *) "self", NULL
36043 };
36044
36045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
36046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36048 {
36049 PyThreadState* __tstate = wxPyBeginAllowThreads();
36050 result = (int)(arg1)->GetVGap();
36051
36052 wxPyEndAllowThreads(__tstate);
36053 if (PyErr_Occurred()) SWIG_fail;
36054 }
15afbcd0 36055 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36056 return resultobj;
36057 fail:
36058 return NULL;
36059}
36060
36061
36062static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36063 PyObject *resultobj;
36064 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36065 int result;
36066 PyObject * obj0 = 0 ;
36067 char *kwnames[] = {
36068 (char *) "self", NULL
36069 };
36070
36071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
36072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36074 {
36075 PyThreadState* __tstate = wxPyBeginAllowThreads();
36076 result = (int)(arg1)->GetHGap();
36077
36078 wxPyEndAllowThreads(__tstate);
36079 if (PyErr_Occurred()) SWIG_fail;
36080 }
15afbcd0 36081 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36082 return resultobj;
36083 fail:
36084 return NULL;
36085}
36086
36087
36088static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
36089 PyObject *obj;
36090 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36091 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
36092 Py_INCREF(obj);
36093 return Py_BuildValue((char *)"");
36094}
36095static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36096 PyObject *resultobj;
36097 int arg1 = (int) 1 ;
36098 int arg2 = (int) 0 ;
36099 int arg3 = (int) 0 ;
36100 int arg4 = (int) 0 ;
36101 wxFlexGridSizer *result;
994141e6
RD
36102 PyObject * obj0 = 0 ;
36103 PyObject * obj1 = 0 ;
36104 PyObject * obj2 = 0 ;
36105 PyObject * obj3 = 0 ;
d14a1e28
RD
36106 char *kwnames[] = {
36107 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36108 };
36109
994141e6
RD
36110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36111 if (obj0) {
15afbcd0
RD
36112 arg1 = (int) SWIG_AsInt(obj0);
36113 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36114 }
36115 if (obj1) {
15afbcd0
RD
36116 arg2 = (int) SWIG_AsInt(obj1);
36117 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36118 }
36119 if (obj2) {
15afbcd0
RD
36120 arg3 = (int) SWIG_AsInt(obj2);
36121 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36122 }
36123 if (obj3) {
15afbcd0
RD
36124 arg4 = (int) SWIG_AsInt(obj3);
36125 if (PyErr_Occurred()) SWIG_fail;
994141e6 36126 }
d14a1e28
RD
36127 {
36128 PyThreadState* __tstate = wxPyBeginAllowThreads();
36129 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
36130
36131 wxPyEndAllowThreads(__tstate);
36132 if (PyErr_Occurred()) SWIG_fail;
36133 }
15afbcd0 36134 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
d14a1e28
RD
36135 return resultobj;
36136 fail:
36137 return NULL;
36138}
36139
36140
36141static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
36142 PyObject *resultobj;
36143 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36144 PyObject * obj0 = 0 ;
36145 char *kwnames[] = {
36146 (char *) "self", NULL
36147 };
36148
36149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
36150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36152 {
36153 PyThreadState* __tstate = wxPyBeginAllowThreads();
36154 (arg1)->RecalcSizes();
36155
36156 wxPyEndAllowThreads(__tstate);
36157 if (PyErr_Occurred()) SWIG_fail;
36158 }
36159 Py_INCREF(Py_None); resultobj = Py_None;
36160 return resultobj;
36161 fail:
36162 return NULL;
36163}
36164
36165
36166static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
36167 PyObject *resultobj;
36168 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36169 wxSize result;
36170 PyObject * obj0 = 0 ;
36171 char *kwnames[] = {
36172 (char *) "self", NULL
36173 };
36174
36175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
36176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36178 {
36179 PyThreadState* __tstate = wxPyBeginAllowThreads();
36180 result = (arg1)->CalcMin();
36181
36182 wxPyEndAllowThreads(__tstate);
36183 if (PyErr_Occurred()) SWIG_fail;
36184 }
36185 {
36186 wxSize * resultptr;
36187 resultptr = new wxSize((wxSize &) result);
15afbcd0 36188 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36189 }
36190 return resultobj;
36191 fail:
36192 return NULL;
36193}
36194
36195
36196static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36197 PyObject *resultobj;
36198 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36199 size_t arg2 ;
36200 int arg3 = (int) 0 ;
36201 PyObject * obj0 = 0 ;
36202 PyObject * obj1 = 0 ;
994141e6 36203 PyObject * obj2 = 0 ;
d14a1e28
RD
36204 char *kwnames[] = {
36205 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36206 };
36207
994141e6 36208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36211 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36212 if (PyErr_Occurred()) SWIG_fail;
994141e6 36213 if (obj2) {
15afbcd0
RD
36214 arg3 = (int) SWIG_AsInt(obj2);
36215 if (PyErr_Occurred()) SWIG_fail;
994141e6 36216 }
d14a1e28
RD
36217 {
36218 PyThreadState* __tstate = wxPyBeginAllowThreads();
36219 (arg1)->AddGrowableRow(arg2,arg3);
36220
36221 wxPyEndAllowThreads(__tstate);
36222 if (PyErr_Occurred()) SWIG_fail;
36223 }
36224 Py_INCREF(Py_None); resultobj = Py_None;
36225 return resultobj;
36226 fail:
36227 return NULL;
36228}
36229
36230
36231static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36232 PyObject *resultobj;
36233 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36234 size_t arg2 ;
36235 PyObject * obj0 = 0 ;
36236 PyObject * obj1 = 0 ;
36237 char *kwnames[] = {
36238 (char *) "self",(char *) "idx", NULL
36239 };
36240
36241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36244 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36245 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36246 {
36247 PyThreadState* __tstate = wxPyBeginAllowThreads();
36248 (arg1)->RemoveGrowableRow(arg2);
36249
36250 wxPyEndAllowThreads(__tstate);
36251 if (PyErr_Occurred()) SWIG_fail;
36252 }
36253 Py_INCREF(Py_None); resultobj = Py_None;
36254 return resultobj;
36255 fail:
36256 return NULL;
36257}
36258
36259
36260static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36261 PyObject *resultobj;
36262 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36263 size_t arg2 ;
36264 int arg3 = (int) 0 ;
36265 PyObject * obj0 = 0 ;
36266 PyObject * obj1 = 0 ;
994141e6 36267 PyObject * obj2 = 0 ;
d14a1e28
RD
36268 char *kwnames[] = {
36269 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36270 };
36271
994141e6 36272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36275 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36276 if (PyErr_Occurred()) SWIG_fail;
994141e6 36277 if (obj2) {
15afbcd0
RD
36278 arg3 = (int) SWIG_AsInt(obj2);
36279 if (PyErr_Occurred()) SWIG_fail;
994141e6 36280 }
d14a1e28
RD
36281 {
36282 PyThreadState* __tstate = wxPyBeginAllowThreads();
36283 (arg1)->AddGrowableCol(arg2,arg3);
36284
36285 wxPyEndAllowThreads(__tstate);
36286 if (PyErr_Occurred()) SWIG_fail;
36287 }
36288 Py_INCREF(Py_None); resultobj = Py_None;
36289 return resultobj;
36290 fail:
36291 return NULL;
36292}
36293
36294
36295static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36296 PyObject *resultobj;
36297 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36298 size_t arg2 ;
36299 PyObject * obj0 = 0 ;
36300 PyObject * obj1 = 0 ;
36301 char *kwnames[] = {
36302 (char *) "self",(char *) "idx", NULL
36303 };
36304
36305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36308 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36309 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36310 {
36311 PyThreadState* __tstate = wxPyBeginAllowThreads();
36312 (arg1)->RemoveGrowableCol(arg2);
36313
36314 wxPyEndAllowThreads(__tstate);
36315 if (PyErr_Occurred()) SWIG_fail;
36316 }
36317 Py_INCREF(Py_None); resultobj = Py_None;
36318 return resultobj;
36319 fail:
36320 return NULL;
36321}
36322
36323
36324static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36325 PyObject *resultobj;
36326 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36327 int arg2 ;
36328 PyObject * obj0 = 0 ;
994141e6 36329 PyObject * obj1 = 0 ;
d14a1e28
RD
36330 char *kwnames[] = {
36331 (char *) "self",(char *) "direction", NULL
36332 };
36333
994141e6 36334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36337 arg2 = (int) SWIG_AsInt(obj1);
36338 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36339 {
36340 PyThreadState* __tstate = wxPyBeginAllowThreads();
36341 (arg1)->SetFlexibleDirection(arg2);
36342
36343 wxPyEndAllowThreads(__tstate);
36344 if (PyErr_Occurred()) SWIG_fail;
36345 }
36346 Py_INCREF(Py_None); resultobj = Py_None;
36347 return resultobj;
36348 fail:
36349 return NULL;
36350}
36351
36352
36353static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36354 PyObject *resultobj;
36355 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36356 int result;
36357 PyObject * obj0 = 0 ;
36358 char *kwnames[] = {
36359 (char *) "self", NULL
36360 };
36361
36362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
36363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36365 {
36366 PyThreadState* __tstate = wxPyBeginAllowThreads();
36367 result = (int)(arg1)->GetFlexibleDirection();
36368
36369 wxPyEndAllowThreads(__tstate);
36370 if (PyErr_Occurred()) SWIG_fail;
36371 }
15afbcd0 36372 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36373 return resultobj;
36374 fail:
36375 return NULL;
36376}
36377
36378
36379static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36380 PyObject *resultobj;
36381 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36382 int arg2 ;
36383 PyObject * obj0 = 0 ;
994141e6 36384 PyObject * obj1 = 0 ;
d14a1e28
RD
36385 char *kwnames[] = {
36386 (char *) "self",(char *) "mode", NULL
36387 };
36388
994141e6 36389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36392 arg2 = (wxFlexSizerGrowMode) SWIG_AsInt(obj1);
36393 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36394 {
36395 PyThreadState* __tstate = wxPyBeginAllowThreads();
36396 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
36397
36398 wxPyEndAllowThreads(__tstate);
36399 if (PyErr_Occurred()) SWIG_fail;
36400 }
36401 Py_INCREF(Py_None); resultobj = Py_None;
36402 return resultobj;
36403 fail:
36404 return NULL;
36405}
36406
36407
36408static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36409 PyObject *resultobj;
36410 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36411 int result;
36412 PyObject * obj0 = 0 ;
36413 char *kwnames[] = {
36414 (char *) "self", NULL
36415 };
36416
36417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
36418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36420 {
36421 PyThreadState* __tstate = wxPyBeginAllowThreads();
36422 result = (int)(arg1)->GetNonFlexibleGrowMode();
36423
36424 wxPyEndAllowThreads(__tstate);
36425 if (PyErr_Occurred()) SWIG_fail;
36426 }
15afbcd0 36427 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36428 return resultobj;
36429 fail:
36430 return NULL;
36431}
36432
36433
e811c8ce
RD
36434static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
36435 PyObject *resultobj;
36436 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36437 wxArrayInt *result;
36438 PyObject * obj0 = 0 ;
36439 char *kwnames[] = {
36440 (char *) "self", NULL
36441 };
36442
36443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
15afbcd0
RD
36444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
36446 {
36447 PyThreadState* __tstate = wxPyBeginAllowThreads();
36448 {
36449 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
36450 result = (wxArrayInt *) &_result_ref;
36451 }
36452
36453 wxPyEndAllowThreads(__tstate);
36454 if (PyErr_Occurred()) SWIG_fail;
36455 }
36456 {
36457 resultobj = PyList_New(0);
36458 size_t idx;
36459 for (idx = 0; idx < result->GetCount(); idx += 1) {
36460 PyObject* val = PyInt_FromLong( result->Item(idx) );
36461 PyList_Append(resultobj, val);
36462 Py_DECREF(val);
36463 }
36464 }
36465 return resultobj;
36466 fail:
36467 return NULL;
36468}
36469
36470
36471static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
36472 PyObject *resultobj;
36473 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36474 wxArrayInt *result;
36475 PyObject * obj0 = 0 ;
36476 char *kwnames[] = {
36477 (char *) "self", NULL
36478 };
36479
36480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
15afbcd0
RD
36481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
36483 {
36484 PyThreadState* __tstate = wxPyBeginAllowThreads();
36485 {
36486 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
36487 result = (wxArrayInt *) &_result_ref;
36488 }
36489
36490 wxPyEndAllowThreads(__tstate);
36491 if (PyErr_Occurred()) SWIG_fail;
36492 }
36493 {
36494 resultobj = PyList_New(0);
36495 size_t idx;
36496 for (idx = 0; idx < result->GetCount(); idx += 1) {
36497 PyObject* val = PyInt_FromLong( result->Item(idx) );
36498 PyList_Append(resultobj, val);
36499 Py_DECREF(val);
36500 }
36501 }
36502 return resultobj;
36503 fail:
36504 return NULL;
36505}
36506
36507
d14a1e28
RD
36508static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
36509 PyObject *obj;
36510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36511 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
36512 Py_INCREF(obj);
36513 return Py_BuildValue((char *)"");
36514}
36515static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
36516 PyObject *resultobj;
36517 int arg1 = (int) 0 ;
36518 int arg2 = (int) 0 ;
36519 wxGBPosition *result;
994141e6
RD
36520 PyObject * obj0 = 0 ;
36521 PyObject * obj1 = 0 ;
d14a1e28
RD
36522 char *kwnames[] = {
36523 (char *) "row",(char *) "col", NULL
36524 };
36525
994141e6
RD
36526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
36527 if (obj0) {
15afbcd0
RD
36528 arg1 = (int) SWIG_AsInt(obj0);
36529 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36530 }
36531 if (obj1) {
15afbcd0
RD
36532 arg2 = (int) SWIG_AsInt(obj1);
36533 if (PyErr_Occurred()) SWIG_fail;
994141e6 36534 }
d14a1e28
RD
36535 {
36536 PyThreadState* __tstate = wxPyBeginAllowThreads();
36537 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
36538
36539 wxPyEndAllowThreads(__tstate);
36540 if (PyErr_Occurred()) SWIG_fail;
36541 }
15afbcd0 36542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
36543 return resultobj;
36544 fail:
36545 return NULL;
36546}
36547
36548
36549static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36550 PyObject *resultobj;
36551 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36552 int result;
36553 PyObject * obj0 = 0 ;
36554 char *kwnames[] = {
36555 (char *) "self", NULL
36556 };
36557
36558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
36559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36561 {
36562 PyThreadState* __tstate = wxPyBeginAllowThreads();
36563 result = (int)((wxGBPosition const *)arg1)->GetRow();
36564
36565 wxPyEndAllowThreads(__tstate);
36566 if (PyErr_Occurred()) SWIG_fail;
36567 }
15afbcd0 36568 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36569 return resultobj;
36570 fail:
36571 return NULL;
36572}
36573
36574
36575static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36576 PyObject *resultobj;
36577 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36578 int result;
36579 PyObject * obj0 = 0 ;
36580 char *kwnames[] = {
36581 (char *) "self", NULL
36582 };
36583
36584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
36585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36587 {
36588 PyThreadState* __tstate = wxPyBeginAllowThreads();
36589 result = (int)((wxGBPosition const *)arg1)->GetCol();
36590
36591 wxPyEndAllowThreads(__tstate);
36592 if (PyErr_Occurred()) SWIG_fail;
36593 }
15afbcd0 36594 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36595 return resultobj;
36596 fail:
36597 return NULL;
36598}
36599
36600
36601static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36602 PyObject *resultobj;
36603 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36604 int arg2 ;
36605 PyObject * obj0 = 0 ;
994141e6 36606 PyObject * obj1 = 0 ;
d14a1e28
RD
36607 char *kwnames[] = {
36608 (char *) "self",(char *) "row", NULL
36609 };
36610
994141e6 36611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36614 arg2 = (int) SWIG_AsInt(obj1);
36615 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36616 {
36617 PyThreadState* __tstate = wxPyBeginAllowThreads();
36618 (arg1)->SetRow(arg2);
36619
36620 wxPyEndAllowThreads(__tstate);
36621 if (PyErr_Occurred()) SWIG_fail;
36622 }
36623 Py_INCREF(Py_None); resultobj = Py_None;
36624 return resultobj;
36625 fail:
36626 return NULL;
36627}
36628
36629
36630static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36631 PyObject *resultobj;
36632 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36633 int arg2 ;
36634 PyObject * obj0 = 0 ;
994141e6 36635 PyObject * obj1 = 0 ;
d14a1e28
RD
36636 char *kwnames[] = {
36637 (char *) "self",(char *) "col", NULL
36638 };
36639
994141e6 36640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36643 arg2 = (int) SWIG_AsInt(obj1);
36644 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36645 {
36646 PyThreadState* __tstate = wxPyBeginAllowThreads();
36647 (arg1)->SetCol(arg2);
36648
36649 wxPyEndAllowThreads(__tstate);
36650 if (PyErr_Occurred()) SWIG_fail;
36651 }
36652 Py_INCREF(Py_None); resultobj = Py_None;
36653 return resultobj;
36654 fail:
36655 return NULL;
36656}
36657
36658
36659static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
36660 PyObject *resultobj;
36661 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 36662 wxGBPosition *arg2 = 0 ;
d14a1e28 36663 bool result;
4f89f6a3 36664 wxGBPosition temp2 ;
d14a1e28
RD
36665 PyObject * obj0 = 0 ;
36666 PyObject * obj1 = 0 ;
36667 char *kwnames[] = {
22faec7d 36668 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36669 };
36670
36671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36674 {
36675 arg2 = &temp2;
36676 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36677 }
d14a1e28
RD
36678 {
36679 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36680 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
d14a1e28
RD
36681
36682 wxPyEndAllowThreads(__tstate);
36683 if (PyErr_Occurred()) SWIG_fail;
36684 }
4f89f6a3
RD
36685 {
36686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36687 }
d14a1e28
RD
36688 return resultobj;
36689 fail:
36690 return NULL;
36691}
36692
36693
36694static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
36695 PyObject *resultobj;
36696 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 36697 wxGBPosition *arg2 = 0 ;
d14a1e28 36698 bool result;
4f89f6a3 36699 wxGBPosition temp2 ;
d14a1e28
RD
36700 PyObject * obj0 = 0 ;
36701 PyObject * obj1 = 0 ;
36702 char *kwnames[] = {
22faec7d 36703 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36704 };
36705
36706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36709 {
36710 arg2 = &temp2;
36711 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36712 }
d14a1e28
RD
36713 {
36714 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36715 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
d14a1e28
RD
36716
36717 wxPyEndAllowThreads(__tstate);
36718 if (PyErr_Occurred()) SWIG_fail;
36719 }
4f89f6a3
RD
36720 {
36721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36722 }
d14a1e28
RD
36723 return resultobj;
36724 fail:
36725 return NULL;
36726}
36727
36728
e811c8ce
RD
36729static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
36730 PyObject *resultobj;
36731 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36732 int arg2 = (int) 0 ;
36733 int arg3 = (int) 0 ;
36734 PyObject * obj0 = 0 ;
994141e6
RD
36735 PyObject * obj1 = 0 ;
36736 PyObject * obj2 = 0 ;
e811c8ce
RD
36737 char *kwnames[] = {
36738 (char *) "self",(char *) "row",(char *) "col", NULL
36739 };
36740
994141e6 36741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 36744 if (obj1) {
15afbcd0
RD
36745 arg2 = (int) SWIG_AsInt(obj1);
36746 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36747 }
36748 if (obj2) {
15afbcd0
RD
36749 arg3 = (int) SWIG_AsInt(obj2);
36750 if (PyErr_Occurred()) SWIG_fail;
994141e6 36751 }
e811c8ce
RD
36752 {
36753 PyThreadState* __tstate = wxPyBeginAllowThreads();
36754 wxGBPosition_Set(arg1,arg2,arg3);
36755
36756 wxPyEndAllowThreads(__tstate);
36757 if (PyErr_Occurred()) SWIG_fail;
36758 }
36759 Py_INCREF(Py_None); resultobj = Py_None;
36760 return resultobj;
36761 fail:
36762 return NULL;
36763}
36764
36765
36766static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36767 PyObject *resultobj;
36768 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36769 PyObject *result;
36770 PyObject * obj0 = 0 ;
36771 char *kwnames[] = {
36772 (char *) "self", NULL
36773 };
36774
e811c8ce 36775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
36776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36778 {
36779 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 36780 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
36781
36782 wxPyEndAllowThreads(__tstate);
36783 if (PyErr_Occurred()) SWIG_fail;
36784 }
36785 resultobj = result;
36786 return resultobj;
36787 fail:
36788 return NULL;
36789}
36790
36791
36792static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
36793 PyObject *obj;
36794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36795 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
36796 Py_INCREF(obj);
36797 return Py_BuildValue((char *)"");
36798}
36799static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
36800 PyObject *resultobj;
36801 int arg1 = (int) 1 ;
36802 int arg2 = (int) 1 ;
36803 wxGBSpan *result;
994141e6
RD
36804 PyObject * obj0 = 0 ;
36805 PyObject * obj1 = 0 ;
d14a1e28
RD
36806 char *kwnames[] = {
36807 (char *) "rowspan",(char *) "colspan", NULL
36808 };
36809
994141e6
RD
36810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
36811 if (obj0) {
15afbcd0
RD
36812 arg1 = (int) SWIG_AsInt(obj0);
36813 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36814 }
36815 if (obj1) {
15afbcd0
RD
36816 arg2 = (int) SWIG_AsInt(obj1);
36817 if (PyErr_Occurred()) SWIG_fail;
994141e6 36818 }
d14a1e28
RD
36819 {
36820 PyThreadState* __tstate = wxPyBeginAllowThreads();
36821 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
36822
36823 wxPyEndAllowThreads(__tstate);
36824 if (PyErr_Occurred()) SWIG_fail;
36825 }
15afbcd0 36826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
36827 return resultobj;
36828 fail:
36829 return NULL;
36830}
36831
36832
36833static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36834 PyObject *resultobj;
36835 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36836 int result;
36837 PyObject * obj0 = 0 ;
36838 char *kwnames[] = {
36839 (char *) "self", NULL
36840 };
36841
36842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
36843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36845 {
36846 PyThreadState* __tstate = wxPyBeginAllowThreads();
36847 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
36848
36849 wxPyEndAllowThreads(__tstate);
36850 if (PyErr_Occurred()) SWIG_fail;
36851 }
15afbcd0 36852 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36853 return resultobj;
36854 fail:
36855 return NULL;
36856}
36857
36858
36859static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36860 PyObject *resultobj;
36861 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36862 int result;
36863 PyObject * obj0 = 0 ;
36864 char *kwnames[] = {
36865 (char *) "self", NULL
36866 };
36867
36868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
36869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36871 {
36872 PyThreadState* __tstate = wxPyBeginAllowThreads();
36873 result = (int)((wxGBSpan const *)arg1)->GetColspan();
36874
36875 wxPyEndAllowThreads(__tstate);
36876 if (PyErr_Occurred()) SWIG_fail;
36877 }
15afbcd0 36878 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36879 return resultobj;
36880 fail:
36881 return NULL;
36882}
36883
36884
36885static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36886 PyObject *resultobj;
36887 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36888 int arg2 ;
36889 PyObject * obj0 = 0 ;
994141e6 36890 PyObject * obj1 = 0 ;
d14a1e28
RD
36891 char *kwnames[] = {
36892 (char *) "self",(char *) "rowspan", NULL
36893 };
36894
994141e6 36895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36898 arg2 = (int) SWIG_AsInt(obj1);
36899 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36900 {
36901 PyThreadState* __tstate = wxPyBeginAllowThreads();
36902 (arg1)->SetRowspan(arg2);
36903
36904 wxPyEndAllowThreads(__tstate);
36905 if (PyErr_Occurred()) SWIG_fail;
36906 }
36907 Py_INCREF(Py_None); resultobj = Py_None;
36908 return resultobj;
36909 fail:
36910 return NULL;
36911}
36912
36913
36914static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36915 PyObject *resultobj;
36916 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36917 int arg2 ;
36918 PyObject * obj0 = 0 ;
994141e6 36919 PyObject * obj1 = 0 ;
d14a1e28
RD
36920 char *kwnames[] = {
36921 (char *) "self",(char *) "colspan", NULL
36922 };
36923
994141e6 36924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36927 arg2 = (int) SWIG_AsInt(obj1);
36928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36929 {
36930 PyThreadState* __tstate = wxPyBeginAllowThreads();
36931 (arg1)->SetColspan(arg2);
36932
36933 wxPyEndAllowThreads(__tstate);
36934 if (PyErr_Occurred()) SWIG_fail;
36935 }
36936 Py_INCREF(Py_None); resultobj = Py_None;
36937 return resultobj;
36938 fail:
36939 return NULL;
36940}
36941
36942
36943static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
36944 PyObject *resultobj;
36945 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 36946 wxGBSpan *arg2 = 0 ;
d14a1e28 36947 bool result;
4f89f6a3 36948 wxGBSpan temp2 ;
d14a1e28
RD
36949 PyObject * obj0 = 0 ;
36950 PyObject * obj1 = 0 ;
36951 char *kwnames[] = {
22faec7d 36952 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36953 };
36954
36955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36958 {
36959 arg2 = &temp2;
36960 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
36961 }
d14a1e28
RD
36962 {
36963 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36964 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
d14a1e28
RD
36965
36966 wxPyEndAllowThreads(__tstate);
36967 if (PyErr_Occurred()) SWIG_fail;
36968 }
4f89f6a3
RD
36969 {
36970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36971 }
d14a1e28
RD
36972 return resultobj;
36973 fail:
36974 return NULL;
36975}
36976
36977
36978static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
36979 PyObject *resultobj;
36980 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 36981 wxGBSpan *arg2 = 0 ;
d14a1e28 36982 bool result;
4f89f6a3 36983 wxGBSpan temp2 ;
d14a1e28
RD
36984 PyObject * obj0 = 0 ;
36985 PyObject * obj1 = 0 ;
36986 char *kwnames[] = {
22faec7d 36987 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36988 };
36989
36990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36993 {
36994 arg2 = &temp2;
36995 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
36996 }
d14a1e28
RD
36997 {
36998 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36999 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
d14a1e28
RD
37000
37001 wxPyEndAllowThreads(__tstate);
37002 if (PyErr_Occurred()) SWIG_fail;
37003 }
4f89f6a3
RD
37004 {
37005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37006 }
d14a1e28
RD
37007 return resultobj;
37008 fail:
37009 return NULL;
37010}
37011
37012
e811c8ce
RD
37013static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
37014 PyObject *resultobj;
37015 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37016 int arg2 = (int) 1 ;
37017 int arg3 = (int) 1 ;
37018 PyObject * obj0 = 0 ;
994141e6
RD
37019 PyObject * obj1 = 0 ;
37020 PyObject * obj2 = 0 ;
e811c8ce
RD
37021 char *kwnames[] = {
37022 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37023 };
37024
994141e6 37025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 37028 if (obj1) {
15afbcd0
RD
37029 arg2 = (int) SWIG_AsInt(obj1);
37030 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37031 }
37032 if (obj2) {
15afbcd0
RD
37033 arg3 = (int) SWIG_AsInt(obj2);
37034 if (PyErr_Occurred()) SWIG_fail;
994141e6 37035 }
e811c8ce
RD
37036 {
37037 PyThreadState* __tstate = wxPyBeginAllowThreads();
37038 wxGBSpan_Set(arg1,arg2,arg3);
37039
37040 wxPyEndAllowThreads(__tstate);
37041 if (PyErr_Occurred()) SWIG_fail;
37042 }
37043 Py_INCREF(Py_None); resultobj = Py_None;
37044 return resultobj;
37045 fail:
37046 return NULL;
37047}
37048
37049
37050static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37051 PyObject *resultobj;
37052 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37053 PyObject *result;
37054 PyObject * obj0 = 0 ;
37055 char *kwnames[] = {
37056 (char *) "self", NULL
37057 };
37058
e811c8ce 37059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
37060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37062 {
37063 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 37064 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
37065
37066 wxPyEndAllowThreads(__tstate);
37067 if (PyErr_Occurred()) SWIG_fail;
37068 }
37069 resultobj = result;
37070 return resultobj;
37071 fail:
37072 return NULL;
37073}
37074
37075
37076static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
37077 PyObject *obj;
37078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37079 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
37080 Py_INCREF(obj);
37081 return Py_BuildValue((char *)"");
37082}
37083static int _wrap_DefaultSpan_set(PyObject *_val) {
37084 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
37085 return 1;
37086}
37087
37088
37089static PyObject *_wrap_DefaultSpan_get() {
37090 PyObject *pyobj;
37091
15afbcd0 37092 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
d14a1e28
RD
37093 return pyobj;
37094}
37095
37096
37097static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37098 PyObject *resultobj;
37099 wxGBSizerItem *result;
37100 char *kwnames[] = {
37101 NULL
37102 };
37103
37104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
37105 {
37106 PyThreadState* __tstate = wxPyBeginAllowThreads();
37107 result = (wxGBSizerItem *)new wxGBSizerItem();
37108
37109 wxPyEndAllowThreads(__tstate);
37110 if (PyErr_Occurred()) SWIG_fail;
37111 }
15afbcd0 37112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37113 return resultobj;
37114 fail:
37115 return NULL;
37116}
37117
37118
37119static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
37120 PyObject *resultobj;
37121 wxWindow *arg1 = (wxWindow *) 0 ;
37122 wxGBPosition *arg2 = 0 ;
37123 wxGBSpan *arg3 = 0 ;
37124 int arg4 ;
37125 int arg5 ;
37126 wxObject *arg6 = (wxObject *) 0 ;
37127 wxGBSizerItem *result;
37128 wxGBPosition temp2 ;
37129 wxGBSpan temp3 ;
37130 PyObject * obj0 = 0 ;
37131 PyObject * obj1 = 0 ;
37132 PyObject * obj2 = 0 ;
994141e6
RD
37133 PyObject * obj3 = 0 ;
37134 PyObject * obj4 = 0 ;
d14a1e28
RD
37135 PyObject * obj5 = 0 ;
37136 char *kwnames[] = {
37137 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37138 };
37139
994141e6 37140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
37141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
37142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37143 {
37144 arg2 = &temp2;
37145 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37146 }
37147 {
37148 arg3 = &temp3;
37149 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37150 }
15afbcd0
RD
37151 arg4 = (int) SWIG_AsInt(obj3);
37152 if (PyErr_Occurred()) SWIG_fail;
37153 arg5 = (int) SWIG_AsInt(obj4);
37154 if (PyErr_Occurred()) SWIG_fail;
37155 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
37156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37157 {
37158 PyThreadState* __tstate = wxPyBeginAllowThreads();
37159 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
37160
37161 wxPyEndAllowThreads(__tstate);
37162 if (PyErr_Occurred()) SWIG_fail;
37163 }
15afbcd0 37164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37165 return resultobj;
37166 fail:
37167 return NULL;
37168}
37169
37170
37171static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37172 PyObject *resultobj;
37173 wxSizer *arg1 = (wxSizer *) 0 ;
37174 wxGBPosition *arg2 = 0 ;
37175 wxGBSpan *arg3 = 0 ;
37176 int arg4 ;
37177 int arg5 ;
37178 wxObject *arg6 = (wxObject *) 0 ;
37179 wxGBSizerItem *result;
37180 wxGBPosition temp2 ;
37181 wxGBSpan temp3 ;
37182 PyObject * obj0 = 0 ;
37183 PyObject * obj1 = 0 ;
37184 PyObject * obj2 = 0 ;
994141e6
RD
37185 PyObject * obj3 = 0 ;
37186 PyObject * obj4 = 0 ;
d14a1e28
RD
37187 PyObject * obj5 = 0 ;
37188 char *kwnames[] = {
37189 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37190 };
37191
994141e6 37192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
37193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
37194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37195 {
37196 arg2 = &temp2;
37197 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37198 }
37199 {
37200 arg3 = &temp3;
37201 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37202 }
15afbcd0
RD
37203 arg4 = (int) SWIG_AsInt(obj3);
37204 if (PyErr_Occurred()) SWIG_fail;
37205 arg5 = (int) SWIG_AsInt(obj4);
37206 if (PyErr_Occurred()) SWIG_fail;
37207 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
37208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37209 {
37210 PyThreadState* __tstate = wxPyBeginAllowThreads();
37211 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
37212
37213 wxPyEndAllowThreads(__tstate);
37214 if (PyErr_Occurred()) SWIG_fail;
37215 }
15afbcd0 37216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37217 return resultobj;
37218 fail:
37219 return NULL;
37220}
37221
37222
37223static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
37224 PyObject *resultobj;
37225 int arg1 ;
37226 int arg2 ;
37227 wxGBPosition *arg3 = 0 ;
37228 wxGBSpan *arg4 = 0 ;
37229 int arg5 ;
37230 int arg6 ;
37231 wxObject *arg7 = (wxObject *) 0 ;
37232 wxGBSizerItem *result;
37233 wxGBPosition temp3 ;
37234 wxGBSpan temp4 ;
994141e6
RD
37235 PyObject * obj0 = 0 ;
37236 PyObject * obj1 = 0 ;
d14a1e28
RD
37237 PyObject * obj2 = 0 ;
37238 PyObject * obj3 = 0 ;
994141e6
RD
37239 PyObject * obj4 = 0 ;
37240 PyObject * obj5 = 0 ;
d14a1e28
RD
37241 PyObject * obj6 = 0 ;
37242 char *kwnames[] = {
37243 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37244 };
37245
994141e6 37246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
37247 arg1 = (int) SWIG_AsInt(obj0);
37248 if (PyErr_Occurred()) SWIG_fail;
37249 arg2 = (int) SWIG_AsInt(obj1);
37250 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37251 {
37252 arg3 = &temp3;
37253 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37254 }
37255 {
37256 arg4 = &temp4;
37257 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37258 }
15afbcd0
RD
37259 arg5 = (int) SWIG_AsInt(obj4);
37260 if (PyErr_Occurred()) SWIG_fail;
37261 arg6 = (int) SWIG_AsInt(obj5);
37262 if (PyErr_Occurred()) SWIG_fail;
37263 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxObject,
37264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37265 {
37266 PyThreadState* __tstate = wxPyBeginAllowThreads();
37267 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37268
37269 wxPyEndAllowThreads(__tstate);
37270 if (PyErr_Occurred()) SWIG_fail;
37271 }
15afbcd0 37272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37273 return resultobj;
37274 fail:
37275 return NULL;
37276}
37277
37278
37279static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37280 PyObject *resultobj;
37281 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37282 wxGBPosition result;
37283 PyObject * obj0 = 0 ;
37284 char *kwnames[] = {
37285 (char *) "self", NULL
37286 };
37287
37288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
37289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37291 {
37292 PyThreadState* __tstate = wxPyBeginAllowThreads();
37293 result = ((wxGBSizerItem const *)arg1)->GetPos();
37294
37295 wxPyEndAllowThreads(__tstate);
37296 if (PyErr_Occurred()) SWIG_fail;
37297 }
37298 {
37299 wxGBPosition * resultptr;
37300 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37301 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37302 }
37303 return resultobj;
37304 fail:
37305 return NULL;
37306}
37307
37308
37309static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37310 PyObject *resultobj;
37311 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37312 wxGBSpan result;
37313 PyObject * obj0 = 0 ;
37314 char *kwnames[] = {
37315 (char *) "self", NULL
37316 };
37317
37318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
15afbcd0
RD
37319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37321 {
37322 PyThreadState* __tstate = wxPyBeginAllowThreads();
37323 result = ((wxGBSizerItem const *)arg1)->GetSpan();
37324
37325 wxPyEndAllowThreads(__tstate);
37326 if (PyErr_Occurred()) SWIG_fail;
37327 }
37328 {
37329 wxGBSpan * resultptr;
37330 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 37331 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37332 }
37333 return resultobj;
37334 fail:
37335 return NULL;
37336}
37337
37338
37339static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37340 PyObject *resultobj;
37341 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37342 wxGBPosition *arg2 = 0 ;
37343 bool result;
37344 wxGBPosition temp2 ;
37345 PyObject * obj0 = 0 ;
37346 PyObject * obj1 = 0 ;
37347 char *kwnames[] = {
37348 (char *) "self",(char *) "pos", NULL
37349 };
37350
37351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37354 {
37355 arg2 = &temp2;
37356 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37357 }
37358 {
37359 PyThreadState* __tstate = wxPyBeginAllowThreads();
37360 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
37361
37362 wxPyEndAllowThreads(__tstate);
37363 if (PyErr_Occurred()) SWIG_fail;
37364 }
4f89f6a3
RD
37365 {
37366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37367 }
d14a1e28
RD
37368 return resultobj;
37369 fail:
37370 return NULL;
37371}
37372
37373
37374static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37375 PyObject *resultobj;
37376 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37377 wxGBSpan *arg2 = 0 ;
37378 bool result;
37379 wxGBSpan temp2 ;
37380 PyObject * obj0 = 0 ;
37381 PyObject * obj1 = 0 ;
37382 char *kwnames[] = {
37383 (char *) "self",(char *) "span", NULL
37384 };
37385
37386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37389 {
37390 arg2 = &temp2;
37391 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37392 }
37393 {
37394 PyThreadState* __tstate = wxPyBeginAllowThreads();
37395 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
37396
37397 wxPyEndAllowThreads(__tstate);
37398 if (PyErr_Occurred()) SWIG_fail;
37399 }
4f89f6a3
RD
37400 {
37401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37402 }
d14a1e28
RD
37403 return resultobj;
37404 fail:
37405 return NULL;
37406}
37407
37408
37409static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
37410 PyObject *resultobj;
37411 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37412 wxGBSizerItem *arg2 = 0 ;
37413 bool result;
37414 PyObject * obj0 = 0 ;
37415 PyObject * obj1 = 0 ;
37416
37417 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
15afbcd0
RD
37418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37420 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37421 SWIG_POINTER_EXCEPTION | 0)) == -1)
37422 SWIG_fail;
d14a1e28 37423 if (arg2 == NULL) {
15afbcd0
RD
37424 PyErr_SetString(PyExc_TypeError,"null reference");
37425 SWIG_fail;
d14a1e28
RD
37426 }
37427 {
37428 PyThreadState* __tstate = wxPyBeginAllowThreads();
37429 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
37430
37431 wxPyEndAllowThreads(__tstate);
37432 if (PyErr_Occurred()) SWIG_fail;
37433 }
4f89f6a3
RD
37434 {
37435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37436 }
d14a1e28
RD
37437 return resultobj;
37438 fail:
37439 return NULL;
37440}
37441
37442
37443static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
37444 PyObject *resultobj;
37445 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37446 wxGBPosition *arg2 = 0 ;
37447 wxGBSpan *arg3 = 0 ;
37448 bool result;
37449 wxGBPosition temp2 ;
37450 wxGBSpan temp3 ;
37451 PyObject * obj0 = 0 ;
37452 PyObject * obj1 = 0 ;
37453 PyObject * obj2 = 0 ;
37454
37455 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37458 {
37459 arg2 = &temp2;
37460 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37461 }
37462 {
37463 arg3 = &temp3;
37464 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37465 }
37466 {
37467 PyThreadState* __tstate = wxPyBeginAllowThreads();
37468 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
37469
37470 wxPyEndAllowThreads(__tstate);
37471 if (PyErr_Occurred()) SWIG_fail;
37472 }
4f89f6a3
RD
37473 {
37474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37475 }
d14a1e28
RD
37476 return resultobj;
37477 fail:
37478 return NULL;
37479}
37480
37481
37482static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
37483 int argc;
37484 PyObject *argv[4];
37485 int ii;
37486
37487 argc = PyObject_Length(args);
37488 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
37489 argv[ii] = PyTuple_GetItem(args,ii);
37490 }
37491 if (argc == 2) {
37492 int _v;
37493 {
37494 void *ptr;
15afbcd0 37495 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
37496 _v = 0;
37497 PyErr_Clear();
37498 } else {
37499 _v = 1;
37500 }
37501 }
37502 if (_v) {
37503 {
37504 void *ptr;
15afbcd0 37505 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
37506 _v = 0;
37507 PyErr_Clear();
37508 } else {
37509 _v = 1;
37510 }
37511 }
37512 if (_v) {
37513 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
37514 }
37515 }
37516 }
37517 if (argc == 3) {
37518 int _v;
37519 {
37520 void *ptr;
15afbcd0 37521 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
37522 _v = 0;
37523 PyErr_Clear();
37524 } else {
37525 _v = 1;
37526 }
37527 }
37528 if (_v) {
37529 {
37530 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
37531 }
37532 if (_v) {
37533 {
37534 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37535 }
37536 if (_v) {
37537 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
37538 }
37539 }
37540 }
37541 }
37542
37543 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
37544 return NULL;
37545}
37546
37547
37548static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37549 PyObject *resultobj;
37550 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37551 int *arg2 = 0 ;
37552 int *arg3 = 0 ;
37553 PyObject * obj0 = 0 ;
37554 PyObject * obj1 = 0 ;
37555 PyObject * obj2 = 0 ;
37556 char *kwnames[] = {
37557 (char *) "self",(char *) "row",(char *) "col", NULL
37558 };
37559
37560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,
37564 SWIG_POINTER_EXCEPTION | 0)) == -1)
37565 SWIG_fail;
d14a1e28 37566 if (arg2 == NULL) {
15afbcd0
RD
37567 PyErr_SetString(PyExc_TypeError,"null reference");
37568 SWIG_fail;
d14a1e28 37569 }
15afbcd0
RD
37570 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,
37571 SWIG_POINTER_EXCEPTION | 0)) == -1)
37572 SWIG_fail;
d14a1e28 37573 if (arg3 == NULL) {
15afbcd0
RD
37574 PyErr_SetString(PyExc_TypeError,"null reference");
37575 SWIG_fail;
d14a1e28
RD
37576 }
37577 {
37578 PyThreadState* __tstate = wxPyBeginAllowThreads();
37579 (arg1)->GetEndPos(*arg2,*arg3);
37580
37581 wxPyEndAllowThreads(__tstate);
37582 if (PyErr_Occurred()) SWIG_fail;
37583 }
37584 Py_INCREF(Py_None); resultobj = Py_None;
37585 return resultobj;
37586 fail:
37587 return NULL;
37588}
37589
37590
37591static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37592 PyObject *resultobj;
37593 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37594 wxGridBagSizer *result;
37595 PyObject * obj0 = 0 ;
37596 char *kwnames[] = {
37597 (char *) "self", NULL
37598 };
37599
37600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
37601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37603 {
37604 PyThreadState* __tstate = wxPyBeginAllowThreads();
37605 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
37606
37607 wxPyEndAllowThreads(__tstate);
37608 if (PyErr_Occurred()) SWIG_fail;
37609 }
15afbcd0 37610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
d14a1e28
RD
37611 return resultobj;
37612 fail:
37613 return NULL;
37614}
37615
37616
37617static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37618 PyObject *resultobj;
37619 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37620 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
37621 PyObject * obj0 = 0 ;
37622 PyObject * obj1 = 0 ;
37623 char *kwnames[] = {
37624 (char *) "self",(char *) "sizer", NULL
37625 };
37626
37627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
37631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37632 {
37633 PyThreadState* __tstate = wxPyBeginAllowThreads();
37634 (arg1)->SetGBSizer(arg2);
37635
37636 wxPyEndAllowThreads(__tstate);
37637 if (PyErr_Occurred()) SWIG_fail;
37638 }
37639 Py_INCREF(Py_None); resultobj = Py_None;
37640 return resultobj;
37641 fail:
37642 return NULL;
37643}
37644
37645
37646static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
37647 PyObject *obj;
37648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37649 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
37650 Py_INCREF(obj);
37651 return Py_BuildValue((char *)"");
37652}
37653static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37654 PyObject *resultobj;
37655 int arg1 = (int) 0 ;
37656 int arg2 = (int) 0 ;
37657 wxGridBagSizer *result;
994141e6
RD
37658 PyObject * obj0 = 0 ;
37659 PyObject * obj1 = 0 ;
d14a1e28
RD
37660 char *kwnames[] = {
37661 (char *) "vgap",(char *) "hgap", NULL
37662 };
37663
994141e6
RD
37664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
37665 if (obj0) {
15afbcd0
RD
37666 arg1 = (int) SWIG_AsInt(obj0);
37667 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37668 }
37669 if (obj1) {
15afbcd0
RD
37670 arg2 = (int) SWIG_AsInt(obj1);
37671 if (PyErr_Occurred()) SWIG_fail;
994141e6 37672 }
d14a1e28
RD
37673 {
37674 PyThreadState* __tstate = wxPyBeginAllowThreads();
37675 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
37676
37677 wxPyEndAllowThreads(__tstate);
37678 if (PyErr_Occurred()) SWIG_fail;
37679 }
15afbcd0 37680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
d14a1e28
RD
37681 return resultobj;
37682 fail:
37683 return NULL;
37684}
37685
37686
37687static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
37688 PyObject *resultobj;
37689 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37690 PyObject *arg2 = (PyObject *) 0 ;
37691 wxGBPosition *arg3 = 0 ;
37692 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
37693 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
37694 int arg5 = (int) 0 ;
37695 int arg6 = (int) 0 ;
37696 PyObject *arg7 = (PyObject *) NULL ;
37697 bool result;
37698 wxGBPosition temp3 ;
37699 wxGBSpan temp4 ;
37700 PyObject * obj0 = 0 ;
37701 PyObject * obj1 = 0 ;
37702 PyObject * obj2 = 0 ;
37703 PyObject * obj3 = 0 ;
994141e6
RD
37704 PyObject * obj4 = 0 ;
37705 PyObject * obj5 = 0 ;
d14a1e28
RD
37706 PyObject * obj6 = 0 ;
37707 char *kwnames[] = {
37708 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37709 };
37710
994141e6 37711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
37712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37714 arg2 = obj1;
37715 {
37716 arg3 = &temp3;
37717 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37718 }
37719 if (obj3) {
37720 {
37721 arg4 = &temp4;
37722 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37723 }
37724 }
994141e6 37725 if (obj4) {
15afbcd0
RD
37726 arg5 = (int) SWIG_AsInt(obj4);
37727 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37728 }
37729 if (obj5) {
15afbcd0
RD
37730 arg6 = (int) SWIG_AsInt(obj5);
37731 if (PyErr_Occurred()) SWIG_fail;
994141e6 37732 }
d14a1e28
RD
37733 if (obj6) {
37734 arg7 = obj6;
37735 }
37736 {
37737 PyThreadState* __tstate = wxPyBeginAllowThreads();
37738 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37739
37740 wxPyEndAllowThreads(__tstate);
37741 if (PyErr_Occurred()) SWIG_fail;
37742 }
4f89f6a3
RD
37743 {
37744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37745 }
d14a1e28
RD
37746 return resultobj;
37747 fail:
37748 return NULL;
37749}
37750
37751
37752static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37753 PyObject *resultobj;
37754 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37755 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
37756 bool result;
37757 PyObject * obj0 = 0 ;
37758 PyObject * obj1 = 0 ;
37759 char *kwnames[] = {
37760 (char *) "self",(char *) "item", NULL
37761 };
37762
37763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37768 {
37769 PyThreadState* __tstate = wxPyBeginAllowThreads();
37770 result = (bool)(arg1)->Add(arg2);
37771
37772 wxPyEndAllowThreads(__tstate);
37773 if (PyErr_Occurred()) SWIG_fail;
37774 }
4f89f6a3
RD
37775 {
37776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37777 }
d14a1e28
RD
37778 return resultobj;
37779 fail:
37780 return NULL;
37781}
37782
37783
37784static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37785 PyObject *resultobj;
37786 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37787 wxSize result;
37788 PyObject * obj0 = 0 ;
37789 char *kwnames[] = {
37790 (char *) "self", NULL
37791 };
37792
37793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
37794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37796 {
37797 PyThreadState* __tstate = wxPyBeginAllowThreads();
37798 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
37799
37800 wxPyEndAllowThreads(__tstate);
37801 if (PyErr_Occurred()) SWIG_fail;
37802 }
37803 {
37804 wxSize * resultptr;
37805 resultptr = new wxSize((wxSize &) result);
15afbcd0 37806 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
37807 }
37808 return resultobj;
37809 fail:
37810 return NULL;
37811}
37812
37813
37814static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37815 PyObject *resultobj;
37816 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37817 wxSize *arg2 = 0 ;
37818 wxSize temp2 ;
37819 PyObject * obj0 = 0 ;
37820 PyObject * obj1 = 0 ;
37821 char *kwnames[] = {
37822 (char *) "self",(char *) "sz", NULL
37823 };
37824
37825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37828 {
37829 arg2 = &temp2;
37830 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
37831 }
37832 {
37833 PyThreadState* __tstate = wxPyBeginAllowThreads();
37834 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
37835
37836 wxPyEndAllowThreads(__tstate);
37837 if (PyErr_Occurred()) SWIG_fail;
37838 }
37839 Py_INCREF(Py_None); resultobj = Py_None;
37840 return resultobj;
37841 fail:
37842 return NULL;
37843}
37844
37845
37846static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
37847 PyObject *resultobj;
37848 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37849 wxWindow *arg2 = (wxWindow *) 0 ;
37850 wxGBPosition result;
37851 PyObject * obj0 = 0 ;
37852 PyObject * obj1 = 0 ;
37853
37854 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37857 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37859 {
37860 PyThreadState* __tstate = wxPyBeginAllowThreads();
37861 result = (arg1)->GetItemPosition(arg2);
37862
37863 wxPyEndAllowThreads(__tstate);
37864 if (PyErr_Occurred()) SWIG_fail;
37865 }
37866 {
37867 wxGBPosition * resultptr;
37868 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37870 }
37871 return resultobj;
37872 fail:
37873 return NULL;
37874}
37875
37876
37877static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
37878 PyObject *resultobj;
37879 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37880 wxSizer *arg2 = (wxSizer *) 0 ;
37881 wxGBPosition result;
37882 PyObject * obj0 = 0 ;
37883 PyObject * obj1 = 0 ;
37884
37885 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37890 {
37891 PyThreadState* __tstate = wxPyBeginAllowThreads();
37892 result = (arg1)->GetItemPosition(arg2);
37893
37894 wxPyEndAllowThreads(__tstate);
37895 if (PyErr_Occurred()) SWIG_fail;
37896 }
37897 {
37898 wxGBPosition * resultptr;
37899 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37900 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37901 }
37902 return resultobj;
37903 fail:
37904 return NULL;
37905}
37906
37907
37908static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
37909 PyObject *resultobj;
37910 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37911 size_t arg2 ;
37912 wxGBPosition result;
37913 PyObject * obj0 = 0 ;
37914 PyObject * obj1 = 0 ;
37915
37916 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37919 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37920 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37921 {
37922 PyThreadState* __tstate = wxPyBeginAllowThreads();
37923 result = (arg1)->GetItemPosition(arg2);
37924
37925 wxPyEndAllowThreads(__tstate);
37926 if (PyErr_Occurred()) SWIG_fail;
37927 }
37928 {
37929 wxGBPosition * resultptr;
37930 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37932 }
37933 return resultobj;
37934 fail:
37935 return NULL;
37936}
37937
37938
37939static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
37940 int argc;
37941 PyObject *argv[3];
37942 int ii;
37943
37944 argc = PyObject_Length(args);
37945 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37946 argv[ii] = PyTuple_GetItem(args,ii);
37947 }
37948 if (argc == 2) {
37949 int _v;
37950 {
37951 void *ptr;
15afbcd0 37952 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37953 _v = 0;
37954 PyErr_Clear();
37955 } else {
37956 _v = 1;
37957 }
37958 }
37959 if (_v) {
37960 {
37961 void *ptr;
15afbcd0 37962 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37963 _v = 0;
37964 PyErr_Clear();
37965 } else {
37966 _v = 1;
37967 }
37968 }
37969 if (_v) {
37970 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
37971 }
37972 }
37973 }
37974 if (argc == 2) {
37975 int _v;
37976 {
37977 void *ptr;
15afbcd0 37978 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37979 _v = 0;
37980 PyErr_Clear();
37981 } else {
37982 _v = 1;
37983 }
37984 }
37985 if (_v) {
37986 {
37987 void *ptr;
15afbcd0 37988 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37989 _v = 0;
37990 PyErr_Clear();
37991 } else {
37992 _v = 1;
37993 }
37994 }
37995 if (_v) {
37996 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
37997 }
37998 }
37999 }
38000 if (argc == 2) {
38001 int _v;
38002 {
38003 void *ptr;
15afbcd0 38004 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38005 _v = 0;
38006 PyErr_Clear();
38007 } else {
38008 _v = 1;
38009 }
38010 }
38011 if (_v) {
15afbcd0 38012 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38013 if (_v) {
38014 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
38015 }
38016 }
38017 }
38018
38019 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38020 return NULL;
38021}
38022
38023
38024static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
38025 PyObject *resultobj;
38026 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38027 wxWindow *arg2 = (wxWindow *) 0 ;
38028 wxGBPosition *arg3 = 0 ;
38029 bool result;
38030 wxGBPosition temp3 ;
38031 PyObject * obj0 = 0 ;
38032 PyObject * obj1 = 0 ;
38033 PyObject * obj2 = 0 ;
38034
38035 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38038 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38040 {
38041 arg3 = &temp3;
38042 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38043 }
38044 {
38045 PyThreadState* __tstate = wxPyBeginAllowThreads();
38046 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38047
38048 wxPyEndAllowThreads(__tstate);
38049 if (PyErr_Occurred()) SWIG_fail;
38050 }
4f89f6a3
RD
38051 {
38052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38053 }
d14a1e28
RD
38054 return resultobj;
38055 fail:
38056 return NULL;
38057}
38058
38059
38060static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
38061 PyObject *resultobj;
38062 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38063 wxSizer *arg2 = (wxSizer *) 0 ;
38064 wxGBPosition *arg3 = 0 ;
38065 bool result;
38066 wxGBPosition temp3 ;
38067 PyObject * obj0 = 0 ;
38068 PyObject * obj1 = 0 ;
38069 PyObject * obj2 = 0 ;
38070
38071 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38074 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38076 {
38077 arg3 = &temp3;
38078 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38079 }
38080 {
38081 PyThreadState* __tstate = wxPyBeginAllowThreads();
38082 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38083
38084 wxPyEndAllowThreads(__tstate);
38085 if (PyErr_Occurred()) SWIG_fail;
38086 }
4f89f6a3
RD
38087 {
38088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38089 }
d14a1e28
RD
38090 return resultobj;
38091 fail:
38092 return NULL;
38093}
38094
38095
38096static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
38097 PyObject *resultobj;
38098 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38099 size_t arg2 ;
38100 wxGBPosition *arg3 = 0 ;
38101 bool result;
38102 wxGBPosition temp3 ;
38103 PyObject * obj0 = 0 ;
38104 PyObject * obj1 = 0 ;
38105 PyObject * obj2 = 0 ;
38106
38107 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38110 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38112 {
38113 arg3 = &temp3;
38114 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38115 }
38116 {
38117 PyThreadState* __tstate = wxPyBeginAllowThreads();
38118 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38119
38120 wxPyEndAllowThreads(__tstate);
38121 if (PyErr_Occurred()) SWIG_fail;
38122 }
4f89f6a3
RD
38123 {
38124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38125 }
d14a1e28
RD
38126 return resultobj;
38127 fail:
38128 return NULL;
38129}
38130
38131
38132static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
38133 int argc;
38134 PyObject *argv[4];
38135 int ii;
38136
38137 argc = PyObject_Length(args);
38138 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38139 argv[ii] = PyTuple_GetItem(args,ii);
38140 }
38141 if (argc == 3) {
38142 int _v;
38143 {
38144 void *ptr;
15afbcd0 38145 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38146 _v = 0;
38147 PyErr_Clear();
38148 } else {
38149 _v = 1;
38150 }
38151 }
38152 if (_v) {
38153 {
38154 void *ptr;
15afbcd0 38155 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38156 _v = 0;
38157 PyErr_Clear();
38158 } else {
38159 _v = 1;
38160 }
38161 }
38162 if (_v) {
38163 {
38164 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38165 }
38166 if (_v) {
38167 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
38168 }
38169 }
38170 }
38171 }
38172 if (argc == 3) {
38173 int _v;
38174 {
38175 void *ptr;
15afbcd0 38176 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38177 _v = 0;
38178 PyErr_Clear();
38179 } else {
38180 _v = 1;
38181 }
38182 }
38183 if (_v) {
38184 {
38185 void *ptr;
15afbcd0 38186 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38187 _v = 0;
38188 PyErr_Clear();
38189 } else {
38190 _v = 1;
38191 }
38192 }
38193 if (_v) {
38194 {
38195 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38196 }
38197 if (_v) {
38198 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
38199 }
38200 }
38201 }
38202 }
38203 if (argc == 3) {
38204 int _v;
38205 {
38206 void *ptr;
15afbcd0 38207 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38208 _v = 0;
38209 PyErr_Clear();
38210 } else {
38211 _v = 1;
38212 }
38213 }
38214 if (_v) {
15afbcd0 38215 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38216 if (_v) {
38217 {
38218 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38219 }
38220 if (_v) {
38221 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
38222 }
38223 }
38224 }
38225 }
38226
38227 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38228 return NULL;
38229}
38230
38231
38232static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38233 PyObject *resultobj;
38234 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38235 wxWindow *arg2 = (wxWindow *) 0 ;
38236 wxGBSpan result;
38237 PyObject * obj0 = 0 ;
38238 PyObject * obj1 = 0 ;
38239
38240 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38243 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38245 {
38246 PyThreadState* __tstate = wxPyBeginAllowThreads();
38247 result = (arg1)->GetItemSpan(arg2);
38248
38249 wxPyEndAllowThreads(__tstate);
38250 if (PyErr_Occurred()) SWIG_fail;
38251 }
38252 {
38253 wxGBSpan * resultptr;
38254 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38255 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38256 }
38257 return resultobj;
38258 fail:
38259 return NULL;
38260}
38261
38262
38263static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38264 PyObject *resultobj;
38265 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38266 wxSizer *arg2 = (wxSizer *) 0 ;
38267 wxGBSpan result;
38268 PyObject * obj0 = 0 ;
38269 PyObject * obj1 = 0 ;
38270
38271 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38274 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38276 {
38277 PyThreadState* __tstate = wxPyBeginAllowThreads();
38278 result = (arg1)->GetItemSpan(arg2);
38279
38280 wxPyEndAllowThreads(__tstate);
38281 if (PyErr_Occurred()) SWIG_fail;
38282 }
38283 {
38284 wxGBSpan * resultptr;
38285 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38287 }
38288 return resultobj;
38289 fail:
38290 return NULL;
38291}
38292
38293
38294static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38295 PyObject *resultobj;
38296 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38297 size_t arg2 ;
38298 wxGBSpan result;
38299 PyObject * obj0 = 0 ;
38300 PyObject * obj1 = 0 ;
38301
38302 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38305 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38306 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38307 {
38308 PyThreadState* __tstate = wxPyBeginAllowThreads();
38309 result = (arg1)->GetItemSpan(arg2);
38310
38311 wxPyEndAllowThreads(__tstate);
38312 if (PyErr_Occurred()) SWIG_fail;
38313 }
38314 {
38315 wxGBSpan * resultptr;
38316 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38317 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38318 }
38319 return resultobj;
38320 fail:
38321 return NULL;
38322}
38323
38324
38325static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
38326 int argc;
38327 PyObject *argv[3];
38328 int ii;
38329
38330 argc = PyObject_Length(args);
38331 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38332 argv[ii] = PyTuple_GetItem(args,ii);
38333 }
38334 if (argc == 2) {
38335 int _v;
38336 {
38337 void *ptr;
15afbcd0 38338 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38339 _v = 0;
38340 PyErr_Clear();
38341 } else {
38342 _v = 1;
38343 }
38344 }
38345 if (_v) {
38346 {
38347 void *ptr;
15afbcd0 38348 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38349 _v = 0;
38350 PyErr_Clear();
38351 } else {
38352 _v = 1;
38353 }
38354 }
38355 if (_v) {
38356 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
38357 }
38358 }
38359 }
38360 if (argc == 2) {
38361 int _v;
38362 {
38363 void *ptr;
15afbcd0 38364 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38365 _v = 0;
38366 PyErr_Clear();
38367 } else {
38368 _v = 1;
38369 }
38370 }
38371 if (_v) {
38372 {
38373 void *ptr;
15afbcd0 38374 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38375 _v = 0;
38376 PyErr_Clear();
38377 } else {
38378 _v = 1;
38379 }
38380 }
38381 if (_v) {
38382 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
38383 }
38384 }
38385 }
38386 if (argc == 2) {
38387 int _v;
38388 {
38389 void *ptr;
15afbcd0 38390 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38391 _v = 0;
38392 PyErr_Clear();
38393 } else {
38394 _v = 1;
38395 }
38396 }
38397 if (_v) {
15afbcd0 38398 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38399 if (_v) {
38400 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
38401 }
38402 }
38403 }
38404
38405 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38406 return NULL;
38407}
38408
38409
38410static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38411 PyObject *resultobj;
38412 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38413 wxWindow *arg2 = (wxWindow *) 0 ;
38414 wxGBSpan *arg3 = 0 ;
38415 bool result;
38416 wxGBSpan temp3 ;
38417 PyObject * obj0 = 0 ;
38418 PyObject * obj1 = 0 ;
38419 PyObject * obj2 = 0 ;
38420
38421 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38424 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38426 {
38427 arg3 = &temp3;
38428 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38429 }
38430 {
38431 PyThreadState* __tstate = wxPyBeginAllowThreads();
38432 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38433
38434 wxPyEndAllowThreads(__tstate);
38435 if (PyErr_Occurred()) SWIG_fail;
38436 }
4f89f6a3
RD
38437 {
38438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38439 }
d14a1e28
RD
38440 return resultobj;
38441 fail:
38442 return NULL;
38443}
38444
38445
38446static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38447 PyObject *resultobj;
38448 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38449 wxSizer *arg2 = (wxSizer *) 0 ;
38450 wxGBSpan *arg3 = 0 ;
38451 bool result;
38452 wxGBSpan temp3 ;
38453 PyObject * obj0 = 0 ;
38454 PyObject * obj1 = 0 ;
38455 PyObject * obj2 = 0 ;
38456
38457 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38462 {
38463 arg3 = &temp3;
38464 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38465 }
38466 {
38467 PyThreadState* __tstate = wxPyBeginAllowThreads();
38468 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38469
38470 wxPyEndAllowThreads(__tstate);
38471 if (PyErr_Occurred()) SWIG_fail;
38472 }
4f89f6a3
RD
38473 {
38474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38475 }
d14a1e28
RD
38476 return resultobj;
38477 fail:
38478 return NULL;
38479}
38480
38481
38482static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38483 PyObject *resultobj;
38484 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38485 size_t arg2 ;
38486 wxGBSpan *arg3 = 0 ;
38487 bool result;
38488 wxGBSpan temp3 ;
38489 PyObject * obj0 = 0 ;
38490 PyObject * obj1 = 0 ;
38491 PyObject * obj2 = 0 ;
38492
38493 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38496 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38497 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38498 {
38499 arg3 = &temp3;
38500 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38501 }
38502 {
38503 PyThreadState* __tstate = wxPyBeginAllowThreads();
38504 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38505
38506 wxPyEndAllowThreads(__tstate);
38507 if (PyErr_Occurred()) SWIG_fail;
38508 }
4f89f6a3
RD
38509 {
38510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38511 }
d14a1e28
RD
38512 return resultobj;
38513 fail:
38514 return NULL;
38515}
38516
38517
38518static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
38519 int argc;
38520 PyObject *argv[4];
38521 int ii;
38522
38523 argc = PyObject_Length(args);
38524 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38525 argv[ii] = PyTuple_GetItem(args,ii);
38526 }
38527 if (argc == 3) {
38528 int _v;
38529 {
38530 void *ptr;
15afbcd0 38531 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38532 _v = 0;
38533 PyErr_Clear();
38534 } else {
38535 _v = 1;
38536 }
38537 }
38538 if (_v) {
38539 {
38540 void *ptr;
15afbcd0 38541 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38542 _v = 0;
38543 PyErr_Clear();
38544 } else {
38545 _v = 1;
38546 }
38547 }
38548 if (_v) {
38549 {
38550 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38551 }
38552 if (_v) {
38553 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
38554 }
38555 }
38556 }
38557 }
38558 if (argc == 3) {
38559 int _v;
38560 {
38561 void *ptr;
15afbcd0 38562 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38563 _v = 0;
38564 PyErr_Clear();
38565 } else {
38566 _v = 1;
38567 }
38568 }
38569 if (_v) {
38570 {
38571 void *ptr;
15afbcd0 38572 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38573 _v = 0;
38574 PyErr_Clear();
38575 } else {
38576 _v = 1;
38577 }
38578 }
38579 if (_v) {
38580 {
38581 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38582 }
38583 if (_v) {
38584 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
38585 }
38586 }
38587 }
38588 }
38589 if (argc == 3) {
38590 int _v;
38591 {
38592 void *ptr;
15afbcd0 38593 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38594 _v = 0;
38595 PyErr_Clear();
38596 } else {
38597 _v = 1;
38598 }
38599 }
38600 if (_v) {
15afbcd0 38601 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38602 if (_v) {
38603 {
38604 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38605 }
38606 if (_v) {
38607 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
38608 }
38609 }
38610 }
38611 }
38612
38613 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38614 return NULL;
38615}
38616
38617
38618static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
38619 PyObject *resultobj;
38620 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38621 wxWindow *arg2 = (wxWindow *) 0 ;
38622 wxGBSizerItem *result;
38623 PyObject * obj0 = 0 ;
38624 PyObject * obj1 = 0 ;
38625
38626 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
38627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38631 {
38632 PyThreadState* __tstate = wxPyBeginAllowThreads();
38633 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38634
38635 wxPyEndAllowThreads(__tstate);
38636 if (PyErr_Occurred()) SWIG_fail;
38637 }
15afbcd0 38638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38639 return resultobj;
38640 fail:
38641 return NULL;
38642}
38643
38644
38645static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
38646 PyObject *resultobj;
38647 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38648 wxSizer *arg2 = (wxSizer *) 0 ;
38649 wxGBSizerItem *result;
38650 PyObject * obj0 = 0 ;
38651 PyObject * obj1 = 0 ;
38652
38653 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
38654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38658 {
38659 PyThreadState* __tstate = wxPyBeginAllowThreads();
38660 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38661
38662 wxPyEndAllowThreads(__tstate);
38663 if (PyErr_Occurred()) SWIG_fail;
38664 }
15afbcd0 38665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38666 return resultobj;
38667 fail:
38668 return NULL;
38669}
38670
38671
38672static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
38673 int argc;
38674 PyObject *argv[3];
38675 int ii;
38676
38677 argc = PyObject_Length(args);
38678 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38679 argv[ii] = PyTuple_GetItem(args,ii);
38680 }
38681 if (argc == 2) {
38682 int _v;
38683 {
38684 void *ptr;
15afbcd0 38685 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38686 _v = 0;
38687 PyErr_Clear();
38688 } else {
38689 _v = 1;
38690 }
38691 }
38692 if (_v) {
38693 {
38694 void *ptr;
15afbcd0 38695 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38696 _v = 0;
38697 PyErr_Clear();
38698 } else {
38699 _v = 1;
38700 }
38701 }
38702 if (_v) {
38703 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
38704 }
38705 }
38706 }
38707 if (argc == 2) {
38708 int _v;
38709 {
38710 void *ptr;
15afbcd0 38711 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38712 _v = 0;
38713 PyErr_Clear();
38714 } else {
38715 _v = 1;
38716 }
38717 }
38718 if (_v) {
38719 {
38720 void *ptr;
15afbcd0 38721 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38722 _v = 0;
38723 PyErr_Clear();
38724 } else {
38725 _v = 1;
38726 }
38727 }
38728 if (_v) {
38729 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
38730 }
38731 }
38732 }
38733
38734 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
38735 return NULL;
38736}
38737
38738
38739static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
38740 PyObject *resultobj;
38741 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38742 wxGBPosition *arg2 = 0 ;
38743 wxGBSizerItem *result;
38744 wxGBPosition temp2 ;
38745 PyObject * obj0 = 0 ;
38746 PyObject * obj1 = 0 ;
38747 char *kwnames[] = {
38748 (char *) "self",(char *) "pos", NULL
38749 };
38750
38751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38754 {
38755 arg2 = &temp2;
38756 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38757 }
38758 {
38759 PyThreadState* __tstate = wxPyBeginAllowThreads();
38760 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
38761
38762 wxPyEndAllowThreads(__tstate);
38763 if (PyErr_Occurred()) SWIG_fail;
38764 }
15afbcd0 38765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38766 return resultobj;
38767 fail:
38768 return NULL;
38769}
38770
38771
e811c8ce
RD
38772static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
38773 PyObject *resultobj;
38774 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38775 wxPoint *arg2 = 0 ;
38776 wxGBSizerItem *result;
38777 wxPoint temp2 ;
38778 PyObject * obj0 = 0 ;
38779 PyObject * obj1 = 0 ;
38780 char *kwnames[] = {
38781 (char *) "self",(char *) "pt", NULL
38782 };
38783
38784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
38787 {
38788 arg2 = &temp2;
38789 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
38790 }
38791 {
38792 PyThreadState* __tstate = wxPyBeginAllowThreads();
38793 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
38794
38795 wxPyEndAllowThreads(__tstate);
38796 if (PyErr_Occurred()) SWIG_fail;
38797 }
15afbcd0 38798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
e811c8ce
RD
38799 return resultobj;
38800 fail:
38801 return NULL;
38802}
38803
38804
d14a1e28
RD
38805static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
38806 PyObject *resultobj;
38807 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38808 wxObject *arg2 = (wxObject *) 0 ;
38809 wxGBSizerItem *result;
38810 PyObject * obj0 = 0 ;
38811 PyObject * obj1 = 0 ;
38812 char *kwnames[] = {
38813 (char *) "self",(char *) "userData", NULL
38814 };
38815
38816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
38820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38821 {
38822 PyThreadState* __tstate = wxPyBeginAllowThreads();
38823 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
38824
38825 wxPyEndAllowThreads(__tstate);
38826 if (PyErr_Occurred()) SWIG_fail;
38827 }
15afbcd0 38828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38829 return resultobj;
38830 fail:
38831 return NULL;
38832}
38833
38834
38835static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
38836 PyObject *resultobj;
38837 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38838 PyObject * obj0 = 0 ;
38839 char *kwnames[] = {
38840 (char *) "self", NULL
38841 };
38842
38843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
38844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38846 {
38847 PyThreadState* __tstate = wxPyBeginAllowThreads();
38848 (arg1)->RecalcSizes();
38849
38850 wxPyEndAllowThreads(__tstate);
38851 if (PyErr_Occurred()) SWIG_fail;
38852 }
38853 Py_INCREF(Py_None); resultobj = Py_None;
38854 return resultobj;
38855 fail:
38856 return NULL;
38857}
38858
38859
38860static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
38861 PyObject *resultobj;
38862 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38863 wxSize result;
38864 PyObject * obj0 = 0 ;
38865 char *kwnames[] = {
38866 (char *) "self", NULL
38867 };
38868
38869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
38870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38872 {
38873 PyThreadState* __tstate = wxPyBeginAllowThreads();
38874 result = (arg1)->CalcMin();
38875
38876 wxPyEndAllowThreads(__tstate);
38877 if (PyErr_Occurred()) SWIG_fail;
38878 }
38879 {
38880 wxSize * resultptr;
38881 resultptr = new wxSize((wxSize &) result);
15afbcd0 38882 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
38883 }
38884 return resultobj;
38885 fail:
38886 return NULL;
38887}
38888
38889
38890static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
38891 PyObject *resultobj;
38892 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38893 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
38894 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
38895 bool result;
38896 PyObject * obj0 = 0 ;
38897 PyObject * obj1 = 0 ;
38898 PyObject * obj2 = 0 ;
38899
38900 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 38905 if (obj2) {
15afbcd0
RD
38906 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
38907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38908 }
38909 {
38910 PyThreadState* __tstate = wxPyBeginAllowThreads();
38911 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
38912
38913 wxPyEndAllowThreads(__tstate);
38914 if (PyErr_Occurred()) SWIG_fail;
38915 }
4f89f6a3
RD
38916 {
38917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38918 }
d14a1e28
RD
38919 return resultobj;
38920 fail:
38921 return NULL;
38922}
38923
38924
38925static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
38926 PyObject *resultobj;
38927 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38928 wxGBPosition *arg2 = 0 ;
38929 wxGBSpan *arg3 = 0 ;
38930 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
38931 bool result;
38932 wxGBPosition temp2 ;
38933 wxGBSpan temp3 ;
38934 PyObject * obj0 = 0 ;
38935 PyObject * obj1 = 0 ;
38936 PyObject * obj2 = 0 ;
38937 PyObject * obj3 = 0 ;
38938
38939 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
38940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38942 {
38943 arg2 = &temp2;
38944 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38945 }
38946 {
38947 arg3 = &temp3;
38948 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38949 }
38950 if (obj3) {
15afbcd0
RD
38951 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
38952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38953 }
38954 {
38955 PyThreadState* __tstate = wxPyBeginAllowThreads();
38956 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
38957
38958 wxPyEndAllowThreads(__tstate);
38959 if (PyErr_Occurred()) SWIG_fail;
38960 }
4f89f6a3
RD
38961 {
38962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38963 }
d14a1e28
RD
38964 return resultobj;
38965 fail:
38966 return NULL;
38967}
38968
38969
38970static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
38971 int argc;
38972 PyObject *argv[5];
38973 int ii;
38974
38975 argc = PyObject_Length(args);
38976 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
38977 argv[ii] = PyTuple_GetItem(args,ii);
38978 }
38979 if ((argc >= 2) && (argc <= 3)) {
38980 int _v;
38981 {
38982 void *ptr;
15afbcd0 38983 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38984 _v = 0;
38985 PyErr_Clear();
38986 } else {
38987 _v = 1;
38988 }
38989 }
38990 if (_v) {
38991 {
38992 void *ptr;
15afbcd0 38993 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
38994 _v = 0;
38995 PyErr_Clear();
38996 } else {
38997 _v = 1;
38998 }
38999 }
39000 if (_v) {
39001 if (argc <= 2) {
39002 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
39003 }
39004 {
39005 void *ptr;
15afbcd0 39006 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
39007 _v = 0;
39008 PyErr_Clear();
39009 } else {
39010 _v = 1;
39011 }
39012 }
39013 if (_v) {
39014 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
39015 }
39016 }
39017 }
39018 }
39019 if ((argc >= 3) && (argc <= 4)) {
39020 int _v;
39021 {
39022 void *ptr;
15afbcd0 39023 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39024 _v = 0;
39025 PyErr_Clear();
39026 } else {
39027 _v = 1;
39028 }
39029 }
39030 if (_v) {
39031 {
39032 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
39033 }
39034 if (_v) {
39035 {
39036 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39037 }
39038 if (_v) {
39039 if (argc <= 3) {
39040 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
39041 }
39042 {
39043 void *ptr;
15afbcd0 39044 if (SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
39045 _v = 0;
39046 PyErr_Clear();
39047 } else {
39048 _v = 1;
39049 }
39050 }
39051 if (_v) {
39052 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
39053 }
39054 }
39055 }
39056 }
39057 }
39058
39059 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39060 return NULL;
39061}
39062
39063
39064static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
39065 PyObject *obj;
39066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39067 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
39068 Py_INCREF(obj);
39069 return Py_BuildValue((char *)"");
39070}
39071static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
39072 PyObject *resultobj;
39073 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39074 int arg2 ;
39075 wxWindow *arg3 = (wxWindow *) 0 ;
39076 int arg4 ;
39077 int arg5 = (int) 0 ;
39078 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
39079 PyObject * obj0 = 0 ;
994141e6 39080 PyObject * obj1 = 0 ;
d14a1e28 39081 PyObject * obj2 = 0 ;
994141e6
RD
39082 PyObject * obj3 = 0 ;
39083 PyObject * obj4 = 0 ;
39084 PyObject * obj5 = 0 ;
d14a1e28
RD
39085 char *kwnames[] = {
39086 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39087 };
39088
994141e6 39089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
39090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39092 arg2 = (wxRelationship) SWIG_AsInt(obj1);
39093 if (PyErr_Occurred()) SWIG_fail;
39094 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39096 arg4 = (wxEdge) SWIG_AsInt(obj3);
39097 if (PyErr_Occurred()) SWIG_fail;
994141e6 39098 if (obj4) {
15afbcd0
RD
39099 arg5 = (int) SWIG_AsInt(obj4);
39100 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
39101 }
39102 if (obj5) {
15afbcd0
RD
39103 arg6 = (int) SWIG_AsInt(obj5);
39104 if (PyErr_Occurred()) SWIG_fail;
994141e6 39105 }
d14a1e28
RD
39106 {
39107 PyThreadState* __tstate = wxPyBeginAllowThreads();
39108 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
39109
39110 wxPyEndAllowThreads(__tstate);
39111 if (PyErr_Occurred()) SWIG_fail;
39112 }
39113 Py_INCREF(Py_None); resultobj = Py_None;
39114 return resultobj;
39115 fail:
39116 return NULL;
39117}
39118
39119
39120static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39121 PyObject *resultobj;
39122 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39123 wxWindow *arg2 = (wxWindow *) 0 ;
39124 int arg3 = (int) 0 ;
39125 PyObject * obj0 = 0 ;
39126 PyObject * obj1 = 0 ;
994141e6 39127 PyObject * obj2 = 0 ;
d14a1e28
RD
39128 char *kwnames[] = {
39129 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39130 };
39131
994141e6 39132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39137 if (obj2) {
15afbcd0
RD
39138 arg3 = (int) SWIG_AsInt(obj2);
39139 if (PyErr_Occurred()) SWIG_fail;
994141e6 39140 }
d14a1e28
RD
39141 {
39142 PyThreadState* __tstate = wxPyBeginAllowThreads();
39143 (arg1)->LeftOf(arg2,arg3);
39144
39145 wxPyEndAllowThreads(__tstate);
39146 if (PyErr_Occurred()) SWIG_fail;
39147 }
39148 Py_INCREF(Py_None); resultobj = Py_None;
39149 return resultobj;
39150 fail:
39151 return NULL;
39152}
39153
39154
39155static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39156 PyObject *resultobj;
39157 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39158 wxWindow *arg2 = (wxWindow *) 0 ;
39159 int arg3 = (int) 0 ;
39160 PyObject * obj0 = 0 ;
39161 PyObject * obj1 = 0 ;
994141e6 39162 PyObject * obj2 = 0 ;
d14a1e28
RD
39163 char *kwnames[] = {
39164 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39165 };
39166
994141e6 39167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39172 if (obj2) {
15afbcd0
RD
39173 arg3 = (int) SWIG_AsInt(obj2);
39174 if (PyErr_Occurred()) SWIG_fail;
994141e6 39175 }
d14a1e28
RD
39176 {
39177 PyThreadState* __tstate = wxPyBeginAllowThreads();
39178 (arg1)->RightOf(arg2,arg3);
39179
39180 wxPyEndAllowThreads(__tstate);
39181 if (PyErr_Occurred()) SWIG_fail;
39182 }
39183 Py_INCREF(Py_None); resultobj = Py_None;
39184 return resultobj;
39185 fail:
39186 return NULL;
39187}
39188
39189
39190static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
39191 PyObject *resultobj;
39192 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39193 wxWindow *arg2 = (wxWindow *) 0 ;
39194 int arg3 = (int) 0 ;
39195 PyObject * obj0 = 0 ;
39196 PyObject * obj1 = 0 ;
994141e6 39197 PyObject * obj2 = 0 ;
d14a1e28
RD
39198 char *kwnames[] = {
39199 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39200 };
39201
994141e6 39202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39207 if (obj2) {
15afbcd0
RD
39208 arg3 = (int) SWIG_AsInt(obj2);
39209 if (PyErr_Occurred()) SWIG_fail;
994141e6 39210 }
d14a1e28
RD
39211 {
39212 PyThreadState* __tstate = wxPyBeginAllowThreads();
39213 (arg1)->Above(arg2,arg3);
39214
39215 wxPyEndAllowThreads(__tstate);
39216 if (PyErr_Occurred()) SWIG_fail;
39217 }
39218 Py_INCREF(Py_None); resultobj = Py_None;
39219 return resultobj;
39220 fail:
39221 return NULL;
39222}
39223
39224
39225static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
39226 PyObject *resultobj;
39227 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39228 wxWindow *arg2 = (wxWindow *) 0 ;
39229 int arg3 = (int) 0 ;
39230 PyObject * obj0 = 0 ;
39231 PyObject * obj1 = 0 ;
994141e6 39232 PyObject * obj2 = 0 ;
d14a1e28
RD
39233 char *kwnames[] = {
39234 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39235 };
39236
994141e6 39237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39240 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39242 if (obj2) {
15afbcd0
RD
39243 arg3 = (int) SWIG_AsInt(obj2);
39244 if (PyErr_Occurred()) SWIG_fail;
994141e6 39245 }
d14a1e28
RD
39246 {
39247 PyThreadState* __tstate = wxPyBeginAllowThreads();
39248 (arg1)->Below(arg2,arg3);
39249
39250 wxPyEndAllowThreads(__tstate);
39251 if (PyErr_Occurred()) SWIG_fail;
39252 }
39253 Py_INCREF(Py_None); resultobj = Py_None;
39254 return resultobj;
39255 fail:
39256 return NULL;
39257}
39258
39259
39260static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
39261 PyObject *resultobj;
39262 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39263 wxWindow *arg2 = (wxWindow *) 0 ;
39264 int arg3 ;
39265 int arg4 = (int) 0 ;
39266 PyObject * obj0 = 0 ;
39267 PyObject * obj1 = 0 ;
994141e6
RD
39268 PyObject * obj2 = 0 ;
39269 PyObject * obj3 = 0 ;
d14a1e28
RD
39270 char *kwnames[] = {
39271 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39272 };
39273
994141e6 39274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39277 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39279 arg3 = (wxEdge) SWIG_AsInt(obj2);
39280 if (PyErr_Occurred()) SWIG_fail;
994141e6 39281 if (obj3) {
15afbcd0
RD
39282 arg4 = (int) SWIG_AsInt(obj3);
39283 if (PyErr_Occurred()) SWIG_fail;
994141e6 39284 }
d14a1e28
RD
39285 {
39286 PyThreadState* __tstate = wxPyBeginAllowThreads();
39287 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
39288
39289 wxPyEndAllowThreads(__tstate);
39290 if (PyErr_Occurred()) SWIG_fail;
39291 }
39292 Py_INCREF(Py_None); resultobj = Py_None;
39293 return resultobj;
39294 fail:
39295 return NULL;
39296}
39297
39298
39299static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39300 PyObject *resultobj;
39301 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39302 wxWindow *arg2 = (wxWindow *) 0 ;
39303 int arg3 ;
39304 int arg4 ;
39305 PyObject * obj0 = 0 ;
39306 PyObject * obj1 = 0 ;
994141e6
RD
39307 PyObject * obj2 = 0 ;
39308 PyObject * obj3 = 0 ;
d14a1e28
RD
39309 char *kwnames[] = {
39310 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39311 };
39312
994141e6 39313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39318 arg3 = (wxEdge) SWIG_AsInt(obj2);
39319 if (PyErr_Occurred()) SWIG_fail;
39320 arg4 = (int) SWIG_AsInt(obj3);
39321 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39322 {
39323 PyThreadState* __tstate = wxPyBeginAllowThreads();
39324 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
39325
39326 wxPyEndAllowThreads(__tstate);
39327 if (PyErr_Occurred()) SWIG_fail;
39328 }
39329 Py_INCREF(Py_None); resultobj = Py_None;
39330 return resultobj;
39331 fail:
39332 return NULL;
39333}
39334
39335
39336static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
39337 PyObject *resultobj;
39338 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39339 int arg2 ;
39340 PyObject * obj0 = 0 ;
994141e6 39341 PyObject * obj1 = 0 ;
d14a1e28
RD
39342 char *kwnames[] = {
39343 (char *) "self",(char *) "val", NULL
39344 };
39345
994141e6 39346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39349 arg2 = (int) SWIG_AsInt(obj1);
39350 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39351 {
39352 PyThreadState* __tstate = wxPyBeginAllowThreads();
39353 (arg1)->Absolute(arg2);
39354
39355 wxPyEndAllowThreads(__tstate);
39356 if (PyErr_Occurred()) SWIG_fail;
39357 }
39358 Py_INCREF(Py_None); resultobj = Py_None;
39359 return resultobj;
39360 fail:
39361 return NULL;
39362}
39363
39364
39365static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
39366 PyObject *resultobj;
39367 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39368 PyObject * obj0 = 0 ;
39369 char *kwnames[] = {
39370 (char *) "self", NULL
39371 };
39372
39373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
15afbcd0
RD
39374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39376 {
39377 PyThreadState* __tstate = wxPyBeginAllowThreads();
39378 (arg1)->Unconstrained();
39379
39380 wxPyEndAllowThreads(__tstate);
39381 if (PyErr_Occurred()) SWIG_fail;
39382 }
39383 Py_INCREF(Py_None); resultobj = Py_None;
39384 return resultobj;
39385 fail:
39386 return NULL;
39387}
39388
39389
39390static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
39391 PyObject *resultobj;
39392 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39393 PyObject * obj0 = 0 ;
39394 char *kwnames[] = {
39395 (char *) "self", NULL
39396 };
39397
39398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
15afbcd0
RD
39399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39401 {
39402 PyThreadState* __tstate = wxPyBeginAllowThreads();
39403 (arg1)->AsIs();
39404
39405 wxPyEndAllowThreads(__tstate);
39406 if (PyErr_Occurred()) SWIG_fail;
39407 }
39408 Py_INCREF(Py_None); resultobj = Py_None;
39409 return resultobj;
39410 fail:
39411 return NULL;
39412}
39413
39414
39415static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
39416 PyObject *resultobj;
39417 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39418 wxWindow *result;
39419 PyObject * obj0 = 0 ;
39420 char *kwnames[] = {
39421 (char *) "self", NULL
39422 };
39423
39424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
39425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39427 {
39428 PyThreadState* __tstate = wxPyBeginAllowThreads();
39429 result = (wxWindow *)(arg1)->GetOtherWindow();
39430
39431 wxPyEndAllowThreads(__tstate);
39432 if (PyErr_Occurred()) SWIG_fail;
39433 }
39434 {
39435 resultobj = wxPyMake_wxObject(result);
39436 }
39437 return resultobj;
39438 fail:
39439 return NULL;
39440}
39441
39442
39443static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39444 PyObject *resultobj;
39445 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39446 int result;
39447 PyObject * obj0 = 0 ;
39448 char *kwnames[] = {
39449 (char *) "self", NULL
39450 };
39451
39452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
39453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39455 {
39456 PyThreadState* __tstate = wxPyBeginAllowThreads();
39457 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
39458
39459 wxPyEndAllowThreads(__tstate);
39460 if (PyErr_Occurred()) SWIG_fail;
39461 }
15afbcd0 39462 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39463 return resultobj;
39464 fail:
39465 return NULL;
39466}
39467
39468
39469static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39470 PyObject *resultobj;
39471 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39472 int arg2 ;
39473 PyObject * obj0 = 0 ;
994141e6 39474 PyObject * obj1 = 0 ;
d14a1e28
RD
39475 char *kwnames[] = {
39476 (char *) "self",(char *) "which", NULL
39477 };
39478
994141e6 39479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39482 arg2 = (wxEdge) SWIG_AsInt(obj1);
39483 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39484 {
39485 PyThreadState* __tstate = wxPyBeginAllowThreads();
39486 (arg1)->SetEdge((wxEdge )arg2);
39487
39488 wxPyEndAllowThreads(__tstate);
39489 if (PyErr_Occurred()) SWIG_fail;
39490 }
39491 Py_INCREF(Py_None); resultobj = Py_None;
39492 return resultobj;
39493 fail:
39494 return NULL;
39495}
39496
39497
39498static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
39499 PyObject *resultobj;
39500 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39501 int arg2 ;
39502 PyObject * obj0 = 0 ;
994141e6 39503 PyObject * obj1 = 0 ;
d14a1e28
RD
39504 char *kwnames[] = {
39505 (char *) "self",(char *) "v", NULL
39506 };
39507
994141e6 39508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39511 arg2 = (int) SWIG_AsInt(obj1);
39512 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39513 {
39514 PyThreadState* __tstate = wxPyBeginAllowThreads();
39515 (arg1)->SetValue(arg2);
39516
39517 wxPyEndAllowThreads(__tstate);
39518 if (PyErr_Occurred()) SWIG_fail;
39519 }
39520 Py_INCREF(Py_None); resultobj = Py_None;
39521 return resultobj;
39522 fail:
39523 return NULL;
39524}
39525
39526
39527static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
39528 PyObject *resultobj;
39529 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39530 int result;
39531 PyObject * obj0 = 0 ;
39532 char *kwnames[] = {
39533 (char *) "self", NULL
39534 };
39535
39536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
15afbcd0
RD
39537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39539 {
39540 PyThreadState* __tstate = wxPyBeginAllowThreads();
39541 result = (int)(arg1)->GetMargin();
39542
39543 wxPyEndAllowThreads(__tstate);
39544 if (PyErr_Occurred()) SWIG_fail;
39545 }
15afbcd0 39546 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39547 return resultobj;
39548 fail:
39549 return NULL;
39550}
39551
39552
39553static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
39554 PyObject *resultobj;
39555 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39556 int arg2 ;
39557 PyObject * obj0 = 0 ;
994141e6 39558 PyObject * obj1 = 0 ;
d14a1e28
RD
39559 char *kwnames[] = {
39560 (char *) "self",(char *) "m", NULL
39561 };
39562
994141e6 39563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39566 arg2 = (int) SWIG_AsInt(obj1);
39567 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39568 {
39569 PyThreadState* __tstate = wxPyBeginAllowThreads();
39570 (arg1)->SetMargin(arg2);
39571
39572 wxPyEndAllowThreads(__tstate);
39573 if (PyErr_Occurred()) SWIG_fail;
39574 }
39575 Py_INCREF(Py_None); resultobj = Py_None;
39576 return resultobj;
39577 fail:
39578 return NULL;
39579}
39580
39581
39582static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
39583 PyObject *resultobj;
39584 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39585 int result;
39586 PyObject * obj0 = 0 ;
39587 char *kwnames[] = {
39588 (char *) "self", NULL
39589 };
39590
39591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
39592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39594 {
39595 PyThreadState* __tstate = wxPyBeginAllowThreads();
39596 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
39597
39598 wxPyEndAllowThreads(__tstate);
39599 if (PyErr_Occurred()) SWIG_fail;
39600 }
15afbcd0 39601 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39602 return resultobj;
39603 fail:
39604 return NULL;
39605}
39606
39607
39608static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
39609 PyObject *resultobj;
39610 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39611 int result;
39612 PyObject * obj0 = 0 ;
39613 char *kwnames[] = {
39614 (char *) "self", NULL
39615 };
39616
39617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
15afbcd0
RD
39618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39620 {
39621 PyThreadState* __tstate = wxPyBeginAllowThreads();
39622 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
39623
39624 wxPyEndAllowThreads(__tstate);
39625 if (PyErr_Occurred()) SWIG_fail;
39626 }
15afbcd0 39627 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39628 return resultobj;
39629 fail:
39630 return NULL;
39631}
39632
39633
39634static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39635 PyObject *resultobj;
39636 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39637 int result;
39638 PyObject * obj0 = 0 ;
39639 char *kwnames[] = {
39640 (char *) "self", NULL
39641 };
39642
39643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
39644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39646 {
39647 PyThreadState* __tstate = wxPyBeginAllowThreads();
39648 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
39649
39650 wxPyEndAllowThreads(__tstate);
39651 if (PyErr_Occurred()) SWIG_fail;
39652 }
15afbcd0 39653 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39654 return resultobj;
39655 fail:
39656 return NULL;
39657}
39658
39659
39660static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
39661 PyObject *resultobj;
39662 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39663 bool result;
39664 PyObject * obj0 = 0 ;
39665 char *kwnames[] = {
39666 (char *) "self", NULL
39667 };
39668
39669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
15afbcd0
RD
39670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39672 {
39673 PyThreadState* __tstate = wxPyBeginAllowThreads();
39674 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
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_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
39689 PyObject *resultobj;
39690 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39691 bool arg2 ;
39692 PyObject * obj0 = 0 ;
39693 PyObject * obj1 = 0 ;
39694 char *kwnames[] = {
39695 (char *) "self",(char *) "d", NULL
39696 };
39697
39698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39701 arg2 = (bool) SWIG_AsBool(obj1);
39702 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39703 {
39704 PyThreadState* __tstate = wxPyBeginAllowThreads();
39705 (arg1)->SetDone(arg2);
39706
39707 wxPyEndAllowThreads(__tstate);
39708 if (PyErr_Occurred()) SWIG_fail;
39709 }
39710 Py_INCREF(Py_None); resultobj = Py_None;
39711 return resultobj;
39712 fail:
39713 return NULL;
39714}
39715
39716
39717static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
39718 PyObject *resultobj;
39719 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39720 int result;
39721 PyObject * obj0 = 0 ;
39722 char *kwnames[] = {
39723 (char *) "self", NULL
39724 };
39725
39726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
15afbcd0
RD
39727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39729 {
39730 PyThreadState* __tstate = wxPyBeginAllowThreads();
39731 result = (int)(arg1)->GetRelationship();
39732
39733 wxPyEndAllowThreads(__tstate);
39734 if (PyErr_Occurred()) SWIG_fail;
39735 }
15afbcd0 39736 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39737 return resultobj;
39738 fail:
39739 return NULL;
39740}
39741
39742
39743static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
39744 PyObject *resultobj;
39745 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39746 int arg2 ;
39747 PyObject * obj0 = 0 ;
994141e6 39748 PyObject * obj1 = 0 ;
d14a1e28
RD
39749 char *kwnames[] = {
39750 (char *) "self",(char *) "r", NULL
39751 };
39752
994141e6 39753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39756 arg2 = (wxRelationship) SWIG_AsInt(obj1);
39757 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39758 {
39759 PyThreadState* __tstate = wxPyBeginAllowThreads();
39760 (arg1)->SetRelationship((wxRelationship )arg2);
39761
39762 wxPyEndAllowThreads(__tstate);
39763 if (PyErr_Occurred()) SWIG_fail;
39764 }
39765 Py_INCREF(Py_None); resultobj = Py_None;
39766 return resultobj;
39767 fail:
39768 return NULL;
39769}
39770
39771
39772static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
39773 PyObject *resultobj;
39774 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39775 wxWindow *arg2 = (wxWindow *) 0 ;
39776 bool result;
39777 PyObject * obj0 = 0 ;
39778 PyObject * obj1 = 0 ;
39779 char *kwnames[] = {
39780 (char *) "self",(char *) "otherW", NULL
39781 };
39782
39783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39788 {
39789 PyThreadState* __tstate = wxPyBeginAllowThreads();
39790 result = (bool)(arg1)->ResetIfWin(arg2);
39791
39792 wxPyEndAllowThreads(__tstate);
39793 if (PyErr_Occurred()) SWIG_fail;
39794 }
4f89f6a3
RD
39795 {
39796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39797 }
d14a1e28
RD
39798 return resultobj;
39799 fail:
39800 return NULL;
39801}
39802
39803
39804static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
39805 PyObject *resultobj;
39806 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39807 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
39808 wxWindow *arg3 = (wxWindow *) 0 ;
39809 bool result;
39810 PyObject * obj0 = 0 ;
39811 PyObject * obj1 = 0 ;
39812 PyObject * obj2 = 0 ;
39813 char *kwnames[] = {
39814 (char *) "self",(char *) "constraints",(char *) "win", NULL
39815 };
39816
39817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
39821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39822 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39824 {
39825 PyThreadState* __tstate = wxPyBeginAllowThreads();
39826 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
39827
39828 wxPyEndAllowThreads(__tstate);
39829 if (PyErr_Occurred()) SWIG_fail;
39830 }
4f89f6a3
RD
39831 {
39832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39833 }
d14a1e28
RD
39834 return resultobj;
39835 fail:
39836 return NULL;
39837}
39838
39839
39840static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39841 PyObject *resultobj;
39842 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39843 int arg2 ;
39844 wxWindow *arg3 = (wxWindow *) 0 ;
39845 wxWindow *arg4 = (wxWindow *) 0 ;
39846 int result;
39847 PyObject * obj0 = 0 ;
994141e6 39848 PyObject * obj1 = 0 ;
d14a1e28
RD
39849 PyObject * obj2 = 0 ;
39850 PyObject * obj3 = 0 ;
39851 char *kwnames[] = {
39852 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39853 };
39854
994141e6 39855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39858 arg2 = (wxEdge) SWIG_AsInt(obj1);
39859 if (PyErr_Occurred()) SWIG_fail;
39860 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39862 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
39863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39864 {
39865 PyThreadState* __tstate = wxPyBeginAllowThreads();
39866 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
39867
39868 wxPyEndAllowThreads(__tstate);
39869 if (PyErr_Occurred()) SWIG_fail;
39870 }
15afbcd0 39871 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39872 return resultobj;
39873 fail:
39874 return NULL;
39875}
39876
39877
39878static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
39879 PyObject *obj;
39880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39881 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
39882 Py_INCREF(obj);
39883 return Py_BuildValue((char *)"");
39884}
39885static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39886 PyObject *resultobj;
39887 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39888 wxIndividualLayoutConstraint *result;
39889 PyObject * obj0 = 0 ;
39890 char *kwnames[] = {
39891 (char *) "self", NULL
39892 };
39893
39894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39897 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
39898
15afbcd0 39899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39900 return resultobj;
39901 fail:
39902 return NULL;
39903}
39904
39905
39906static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39907 PyObject *resultobj;
39908 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39909 wxIndividualLayoutConstraint *result;
39910 PyObject * obj0 = 0 ;
39911 char *kwnames[] = {
39912 (char *) "self", NULL
39913 };
39914
39915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39918 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
39919
15afbcd0 39920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39921 return resultobj;
39922 fail:
39923 return NULL;
39924}
39925
39926
39927static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39928 PyObject *resultobj;
39929 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39930 wxIndividualLayoutConstraint *result;
39931 PyObject * obj0 = 0 ;
39932 char *kwnames[] = {
39933 (char *) "self", NULL
39934 };
39935
39936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39939 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
39940
15afbcd0 39941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39942 return resultobj;
39943 fail:
39944 return NULL;
39945}
39946
39947
39948static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39949 PyObject *resultobj;
39950 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39951 wxIndividualLayoutConstraint *result;
39952 PyObject * obj0 = 0 ;
39953 char *kwnames[] = {
39954 (char *) "self", NULL
39955 };
39956
39957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39960 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
39961
15afbcd0 39962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39963 return resultobj;
39964 fail:
39965 return NULL;
39966}
39967
39968
39969static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39970 PyObject *resultobj;
39971 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39972 wxIndividualLayoutConstraint *result;
39973 PyObject * obj0 = 0 ;
39974 char *kwnames[] = {
39975 (char *) "self", NULL
39976 };
39977
39978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39981 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
39982
15afbcd0 39983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39984 return resultobj;
39985 fail:
39986 return NULL;
39987}
39988
39989
39990static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39991 PyObject *resultobj;
39992 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39993 wxIndividualLayoutConstraint *result;
39994 PyObject * obj0 = 0 ;
39995 char *kwnames[] = {
39996 (char *) "self", NULL
39997 };
39998
39999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40002 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
40003
15afbcd0 40004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40005 return resultobj;
40006 fail:
40007 return NULL;
40008}
40009
40010
40011static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40012 PyObject *resultobj;
40013 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40014 wxIndividualLayoutConstraint *result;
40015 PyObject * obj0 = 0 ;
40016 char *kwnames[] = {
40017 (char *) "self", NULL
40018 };
40019
40020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40023 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
40024
15afbcd0 40025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40026 return resultobj;
40027 fail:
40028 return NULL;
40029}
40030
40031
40032static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40033 PyObject *resultobj;
40034 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40035 wxIndividualLayoutConstraint *result;
40036 PyObject * obj0 = 0 ;
40037 char *kwnames[] = {
40038 (char *) "self", NULL
40039 };
40040
40041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40044 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
40045
15afbcd0 40046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40047 return resultobj;
40048 fail:
40049 return NULL;
40050}
40051
40052
40053static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
40054 PyObject *resultobj;
40055 wxLayoutConstraints *result;
40056 char *kwnames[] = {
40057 NULL
40058 };
40059
40060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
40061 {
40062 PyThreadState* __tstate = wxPyBeginAllowThreads();
40063 result = (wxLayoutConstraints *)new wxLayoutConstraints();
40064
40065 wxPyEndAllowThreads(__tstate);
40066 if (PyErr_Occurred()) SWIG_fail;
40067 }
15afbcd0 40068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
d14a1e28
RD
40069 return resultobj;
40070 fail:
40071 return NULL;
40072}
40073
40074
40075static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
40076 PyObject *resultobj;
40077 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40078 wxWindow *arg2 = (wxWindow *) 0 ;
40079 int *arg3 = (int *) 0 ;
40080 bool result;
40081 int temp3 ;
40082 PyObject * obj0 = 0 ;
40083 PyObject * obj1 = 0 ;
40084 char *kwnames[] = {
40085 (char *) "self",(char *) "win", NULL
40086 };
40087
40088 arg3 = &temp3;
40089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40094 {
40095 PyThreadState* __tstate = wxPyBeginAllowThreads();
40096 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
40097
40098 wxPyEndAllowThreads(__tstate);
40099 if (PyErr_Occurred()) SWIG_fail;
40100 }
4f89f6a3
RD
40101 {
40102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40103 }
d14a1e28
RD
40104 {
40105 PyObject *o = PyInt_FromLong((long) (*arg3));
40106 resultobj = t_output_helper(resultobj,o);
40107 }
40108 return resultobj;
40109 fail:
40110 return NULL;
40111}
40112
40113
40114static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
40115 PyObject *resultobj;
40116 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40117 bool result;
40118 PyObject * obj0 = 0 ;
40119 char *kwnames[] = {
40120 (char *) "self", NULL
40121 };
40122
40123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
15afbcd0
RD
40124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40126 {
40127 PyThreadState* __tstate = wxPyBeginAllowThreads();
40128 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
40129
40130 wxPyEndAllowThreads(__tstate);
40131 if (PyErr_Occurred()) SWIG_fail;
40132 }
4f89f6a3
RD
40133 {
40134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40135 }
d14a1e28
RD
40136 return resultobj;
40137 fail:
40138 return NULL;
40139}
40140
40141
40142static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
40143 PyObject *obj;
40144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40145 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
40146 Py_INCREF(obj);
40147 return Py_BuildValue((char *)"");
40148}
40149static PyMethodDef SwigMethods[] = {
40150 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
3a04f143 40151 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS },
d14a1e28
RD
40152 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
40153 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
40154 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
40155 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
40156 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
40157 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
40158 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
40159 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
40160 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
40161 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
40162 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
40163 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
40164 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
40165 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
40166 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
40167 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
40168 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
40169 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
40170 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
40171 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40172 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS },
40173 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40174 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40175 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
40176 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
40177 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
40178 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
40179 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
40180 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
40181 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40182 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
40183 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
40184 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
40185 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40186 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40187 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40188 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
40189 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
40190 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
40191 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
40192 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
40193 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
40194 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
40195 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
40196 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
40197 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
40198 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
40199 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
40200 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
40201 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40202 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40203 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
40204 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
40205 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
40206 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
40207 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
40208 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
40209 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
40210 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
40211 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
40212 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
40213 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
40214 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
40215 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
40216 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
40217 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
40218 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
40219 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
c9c7117a
RD
40220 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS },
40221 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS },
40222 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS },
40223 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40224 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
40225 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
40226 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
40227 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
40228 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
40229 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
40230 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
40231 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
40232 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
40233 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
40234 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
40235 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
40236 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
40237 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
40238 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
40239 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
40240 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
40241 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
40242 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
40243 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
40244 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
40245 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
40246 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
40247 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
40248 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
40249 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
40250 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
40251 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
40252 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40253 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40254 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
40255 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
40256 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
40257 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
40258 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
40259 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
40260 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
40261 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
40262 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40263 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
40264 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40265 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
40266 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
40267 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
40268 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
40269 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
40270 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
40271 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
40272 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
40273 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
40274 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
40275 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40276 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
40277 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
40278 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
40279 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
40280 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40281 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40282 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
40283 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
40284 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
40285 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
40286 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
40287 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
40288 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
40289 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
40290 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
40291 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
40292 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
40293 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
40294 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
40295 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
40296 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
40297 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
40298 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
40299 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
40300 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
40301 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
40302 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
40303 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
40304 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
40305 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
40306 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40307 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
40308 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40309 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
40310 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
40311 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
40312 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
40313 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40314 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40315 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40316 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40317 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40318 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
40319 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
40320 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40321 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
40322 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
40323 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
40324 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
40325 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
40326 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
40327 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
40328 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
40329 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
40330 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
40331 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
40332 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
40333 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
40334 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
40335 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
40336 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
40337 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40338 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40339 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
40340 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
40341 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40342 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40343 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40344 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40345 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
40346 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
40347 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
40348 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
40349 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
40350 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
40351 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40352 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40353 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40354 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40355 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
40356 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
40357 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
40358 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
40359 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40360 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
40361 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
40362 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
40363 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
40364 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
40365 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
40366 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
40367 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
40368 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40369 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
40370 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
40371 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
40372 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
40373 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
40374 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
66c033b4 40375 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40376 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
40377 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
40378 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
40379 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
40380 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
40381 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
40382 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
40383 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
40384 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
40385 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
40386 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
40387 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
40388 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
40389 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
40390 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40391 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
40392 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
40393 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
40394 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
40395 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
40396 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
40397 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
40398 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
40399 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
40400 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
40401 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
40402 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
40403 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
b2df227b 40404 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40405 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
40406 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
40407 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
40408 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
40409 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
40410 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40411 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40412 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
40413 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
40414 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40415 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40416 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
40417 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
40418 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
40419 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
40420 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
40421 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
40422 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
40423 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
40424 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
40425 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
40426 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
40427 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
40428 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
40429 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
40430 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
40431 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
40432 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
40433 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
40434 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
40435 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
40436 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
40437 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
40438 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
40439 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
40440 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
d14a1e28
RD
40441 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
40442 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
40443 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
40444 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
40445 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
40446 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
40447 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
40448 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
40449 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
40450 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
40451 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
40452 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
40453 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
40454 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
40455 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
40456 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
40457 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
40458 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
40459 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
40460 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
40461 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
40462 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
40463 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
40464 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
40465 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
40466 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
40467 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
40468 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
40469 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
40470 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
40471 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
40472 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
40473 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
40474 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
40475 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
40476 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
40477 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
40478 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
40479 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
40480 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
40481 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
40482 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
40483 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
40484 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
40485 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
40486 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
40487 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
40488 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
40489 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
40490 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
40491 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
40492 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
40493 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
40494 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
40495 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
40496 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
40497 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
40498 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
40499 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
40500 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
40501 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
40502 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
40503 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
40504 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
40505 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
40506 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
40507 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
40508 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
40509 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
40510 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
40511 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
40512 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
40513 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
40514 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
40515 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
40516 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
40517 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
40518 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
40519 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40520 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40521 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40522 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40523 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
40524 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
40525 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40526 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40527 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40528 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40529 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
40530 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
40531 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
40532 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
40533 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
40534 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
40535 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
40536 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
40537 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
40538 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
40539 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
40540 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
40541 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
40542 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
40543 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
40544 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
40545 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
40546 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
40547 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
40548 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
40549 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
40550 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
40551 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
40552 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
40553 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
40554 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
40555 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
40556 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
40557 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
40558 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40559 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40560 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
40561 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40562 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40563 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
40564 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
40565 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
40566 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
40567 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
40568 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
40569 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
40570 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
40571 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
40572 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
40573 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
40574 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
40575 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
40576 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
40577 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
40578 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
40579 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
40580 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
40581 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
40582 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
40583 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
40584 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
40585 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
40586 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
40587 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
40588 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
40589 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
40590 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
40591 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
40592 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
40593 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40594 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40595 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
40596 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
40597 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
40598 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
40599 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
40600 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
40601 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
40602 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
40603 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
40604 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
40605 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
40606 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
40607 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
40608 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
40609 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40610 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40611 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40612 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40613 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
40614 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
40615 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
40616 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
40617 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
40618 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
40619 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
40620 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
40621 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
40622 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
40623 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
40624 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
40625 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
40626 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
40627 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
40628 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
40629 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
40630 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
40631 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
40632 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
40633 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
40634 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
40635 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
40636 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
40637 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
40638 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
40639 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
40640 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
40641 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
40642 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
40643 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
40644 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
40645 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40646 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
40647 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
40648 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40649 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
40650 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
40651 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
40652 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
40653 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
40654 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
40655 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
40656 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
40657 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
40658 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
40659 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
40660 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
40661 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
40662 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40663 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
40664 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
40665 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
40666 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40667 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
40668 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
40669 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
40670 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
40671 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
40672 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
40673 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
40674 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
40675 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
40676 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
40677 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
40678 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
40679 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
40680 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
40681 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
40682 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
40683 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
40684 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
40685 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
40686 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
40687 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
40688 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
40689 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
40690 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
40691 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
40692 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
40693 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
40694 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
40695 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40696 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
40697 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
40698 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
40699 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
40700 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
40701 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
40702 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
40703 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
40704 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
40705 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
40706 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
40707 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
40708 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
40709 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
40710 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
40711 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
40712 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
40713 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
40714 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
40715 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
40716 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
40717 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
40718 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
40719 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
40720 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
40721 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
40722 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
40723 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
40724 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
40725 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
40726 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
40727 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
40728 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
40729 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
40730 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
40731 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
40732 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
40733 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
40734 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
40735 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
40736 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
40737 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
40738 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
40739 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
40740 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40741 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
40742 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
40743 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40744 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
40745 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
40746 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40747 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40748 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
40749 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
40750 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
40751 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
40752 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
40753 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
40754 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
40755 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
40756 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
40757 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
40758 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
40759 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
40760 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
40761 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
40762 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
40763 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
40764 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
40765 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
40766 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
40767 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
40768 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40769 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
40770 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
40771 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
40772 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
40773 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
40774 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
40775 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
40776 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
40777 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
40778 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
40779 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
40780 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
40781 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
40782 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
40783 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
40784 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
40785 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40786 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
40787 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
40788 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
40789 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
40790 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
40791 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
40792 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
40793 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
40794 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40795 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
6c3b4aae 40796 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40797 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
40798 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
40799 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
40800 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
40801 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
40802 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
40803 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
40804 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
40805 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
40806 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
40807 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
40808 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
40809 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
40810 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
40811 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
40812 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
40813 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
40814 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
40815 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
40816 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
40817 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
1e0c8722
RD
40818 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
40819 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
40820 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
1e0c8722
RD
40821 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
40822 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
40823 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
40824 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
40825 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40826 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40827 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
40828 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
40829 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40830 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
40831 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
40832 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS },
40833 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS },
40834 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS },
40835 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS },
40836 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS },
40837 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS },
40838 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS },
d14a1e28
RD
40839 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
40840 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
40841 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
40842 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
40843 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
40844 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
40845 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
40846 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
40847 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
40848 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
40849 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
40850 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
40851 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
4276dc52
RD
40852 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS },
40853 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40854 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
40855 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
40856 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
40857 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
40858 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
40859 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
40860 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
40861 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
40862 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
40863 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
40864 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
40865 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
40866 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
40867 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
40868 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
40869 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
40870 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
40871 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40872 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
40873 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
40874 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
40875 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
40876 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
40877 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
40878 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
40879 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
40880 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
40881 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
40882 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
40883 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
40884 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
40885 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
40886 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40887 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints, METH_VARARGS },
40888 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints, METH_VARARGS },
d14a1e28
RD
40889 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
40890 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
40891 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
40892 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
40893 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
74a57fcd 40894 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40895 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40896 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
40897 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40898 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
40899 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
40900 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
40901 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
40902 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
40903 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
40904 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
40905 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40906 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
40907 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40908 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
40909 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
40910 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40911 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40912 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
40913 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
40914 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40915 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
40916 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
40917 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
40918 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
40919 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
40920 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40921 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40922 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
40923 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
40924 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
40925 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
40926 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
40927 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
40928 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
40929 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
40930 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40931 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40932 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40933 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40934 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
40935 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
40936 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
40937 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
40938 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40939 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS },
40940 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
40941 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
40942 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40943 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40944 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40945 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
40946 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
40947 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
40948 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
40949 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
40950 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
40951 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
40952 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
40953 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
40954 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
40955 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
40956 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
40957 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
40958 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
40959 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
40960 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
40961 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
40962 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
40963 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
40964 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
40965 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
40966 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
40967 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
40968 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
4276dc52 40969 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40970 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
40971 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40972 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
b2df227b 40973 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction) _wrap_Window_SetDefaultBackgroundColour, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40974 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
b2df227b 40975 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction) _wrap_Window_SetDefaultForegroundColour, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40976 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40977 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
40978 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
40979 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
40980 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
b2df227b 40981 { (char *)"Window_SetDefaultFont", (PyCFunction) _wrap_Window_SetDefaultFont, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40982 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
40983 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
40984 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
40985 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
40986 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
40987 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
40988 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
40989 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
40990 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
40991 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
40992 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
40993 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
40994 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
15afbcd0 40995 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS },
d14a1e28
RD
40996 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
40997 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
40998 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
40999 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
41000 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
41001 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
41002 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
41003 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
41004 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
41005 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
41006 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
41007 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
41008 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
41009 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
41010 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
41011 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
41012 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
41013 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
41014 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
41015 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
41016 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
41017 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
41018 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
41019 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
41020 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
41021 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
41022 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
41023 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
41024 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
41025 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
41026 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
41027 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
41028 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
41029 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
41030 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
a95a7133
RD
41031 { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS },
41032 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41033 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
41034 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
41035 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
41036 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
41037 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
41038 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
41039 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
41040 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
41041 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
41042 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
41043 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
41044 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
41045 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
41046 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
41047 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
41048 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
41049 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41050 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
41051 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
41052 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
41053 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
41054 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
41055 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
41056 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
41057 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
41058 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
41059 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
41060 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
41061 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
41062 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
41063 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
41064 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
41065 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
41066 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
41067 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
41068 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
41069 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
41070 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
41071 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
41072 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
41073 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
41074 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
41075 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
41076 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
41077 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
41078 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
41079 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
41080 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
41081 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
41082 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
41083 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
41084 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41085 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
41086 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
41087 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
41088 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
41089 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
41090 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
41091 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
41092 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
41093 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
41094 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
41095 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
41096 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
41097 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
41098 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
41099 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
41100 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
41101 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
41102 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
41103 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
41104 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
41105 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
41106 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
41107 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
41108 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
41109 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
41110 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
41111 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
41112 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
41113 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
41114 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
41115 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
41116 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
41117 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
41118 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
41119 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
41120 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
41121 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
41122 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
41123 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41124 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
41125 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
41126 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
41127 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
41128 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
41129 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
41130 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
41131 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
41132 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
41133 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
41134 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
41135 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
41136 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
41137 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
41138 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
41139 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
41140 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
41141 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
41142 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
41143 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
a95a7133 41144 { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41145 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
41146 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
41147 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
41148 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
41149 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
41150 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
41151 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41152 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
41153 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
41154 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
41155 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
41156 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
41157 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
41158 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
41159 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
41160 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
41161 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
41162 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
41163 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
41164 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
41165 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
41166 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
41167 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
41168 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
74a57fcd 41169 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41170 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
41171 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
41172 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
41173 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
41174 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
41175 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
41176 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
41177 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
41178 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
41179 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
41180 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
41181 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
41182 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
41183 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
41184 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
41185 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
41186 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
41187 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
41188 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
41189 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
41190 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41191 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41192 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41193 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41194 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
41195 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
41196 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
41197 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
41198 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41199 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
41200 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
41201 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
41202 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
41203 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
41204 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
41205 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
41206 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
41207 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
41208 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
41209 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
41210 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
41211 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
41212 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
41213 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
41214 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
41215 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
41216 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
41217 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
41218 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
41219 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
41220 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
41221 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
41222 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
41223 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
41224 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
41225 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
41226 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
41227 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
41228 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
1c0f361b 41229 { (char *)"Sizer_Detach", (PyCFunction) _wrap_Sizer_Detach, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41230 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
41231 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41232 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
41233 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
41234 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
41235 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
41236 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
41237 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
41238 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41239 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41240 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41241 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
41242 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
41243 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
41244 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
41245 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
41246 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
41247 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41248 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
41249 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
41250 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
41251 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
41252 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
41253 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
41254 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
41255 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41256 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
41257 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
41258 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
41259 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
41260 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41261 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41262 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
41263 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
41264 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
41265 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41266 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41267 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
41268 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
41269 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41270 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41271 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
41272 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
41273 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
41274 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
41275 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
41276 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
41277 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
41278 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
41279 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
41280 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
41281 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41282 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41283 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
41284 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
41285 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
41286 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
41287 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41288 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41289 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
41290 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41291 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
41292 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41293 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
41294 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
41295 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
41296 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
41297 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
41298 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
41299 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
41300 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41301 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
41302 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41303 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
41304 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
41305 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
41306 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
41307 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
41308 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
41309 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
41310 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41311 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
41312 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41313 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
41314 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
41315 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41316 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41317 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41318 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
41319 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
41320 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
41321 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
41322 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
41323 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
41324 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
41325 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
41326 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
41327 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
41328 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
41329 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41330 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41331 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41332 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
41333 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
41334 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
41335 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
41336 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
41337 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
e811c8ce 41338 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41339 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
41340 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41341 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41342 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
41343 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
41344 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
41345 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
41346 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
41347 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
41348 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
41349 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
41350 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
41351 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
41352 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
41353 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
41354 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
41355 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
41356 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
41357 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
41358 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
41359 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
41360 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
41361 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
41362 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
41363 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
41364 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
41365 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
41366 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
41367 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
41368 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
41369 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
41370 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
41371 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
41372 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
41373 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
41374 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
41375 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
41376 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
41377 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
41378 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
41379 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
41380 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
41381 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
41382 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
41383 { NULL, NULL }
41384};
41385
41386
41387/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41388
41389static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
41390 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
41391}
41392static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
41393 return (void *)((wxSizer *) ((wxBoxSizer *) x));
41394}
41395static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
41396 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
41397}
41398static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
41399 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41400}
41401static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
41402 return (void *)((wxSizer *) ((wxGridSizer *) x));
41403}
41404static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
41405 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
41406}
41407static void *_p_wxPySizerTo_p_wxSizer(void *x) {
41408 return (void *)((wxSizer *) ((wxPySizer *) x));
41409}
41410static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
41411 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
41412}
41413static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
41414 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
41415}
41416static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
41417 return (void *)((wxEvent *) ((wxMenuEvent *) x));
41418}
41419static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
41420 return (void *)((wxEvent *) ((wxCloseEvent *) x));
41421}
41422static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
41423 return (void *)((wxEvent *) ((wxMouseEvent *) x));
41424}
41425static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
41426 return (void *)((wxEvent *) ((wxEraseEvent *) x));
41427}
41428static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
41429 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
41430}
41431static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
41432 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
41433}
41434static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
41435 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
41436}
41437static void *_p_wxPyEventTo_p_wxEvent(void *x) {
41438 return (void *)((wxEvent *) ((wxPyEvent *) x));
41439}
41440static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
41441 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
41442}
41443static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
41444 return (void *)((wxEvent *) ((wxIdleEvent *) x));
41445}
41446static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
41447 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
41448}
41449static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
41450 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
41451}
41452static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
41453 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
41454}
41455static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
41456 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
41457}
41458static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
41459 return (void *)((wxEvent *) ((wxActivateEvent *) x));
41460}
41461static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
41462 return (void *)((wxEvent *) ((wxSizeEvent *) x));
41463}
41464static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
41465 return (void *)((wxEvent *) ((wxMoveEvent *) x));
41466}
41467static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
41468 return (void *)((wxEvent *) ((wxPaintEvent *) x));
41469}
41470static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
41471 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
41472}
41473static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
41474 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
41475}
41476static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
41477 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
41478}
41479static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
41480 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
41481}
41482static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
41483 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41484}
41485static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
41486 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
41487}
41488static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
41489 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
41490}
41491static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
41492 return (void *)((wxEvent *) ((wxFocusEvent *) x));
41493}
41494static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
41495 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
41496}
41497static void *_p_wxShowEventTo_p_wxEvent(void *x) {
41498 return (void *)((wxEvent *) ((wxShowEvent *) x));
41499}
41500static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
41501 return (void *)((wxEvent *) ((wxCommandEvent *) x));
41502}
41503static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
41504 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
41505}
41506static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
41507 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41508}
41509static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
41510 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
41511}
41512static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
41513 return (void *)((wxEvent *) ((wxKeyEvent *) x));
41514}
41515static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
41516 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
41517}
41518static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
41519 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
41520}
41521static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
41522 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
41523}
41524static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
41525 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
41526}
41527static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
41528 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
41529}
41530static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
41531 return (void *)((wxControl *) ((wxControlWithItems *) x));
41532}
41533static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
41534 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
41535}
41536static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
41537 return (void *)((wxEvtHandler *) ((wxWindow *) x));
41538}
41539static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
41540 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41541}
41542static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
41543 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
41544}
41545static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
41546 return (void *)((wxEvtHandler *) ((wxValidator *) x));
41547}
41548static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
41549 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
41550}
41551static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
41552 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
41553}
41554static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
41555 return (void *)((wxEvtHandler *) ((wxMenu *) x));
41556}
41557static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
41558 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
41559}
41560static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
41561 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
41562}
41563static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
41564 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
41565}
41566static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
41567 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
41568}
41569static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
41570 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
41571}
41572static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
41573 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41574}
41575static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
41576 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
41577}
41578static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
41579 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
41580}
41581static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
41582 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41583}
41584static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
41585 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41586}
41587static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
41588 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
41589}
41590static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
41591 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
41592}
41593static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
41594 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
41595}
41596static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
41597 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
41598}
41599static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
41600 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
41601}
41602static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
41603 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
41604}
41605static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
41606 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
41607}
41608static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
41609 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
41610}
41611static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
41612 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
41613}
41614static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
41615 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
41616}
41617static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
41618 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
41619}
41620static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
41621 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
41622}
41623static void *_p_wxMenuEventTo_p_wxObject(void *x) {
41624 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
41625}
41626static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
41627 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
41628}
41629static void *_p_wxEraseEventTo_p_wxObject(void *x) {
41630 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
41631}
41632static void *_p_wxMouseEventTo_p_wxObject(void *x) {
41633 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
41634}
41635static void *_p_wxCloseEventTo_p_wxObject(void *x) {
41636 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
41637}
41638static void *_p_wxValidatorTo_p_wxObject(void *x) {
41639 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
41640}
41641static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
41642 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
41643}
41644static void *_p_wxMenuBarTo_p_wxObject(void *x) {
41645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
41646}
41647static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
41648 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
41649}
41650static void *_p_wxSizerTo_p_wxObject(void *x) {
41651 return (void *)((wxObject *) ((wxSizer *) x));
41652}
41653static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
41654 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
41655}
41656static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
41657 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
41658}
41659static void *_p_wxMenuTo_p_wxObject(void *x) {
41660 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
41661}
41662static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
41663 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
41664}
41665static void *_p_wxImageTo_p_wxObject(void *x) {
41666 return (void *)((wxObject *) ((wxImage *) x));
41667}
41668static void *_p_wxScrollEventTo_p_wxObject(void *x) {
41669 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
41670}
41671static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
41672 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
41673}
41674static void *_p_wxPyEventTo_p_wxObject(void *x) {
41675 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
41676}
41677static void *_p_wxWindowTo_p_wxObject(void *x) {
41678 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
41679}
41680static void *_p_wxControlTo_p_wxObject(void *x) {
41681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
41682}
1e0c8722
RD
41683static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
41684 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
41685}
d14a1e28
RD
41686static void *_p_wxGridSizerTo_p_wxObject(void *x) {
41687 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
41688}
41689static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
41690 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
41691}
41692static void *_p_wxPyAppTo_p_wxObject(void *x) {
41693 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
41694}
41695static void *_p_wxEventTo_p_wxObject(void *x) {
41696 return (void *)((wxObject *) ((wxEvent *) x));
41697}
41698static void *_p_wxActivateEventTo_p_wxObject(void *x) {
41699 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
41700}
41701static void *_p_wxMoveEventTo_p_wxObject(void *x) {
41702 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
41703}
41704static void *_p_wxSizeEventTo_p_wxObject(void *x) {
41705 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
41706}
41707static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
41708 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
41709}
41710static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
41711 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
41712}
41713static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
41714 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
41715}
41716static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
41717 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
41718}
41719static void *_p_wxIdleEventTo_p_wxObject(void *x) {
41720 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
41721}
41722static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
41723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41724}
41725static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
41726 return (void *)((wxObject *) ((wxEvtHandler *) x));
41727}
41728static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
41729 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
41730}
41731static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
41732 return (void *)((wxObject *) ((wxImageHandler *) x));
41733}
41734static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
41735 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
41736}
41737static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
41738 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
41739}
41740static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
41741 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41742}
41743static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
41744 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41745}
41746static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
41747 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
41748}
41749static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
41750 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
41751}
41752static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
41753 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
41754}
41755static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
41756 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
41757}
41758static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
41759 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
41760}
41761static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
41762 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
41763}
41764static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
41765 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
41766}
41767static void *_p_wxPaintEventTo_p_wxObject(void *x) {
41768 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
41769}
41770static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
41771 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
41772}
41773static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
41774 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
41775}
41776static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
41777 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41778}
41779static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
41780 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
41781}
41782static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
41783 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
41784}
41785static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
41786 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
41787}
41788static void *_p_wxFileSystemTo_p_wxObject(void *x) {
41789 return (void *)((wxObject *) ((wxFileSystem *) x));
41790}
41791static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
41792 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
41793}
41794static void *_p_wxFocusEventTo_p_wxObject(void *x) {
41795 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
41796}
41797static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
41798 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
41799}
41800static void *_p_wxSizerItemTo_p_wxObject(void *x) {
41801 return (void *)((wxObject *) ((wxSizerItem *) x));
41802}
41803static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
41804 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
41805}
41806static void *_p_wxShowEventTo_p_wxObject(void *x) {
41807 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
41808}
41809static void *_p_wxFSFileTo_p_wxObject(void *x) {
41810 return (void *)((wxObject *) ((wxFSFile *) x));
41811}
41812static void *_p_wxCommandEventTo_p_wxObject(void *x) {
41813 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
41814}
41815static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
41816 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
41817}
41818static void *_p_wxKeyEventTo_p_wxObject(void *x) {
41819 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
41820}
41821static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
41822 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
41823}
41824static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
41825 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41826}
41827static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
41828 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41829}
41830static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
41831 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
41832}
41833static void *_p_wxMenuItemTo_p_wxObject(void *x) {
41834 return (void *)((wxObject *) ((wxMenuItem *) x));
41835}
41836static void *_p_wxPySizerTo_p_wxObject(void *x) {
41837 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
41838}
41839static void *_p_wxControlTo_p_wxWindow(void *x) {
41840 return (void *)((wxWindow *) ((wxControl *) x));
41841}
41842static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
41843 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
41844}
41845static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
41846 return (void *)((wxWindow *) ((wxMenuBar *) x));
41847}
41848static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
41849 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
41850}
41851static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
41852 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
41853}
41854static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
41855 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
41856}
41857static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
41858 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
41859}
41860static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
41861 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41862}
41863static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
41864 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
41865}
41866static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
41867 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
41868}
41869static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
41870 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
41871}
41872static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
41873 return (void *)((wxValidator *) ((wxPyValidator *) x));
41874}
15afbcd0
RD
41875static 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}};
41876static 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}};
41877static 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}};
41878static 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}};
41879static 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}};
41880static 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}};
41881static 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}};
41882static 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}};
41883static 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}};
41884static 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}};
41885static 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}};
41886static 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}};
41887static 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}};
41888static 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}};
41889static 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}};
41890static 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}};
41891static 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}};
41892static 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}};
41893static 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}};
41894static 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}};
41895static 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}};
41896static 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}};
41897static 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}};
41898static 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}};
41899static 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}};
41900static 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}};
41901static 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}};
41902static 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}};
41903static 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}};
41904static 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}};
41905static 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}};
41906static 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}};
41907static 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}};
41908static 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}};
41909static 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}};
41910static 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 41911static 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
41912static 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}};
41913static 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}};
41914static 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}};
41915static 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}};
41916static 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}};
41917static 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}};
41918static 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}};
41919static 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}};
41920static 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}};
41921static 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}};
41922static 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}};
41923static 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}};
41924static 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}};
41925static 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}};
41926static 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}};
41927static 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}};
41928static 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}};
41929static 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}};
41930static 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}};
41931static 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}};
41932static 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}};
41933static 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}};
41934static 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}};
41935static 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}};
41936static 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}};
41937static 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}};
41938static 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}};
41939static 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}};
41940static 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}};
41941static 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}};
41942static 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}};
41943static 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}};
41944static 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}};
41945static 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}};
41946static 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}};
41947static 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}};
41948static 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}};
41949static 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}};
41950static 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}};
41951static 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}};
41952static 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}};
41953static 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}};
41954static 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}};
41955static 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}};
41956static 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}};
41957static 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}};
41958static 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}};
41959static 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}};
41960static 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}};
41961static 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}};
41962static 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}};
41963static 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}};
41964static 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}};
41965static 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}};
41966static 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}};
41967static 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}};
41968static 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}};
41969static 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}};
41970static 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}};
41971static 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}};
41972static 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}};
41973static 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}};
41974static 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}};
41975static 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}};
41976static 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}};
41977static 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}};
41978static 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}};
41979static 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}};
41980static 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}};
41981static 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}};
41982static 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}};
41983static 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}};
41984static 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}};
41985static 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}};
41986static 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}};
41987static 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}};
41988static 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}};
41989static 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
41990
41991static swig_type_info *swig_types_initial[] = {
41992_swigt__p_wxLayoutConstraints,
41993_swigt__p_wxRealPoint,
41994_swigt__p_wxSizerItem,
41995_swigt__p_wxGBSizerItem,
41996_swigt__p_wxScrollEvent,
41997_swigt__p_wxIndividualLayoutConstraint,
41998_swigt__p_wxSizer,
41999_swigt__p_wxBoxSizer,
42000_swigt__p_wxStaticBoxSizer,
42001_swigt__p_wxGridBagSizer,
42002_swigt__p_wxAcceleratorEntry,
42003_swigt__p_wxUpdateUIEvent,
42004_swigt__p_wxMenu,
42005_swigt__p_wxEvent,
42006_swigt__p_wxGridSizer,
42007_swigt__p_wxFlexGridSizer,
42008_swigt__p_wxInitDialogEvent,
42009_swigt__p_wxItemContainer,
42010_swigt__p_wxNcPaintEvent,
42011_swigt__p_wxPaintEvent,
42012_swigt__p_wxSysColourChangedEvent,
42013_swigt__p_wxMouseCaptureChangedEvent,
42014_swigt__p_wxDisplayChangedEvent,
42015_swigt__p_wxPaletteChangedEvent,
42016_swigt__p_wxControl,
42017_swigt__p_wxFont,
42018_swigt__p_wxMenuBarBase,
42019_swigt__p_wxSetCursorEvent,
42020_swigt__p_wxFSFile,
42021_swigt__p_wxCaret,
42022_swigt__p_wxRegion,
42023_swigt__p_wxPoint2D,
42024_swigt__p_int,
42025_swigt__p_wxSize,
42026_swigt__p_wxDC,
42027_swigt__p_wxPySizer,
74a57fcd 42028_swigt__p_wxVisualAttributes,
d14a1e28
RD
42029_swigt__p_wxNotifyEvent,
42030_swigt__p_wxPyEvent,
42031_swigt__p_wxPropagationDisabler,
42032_swigt__p_wxAppTraits,
42033_swigt__p_wxArrayString,
42034_swigt__p_wxShowEvent,
42035_swigt__p_wxToolTip,
4d5c3d91 42036_swigt__p_wxMaximizeEvent,
d14a1e28
RD
42037_swigt__p_wxIconizeEvent,
42038_swigt__p_wxActivateEvent,
42039_swigt__p_wxMoveEvent,
42040_swigt__p_wxSizeEvent,
42041_swigt__p_wxQueryNewPaletteEvent,
42042_swigt__p_wxWindowCreateEvent,
42043_swigt__p_wxIdleEvent,
42044_swigt__p_wxMenuItem,
42045_swigt__p_wxStaticBox,
42046_swigt__p_long,
42047_swigt__p_wxTIFFHandler,
42048_swigt__p_wxXPMHandler,
42049_swigt__p_wxPNMHandler,
42050_swigt__p_wxJPEGHandler,
42051_swigt__p_wxPCXHandler,
42052_swigt__p_wxGIFHandler,
42053_swigt__p_wxPNGHandler,
42054_swigt__p_wxANIHandler,
42055_swigt__p_wxMemoryFSHandler,
42056_swigt__p_wxEvtHandler,
42057_swigt__p_wxCURHandler,
42058_swigt__p_wxICOHandler,
42059_swigt__p_wxBMPHandler,
42060_swigt__p_wxImageHandler,
42061_swigt__p_wxFileSystemHandler,
42062_swigt__p_wxPyFileSystemHandler,
42063_swigt__p_wxInternetFSHandler,
4d5c3d91 42064_swigt__p_wxZipFSHandler,
d14a1e28
RD
42065_swigt__p_wxRect,
42066_swigt__p_wxGBSpan,
42067_swigt__p_wxPropagateOnce,
42068_swigt__p_wxAcceleratorTable,
994141e6 42069_swigt__p_char,
d14a1e28
RD
42070_swigt__p_wxGBPosition,
42071_swigt__p_wxImage,
42072_swigt__p_wxFrame,
42073_swigt__p_wxScrollWinEvent,
42074_swigt__p_wxImageHistogram,
42075_swigt__p_byte,
42076_swigt__p_wxPoint,
42077_swigt__p_wxCursor,
42078_swigt__p_wxObject,
42079_swigt__p_wxPyInputStream,
42080_swigt__p_wxOutputStream,
42081_swigt__p_wxInputStream,
42082_swigt__p_wxDateTime,
42083_swigt__p_wxKeyEvent,
42084_swigt__p_wxNavigationKeyEvent,
42085_swigt__p_wxWindowDestroyEvent,
42086_swigt__p_wxWindow,
42087_swigt__p_wxMenuBar,
d14a1e28
RD
42088_swigt__p_wxFileSystem,
42089_swigt__p_wxBitmap,
42090_swigt__p_wxMenuEvent,
42091_swigt__p_wxContextMenuEvent,
42092_swigt__p_unsigned_char,
42093_swigt__p_wxCloseEvent,
42094_swigt__p_wxEraseEvent,
42095_swigt__p_wxMouseEvent,
42096_swigt__p_wxPyApp,
42097_swigt__p_wxCommandEvent,
42098_swigt__p_wxPyCommandEvent,
7722248d 42099_swigt__p_wxPyDropTarget,
d14a1e28
RD
42100_swigt__p_wxChildFocusEvent,
42101_swigt__p_wxFocusEvent,
42102_swigt__p_wxDropFilesEvent,
42103_swigt__p_wxControlWithItems,
42104_swigt__p_wxColour,
42105_swigt__p_wxValidator,
42106_swigt__p_wxPyValidator,
421070
42108};
42109
42110
42111/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42112
42113static swig_const_info swig_const_table[] = {
d14a1e28
RD
42114{0}};
42115
42116#ifdef __cplusplus
42117}
42118#endif
42119
42120#ifdef __cplusplus
42121extern "C"
42122#endif
42123SWIGEXPORT(void) SWIG_init(void) {
42124 static PyObject *SWIG_globals = 0;
42125 static int typeinit = 0;
42126 PyObject *m, *d;
42127 int i;
42128 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
42129 m = Py_InitModule((char *) SWIG_name, SwigMethods);
42130 d = PyModule_GetDict(m);
42131
42132 if (!typeinit) {
42133 for (i = 0; swig_types_initial[i]; i++) {
42134 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
42135 }
42136 typeinit = 1;
42137 }
42138 SWIG_InstallConstants(d,swig_const_table);
42139
42140
42141#ifndef wxPyUSE_EXPORT
42142 // Make our API structure a CObject so other modules can import it
42143 // from this module.
42144 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
42145 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
42146 Py_XDECREF(cobj);
42147#endif
42148
15afbcd0
RD
42149 PyDict_SetItemString(d,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND));
42150 PyDict_SetItemString(d,"VSCROLL", SWIG_FromInt((int)wxVSCROLL));
42151 PyDict_SetItemString(d,"HSCROLL", SWIG_FromInt((int)wxHSCROLL));
42152 PyDict_SetItemString(d,"CAPTION", SWIG_FromInt((int)wxCAPTION));
42153 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER));
42154 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER));
42155 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER));
42156 PyDict_SetItemString(d,"BORDER", SWIG_FromInt((int)wxBORDER));
42157 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER));
42158 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER));
42159 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW));
42160 PyDict_SetItemString(d,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER));
15afbcd0
RD
42161 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL));
42162 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS));
42163 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW));
42164 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME));
42165 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN));
42166 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN));
15afbcd0
RD
42167 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN));
42168 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM));
42169 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT));
42170 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE));
42171 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE));
42172 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN));
42173 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS));
a95a7133 42174 PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB));
15afbcd0
RD
42175 PyDict_SetItemString(d,"RETAINED", SWIG_FromInt((int)wxRETAINED));
42176 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE));
42177 PyDict_SetItemString(d,"COLOURED", SWIG_FromInt((int)wxCOLOURED));
42178 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH));
42179 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB));
42180 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB));
42181 PyDict_SetItemString(d,"LB_SORT", SWIG_FromInt((int)wxLB_SORT));
42182 PyDict_SetItemString(d,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE));
42183 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE));
42184 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED));
42185 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW));
42186 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL));
42187 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER));
42188 PyDict_SetItemString(d,"PASSWORD", SWIG_FromInt((int)wxPASSWORD));
42189 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE));
42190 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN));
42191 PyDict_SetItemString(d,"CB_SORT", SWIG_FromInt((int)wxCB_SORT));
42192 PyDict_SetItemString(d,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY));
42193 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL));
42194 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL));
42195 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS));
42196 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS));
42197 PyDict_SetItemString(d,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP));
42198 PyDict_SetItemString(d,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE));
42199 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL));
42200 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL));
42201 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS));
42202 PyDict_SetItemString(d,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS));
42203 PyDict_SetItemString(d,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT));
42204 PyDict_SetItemString(d,"SL_TOP", SWIG_FromInt((int)wxSL_TOP));
42205 PyDict_SetItemString(d,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT));
42206 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM));
42207 PyDict_SetItemString(d,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH));
42208 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE));
42209 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL));
42210 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL));
42211 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP));
42212 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE));
42213 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE));
42214 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER));
42215 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE));
42216 PyDict_SetItemString(d,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE));
42217 PyDict_SetItemString(d,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP));
42218 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM));
42219 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT));
42220 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT));
42221 PyDict_SetItemString(d,"OK", SWIG_FromInt((int)wxOK));
42222 PyDict_SetItemString(d,"YES_NO", SWIG_FromInt((int)wxYES_NO));
42223 PyDict_SetItemString(d,"CANCEL", SWIG_FromInt((int)wxCANCEL));
42224 PyDict_SetItemString(d,"YES", SWIG_FromInt((int)wxYES));
42225 PyDict_SetItemString(d,"NO", SWIG_FromInt((int)wxNO));
42226 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT));
42227 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT));
42228 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION));
42229 PyDict_SetItemString(d,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND));
42230 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION));
42231 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION));
42232 PyDict_SetItemString(d,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP));
42233 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK));
42234 PyDict_SetItemString(d,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK));
42235 PyDict_SetItemString(d,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING));
42236 PyDict_SetItemString(d,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR));
42237 PyDict_SetItemString(d,"FORWARD", SWIG_FromInt((int)wxFORWARD));
42238 PyDict_SetItemString(d,"BACKWARD", SWIG_FromInt((int)wxBACKWARD));
42239 PyDict_SetItemString(d,"RESET", SWIG_FromInt((int)wxRESET));
42240 PyDict_SetItemString(d,"HELP", SWIG_FromInt((int)wxHELP));
42241 PyDict_SetItemString(d,"MORE", SWIG_FromInt((int)wxMORE));
42242 PyDict_SetItemString(d,"SETUP", SWIG_FromInt((int)wxSETUP));
42243 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH));
42244 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT));
42245 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO));
42246 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING));
42247 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
42248 PyDict_SetItemString(d,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT));
42249 PyDict_SetItemString(d,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE));
42250 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH));
42251 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM));
42252 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW));
42253 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT));
42254 PyDict_SetItemString(d,"ID_ANY", SWIG_FromInt((int)wxID_ANY));
42255 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR));
42256 PyDict_SetItemString(d,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST));
42257 PyDict_SetItemString(d,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN));
42258 PyDict_SetItemString(d,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE));
42259 PyDict_SetItemString(d,"ID_NEW", SWIG_FromInt((int)wxID_NEW));
42260 PyDict_SetItemString(d,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE));
42261 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS));
42262 PyDict_SetItemString(d,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT));
42263 PyDict_SetItemString(d,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT));
42264 PyDict_SetItemString(d,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO));
42265 PyDict_SetItemString(d,"ID_REDO", SWIG_FromInt((int)wxID_REDO));
42266 PyDict_SetItemString(d,"ID_HELP", SWIG_FromInt((int)wxID_HELP));
42267 PyDict_SetItemString(d,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT));
42268 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP));
42269 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW));
42270 PyDict_SetItemString(d,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT));
42271 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS));
42272 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS));
42273 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES));
42274 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT));
42275 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL));
42276 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES));
42277 PyDict_SetItemString(d,"ID_CUT", SWIG_FromInt((int)wxID_CUT));
42278 PyDict_SetItemString(d,"ID_COPY", SWIG_FromInt((int)wxID_COPY));
42279 PyDict_SetItemString(d,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE));
42280 PyDict_SetItemString(d,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR));
42281 PyDict_SetItemString(d,"ID_FIND", SWIG_FromInt((int)wxID_FIND));
42282 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE));
42283 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL));
42284 PyDict_SetItemString(d,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE));
42285 PyDict_SetItemString(d,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE));
42286 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL));
42287 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES));
42288 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS));
42289 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS));
42290 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS));
42291 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST));
42292 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE));
42293 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME));
42294 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE));
42295 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE));
42296 PyDict_SetItemString(d,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1));
42297 PyDict_SetItemString(d,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2));
42298 PyDict_SetItemString(d,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3));
42299 PyDict_SetItemString(d,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4));
42300 PyDict_SetItemString(d,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5));
42301 PyDict_SetItemString(d,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6));
42302 PyDict_SetItemString(d,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7));
42303 PyDict_SetItemString(d,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8));
42304 PyDict_SetItemString(d,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9));
42305 PyDict_SetItemString(d,"ID_OK", SWIG_FromInt((int)wxID_OK));
42306 PyDict_SetItemString(d,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL));
42307 PyDict_SetItemString(d,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY));
42308 PyDict_SetItemString(d,"ID_YES", SWIG_FromInt((int)wxID_YES));
42309 PyDict_SetItemString(d,"ID_NO", SWIG_FromInt((int)wxID_NO));
42310 PyDict_SetItemString(d,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC));
42311 PyDict_SetItemString(d,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD));
42312 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD));
42313 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT));
42314 PyDict_SetItemString(d,"ID_MORE", SWIG_FromInt((int)wxID_MORE));
42315 PyDict_SetItemString(d,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP));
42316 PyDict_SetItemString(d,"ID_RESET", SWIG_FromInt((int)wxID_RESET));
42317 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP));
42318 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL));
42319 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL));
42320 PyDict_SetItemString(d,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT));
42321 PyDict_SetItemString(d,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY));
42322 PyDict_SetItemString(d,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE));
42323 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST));
42324 PyDict_SetItemString(d,"OPEN", SWIG_FromInt((int)wxOPEN));
42325 PyDict_SetItemString(d,"SAVE", SWIG_FromInt((int)wxSAVE));
42326 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY));
42327 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT));
42328 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST));
42329 PyDict_SetItemString(d,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE));
42330 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR));
42331 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT));
42332 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL));
42333 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT));
42334 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL));
42335 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE));
42336 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL));
42337 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT));
42338 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME));
42339 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME));
42340 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME));
42341 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON));
42342 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE));
42343 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF));
42344 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE));
42345 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
42346 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
42347 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL));
42348 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL));
42349 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
42350 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS));
42351 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT));
42352 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
42353 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE));
42354 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
42355 PyDict_SetItemString(d,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT));
42356 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC));
42357 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC));
42358 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH));
42359 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH));
42360 PyDict_SetItemString(d,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS));
42361 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC));
42362 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC));
42363 PyDict_SetItemString(d,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS));
42364 PyDict_SetItemString(d,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC));
42365 PyDict_SetItemString(d,"CENTRE", SWIG_FromInt((int)wxCENTRE));
42366 PyDict_SetItemString(d,"CENTER", SWIG_FromInt((int)wxCENTER));
42367 PyDict_SetItemString(d,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL));
42368 PyDict_SetItemString(d,"VERTICAL", SWIG_FromInt((int)wxVERTICAL));
42369 PyDict_SetItemString(d,"BOTH", SWIG_FromInt((int)wxBOTH));
42370 PyDict_SetItemString(d,"LEFT", SWIG_FromInt((int)wxLEFT));
42371 PyDict_SetItemString(d,"RIGHT", SWIG_FromInt((int)wxRIGHT));
42372 PyDict_SetItemString(d,"UP", SWIG_FromInt((int)wxUP));
42373 PyDict_SetItemString(d,"DOWN", SWIG_FromInt((int)wxDOWN));
42374 PyDict_SetItemString(d,"TOP", SWIG_FromInt((int)wxTOP));
42375 PyDict_SetItemString(d,"BOTTOM", SWIG_FromInt((int)wxBOTTOM));
42376 PyDict_SetItemString(d,"NORTH", SWIG_FromInt((int)wxNORTH));
42377 PyDict_SetItemString(d,"SOUTH", SWIG_FromInt((int)wxSOUTH));
42378 PyDict_SetItemString(d,"WEST", SWIG_FromInt((int)wxWEST));
42379 PyDict_SetItemString(d,"EAST", SWIG_FromInt((int)wxEAST));
42380 PyDict_SetItemString(d,"ALL", SWIG_FromInt((int)wxALL));
42381 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT));
42382 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
42383 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
42384 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT));
42385 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP));
42386 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT));
42387 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM));
42388 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL));
42389 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL));
42390 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER));
42391 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE));
42392 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK));
42393 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT));
42394 PyDict_SetItemString(d,"SHRINK", SWIG_FromInt((int)wxSHRINK));
42395 PyDict_SetItemString(d,"GROW", SWIG_FromInt((int)wxGROW));
42396 PyDict_SetItemString(d,"EXPAND", SWIG_FromInt((int)wxEXPAND));
42397 PyDict_SetItemString(d,"SHAPED", SWIG_FromInt((int)wxSHAPED));
f52e0cf4 42398 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE));
15afbcd0 42399 PyDict_SetItemString(d,"TILE", SWIG_FromInt((int)wxTILE));
74a57fcd 42400 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE));
15afbcd0
RD
42401 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT));
42402 PyDict_SetItemString(d,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE));
42403 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC));
42404 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE));
42405 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED));
42406 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN));
42407 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE));
42408 PyDict_SetItemString(d,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK));
42409 PyDict_SetItemString(d,"DEFAULT", SWIG_FromInt((int)wxDEFAULT));
42410 PyDict_SetItemString(d,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE));
42411 PyDict_SetItemString(d,"ROMAN", SWIG_FromInt((int)wxROMAN));
42412 PyDict_SetItemString(d,"SCRIPT", SWIG_FromInt((int)wxSCRIPT));
42413 PyDict_SetItemString(d,"SWISS", SWIG_FromInt((int)wxSWISS));
42414 PyDict_SetItemString(d,"MODERN", SWIG_FromInt((int)wxMODERN));
42415 PyDict_SetItemString(d,"TELETYPE", SWIG_FromInt((int)wxTELETYPE));
42416 PyDict_SetItemString(d,"VARIABLE", SWIG_FromInt((int)wxVARIABLE));
42417 PyDict_SetItemString(d,"FIXED", SWIG_FromInt((int)wxFIXED));
42418 PyDict_SetItemString(d,"NORMAL", SWIG_FromInt((int)wxNORMAL));
42419 PyDict_SetItemString(d,"LIGHT", SWIG_FromInt((int)wxLIGHT));
42420 PyDict_SetItemString(d,"BOLD", SWIG_FromInt((int)wxBOLD));
42421 PyDict_SetItemString(d,"ITALIC", SWIG_FromInt((int)wxITALIC));
42422 PyDict_SetItemString(d,"SLANT", SWIG_FromInt((int)wxSLANT));
42423 PyDict_SetItemString(d,"SOLID", SWIG_FromInt((int)wxSOLID));
42424 PyDict_SetItemString(d,"DOT", SWIG_FromInt((int)wxDOT));
42425 PyDict_SetItemString(d,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH));
42426 PyDict_SetItemString(d,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH));
42427 PyDict_SetItemString(d,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH));
42428 PyDict_SetItemString(d,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH));
42429 PyDict_SetItemString(d,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT));
42430 PyDict_SetItemString(d,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE));
42431 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH));
42432 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH));
42433 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH));
42434 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH));
42435 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH));
42436 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH));
42437 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL));
42438 PyDict_SetItemString(d,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER));
42439 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND));
42440 PyDict_SetItemString(d,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND));
42441 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING));
42442 PyDict_SetItemString(d,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT));
42443 PyDict_SetItemString(d,"CLEAR", SWIG_FromInt((int)wxCLEAR));
42444 PyDict_SetItemString(d,"XOR", SWIG_FromInt((int)wxXOR));
42445 PyDict_SetItemString(d,"INVERT", SWIG_FromInt((int)wxINVERT));
42446 PyDict_SetItemString(d,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE));
42447 PyDict_SetItemString(d,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE));
42448 PyDict_SetItemString(d,"COPY", SWIG_FromInt((int)wxCOPY));
42449 PyDict_SetItemString(d,"AND", SWIG_FromInt((int)wxAND));
42450 PyDict_SetItemString(d,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT));
42451 PyDict_SetItemString(d,"NO_OP", SWIG_FromInt((int)wxNO_OP));
42452 PyDict_SetItemString(d,"NOR", SWIG_FromInt((int)wxNOR));
42453 PyDict_SetItemString(d,"EQUIV", SWIG_FromInt((int)wxEQUIV));
42454 PyDict_SetItemString(d,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT));
42455 PyDict_SetItemString(d,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT));
42456 PyDict_SetItemString(d,"NAND", SWIG_FromInt((int)wxNAND));
42457 PyDict_SetItemString(d,"OR", SWIG_FromInt((int)wxOR));
42458 PyDict_SetItemString(d,"SET", SWIG_FromInt((int)wxSET));
42459 PyDict_SetItemString(d,"WXK_BACK", SWIG_FromInt((int)WXK_BACK));
42460 PyDict_SetItemString(d,"WXK_TAB", SWIG_FromInt((int)WXK_TAB));
42461 PyDict_SetItemString(d,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN));
42462 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE));
42463 PyDict_SetItemString(d,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE));
42464 PyDict_SetItemString(d,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE));
42465 PyDict_SetItemString(d,"WXK_START", SWIG_FromInt((int)WXK_START));
42466 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON));
42467 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON));
42468 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL));
42469 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON));
42470 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR));
42471 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT));
42472 PyDict_SetItemString(d,"WXK_ALT", SWIG_FromInt((int)WXK_ALT));
42473 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL));
42474 PyDict_SetItemString(d,"WXK_MENU", SWIG_FromInt((int)WXK_MENU));
42475 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE));
42476 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL));
42477 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR));
42478 PyDict_SetItemString(d,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT));
42479 PyDict_SetItemString(d,"WXK_END", SWIG_FromInt((int)WXK_END));
42480 PyDict_SetItemString(d,"WXK_HOME", SWIG_FromInt((int)WXK_HOME));
42481 PyDict_SetItemString(d,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT));
42482 PyDict_SetItemString(d,"WXK_UP", SWIG_FromInt((int)WXK_UP));
42483 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT));
42484 PyDict_SetItemString(d,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN));
42485 PyDict_SetItemString(d,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT));
42486 PyDict_SetItemString(d,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT));
42487 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE));
42488 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT));
42489 PyDict_SetItemString(d,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT));
42490 PyDict_SetItemString(d,"WXK_HELP", SWIG_FromInt((int)WXK_HELP));
42491 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0));
42492 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1));
42493 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2));
42494 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3));
42495 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4));
42496 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5));
42497 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6));
42498 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7));
42499 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8));
42500 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9));
42501 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY));
42502 PyDict_SetItemString(d,"WXK_ADD", SWIG_FromInt((int)WXK_ADD));
42503 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR));
42504 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT));
42505 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL));
42506 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE));
42507 PyDict_SetItemString(d,"WXK_F1", SWIG_FromInt((int)WXK_F1));
42508 PyDict_SetItemString(d,"WXK_F2", SWIG_FromInt((int)WXK_F2));
42509 PyDict_SetItemString(d,"WXK_F3", SWIG_FromInt((int)WXK_F3));
42510 PyDict_SetItemString(d,"WXK_F4", SWIG_FromInt((int)WXK_F4));
42511 PyDict_SetItemString(d,"WXK_F5", SWIG_FromInt((int)WXK_F5));
42512 PyDict_SetItemString(d,"WXK_F6", SWIG_FromInt((int)WXK_F6));
42513 PyDict_SetItemString(d,"WXK_F7", SWIG_FromInt((int)WXK_F7));
42514 PyDict_SetItemString(d,"WXK_F8", SWIG_FromInt((int)WXK_F8));
42515 PyDict_SetItemString(d,"WXK_F9", SWIG_FromInt((int)WXK_F9));
42516 PyDict_SetItemString(d,"WXK_F10", SWIG_FromInt((int)WXK_F10));
42517 PyDict_SetItemString(d,"WXK_F11", SWIG_FromInt((int)WXK_F11));
42518 PyDict_SetItemString(d,"WXK_F12", SWIG_FromInt((int)WXK_F12));
42519 PyDict_SetItemString(d,"WXK_F13", SWIG_FromInt((int)WXK_F13));
42520 PyDict_SetItemString(d,"WXK_F14", SWIG_FromInt((int)WXK_F14));
42521 PyDict_SetItemString(d,"WXK_F15", SWIG_FromInt((int)WXK_F15));
42522 PyDict_SetItemString(d,"WXK_F16", SWIG_FromInt((int)WXK_F16));
42523 PyDict_SetItemString(d,"WXK_F17", SWIG_FromInt((int)WXK_F17));
42524 PyDict_SetItemString(d,"WXK_F18", SWIG_FromInt((int)WXK_F18));
42525 PyDict_SetItemString(d,"WXK_F19", SWIG_FromInt((int)WXK_F19));
42526 PyDict_SetItemString(d,"WXK_F20", SWIG_FromInt((int)WXK_F20));
42527 PyDict_SetItemString(d,"WXK_F21", SWIG_FromInt((int)WXK_F21));
42528 PyDict_SetItemString(d,"WXK_F22", SWIG_FromInt((int)WXK_F22));
42529 PyDict_SetItemString(d,"WXK_F23", SWIG_FromInt((int)WXK_F23));
42530 PyDict_SetItemString(d,"WXK_F24", SWIG_FromInt((int)WXK_F24));
42531 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK));
42532 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL));
42533 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP));
42534 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN));
42535 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE));
42536 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB));
42537 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER));
42538 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1));
42539 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2));
42540 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3));
42541 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4));
42542 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME));
42543 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT));
42544 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP));
42545 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT));
42546 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN));
42547 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR));
42548 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP));
42549 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT));
42550 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN));
42551 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END));
42552 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN));
42553 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT));
42554 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE));
42555 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL));
42556 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY));
42557 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD));
42558 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR));
42559 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT));
42560 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL));
42561 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE));
42562 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT));
42563 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT));
42564 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU));
42565 PyDict_SetItemString(d,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE));
42566 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER));
42567 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL));
42568 PyDict_SetItemString(d,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4));
42569 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET));
42570 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET));
42571 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET));
42572 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL));
42573 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID));
42574 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER));
42575 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT));
42576 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE));
42577 PyDict_SetItemString(d,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3));
42578 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL));
42579 PyDict_SetItemString(d,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5));
42580 PyDict_SetItemString(d,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4));
42581 PyDict_SetItemString(d,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5));
42582 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO));
42583 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO));
42584 PyDict_SetItemString(d,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14));
42585 PyDict_SetItemString(d,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17));
42586 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE));
42587 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9));
42588 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10));
42589 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11));
42590 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12));
42591 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14));
42592 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL));
42593 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5));
42594 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3));
42595 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4));
42596 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6));
42597 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65));
42598 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4));
42599 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5));
42600 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6));
42601 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY));
42602 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH));
42603 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL));
42604 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US));
42605 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
42606 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
42607 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4));
42608 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
42609 PyDict_SetItemString(d,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11));
42610 PyDict_SetItemString(d,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11));
42611 PyDict_SetItemString(d,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11));
42612 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE));
42613 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA));
42614 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA));
42615 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA));
42616 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA));
42617 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
42618 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE));
42619 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
42620 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS));
42621 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS));
42622 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS));
42623 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS));
42624 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE));
42625 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE));
42626 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA));
42627 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA));
42628 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA));
42629 PyDict_SetItemString(d,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2));
42630 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE));
42631 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
42632 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX));
42633 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL));
42634 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL));
42635 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR));
42636 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL));
42637 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK));
42638 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO));
42639 PyDict_SetItemString(d,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX));
42640 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE));
42641 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST));
42642 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
42643 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
42644 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
42645 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
42646 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB));
42647 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1));
42648 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2));
42649 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST));
42650 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE));
42651 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE));
42652 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
42653 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
42654 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER));
42655 PyDict_SetItemString(d,"HT_MAX", SWIG_FromInt((int)wxHT_MAX));
42656 PyDict_SetItemString(d,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE));
42657 PyDict_SetItemString(d,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT));
42658 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL));
42659 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT));
42660 PyDict_SetItemString(d,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN));
42661 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE));
42662 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE));
42663 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE));
d14a1e28 42664 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
196addbf 42665 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
15afbcd0
RD
42666 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID));
42667 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP));
42668 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO));
42669 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR));
42670 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM));
42671 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
42672 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM));
42673 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
42674 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF));
42675 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF));
42676 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG));
42677 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG));
42678 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM));
42679 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX));
42680 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT));
42681 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON));
42682 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI));
42683 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF));
42684 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
42685 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY));
42686 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE));
42687 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW));
42688 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW));
42689 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE));
42690 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR));
42691 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS));
42692 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND));
42693 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM));
42694 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON));
42695 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER));
42696 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
42697 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY));
42698 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH));
42699 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL));
42700 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT));
42701 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT));
42702 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW));
42703 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON));
42704 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW));
42705 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS));
42706 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE));
42707 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE));
42708 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING));
42709 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN));
42710 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT));
42711 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH));
42712 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK));
42713 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT));
42714 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW));
42715 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT));
42716 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX));
d14a1e28
RD
42717 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
42718 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
15afbcd0
RD
42719 PyDict_SetItemString(d,"FromStart", SWIG_FromInt((int)wxFromStart));
42720 PyDict_SetItemString(d,"FromCurrent", SWIG_FromInt((int)wxFromCurrent));
42721 PyDict_SetItemString(d,"FromEnd", SWIG_FromInt((int)wxFromEnd));
d14a1e28
RD
42722
42723 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42724
42725
42726 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42727
42728 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
42729 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
42730 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
42731 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
42732 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
42733 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
15afbcd0
RD
42734 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
42735 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM));
42736 PyDict_SetItemString(d,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP));
42737 PyDict_SetItemString(d,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP));
42738 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY));
42739 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY));
42740 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED));
42741 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE));
42742 PyDict_SetItemString(d,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP));
42743 PyDict_SetItemString(d,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP));
42744 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW));
42745 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE));
42746 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX));
d14a1e28
RD
42747 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
42748 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
42749 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
42750 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
42751 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
42752 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
42753 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
42754 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
42755 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
42756 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
42757 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
42758 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
42759 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
42760 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
42761 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
42762 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
42763 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
42764 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
42765 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
42766 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
42767 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
42768 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
42769 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
42770 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
42771 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
42772 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
42773 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
42774 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
42775 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
42776 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
42777 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
42778 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
42779 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
42780 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
42781 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
42782 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
42783 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
42784 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
42785 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
42786 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
42787 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
42788 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
42789 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
42790 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
42791 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
42792 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
42793 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
42794 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
42795 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
42796 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
42797 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
42798 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
42799 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
42800 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
42801 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
42802 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
42803 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
42804 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
42805 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
42806 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
42807 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
42808 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
42809 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
42810 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
42811 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
42812 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
42813 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
42814 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
42815 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
42816 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
42817 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
42818 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
42819 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
42820 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
42821 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
42822 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
42823 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
42824 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
42825 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
42826 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
42827 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
42828 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
42829 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
42830 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
42831 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
42832 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
42833 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
42834 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
42835 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
42836 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
42837 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
42838 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
42839 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
42840 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
42841 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
42842 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
42843 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
42844 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
42845 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
42846 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
42847 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
42848 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
42849 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
42850 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
42851 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
42852 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
42853 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
42854 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
42855 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
42856 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
42857 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
42858 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
42859 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
42860 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
15afbcd0
RD
42861 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY));
42862 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE));
42863 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT));
42864 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE));
42865 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT));
42866 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
42867 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
42868 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL));
42869 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
42870 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
42871 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
42872 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG));
42873 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG));
42874 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS));
42875 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT));
1e0c8722 42876 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
e811c8ce 42877 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
4276dc52
RD
42878 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL));
42879 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL));
42880 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI));
42881 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE));
74a57fcd 42882 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX));
d14a1e28 42883 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
b2dc1044 42884 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
15afbcd0
RD
42885 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE));
42886 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
42887 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL));
d14a1e28 42888 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
15afbcd0
RD
42889 PyDict_SetItemString(d,"Left", SWIG_FromInt((int)wxLeft));
42890 PyDict_SetItemString(d,"Top", SWIG_FromInt((int)wxTop));
42891 PyDict_SetItemString(d,"Right", SWIG_FromInt((int)wxRight));
42892 PyDict_SetItemString(d,"Bottom", SWIG_FromInt((int)wxBottom));
42893 PyDict_SetItemString(d,"Width", SWIG_FromInt((int)wxWidth));
42894 PyDict_SetItemString(d,"Height", SWIG_FromInt((int)wxHeight));
42895 PyDict_SetItemString(d,"Centre", SWIG_FromInt((int)wxCentre));
42896 PyDict_SetItemString(d,"Center", SWIG_FromInt((int)wxCenter));
42897 PyDict_SetItemString(d,"CentreX", SWIG_FromInt((int)wxCentreX));
42898 PyDict_SetItemString(d,"CentreY", SWIG_FromInt((int)wxCentreY));
42899 PyDict_SetItemString(d,"Unconstrained", SWIG_FromInt((int)wxUnconstrained));
42900 PyDict_SetItemString(d,"AsIs", SWIG_FromInt((int)wxAsIs));
42901 PyDict_SetItemString(d,"PercentOf", SWIG_FromInt((int)wxPercentOf));
42902 PyDict_SetItemString(d,"Above", SWIG_FromInt((int)wxAbove));
42903 PyDict_SetItemString(d,"Below", SWIG_FromInt((int)wxBelow));
42904 PyDict_SetItemString(d,"LeftOf", SWIG_FromInt((int)wxLeftOf));
42905 PyDict_SetItemString(d,"RightOf", SWIG_FromInt((int)wxRightOf));
42906 PyDict_SetItemString(d,"SameAs", SWIG_FromInt((int)wxSameAs));
42907 PyDict_SetItemString(d,"Absolute", SWIG_FromInt((int)wxAbsolute));
d14a1e28
RD
42908
42909 // Initialize threading, some globals and such
42910 __wxPyPreStart(d);
42911
42912
42913 // Although these are defined in __version__ they need to be here too so
42914 // that an assert can be done to ensure that the wxPython and the wxWindows
42915 // versions match.
42916 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
42917 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
42918 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
42919
42920}
42921