]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_core_wrap.cpp
little tweak
[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,
e3b71cb8
RD
574 wxPySwigInstance_Check,
575
576 wxPyCheckForApp
d14a1e28
RD
577
578};
579
580#endif
581
582
d14a1e28
RD
583#if ! wxUSE_HOTKEY
584enum wxHotkeyModifier
585{
586 wxMOD_NONE = 0,
587 wxMOD_ALT = 1,
588 wxMOD_CONTROL = 2,
589 wxMOD_SHIFT = 4,
590 wxMOD_WIN = 8
591};
592#define wxEVT_HOTKEY 9999
593#endif
594
196addbf 595 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
596wxString wxObject_GetClassName(wxObject *self){
597 return self->GetClassInfo()->GetClassName();
598 }
599void wxObject_Destroy(wxObject *self){
600 delete self;
601 }
602
603#ifndef __WXMAC__
604#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
605#endif
606
994141e6 607
15afbcd0
RD
608#include <limits.h>
609
610
611SWIGSTATICINLINE(long)
612SWIG_CheckLongInRange(long value, const char* type,
613 long min_value, long max_value)
614{
615 if (!PyErr_Occurred()) {
616 if (value < min_value) {
617 PyObject *err =
618 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
619 value, type, min_value);
620
621 PyErr_SetObject(PyExc_OverflowError, err);
622 Py_DECREF(err);
623 } else if (value > max_value) {
624 PyObject *err =
625 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
626 value, type, max_value);
627 PyErr_SetObject(PyExc_OverflowError, err);
628 Py_DECREF(err);
629 }
630 }
631 return value;
632}
633
634
635SWIGSTATICINLINE(long)
636SWIG_AsLong(PyObject * obj)
637{
69223c70
RD
638 if (PyNumber_Check(obj))
639 return PyInt_AsLong(obj);
640 else {
641 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
642 obj->ob_type->tp_name);
643 PyErr_SetObject(PyExc_TypeError, errmsg);
644 Py_DECREF(errmsg);
645 return 0;
646 }
15afbcd0
RD
647}
648
649
650#if INT_MAX != LONG_MAX
651SWIGSTATICINLINE(int)
652SWIG_AsInt(PyObject *obj)
994141e6 653{
15afbcd0
RD
654 return swig_numeric_cast(int,
655 SWIG_CheckLongInRange(SWIG_AsLong(obj),
656 "int", INT_MIN, INT_MAX));
657}
658#else
659#define SWIG_AsInt SWIG_AsLong
660#endif
661
662
663SWIGSTATICINLINE(int)
664SWIG_CheckInt(PyObject* obj)
665{
666 SWIG_AsInt(obj);
667 if (PyErr_Occurred()) {
668 PyErr_Clear();
669 return 0;
670 } else {
671 return 1;
672 }
994141e6
RD
673}
674
e811c8ce 675PyObject *wxSize_Get(wxSize *self){
4f89f6a3 676 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
677 PyObject* tup = PyTuple_New(2);
678 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
679 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
4f89f6a3 680 wxPyEndBlockThreads(blocked);
d14a1e28
RD
681 return tup;
682 }
994141e6 683
15afbcd0
RD
684SWIGSTATICINLINE(double)
685SWIG_AsDouble(PyObject *obj)
994141e6 686{
69223c70
RD
687 if (PyNumber_Check(obj))
688 return PyFloat_AsDouble(obj);
689 else {
690 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
691 obj->ob_type->tp_name);
692 PyErr_SetObject(PyExc_TypeError, errmsg);
693 Py_DECREF(errmsg);
694 return 0;
695 }
15afbcd0
RD
696}
697
698
699SWIGSTATICINLINE(int)
700SWIG_CheckDouble(PyObject* obj)
701{
702 SWIG_AsDouble(obj);
703 if (PyErr_Occurred()) {
704 PyErr_Clear();
705 return 0;
706 } else {
707 return 1;
708 }
994141e6
RD
709}
710
d14a1e28
RD
711void wxRealPoint_Set(wxRealPoint *self,double x,double y){
712 self->x = x;
713 self->y = y;
714 }
e811c8ce 715PyObject *wxRealPoint_Get(wxRealPoint *self){
4f89f6a3 716 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
717 PyObject* tup = PyTuple_New(2);
718 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
719 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
4f89f6a3 720 wxPyEndBlockThreads(blocked);
d14a1e28
RD
721 return tup;
722 }
994141e6 723
15afbcd0
RD
724SWIGSTATICINLINE(int)
725SWIG_CheckLong(PyObject* obj)
994141e6 726{
15afbcd0
RD
727 SWIG_AsLong(obj);
728 if (PyErr_Occurred()) {
729 PyErr_Clear();
730 return 0;
731 } else {
732 return 1;
733 }
994141e6
RD
734}
735
d14a1e28
RD
736void wxPoint_Set(wxPoint *self,long x,long y){
737 self->x = x;
738 self->y = y;
739 }
e811c8ce 740PyObject *wxPoint_Get(wxPoint *self){
4f89f6a3 741 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
742 PyObject* tup = PyTuple_New(2);
743 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
744 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
4f89f6a3 745 wxPyEndBlockThreads(blocked);
d14a1e28
RD
746 return tup;
747 }
748void wxRect_Set(wxRect *self,int x,int y,int width,int height){
749 self->x = x;
750 self->y = y;
751 self->width = width;
752 self->height = height;
753 }
e811c8ce 754PyObject *wxRect_Get(wxRect *self){
4f89f6a3 755 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
756 PyObject* tup = PyTuple_New(4);
757 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
758 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
759 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
760 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
4f89f6a3 761 wxPyEndBlockThreads(blocked);
d14a1e28
RD
762 return tup;
763 }
764
765 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
766 wxRegion reg1(*r1);
767 wxRegion reg2(*r2);
768 wxRect dest(0,0,0,0);
769 PyObject* obj;
770
771 reg1.Intersect(reg2);
772 dest = reg1.GetBox();
773
774 if (dest != wxRect(0,0,0,0)) {
4f89f6a3 775 bool blocked = wxPyBeginBlockThreads();
d14a1e28 776 wxRect* newRect = new wxRect(dest);
e811c8ce 777 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
4f89f6a3 778 wxPyEndBlockThreads(blocked);
d14a1e28
RD
779 return obj;
780 }
781 Py_INCREF(Py_None);
782 return Py_None;
783 }
784
785
786static PyObject* t_output_helper(PyObject* target, PyObject* o) {
787 PyObject* o2;
788 PyObject* o3;
789
790 if (!target) {
791 target = o;
792 } else if (target == Py_None) {
793 Py_DECREF(Py_None);
794 target = o;
795 } else {
796 if (!PyTuple_Check(target)) {
797 o2 = target;
798 target = PyTuple_New(1);
799 PyTuple_SetItem(target, 0, o2);
800 }
801 o3 = PyTuple_New(1);
802 PyTuple_SetItem(o3, 0, o);
803
804 o2 = target;
805 target = PySequence_Concat(o2, o3);
806 Py_DECREF(o2);
807 Py_DECREF(o3);
808 }
809 return target;
810}
811
812void wxPoint2D_Set(wxPoint2D *self,double x,double y){
813 self->m_x = x;
814 self->m_y = y;
815 }
e811c8ce 816PyObject *wxPoint2D_Get(wxPoint2D *self){
4f89f6a3 817 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
818 PyObject* tup = PyTuple_New(2);
819 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
820 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
4f89f6a3 821 wxPyEndBlockThreads(blocked);
d14a1e28
RD
822 return tup;
823 }
824
825#include "wx/wxPython/pyistream.h"
826
827wxPyInputStream *new_wxPyInputStream(PyObject *p){
828 wxInputStream* wxis = wxPyCBInputStream::create(p);
829 if (wxis)
830 return new wxPyInputStream(wxis);
831 else
832 return NULL;
833 }
994141e6 834
15afbcd0
RD
835SWIGSTATICINLINE(PyObject*)
836SWIG_FromChar(char c)
994141e6
RD
837{
838 return PyString_FromStringAndSize(&c,1);
839}
840
841
15afbcd0
RD
842SWIGSTATICINLINE(PyObject* )
843SWIG_FromUnsignedLong(unsigned long value)
844{
845 return (value > LONG_MAX) ?
846 PyLong_FromUnsignedLong(value)
847 : PyInt_FromLong(swig_numeric_cast(long,value));
848}
849
850
851/* returns '1' if the input is a raw char*, '0' if is a PyString */
852SWIGSTATIC(int)
853SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
994141e6 854{
15afbcd0
RD
855 static swig_type_info* pchar_info = 0;
856 int psize = 0;
857 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
858
859 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
860 PyErr_Clear();
861 PyString_AsStringAndSize(obj, cptr, &psize);
862 if (PyErr_Occurred()) {
863 PyErr_Clear();
864 PyErr_SetString(PyExc_TypeError,"a string is expected");
865 }
866 if (size) *size = psize;
867 return 0;
868 } else {
869 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
870 return 1;
871 }
994141e6
RD
872}
873
874
15afbcd0
RD
875SWIGSTATIC(void)
876SWIG_AsCharArray(PyObject *obj, char* carray, size_t size)
877{
878 char* cptr; size_t csize;
879 SWIG_AsCharPtrAndSize(obj, &cptr, &csize);
880 if (PyErr_Occurred()) {
881 PyErr_Clear();
882 PyObject *err =
883 PyString_FromFormat("a char array of size %d is expected", size);
884 PyErr_SetObject(PyExc_TypeError, err);
885 Py_DECREF(err);
886 } else {
887 /* in C (but not in C++) you can do:
888
889 char x[5] = "hello";
890
891 ie, assing the array using an extra '0' char.
892 */
893#ifndef __cplusplus
894 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
895#endif
896 if (csize > size) {
897 PyObject *err =
898 PyString_FromFormat("a char array of maximum size %d is expected",
899 size);
900 PyErr_SetObject(PyExc_TypeError, err);
901 Py_DECREF(err);
902 } else {
903 if (csize) memcpy(carray, cptr, csize);
904 if (csize < size) memset(carray + csize, 0, size - csize);
905 }
906 }
907}
908
909
910SWIGSTATICINLINE(char)
911SWIG_AsChar(PyObject *obj)
994141e6
RD
912{
913 char c = 0;
914 if (PyInt_Check(obj) || PyLong_Check(obj)) {
15afbcd0
RD
915 c = swig_numeric_cast(char,
916 SWIG_CheckLongInRange(SWIG_AsLong(obj),
917 "char", CHAR_MIN, CHAR_MAX));
994141e6 918 } else {
15afbcd0
RD
919 SWIG_AsCharArray(obj, &c, 1);
920 if (PyErr_Occurred()) {
921 PyErr_Clear();
994141e6
RD
922 PyErr_SetString(PyExc_TypeError, "a char is expected");
923 }
924 }
925 return c;
926}
927
15afbcd0
RD
928
929SWIGSTATICINLINE(int)
930SWIG_CheckChar(PyObject* obj)
931{
932 SWIG_AsChar(obj);
933 if (PyErr_Occurred()) {
934 PyErr_Clear();
935 return 0;
936 } else {
937 return 1;
938 }
939}
940
d14a1e28
RD
941void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
942 // We use only strings for the streams, not unicode
943 PyObject* str = PyObject_Str(obj);
944 if (! str) {
945 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
946 return;
947 }
948 self->Write(PyString_AS_STRING(str),
949 PyString_GET_SIZE(str));
950 Py_DECREF(str);
951 }
952
953#include "wx/wxPython/pyistream.h"
954
955
956class wxPyFileSystemHandler : public wxFileSystemHandler
957{
958public:
959 wxPyFileSystemHandler() : wxFileSystemHandler() {}
960
961 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
962 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
963 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
964 DEC_PYCALLBACK_STRING__pure(FindNext);
965
966 wxString GetProtocol(const wxString& location) {
967 return wxFileSystemHandler::GetProtocol(location);
968 }
969
970 wxString GetLeftLocation(const wxString& location) {
971 return wxFileSystemHandler::GetLeftLocation(location);
972 }
973
974 wxString GetAnchor(const wxString& location) {
975 return wxFileSystemHandler::GetAnchor(location);
976 }
977
978 wxString GetRightLocation(const wxString& location) {
979 return wxFileSystemHandler::GetRightLocation(location);
980 }
981
982 wxString GetMimeTypeFromExt(const wxString& location) {
983 return wxFileSystemHandler::GetMimeTypeFromExt(location);
984 }
985
986 PYPRIVATE;
987};
988
989
990IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
991IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
992IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
993IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
994
995
15afbcd0
RD
996SWIGSTATICINLINE(bool)
997SWIG_AsBool(PyObject *obj)
994141e6
RD
998{
999 return PyObject_IsTrue(obj) ? true : false;
1000}
1001
1002
15afbcd0
RD
1003SWIGSTATICINLINE(int)
1004SWIG_CheckBool(PyObject* obj)
1005{
1006 SWIG_AsBool(obj);
1007 if (PyErr_Occurred()) {
1008 PyErr_Clear();
1009 return 0;
1010 } else {
1011 return 1;
1012 }
1013}
1014
1015
d14a1e28
RD
1016 wxString wxFileSystem_URLToFileName(const wxString& url) {
1017 wxFileName fname = wxFileSystem::URLToFileName(url);
1018 return fname.GetFullPath();
1019 }
1020
1021
1022 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
1023 wxImage& image,
1024 long type) {
1025 wxMemoryFSHandler::AddFile(filename, image, type);
1026 }
1027
1028 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
1029 const wxBitmap& bitmap,
1030 long type) {
1031 wxMemoryFSHandler::AddFile(filename, bitmap, type);
1032 }
1033
1034 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
1035 PyObject* data) {
1036 wxMemoryFSHandler::AddFile(filename,
1037 // TODO: Verify data type
1038 (void*)PyString_AsString(data),
1039 (size_t)PyString_Size(data));
1040 }
1041
1042
1043#include "wx/wxPython/pyistream.h"
1044
994141e6 1045
15afbcd0
RD
1046SWIGSTATICINLINE(unsigned long)
1047SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
1048 unsigned long max_value)
1049{
1050 if (!PyErr_Occurred()) {
1051 if (value > max_value) {
1052 PyObject *err =
1053 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1054 value, type, max_value);
1055 PyErr_SetObject(PyExc_OverflowError, err);
1056 Py_DECREF(err);
1057 }
1058 }
1059 return value;
1060}
1061
1062
1063SWIGSTATICINLINE(unsigned long)
1064SWIG_AsUnsignedLong(PyObject * obj)
1065{
1066 if (PyLong_Check(obj)) {
1067 return PyLong_AsUnsignedLong(obj);
1068 } else {
69223c70 1069 long i = SWIG_AsLong(obj);
15afbcd0 1070 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 1071 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
15afbcd0
RD
1072 }
1073 return i;
1074 }
1075}
1076
1077
1078SWIGSTATICINLINE(unsigned char)
1079SWIG_AsUnsignedChar(PyObject *obj)
994141e6 1080{
15afbcd0
RD
1081 return swig_numeric_cast(unsigned char,
1082 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1083 "unsigned char", UCHAR_MAX));
1084}
1085
1086
1087SWIGSTATICINLINE(int)
1088SWIG_CheckUnsignedChar(PyObject* obj)
1089{
1090 SWIG_AsUnsignedChar(obj);
1091 if (PyErr_Occurred()) {
1092 PyErr_Clear();
1093 return 0;
1094 } else {
1095 return 1;
1096 }
994141e6
RD
1097}
1098
66c033b4 1099wxImage *new_wxImage(int width,int height,bool clear){
d14a1e28
RD
1100 if (width > 0 && height > 0)
1101 return new wxImage(width, height, clear);
1102 else
1103 return new wxImage;
1104 }
1105wxImage *new_wxImage(wxBitmap const &bitmap){
1106 return new wxImage(bitmap.ConvertToImage());
1107 }
1108wxImage *new_wxImage(int width,int height,unsigned char *data){
1109 // Copy the source data so the wxImage can clean it up later
1110 unsigned char* copy = (unsigned char*)malloc(width*height*3);
1111 if (copy == NULL) {
1112 PyErr_NoMemory();
1113 return NULL;
1114 }
1115 memcpy(copy, data, width*height*3);
e811c8ce 1116 return new wxImage(width, height, copy, False);
d14a1e28 1117 }
b2df227b
RD
1118wxSize wxImage_GetSize(wxImage *self){
1119 wxSize size(self->GetWidth(), self->GetHeight());
1120 return size;
1121 }
d14a1e28
RD
1122PyObject *wxImage_GetData(wxImage *self){
1123 unsigned char* data = self->GetData();
1124 int len = self->GetWidth() * self->GetHeight() * 3;
1125 PyObject* rv;
1126 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
1127 return rv;
1128 }
1129void wxImage_SetData(wxImage *self,PyObject *data){
1130 unsigned char* dataPtr;
1131
1132 if (! PyString_Check(data)) {
1133 PyErr_SetString(PyExc_TypeError, "Expected string object");
1134 return /* NULL */ ;
1135 }
1136
1137 size_t len = self->GetWidth() * self->GetHeight() * 3;
1138 dataPtr = (unsigned char*) malloc(len);
1139 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1140 self->SetData(dataPtr);
1141 // wxImage takes ownership of dataPtr...
1142 }
1143PyObject *wxImage_GetDataBuffer(wxImage *self){
1144 unsigned char* data = self->GetData();
1145 int len = self->GetWidth() * self->GetHeight() * 3;
1146 PyObject* rv;
1147 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1148 return rv;
1149 }
1150void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
1151 unsigned char* buffer;
1152 int size;
1153
4f89f6a3 1154 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1155 if (!PyArg_Parse(data, "t#", &buffer, &size))
1156 goto done;
1157
1158 if (size != self->GetWidth() * self->GetHeight() * 3) {
1159 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1160 goto done;
1161 }
1162 self->SetData(buffer);
1163 done:
4f89f6a3 1164 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1165 }
1166PyObject *wxImage_GetAlphaData(wxImage *self){
1167 unsigned char* data = self->GetAlpha();
1168 if (! data) {
1169 RETURN_NONE();
1170 } else {
1171 int len = self->GetWidth() * self->GetHeight();
1172 PyObject* rv;
1173 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
1174 return rv;
1175 }
1176 }
1177void wxImage_SetAlphaData(wxImage *self,PyObject *data){
1178 unsigned char* dataPtr;
1179
1180 if (! PyString_Check(data)) {
1181 PyErr_SetString(PyExc_TypeError, "Expected string object");
1182 return /* NULL */ ;
1183 }
1184
1185 size_t len = self->GetWidth() * self->GetHeight();
1186 dataPtr = (unsigned char*) malloc(len);
1187 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1188 self->SetAlpha(dataPtr);
1189 // wxImage takes ownership of dataPtr...
1190 }
1191PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1192 unsigned char* data = self->GetAlpha();
1193 int len = self->GetWidth() * self->GetHeight();
1194 PyObject* rv;
1195 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1196 return rv;
1197 }
1198void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1199 unsigned char* buffer;
1200 int size;
1201
4f89f6a3 1202 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1203 if (!PyArg_Parse(data, "t#", &buffer, &size))
1204 goto done;
1205
1206 if (size != self->GetWidth() * self->GetHeight()) {
1207 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1208 goto done;
1209 }
1210 self->SetAlpha(buffer);
1211 done:
4f89f6a3 1212 wxPyEndBlockThreads(blocked);
d14a1e28 1213 }
15afbcd0
RD
1214
1215SWIGSTATICINLINE(int)
1216SWIG_CheckUnsignedLong(PyObject* obj)
1217{
1218 SWIG_AsUnsignedLong(obj);
1219 if (PyErr_Occurred()) {
1220 PyErr_Clear();
1221 return 0;
1222 } else {
1223 return 1;
1224 }
1225}
1226
d14a1e28
RD
1227wxBitmap wxImage_ConvertToBitmap(wxImage *self){
1228 wxBitmap bitmap(*self);
1229 return bitmap;
1230 }
1231wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1232 wxImage mono = self->ConvertToMono( red, green, blue );
1233 wxBitmap bitmap( mono, 1 );
1234 return bitmap;
1235 }
1236 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1237 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1238 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1239 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1240 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
1241void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1242 if (PyCallable_Check(func)) {
1243 self->Connect(id, lastId, eventType,
1244 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1245 new wxPyCallback(func));
1246 }
1247 else if (func == Py_None) {
1248 self->Disconnect(id, lastId, eventType,
1249 (wxObjectEventFunction)
1250 &wxPyCallback::EventThunker);
1251 }
1252 else {
a95a7133
RD
1253 wxPyBLOCK_THREADS(
1254 PyErr_SetString(PyExc_TypeError, "Expected callable object or None."));
d14a1e28
RD
1255 }
1256 }
1257bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1258 return self->Disconnect(id, lastId, eventType,
1259 (wxObjectEventFunction)
1260 &wxPyCallback::EventThunker);
1261 }
1262void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1263 if (_self && _self != Py_None) {
1264 self->SetClientObject(new wxPyOORClientData(_self));
1265 }
1266 else {
1267 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1268 if (data) {
1269 self->SetClientObject(NULL); // This will delete it too
1270 }
1271 }
1272 }
19272049 1273int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){
3b7224dc 1274 #if wxUSE_UNICODE
19272049 1275 return self->GetUnicodeKey();
3b7224dc 1276 #else
d14a1e28 1277 return 0;
3b7224dc 1278 #endif
d14a1e28 1279 }
994141e6 1280
15afbcd0
RD
1281#if UINT_MAX < LONG_MAX
1282#define SWIG_FromUnsignedInt SWIG_FromLong
1283#else
1284#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1285#endif
994141e6
RD
1286
1287
15afbcd0
RD
1288#if UINT_MAX != ULONG_MAX
1289SWIGSTATICINLINE(unsigned int)
1290SWIG_AsUnsignedInt(PyObject *obj)
994141e6 1291{
15afbcd0
RD
1292 return swig_numeric_cast(unsigned int,
1293 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1294 "unsigned int", UINT_MAX));
1295}
1296#else
1297#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1298#endif
1299
1300
1301SWIGSTATICINLINE(int)
1302SWIG_CheckUnsignedInt(PyObject* obj)
1303{
1304 SWIG_AsUnsignedInt(obj);
1305 if (PyErr_Occurred()) {
1306 PyErr_Clear();
1307 return 0;
1308 } else {
1309 return 1;
1310 }
994141e6
RD
1311}
1312
d14a1e28
RD
1313void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1314 self->m_size = size;
1315 }
1316void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1317 self->m_pos = pos;
1318 }
1319PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1320 int count = self->GetNumberOfFiles();
1321 wxString* files = self->GetFiles();
1322 PyObject* list = PyList_New(count);
1323
1324 if (!list) {
1325 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1326 return NULL;
1327 }
1328
1329 for (int i=0; i<count; i++) {
1fc9204a 1330 PyList_SetItem(list, i, wx2PyString(files[i]));
d14a1e28
RD
1331 }
1332 return list;
1333 }
1334
1335
1336wxPyApp *new_wxPyApp(){
1337 wxPythonApp = new wxPyApp();
1338 return wxPythonApp;
1339 }
39f61e25 1340int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
d14a1e28
RD
1341
1342 void wxApp_CleanUp() {
1343 __wxPyCleanup();
1344 }
1345
1346
db3e571a 1347 wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; }
d14a1e28
RD
1348
1349
1350
e811c8ce 1351 static const wxString wxPyPanelNameStr(wxPanelNameStr);
74a57fcd 1352wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
22bfe96c 1353void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; }
d14a1e28
RD
1354PyObject *wxWindow_GetChildren(wxWindow *self){
1355 wxWindowList& list = self->GetChildren();
1356 return wxPy_ConvertList(&list);
1357 }
1358bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
74a57fcd
RD
1359 #if wxUSE_HOTKEY
1360 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
1361 #else
e811c8ce 1362 return False;
74a57fcd 1363 #endif
d14a1e28
RD
1364 }
1365bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1366
1367
1368
e811c8ce 1369 return False;
d14a1e28
RD
1370
1371 }
1372long wxWindow_GetHandle(wxWindow *self){
1373 return wxPyGetWinHandle(self);
1374 }
1375
1376wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1377 return wxWindow::FindWindowById(id, parent);
1378}
1379
1380wxWindow* wxFindWindowByName( const wxString& name,
1381 const wxWindow *parent = NULL ) {
1382 return wxWindow::FindWindowByName(name, parent);
1383}
1384
1385wxWindow* wxFindWindowByLabel( const wxString& label,
1386 const wxWindow *parent = NULL ) {
1387 return wxWindow::FindWindowByLabel(label, parent);
1388}
1389
1390
d14a1e28 1391#ifdef __WXMSW__
4276dc52
RD
1392#include <wx/msw/private.h> // to get wxGetWindowId
1393#endif
1394
1395
1396 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
1397#ifdef __WXMSW__
1398 WXHWND hWnd = (WXHWND)_hWnd;
1399 long id = wxGetWindowId(hWnd);
d14a1e28 1400 wxWindow* win = new wxWindow;
4276dc52
RD
1401 parent->AddChild(win);
1402 win->SetEventHandler(win);
1403 win->SetHWND(hWnd);
1404 win->SetId(id);
1405 win->SubclassWin(hWnd);
1406 win->AdoptAttributesFromHWND();
1407 win->SetupColours();
d14a1e28
RD
1408 return win;
1409#else
39f61e25 1410 wxPyRaiseNotImplemented();
d14a1e28
RD
1411 return NULL;
1412#endif
1413 }
1414
1415
1416IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1417IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1418IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1419
1420IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1421
1422void wxMenu_Destroy(wxMenu *self){ delete self; }
1423PyObject *wxMenu_GetMenuItems(wxMenu *self){
1424 wxMenuItemList& list = self->GetMenuItems();
1425 return wxPy_ConvertList(&list);
1426 }
1427int MenuItem_GetDefaultMarginWidth(){ return 0; }
b2dc1044 1428 static const wxString wxPyControlNameStr(wxControlNameStr);
d14a1e28
RD
1429int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1430 if (clientData) {
1431 wxPyClientData* data = new wxPyClientData(clientData);
1432 return self->Append(item, data);
1433 } else
1434 return self->Append(item);
1435 }
1436int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1437 if (clientData) {
1438 wxPyClientData* data = new wxPyClientData(clientData);
1439 return self->Insert(item, pos, data);
1440 } else
1441 return self->Insert(item, pos);
1442 }
1443PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1444 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1445 if (data) {
1446 Py_INCREF(data->m_obj);
1447 return data->m_obj;
1448 } else {
1449 Py_INCREF(Py_None);
1450 return Py_None;
1451 }
1452 }
1453void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1454 wxPyClientData* data = new wxPyClientData(clientData);
1455 self->SetClientObject(n, data);
1456 }
1457
1458
248ed943
RD
1459wxSizerItem *new_wxSizerItem(wxWindow *window,int proportion,int flag,int border,PyObject *userData){
1460 wxPyUserData* data = NULL;
1461 if ( userData ) {
1462 bool blocked = wxPyBeginBlockThreads();
1463 data = new wxPyUserData(userData);
1464 wxPyEndBlockThreads(blocked);
1465 }
1466 return new wxSizerItem(window, proportion, flag, border, data);
1467 }
1468wxSizerItem *new_wxSizerItem(int width,int height,int proportion,int flag,int border,PyObject *userData){
1469 wxPyUserData* data = NULL;
1470 if ( userData ) {
1471 bool blocked = wxPyBeginBlockThreads();
1472 data = new wxPyUserData(userData);
1473 wxPyEndBlockThreads(blocked);
1474 }
1475 return new wxSizerItem(width, height, proportion, flag, border, data);
1476 }
1477wxSizerItem *new_wxSizerItem(wxSizer *sizer,int proportion,int flag,int border,PyObject *userData){
1478 wxPyUserData* data = NULL;
1479 if ( userData ) {
1480 bool blocked = wxPyBeginBlockThreads();
1481 data = new wxPyUserData(userData);
1482 wxPyEndBlockThreads(blocked);
1483 }
1484 return new wxSizerItem(sizer, proportion, flag, border, data);
1485 }
994141e6 1486
15afbcd0
RD
1487#include <float.h>
1488
994141e6 1489SWIGSTATIC(float)
15afbcd0
RD
1490SWIG_FloatCast(double value)
1491{
1492 float f = 0;
1493 if (!PyErr_Occurred()) {
1494 if (value < FLT_MIN) {
1495 PyObject *err =
1496 PyString_FromFormat("value %g is less than float minimum %g",
1497 value, FLT_MIN);
1498 PyErr_SetObject(PyExc_OverflowError, err);
1499 Py_DECREF(err);
1500 } else if (value > FLT_MAX) {
1501 PyObject *err =
1502 PyString_FromFormat("value %g is greater than float maximum %g",
1503 value, FLT_MAX);
1504 PyErr_SetObject(PyExc_OverflowError, err);
1505 Py_DECREF(err);
1506 } else {
1507 f = swig_numeric_cast(float, value);
1508 }
1509 }
1510 return f;
1511}
1512
1513
1514SWIGSTATICINLINE(float)
1515SWIG_AsFloat(PyObject *obj)
994141e6 1516{
15afbcd0
RD
1517 return SWIG_FloatCast(SWIG_AsDouble(obj));
1518}
1519
1520
1521SWIGSTATICINLINE(int)
1522SWIG_CheckFloat(PyObject* obj)
1523{
1524 SWIG_AsFloat(obj);
1525 if (PyErr_Occurred()) {
1526 PyErr_Clear();
1527 return 0;
1528 } else {
1529 return 1;
1530 }
994141e6
RD
1531}
1532
d14a1e28
RD
1533PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1534 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1535 if (data) {
1536 Py_INCREF(data->m_obj);
1537 return data->m_obj;
1538 } else {
1539 Py_INCREF(Py_None);
1540 return Py_None;
1541 }
1542 }
1543
1544// Figure out the type of the sizer item
1545
1546struct wxPySizerItemInfo {
1547 wxPySizerItemInfo()
e811c8ce
RD
1548 : window(NULL), sizer(NULL), gotSize(False),
1549 size(wxDefaultSize), gotPos(False), pos(-1)
d14a1e28
RD
1550 {}
1551
1552 wxWindow* window;
1553 wxSizer* sizer;
1554 bool gotSize;
1555 wxSize size;
1556 bool gotPos;
1557 int pos;
1558};
1559
1560static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1561
1562 wxPySizerItemInfo info;
1563 wxSize size;
1564 wxSize* sizePtr = &size;
1565
1566 // Find out what the type of the item is
1567 // try wxWindow
1568 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1569 PyErr_Clear();
1570 info.window = NULL;
1571
1572 // try wxSizer
1573 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1574 PyErr_Clear();
1575 info.sizer = NULL;
1576
1577 // try wxSize or (w,h)
1578 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1579 info.size = *sizePtr;
e811c8ce 1580 info.gotSize = True;
d14a1e28
RD
1581 }
1582
1583 // or a single int
1584 if (checkIdx && PyInt_Check(item)) {
1585 info.pos = PyInt_AsLong(item);
e811c8ce 1586 info.gotPos = True;
d14a1e28
RD
1587 }
1588 }
1589 }
1590
1591 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1592 // no expected type, figure out what kind of error message to generate
1593 if ( !checkSize && !checkIdx )
1594 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1595 else if ( checkSize && !checkIdx )
1596 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1597 else if ( !checkSize && checkIdx)
1598 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1599 else
1600 // can this one happen?
1601 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1602 }
1603
1604 return info;
1605}
1606
1607void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
b0f7404b
RD
1608 if (!self->GetClientObject())
1609 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28
RD
1610 }
1611void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1612
1613 wxPyUserData* data = NULL;
4f89f6a3 1614 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1615 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1616 if ( userData && (info.window || info.sizer || info.gotSize) )
1617 data = new wxPyUserData(userData);
4f89f6a3 1618 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1619
1620 // Now call the real Add method if a valid item type was found
1621 if ( info.window )
1622 self->Add(info.window, proportion, flag, border, data);
1623 else if ( info.sizer )
1624 self->Add(info.sizer, proportion, flag, border, data);
1625 else if (info.gotSize)
1626 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1627 proportion, flag, border, data);
1628 }
1629void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1630
1631 wxPyUserData* data = NULL;
4f89f6a3 1632 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1633 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1634 if ( userData && (info.window || info.sizer || info.gotSize) )
1635 data = new wxPyUserData(userData);
4f89f6a3 1636 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1637
1638 // Now call the real Insert method if a valid item type was found
1639 if ( info.window )
1640 self->Insert(before, info.window, proportion, flag, border, data);
1641 else if ( info.sizer )
1642 self->Insert(before, info.sizer, proportion, flag, border, data);
1643 else if (info.gotSize)
1644 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1645 proportion, flag, border, data);
1646 }
1647void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1648
1649 wxPyUserData* data = NULL;
4f89f6a3 1650 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1651 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1652 if ( userData && (info.window || info.sizer || info.gotSize) )
1653 data = new wxPyUserData(userData);
4f89f6a3 1654 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1655
1656 // Now call the real Prepend method if a valid item type was found
1657 if ( info.window )
1658 self->Prepend(info.window, proportion, flag, border, data);
1659 else if ( info.sizer )
1660 self->Prepend(info.sizer, proportion, flag, border, data);
1661 else if (info.gotSize)
1662 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1663 proportion, flag, border, data);
1664 }
1665bool wxSizer_Remove(wxSizer *self,PyObject *item){
4f89f6a3 1666 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1667 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
4f89f6a3 1668 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1669 if ( info.window )
1670 return self->Remove(info.window);
1671 else if ( info.sizer )
1672 return self->Remove(info.sizer);
1673 else if ( info.gotPos )
1674 return self->Remove(info.pos);
1675 else
e811c8ce 1676 return False;
d14a1e28 1677 }
1c0f361b
RD
1678bool wxSizer_Detach(wxSizer *self,PyObject *item){
1679 bool blocked = wxPyBeginBlockThreads();
1680 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1681 wxPyEndBlockThreads(blocked);
1682 if ( info.window )
1683 return self->Detach(info.window);
1684 else if ( info.sizer )
1685 return self->Detach(info.sizer);
1686 else if ( info.gotPos )
1687 return self->Detach(info.pos);
1688 else
1689 return False;
1690 }
e811c8ce 1691void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
4f89f6a3 1692 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1693 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
4f89f6a3 1694 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1695 if ( info.window )
1696 self->SetItemMinSize(info.window, size);
1697 else if ( info.sizer )
1698 self->SetItemMinSize(info.sizer, size);
1699 else if ( info.gotPos )
1700 self->SetItemMinSize(info.pos, size);
1701 }
1702PyObject *wxSizer_GetChildren(wxSizer *self){
1703 wxSizerItemList& list = self->GetChildren();
1704 return wxPy_ConvertList(&list);
1705 }
1706void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
03e37cd5 1707 bool blocked = wxPyBeginBlockThreads();
248ed943 1708 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
03e37cd5 1709 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1710 if ( info.window )
1711 self->Show(info.window, show);
1712 else if ( info.sizer )
1713 self->Show(info.sizer, show);
248ed943
RD
1714 else if ( info.gotPos )
1715 self->Show(info.pos, show);
d14a1e28
RD
1716 }
1717bool wxSizer_IsShown(wxSizer *self,PyObject *item){
03e37cd5 1718 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1719 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
03e37cd5 1720 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1721 if ( info.window )
1722 return self->IsShown(info.window);
1723 else if ( info.sizer )
1724 return self->IsShown(info.sizer);
248ed943
RD
1725 else if ( info.gotPos )
1726 return self->IsShown(info.pos);
d14a1e28 1727 else
e811c8ce 1728 return False;
d14a1e28
RD
1729 }
1730
1731// See pyclasses.h
1732IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1733IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1734IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1735
1736
1737
1738
1739bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1740{
4f89f6a3
RD
1741 if (source == Py_None) {
1742 **obj = wxGBPosition(-1,-1);
1743 return True;
1744 }
d14a1e28
RD
1745 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1746}
1747
1748bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1749{
4f89f6a3
RD
1750 if (source == Py_None) {
1751 **obj = wxGBSpan(-1,-1);
1752 return True;
1753 }
d14a1e28
RD
1754 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1755}
1756
1757
e811c8ce
RD
1758void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1759 self->SetRow(row);
1760 self->SetCol(col);
1761 }
1762PyObject *wxGBPosition_Get(wxGBPosition *self){
4f89f6a3 1763 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1764 PyObject* tup = PyTuple_New(2);
1765 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1766 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
4f89f6a3 1767 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1768 return tup;
1769 }
e811c8ce
RD
1770void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1771 self->SetRowspan(rowspan);
1772 self->SetColspan(colspan);
1773 }
1774PyObject *wxGBSpan_Get(wxGBSpan *self){
4f89f6a3 1775 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1776 PyObject* tup = PyTuple_New(2);
1777 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1778 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
4f89f6a3 1779 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1780 return tup;
1781 }
248ed943
RD
1782wxGBSizerItem *new_wxGBSizerItem(wxWindow *window,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1783 wxPyUserData* data = NULL;
1784 if ( userData ) {
1785 bool blocked = wxPyBeginBlockThreads();
1786 data = new wxPyUserData(userData);
1787 wxPyEndBlockThreads(blocked);
1788 }
1789 return new wxGBSizerItem(window, pos, span, flag, border, data);
1790 }
1791wxGBSizerItem *new_wxGBSizerItem(wxSizer *sizer,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1792 wxPyUserData* data = NULL;
1793 if ( userData ) {
1794 bool blocked = wxPyBeginBlockThreads();
1795 data = new wxPyUserData(userData);
1796 wxPyEndBlockThreads(blocked);
1797 }
1798 return new wxGBSizerItem(sizer, pos, span, flag, border, data);
1799 }
1800wxGBSizerItem *new_wxGBSizerItem(int width,int height,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1801 wxPyUserData* data = NULL;
1802 if ( userData ) {
1803 bool blocked = wxPyBeginBlockThreads();
1804 data = new wxPyUserData(userData);
1805 wxPyEndBlockThreads(blocked);
1806 }
1807 return new wxGBSizerItem(width, height, pos, span, flag, border, data);
1808 }
1809wxGBPosition wxGBSizerItem_GetEndPos(wxGBSizerItem *self){
1810 int row, col;
1811 self->GetEndPos(row, col);
1812 return wxGBPosition(row, col);
1813 }
d14a1e28
RD
1814bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1815
1816 wxPyUserData* data = NULL;
4f89f6a3 1817 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1818 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1819 if ( userData && (info.window || info.sizer || info.gotSize) )
1820 data = new wxPyUserData(userData);
4f89f6a3 1821 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1822
1823 // Now call the real Add method if a valid item type was found
1824 if ( info.window )
1825 return self->Add(info.window, pos, span, flag, border, data);
1826 else if ( info.sizer )
1827 return self->Add(info.sizer, pos, span, flag, border, data);
1828 else if (info.gotSize)
1829 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1830 pos, span, flag, border, data);
e811c8ce 1831 return False;
d14a1e28
RD
1832 }
1833
1834
1835#ifdef __cplusplus
1836extern "C" {
1837#endif
196addbf
RD
1838static int _wrap_EmptyString_set(PyObject *_val) {
1839 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1840 return 1;
1841}
1842
1843
1844static PyObject *_wrap_EmptyString_get() {
1845 PyObject *pyobj;
1846
1847 {
1848#if wxUSE_UNICODE
1849 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1850#else
1851 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1852#endif
1853 }
1854 return pyobj;
1855}
1856
1857
d14a1e28
RD
1858static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1859 PyObject *resultobj;
1860 wxObject *arg1 = (wxObject *) 0 ;
1861 wxString result;
1862 PyObject * obj0 = 0 ;
1863 char *kwnames[] = {
1864 (char *) "self", NULL
1865 };
1866
1867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
1868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1870 {
1871 PyThreadState* __tstate = wxPyBeginAllowThreads();
1872 result = wxObject_GetClassName(arg1);
1873
1874 wxPyEndAllowThreads(__tstate);
1875 if (PyErr_Occurred()) SWIG_fail;
1876 }
1877 {
1878#if wxUSE_UNICODE
1879 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1880#else
1881 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1882#endif
1883 }
1884 return resultobj;
1885 fail:
1886 return NULL;
1887}
1888
1889
1890static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1891 PyObject *resultobj;
1892 wxObject *arg1 = (wxObject *) 0 ;
1893 PyObject * obj0 = 0 ;
1894 char *kwnames[] = {
1895 (char *) "self", NULL
1896 };
1897
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
1899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1901 {
1902 PyThreadState* __tstate = wxPyBeginAllowThreads();
1903 wxObject_Destroy(arg1);
1904
1905 wxPyEndAllowThreads(__tstate);
1906 if (PyErr_Occurred()) SWIG_fail;
1907 }
1908 Py_INCREF(Py_None); resultobj = Py_None;
1909 return resultobj;
1910 fail:
1911 return NULL;
1912}
1913
1914
1915static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1916 PyObject *obj;
1917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1918 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1919 Py_INCREF(obj);
1920 return Py_BuildValue((char *)"");
1921}
1922static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1923 PyObject *resultobj;
1924 wxSize *arg1 = (wxSize *) 0 ;
1925 int arg2 ;
1926 PyObject * obj0 = 0 ;
994141e6 1927 PyObject * obj1 = 0 ;
d14a1e28
RD
1928 char *kwnames[] = {
1929 (char *) "self",(char *) "x", NULL
1930 };
1931
994141e6 1932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1935 arg2 = (int) SWIG_AsInt(obj1);
1936 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1937 if (arg1) (arg1)->x = arg2;
1938
1939 Py_INCREF(Py_None); resultobj = Py_None;
1940 return resultobj;
1941 fail:
1942 return NULL;
1943}
1944
1945
1946static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1947 PyObject *resultobj;
1948 wxSize *arg1 = (wxSize *) 0 ;
1949 int result;
1950 PyObject * obj0 = 0 ;
1951 char *kwnames[] = {
1952 (char *) "self", NULL
1953 };
1954
1955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
1956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1958 result = (int) ((arg1)->x);
1959
15afbcd0 1960 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1961 return resultobj;
1962 fail:
1963 return NULL;
1964}
1965
1966
1967static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1968 PyObject *resultobj;
1969 wxSize *arg1 = (wxSize *) 0 ;
1970 int arg2 ;
1971 PyObject * obj0 = 0 ;
994141e6 1972 PyObject * obj1 = 0 ;
d14a1e28
RD
1973 char *kwnames[] = {
1974 (char *) "self",(char *) "y", NULL
1975 };
1976
994141e6 1977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1980 arg2 = (int) SWIG_AsInt(obj1);
1981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1982 if (arg1) (arg1)->y = arg2;
1983
1984 Py_INCREF(Py_None); resultobj = Py_None;
1985 return resultobj;
1986 fail:
1987 return NULL;
1988}
1989
1990
1991static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1992 PyObject *resultobj;
1993 wxSize *arg1 = (wxSize *) 0 ;
1994 int result;
1995 PyObject * obj0 = 0 ;
1996 char *kwnames[] = {
1997 (char *) "self", NULL
1998 };
1999
2000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2003 result = (int) ((arg1)->y);
2004
15afbcd0 2005 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2006 return resultobj;
2007 fail:
2008 return NULL;
2009}
2010
2011
2012static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
2013 PyObject *resultobj;
2014 int arg1 = (int) 0 ;
2015 int arg2 = (int) 0 ;
2016 wxSize *result;
994141e6
RD
2017 PyObject * obj0 = 0 ;
2018 PyObject * obj1 = 0 ;
d14a1e28
RD
2019 char *kwnames[] = {
2020 (char *) "w",(char *) "h", NULL
2021 };
2022
994141e6
RD
2023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
2024 if (obj0) {
15afbcd0
RD
2025 arg1 = (int) SWIG_AsInt(obj0);
2026 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2027 }
2028 if (obj1) {
15afbcd0
RD
2029 arg2 = (int) SWIG_AsInt(obj1);
2030 if (PyErr_Occurred()) SWIG_fail;
994141e6 2031 }
d14a1e28
RD
2032 {
2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
2034 result = (wxSize *)new wxSize(arg1,arg2);
2035
2036 wxPyEndAllowThreads(__tstate);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 }
15afbcd0 2039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2040 return resultobj;
2041 fail:
2042 return NULL;
2043}
2044
2045
2046static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
2047 PyObject *resultobj;
2048 wxSize *arg1 = (wxSize *) 0 ;
2049 PyObject * obj0 = 0 ;
2050 char *kwnames[] = {
2051 (char *) "self", NULL
2052 };
2053
2054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
15afbcd0
RD
2055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2057 {
2058 PyThreadState* __tstate = wxPyBeginAllowThreads();
2059 delete arg1;
2060
2061 wxPyEndAllowThreads(__tstate);
2062 if (PyErr_Occurred()) SWIG_fail;
2063 }
2064 Py_INCREF(Py_None); resultobj = Py_None;
2065 return resultobj;
2066 fail:
2067 return NULL;
2068}
2069
2070
2071static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2072 PyObject *resultobj;
2073 wxSize *arg1 = (wxSize *) 0 ;
2074 wxSize *arg2 = 0 ;
2075 bool result;
2076 wxSize temp2 ;
2077 PyObject * obj0 = 0 ;
2078 PyObject * obj1 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "self",(char *) "sz", NULL
2081 };
2082
2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2086 {
2087 arg2 = &temp2;
2088 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2089 }
2090 {
2091 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2092 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
2093
2094 wxPyEndAllowThreads(__tstate);
2095 if (PyErr_Occurred()) SWIG_fail;
2096 }
4f89f6a3
RD
2097 {
2098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2099 }
d14a1e28
RD
2100 return resultobj;
2101 fail:
2102 return NULL;
2103}
2104
2105
2106static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2107 PyObject *resultobj;
2108 wxSize *arg1 = (wxSize *) 0 ;
2109 wxSize *arg2 = 0 ;
2110 bool result;
2111 wxSize temp2 ;
2112 PyObject * obj0 = 0 ;
2113 PyObject * obj1 = 0 ;
2114 char *kwnames[] = {
2115 (char *) "self",(char *) "sz", NULL
2116 };
2117
2118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2121 {
2122 arg2 = &temp2;
2123 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2124 }
2125 {
2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2127 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
2128
2129 wxPyEndAllowThreads(__tstate);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
4f89f6a3
RD
2132 {
2133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2134 }
d14a1e28
RD
2135 return resultobj;
2136 fail:
2137 return NULL;
2138}
2139
2140
2141static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2142 PyObject *resultobj;
2143 wxSize *arg1 = (wxSize *) 0 ;
2144 wxSize *arg2 = 0 ;
2145 wxSize result;
2146 wxSize temp2 ;
2147 PyObject * obj0 = 0 ;
2148 PyObject * obj1 = 0 ;
2149 char *kwnames[] = {
2150 (char *) "self",(char *) "sz", NULL
2151 };
2152
2153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2156 {
2157 arg2 = &temp2;
2158 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2159 }
2160 {
2161 PyThreadState* __tstate = wxPyBeginAllowThreads();
2162 result = (arg1)->operator +((wxSize const &)*arg2);
2163
2164 wxPyEndAllowThreads(__tstate);
2165 if (PyErr_Occurred()) SWIG_fail;
2166 }
2167 {
2168 wxSize * resultptr;
2169 resultptr = new wxSize((wxSize &) result);
15afbcd0 2170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2171 }
2172 return resultobj;
2173 fail:
2174 return NULL;
2175}
2176
2177
2178static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2179 PyObject *resultobj;
2180 wxSize *arg1 = (wxSize *) 0 ;
2181 wxSize *arg2 = 0 ;
2182 wxSize result;
2183 wxSize temp2 ;
2184 PyObject * obj0 = 0 ;
2185 PyObject * obj1 = 0 ;
2186 char *kwnames[] = {
2187 (char *) "self",(char *) "sz", NULL
2188 };
2189
2190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2193 {
2194 arg2 = &temp2;
2195 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2196 }
2197 {
2198 PyThreadState* __tstate = wxPyBeginAllowThreads();
2199 result = (arg1)->operator -((wxSize const &)*arg2);
2200
2201 wxPyEndAllowThreads(__tstate);
2202 if (PyErr_Occurred()) SWIG_fail;
2203 }
2204 {
2205 wxSize * resultptr;
2206 resultptr = new wxSize((wxSize &) result);
15afbcd0 2207 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2208 }
2209 return resultobj;
2210 fail:
2211 return NULL;
2212}
2213
2214
2215static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2216 PyObject *resultobj;
2217 wxSize *arg1 = (wxSize *) 0 ;
2218 wxSize *arg2 = 0 ;
2219 wxSize temp2 ;
2220 PyObject * obj0 = 0 ;
2221 PyObject * obj1 = 0 ;
2222 char *kwnames[] = {
2223 (char *) "self",(char *) "sz", NULL
2224 };
2225
2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2229 {
2230 arg2 = &temp2;
2231 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2232 }
2233 {
2234 PyThreadState* __tstate = wxPyBeginAllowThreads();
2235 (arg1)->IncTo((wxSize const &)*arg2);
2236
2237 wxPyEndAllowThreads(__tstate);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 }
2240 Py_INCREF(Py_None); resultobj = Py_None;
2241 return resultobj;
2242 fail:
2243 return NULL;
2244}
2245
2246
2247static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject *resultobj;
2249 wxSize *arg1 = (wxSize *) 0 ;
2250 wxSize *arg2 = 0 ;
2251 wxSize temp2 ;
2252 PyObject * obj0 = 0 ;
2253 PyObject * obj1 = 0 ;
2254 char *kwnames[] = {
2255 (char *) "self",(char *) "sz", NULL
2256 };
2257
2258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2261 {
2262 arg2 = &temp2;
2263 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2264 }
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 (arg1)->DecTo((wxSize const &)*arg2);
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) SWIG_fail;
2271 }
2272 Py_INCREF(Py_None); resultobj = Py_None;
2273 return resultobj;
2274 fail:
2275 return NULL;
2276}
2277
2278
2279static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2280 PyObject *resultobj;
2281 wxSize *arg1 = (wxSize *) 0 ;
2282 int arg2 ;
2283 int arg3 ;
2284 PyObject * obj0 = 0 ;
994141e6
RD
2285 PyObject * obj1 = 0 ;
2286 PyObject * obj2 = 0 ;
d14a1e28 2287 char *kwnames[] = {
e811c8ce 2288 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
2289 };
2290
994141e6 2291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2294 arg2 = (int) SWIG_AsInt(obj1);
2295 if (PyErr_Occurred()) SWIG_fail;
2296 arg3 = (int) SWIG_AsInt(obj2);
2297 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2298 {
2299 PyThreadState* __tstate = wxPyBeginAllowThreads();
2300 (arg1)->Set(arg2,arg3);
2301
2302 wxPyEndAllowThreads(__tstate);
2303 if (PyErr_Occurred()) SWIG_fail;
2304 }
2305 Py_INCREF(Py_None); resultobj = Py_None;
2306 return resultobj;
2307 fail:
2308 return NULL;
2309}
2310
2311
2312static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2313 PyObject *resultobj;
2314 wxSize *arg1 = (wxSize *) 0 ;
2315 int arg2 ;
2316 PyObject * obj0 = 0 ;
994141e6 2317 PyObject * obj1 = 0 ;
d14a1e28
RD
2318 char *kwnames[] = {
2319 (char *) "self",(char *) "w", NULL
2320 };
2321
994141e6 2322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2325 arg2 = (int) SWIG_AsInt(obj1);
2326 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2327 {
2328 PyThreadState* __tstate = wxPyBeginAllowThreads();
2329 (arg1)->SetWidth(arg2);
2330
2331 wxPyEndAllowThreads(__tstate);
2332 if (PyErr_Occurred()) SWIG_fail;
2333 }
2334 Py_INCREF(Py_None); resultobj = Py_None;
2335 return resultobj;
2336 fail:
2337 return NULL;
2338}
2339
2340
2341static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2342 PyObject *resultobj;
2343 wxSize *arg1 = (wxSize *) 0 ;
2344 int arg2 ;
2345 PyObject * obj0 = 0 ;
994141e6 2346 PyObject * obj1 = 0 ;
d14a1e28
RD
2347 char *kwnames[] = {
2348 (char *) "self",(char *) "h", NULL
2349 };
2350
994141e6 2351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2354 arg2 = (int) SWIG_AsInt(obj1);
2355 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2356 {
2357 PyThreadState* __tstate = wxPyBeginAllowThreads();
2358 (arg1)->SetHeight(arg2);
2359
2360 wxPyEndAllowThreads(__tstate);
2361 if (PyErr_Occurred()) SWIG_fail;
2362 }
2363 Py_INCREF(Py_None); resultobj = Py_None;
2364 return resultobj;
2365 fail:
2366 return NULL;
2367}
2368
2369
2370static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2371 PyObject *resultobj;
2372 wxSize *arg1 = (wxSize *) 0 ;
2373 int result;
2374 PyObject * obj0 = 0 ;
2375 char *kwnames[] = {
2376 (char *) "self", NULL
2377 };
2378
2379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2382 {
2383 PyThreadState* __tstate = wxPyBeginAllowThreads();
2384 result = (int)((wxSize const *)arg1)->GetWidth();
2385
2386 wxPyEndAllowThreads(__tstate);
2387 if (PyErr_Occurred()) SWIG_fail;
2388 }
15afbcd0 2389 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2390 return resultobj;
2391 fail:
2392 return NULL;
2393}
2394
2395
2396static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2397 PyObject *resultobj;
2398 wxSize *arg1 = (wxSize *) 0 ;
2399 int result;
2400 PyObject * obj0 = 0 ;
2401 char *kwnames[] = {
2402 (char *) "self", NULL
2403 };
2404
2405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
2406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2408 {
2409 PyThreadState* __tstate = wxPyBeginAllowThreads();
2410 result = (int)((wxSize const *)arg1)->GetHeight();
2411
2412 wxPyEndAllowThreads(__tstate);
2413 if (PyErr_Occurred()) SWIG_fail;
2414 }
15afbcd0 2415 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2416 return resultobj;
2417 fail:
2418 return NULL;
2419}
2420
2421
74a57fcd
RD
2422static PyObject *_wrap_Size_IsFullySpecified(PyObject *self, PyObject *args, PyObject *kwargs) {
2423 PyObject *resultobj;
2424 wxSize *arg1 = (wxSize *) 0 ;
2425 bool result;
2426 PyObject * obj0 = 0 ;
2427 char *kwnames[] = {
2428 (char *) "self", NULL
2429 };
2430
2431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail;
2432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2434 {
2435 PyThreadState* __tstate = wxPyBeginAllowThreads();
2436 result = (bool)((wxSize const *)arg1)->IsFullySpecified();
2437
2438 wxPyEndAllowThreads(__tstate);
2439 if (PyErr_Occurred()) SWIG_fail;
2440 }
2441 {
2442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2443 }
2444 return resultobj;
2445 fail:
2446 return NULL;
2447}
2448
2449
2450static PyObject *_wrap_Size_SetDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
2451 PyObject *resultobj;
2452 wxSize *arg1 = (wxSize *) 0 ;
2453 wxSize *arg2 = 0 ;
2454 wxSize temp2 ;
2455 PyObject * obj0 = 0 ;
2456 PyObject * obj1 = 0 ;
2457 char *kwnames[] = {
2458 (char *) "self",(char *) "size", NULL
2459 };
2460
2461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail;
2462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2464 {
2465 arg2 = &temp2;
2466 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2467 }
2468 {
2469 PyThreadState* __tstate = wxPyBeginAllowThreads();
2470 (arg1)->SetDefaults((wxSize const &)*arg2);
2471
2472 wxPyEndAllowThreads(__tstate);
2473 if (PyErr_Occurred()) SWIG_fail;
2474 }
2475 Py_INCREF(Py_None); resultobj = Py_None;
2476 return resultobj;
2477 fail:
2478 return NULL;
2479}
2480
2481
e811c8ce 2482static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2483 PyObject *resultobj;
2484 wxSize *arg1 = (wxSize *) 0 ;
2485 PyObject *result;
2486 PyObject * obj0 = 0 ;
2487 char *kwnames[] = {
2488 (char *) "self", NULL
2489 };
2490
e811c8ce 2491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2494 {
2495 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2496 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
2497
2498 wxPyEndAllowThreads(__tstate);
2499 if (PyErr_Occurred()) SWIG_fail;
2500 }
2501 resultobj = result;
2502 return resultobj;
2503 fail:
2504 return NULL;
2505}
2506
2507
2508static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
2509 PyObject *obj;
2510 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2511 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2512 Py_INCREF(obj);
2513 return Py_BuildValue((char *)"");
2514}
2515static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2516 PyObject *resultobj;
2517 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2518 double arg2 ;
2519 PyObject * obj0 = 0 ;
994141e6 2520 PyObject * obj1 = 0 ;
d14a1e28
RD
2521 char *kwnames[] = {
2522 (char *) "self",(char *) "x", NULL
2523 };
2524
994141e6 2525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2528 arg2 = (double) SWIG_AsDouble(obj1);
2529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2530 if (arg1) (arg1)->x = arg2;
2531
2532 Py_INCREF(Py_None); resultobj = Py_None;
2533 return resultobj;
2534 fail:
2535 return NULL;
2536}
2537
2538
2539static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2540 PyObject *resultobj;
2541 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2542 double result;
2543 PyObject * obj0 = 0 ;
2544 char *kwnames[] = {
2545 (char *) "self", NULL
2546 };
2547
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2551 result = (double) ((arg1)->x);
2552
15afbcd0 2553 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2554 return resultobj;
2555 fail:
2556 return NULL;
2557}
2558
2559
2560static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2561 PyObject *resultobj;
2562 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2563 double arg2 ;
2564 PyObject * obj0 = 0 ;
994141e6 2565 PyObject * obj1 = 0 ;
d14a1e28
RD
2566 char *kwnames[] = {
2567 (char *) "self",(char *) "y", NULL
2568 };
2569
994141e6 2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2573 arg2 = (double) SWIG_AsDouble(obj1);
2574 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2575 if (arg1) (arg1)->y = arg2;
2576
2577 Py_INCREF(Py_None); resultobj = Py_None;
2578 return resultobj;
2579 fail:
2580 return NULL;
2581}
2582
2583
2584static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2585 PyObject *resultobj;
2586 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2587 double result;
2588 PyObject * obj0 = 0 ;
2589 char *kwnames[] = {
2590 (char *) "self", NULL
2591 };
2592
2593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2596 result = (double) ((arg1)->y);
2597
15afbcd0 2598 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2599 return resultobj;
2600 fail:
2601 return NULL;
2602}
2603
2604
2605static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2606 PyObject *resultobj;
2607 double arg1 = (double) 0.0 ;
2608 double arg2 = (double) 0.0 ;
2609 wxRealPoint *result;
994141e6
RD
2610 PyObject * obj0 = 0 ;
2611 PyObject * obj1 = 0 ;
d14a1e28
RD
2612 char *kwnames[] = {
2613 (char *) "x",(char *) "y", NULL
2614 };
2615
994141e6
RD
2616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2617 if (obj0) {
15afbcd0
RD
2618 arg1 = (double) SWIG_AsDouble(obj0);
2619 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2620 }
2621 if (obj1) {
15afbcd0
RD
2622 arg2 = (double) SWIG_AsDouble(obj1);
2623 if (PyErr_Occurred()) SWIG_fail;
994141e6 2624 }
d14a1e28
RD
2625 {
2626 PyThreadState* __tstate = wxPyBeginAllowThreads();
2627 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2628
2629 wxPyEndAllowThreads(__tstate);
2630 if (PyErr_Occurred()) SWIG_fail;
2631 }
15afbcd0 2632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
d14a1e28
RD
2633 return resultobj;
2634 fail:
2635 return NULL;
2636}
2637
2638
2639static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2640 PyObject *resultobj;
2641 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2642 PyObject * obj0 = 0 ;
2643 char *kwnames[] = {
2644 (char *) "self", NULL
2645 };
2646
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
2648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2650 {
2651 PyThreadState* __tstate = wxPyBeginAllowThreads();
2652 delete arg1;
2653
2654 wxPyEndAllowThreads(__tstate);
2655 if (PyErr_Occurred()) SWIG_fail;
2656 }
2657 Py_INCREF(Py_None); resultobj = Py_None;
2658 return resultobj;
2659 fail:
2660 return NULL;
2661}
2662
2663
e811c8ce 2664static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2665 PyObject *resultobj;
2666 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2667 wxRealPoint *arg2 = 0 ;
e811c8ce 2668 bool result;
d14a1e28
RD
2669 wxRealPoint temp2 ;
2670 PyObject * obj0 = 0 ;
2671 PyObject * obj1 = 0 ;
2672 char *kwnames[] = {
2673 (char *) "self",(char *) "pt", NULL
2674 };
2675
e811c8ce 2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2679 {
2680 arg2 = &temp2;
2681 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2682 }
2683 {
2684 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2685 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
2686
2687 wxPyEndAllowThreads(__tstate);
2688 if (PyErr_Occurred()) SWIG_fail;
2689 }
4f89f6a3
RD
2690 {
2691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2692 }
d14a1e28
RD
2693 return resultobj;
2694 fail:
2695 return NULL;
2696}
2697
2698
e811c8ce 2699static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2700 PyObject *resultobj;
2701 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2702 wxRealPoint *arg2 = 0 ;
e811c8ce 2703 bool result;
d14a1e28
RD
2704 wxRealPoint temp2 ;
2705 PyObject * obj0 = 0 ;
2706 PyObject * obj1 = 0 ;
2707 char *kwnames[] = {
2708 (char *) "self",(char *) "pt", NULL
2709 };
2710
e811c8ce 2711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2714 {
2715 arg2 = &temp2;
2716 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2717 }
2718 {
2719 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2720 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
2721
2722 wxPyEndAllowThreads(__tstate);
2723 if (PyErr_Occurred()) SWIG_fail;
2724 }
4f89f6a3
RD
2725 {
2726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2727 }
d14a1e28
RD
2728 return resultobj;
2729 fail:
2730 return NULL;
2731}
2732
2733
e811c8ce 2734static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2735 PyObject *resultobj;
2736 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2737 wxRealPoint *arg2 = 0 ;
e811c8ce 2738 wxRealPoint result;
d14a1e28
RD
2739 wxRealPoint temp2 ;
2740 PyObject * obj0 = 0 ;
2741 PyObject * obj1 = 0 ;
2742 char *kwnames[] = {
2743 (char *) "self",(char *) "pt", NULL
2744 };
2745
e811c8ce 2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2749 {
2750 arg2 = &temp2;
2751 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2752 }
2753 {
2754 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2755 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
2756
2757 wxPyEndAllowThreads(__tstate);
2758 if (PyErr_Occurred()) SWIG_fail;
2759 }
e811c8ce
RD
2760 {
2761 wxRealPoint * resultptr;
2762 resultptr = new wxRealPoint((wxRealPoint &) result);
15afbcd0 2763 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 2764 }
d14a1e28
RD
2765 return resultobj;
2766 fail:
2767 return NULL;
2768}
2769
2770
e811c8ce 2771static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2772 PyObject *resultobj;
2773 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2774 wxRealPoint *arg2 = 0 ;
e811c8ce 2775 wxRealPoint result;
d14a1e28
RD
2776 wxRealPoint temp2 ;
2777 PyObject * obj0 = 0 ;
2778 PyObject * obj1 = 0 ;
2779 char *kwnames[] = {
2780 (char *) "self",(char *) "pt", NULL
2781 };
2782
e811c8ce 2783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2786 {
2787 arg2 = &temp2;
2788 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2789 }
2790 {
2791 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2792 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
2793
2794 wxPyEndAllowThreads(__tstate);
2795 if (PyErr_Occurred()) SWIG_fail;
2796 }
e811c8ce
RD
2797 {
2798 wxRealPoint * resultptr;
2799 resultptr = new wxRealPoint((wxRealPoint &) result);
15afbcd0 2800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 2801 }
d14a1e28
RD
2802 return resultobj;
2803 fail:
2804 return NULL;
2805}
2806
2807
2808static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2809 PyObject *resultobj;
2810 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2811 double arg2 ;
2812 double arg3 ;
2813 PyObject * obj0 = 0 ;
994141e6
RD
2814 PyObject * obj1 = 0 ;
2815 PyObject * obj2 = 0 ;
d14a1e28
RD
2816 char *kwnames[] = {
2817 (char *) "self",(char *) "x",(char *) "y", NULL
2818 };
2819
994141e6 2820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2823 arg2 = (double) SWIG_AsDouble(obj1);
2824 if (PyErr_Occurred()) SWIG_fail;
2825 arg3 = (double) SWIG_AsDouble(obj2);
2826 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2827 {
2828 PyThreadState* __tstate = wxPyBeginAllowThreads();
2829 wxRealPoint_Set(arg1,arg2,arg3);
2830
2831 wxPyEndAllowThreads(__tstate);
2832 if (PyErr_Occurred()) SWIG_fail;
2833 }
2834 Py_INCREF(Py_None); resultobj = Py_None;
2835 return resultobj;
2836 fail:
2837 return NULL;
2838}
2839
2840
e811c8ce 2841static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2842 PyObject *resultobj;
2843 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2844 PyObject *result;
2845 PyObject * obj0 = 0 ;
2846 char *kwnames[] = {
2847 (char *) "self", NULL
2848 };
2849
e811c8ce 2850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2853 {
2854 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2855 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
2856
2857 wxPyEndAllowThreads(__tstate);
2858 if (PyErr_Occurred()) SWIG_fail;
2859 }
2860 resultobj = result;
2861 return resultobj;
2862 fail:
2863 return NULL;
2864}
2865
2866
2867static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2868 PyObject *obj;
2869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2870 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2871 Py_INCREF(obj);
2872 return Py_BuildValue((char *)"");
2873}
2874static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2875 PyObject *resultobj;
2876 wxPoint *arg1 = (wxPoint *) 0 ;
2877 int arg2 ;
2878 PyObject * obj0 = 0 ;
994141e6 2879 PyObject * obj1 = 0 ;
d14a1e28
RD
2880 char *kwnames[] = {
2881 (char *) "self",(char *) "x", NULL
2882 };
2883
994141e6 2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2887 arg2 = (int) SWIG_AsInt(obj1);
2888 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2889 if (arg1) (arg1)->x = arg2;
2890
2891 Py_INCREF(Py_None); resultobj = Py_None;
2892 return resultobj;
2893 fail:
2894 return NULL;
2895}
2896
2897
2898static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj;
2900 wxPoint *arg1 = (wxPoint *) 0 ;
2901 int result;
2902 PyObject * obj0 = 0 ;
2903 char *kwnames[] = {
2904 (char *) "self", NULL
2905 };
2906
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2910 result = (int) ((arg1)->x);
2911
15afbcd0 2912 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2913 return resultobj;
2914 fail:
2915 return NULL;
2916}
2917
2918
2919static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2920 PyObject *resultobj;
2921 wxPoint *arg1 = (wxPoint *) 0 ;
2922 int arg2 ;
2923 PyObject * obj0 = 0 ;
994141e6 2924 PyObject * obj1 = 0 ;
d14a1e28
RD
2925 char *kwnames[] = {
2926 (char *) "self",(char *) "y", NULL
2927 };
2928
994141e6 2929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2932 arg2 = (int) SWIG_AsInt(obj1);
2933 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2934 if (arg1) (arg1)->y = arg2;
2935
2936 Py_INCREF(Py_None); resultobj = Py_None;
2937 return resultobj;
2938 fail:
2939 return NULL;
2940}
2941
2942
2943static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2944 PyObject *resultobj;
2945 wxPoint *arg1 = (wxPoint *) 0 ;
2946 int result;
2947 PyObject * obj0 = 0 ;
2948 char *kwnames[] = {
2949 (char *) "self", NULL
2950 };
2951
2952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2955 result = (int) ((arg1)->y);
2956
15afbcd0 2957 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2958 return resultobj;
2959 fail:
2960 return NULL;
2961}
2962
2963
2964static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2965 PyObject *resultobj;
2966 int arg1 = (int) 0 ;
2967 int arg2 = (int) 0 ;
2968 wxPoint *result;
994141e6
RD
2969 PyObject * obj0 = 0 ;
2970 PyObject * obj1 = 0 ;
d14a1e28
RD
2971 char *kwnames[] = {
2972 (char *) "x",(char *) "y", NULL
2973 };
2974
994141e6
RD
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2976 if (obj0) {
15afbcd0
RD
2977 arg1 = (int) SWIG_AsInt(obj0);
2978 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2979 }
2980 if (obj1) {
15afbcd0
RD
2981 arg2 = (int) SWIG_AsInt(obj1);
2982 if (PyErr_Occurred()) SWIG_fail;
994141e6 2983 }
d14a1e28
RD
2984 {
2985 PyThreadState* __tstate = wxPyBeginAllowThreads();
2986 result = (wxPoint *)new wxPoint(arg1,arg2);
2987
2988 wxPyEndAllowThreads(__tstate);
2989 if (PyErr_Occurred()) SWIG_fail;
2990 }
15afbcd0 2991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2992 return resultobj;
2993 fail:
2994 return NULL;
2995}
2996
2997
2998static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2999 PyObject *resultobj;
3000 wxPoint *arg1 = (wxPoint *) 0 ;
3001 PyObject * obj0 = 0 ;
3002 char *kwnames[] = {
3003 (char *) "self", NULL
3004 };
3005
3006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
15afbcd0
RD
3007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3009 {
3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
3011 delete arg1;
3012
3013 wxPyEndAllowThreads(__tstate);
3014 if (PyErr_Occurred()) SWIG_fail;
3015 }
3016 Py_INCREF(Py_None); resultobj = Py_None;
3017 return resultobj;
3018 fail:
3019 return NULL;
3020}
3021
3022
3023static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3024 PyObject *resultobj;
3025 wxPoint *arg1 = (wxPoint *) 0 ;
3026 wxPoint *arg2 = 0 ;
3027 bool result;
3028 wxPoint temp2 ;
3029 PyObject * obj0 = 0 ;
3030 PyObject * obj1 = 0 ;
3031 char *kwnames[] = {
e811c8ce 3032 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3033 };
3034
3035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3038 {
3039 arg2 = &temp2;
3040 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3041 }
3042 {
3043 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3044 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
3045
3046 wxPyEndAllowThreads(__tstate);
3047 if (PyErr_Occurred()) SWIG_fail;
3048 }
4f89f6a3
RD
3049 {
3050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3051 }
d14a1e28
RD
3052 return resultobj;
3053 fail:
3054 return NULL;
3055}
3056
3057
3058static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3059 PyObject *resultobj;
3060 wxPoint *arg1 = (wxPoint *) 0 ;
3061 wxPoint *arg2 = 0 ;
3062 bool result;
3063 wxPoint temp2 ;
3064 PyObject * obj0 = 0 ;
3065 PyObject * obj1 = 0 ;
3066 char *kwnames[] = {
e811c8ce 3067 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3068 };
3069
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3073 {
3074 arg2 = &temp2;
3075 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3076 }
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3079 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 }
4f89f6a3
RD
3084 {
3085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3086 }
d14a1e28
RD
3087 return resultobj;
3088 fail:
3089 return NULL;
3090}
3091
3092
3093static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3094 PyObject *resultobj;
3095 wxPoint *arg1 = (wxPoint *) 0 ;
3096 wxPoint *arg2 = 0 ;
3097 wxPoint result;
3098 wxPoint temp2 ;
3099 PyObject * obj0 = 0 ;
3100 PyObject * obj1 = 0 ;
3101 char *kwnames[] = {
e811c8ce 3102 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3103 };
3104
3105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3108 {
3109 arg2 = &temp2;
3110 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3111 }
3112 {
3113 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3114 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
3115
3116 wxPyEndAllowThreads(__tstate);
3117 if (PyErr_Occurred()) SWIG_fail;
3118 }
3119 {
3120 wxPoint * resultptr;
3121 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3122 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3123 }
3124 return resultobj;
3125 fail:
3126 return NULL;
3127}
3128
3129
3130static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3131 PyObject *resultobj;
3132 wxPoint *arg1 = (wxPoint *) 0 ;
3133 wxPoint *arg2 = 0 ;
3134 wxPoint result;
3135 wxPoint temp2 ;
3136 PyObject * obj0 = 0 ;
3137 PyObject * obj1 = 0 ;
3138 char *kwnames[] = {
e811c8ce 3139 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3140 };
3141
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3145 {
3146 arg2 = &temp2;
3147 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3148 }
3149 {
3150 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3151 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
3152
3153 wxPyEndAllowThreads(__tstate);
3154 if (PyErr_Occurred()) SWIG_fail;
3155 }
3156 {
3157 wxPoint * resultptr;
3158 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3160 }
3161 return resultobj;
3162 fail:
3163 return NULL;
3164}
3165
3166
3167static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3168 PyObject *resultobj;
3169 wxPoint *arg1 = (wxPoint *) 0 ;
3170 wxPoint *arg2 = 0 ;
3171 wxPoint *result;
3172 wxPoint temp2 ;
3173 PyObject * obj0 = 0 ;
3174 PyObject * obj1 = 0 ;
3175 char *kwnames[] = {
e811c8ce 3176 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3177 };
3178
3179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3182 {
3183 arg2 = &temp2;
3184 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3185 }
3186 {
3187 PyThreadState* __tstate = wxPyBeginAllowThreads();
3188 {
3189 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3190 result = (wxPoint *) &_result_ref;
3191 }
3192
3193 wxPyEndAllowThreads(__tstate);
3194 if (PyErr_Occurred()) SWIG_fail;
3195 }
15afbcd0 3196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3197 return resultobj;
3198 fail:
3199 return NULL;
3200}
3201
3202
3203static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3204 PyObject *resultobj;
3205 wxPoint *arg1 = (wxPoint *) 0 ;
3206 wxPoint *arg2 = 0 ;
3207 wxPoint *result;
3208 wxPoint temp2 ;
3209 PyObject * obj0 = 0 ;
3210 PyObject * obj1 = 0 ;
3211 char *kwnames[] = {
e811c8ce 3212 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3213 };
3214
3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3218 {
3219 arg2 = &temp2;
3220 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3221 }
3222 {
3223 PyThreadState* __tstate = wxPyBeginAllowThreads();
3224 {
3225 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3226 result = (wxPoint *) &_result_ref;
3227 }
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
15afbcd0 3232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3233 return resultobj;
3234 fail:
3235 return NULL;
3236}
3237
3238
3239static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3240 PyObject *resultobj;
3241 wxPoint *arg1 = (wxPoint *) 0 ;
3242 long arg2 ;
3243 long arg3 ;
3244 PyObject * obj0 = 0 ;
994141e6
RD
3245 PyObject * obj1 = 0 ;
3246 PyObject * obj2 = 0 ;
d14a1e28
RD
3247 char *kwnames[] = {
3248 (char *) "self",(char *) "x",(char *) "y", NULL
3249 };
3250
994141e6 3251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3254 arg2 = (long) SWIG_AsLong(obj1);
3255 if (PyErr_Occurred()) SWIG_fail;
3256 arg3 = (long) SWIG_AsLong(obj2);
3257 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3258 {
3259 PyThreadState* __tstate = wxPyBeginAllowThreads();
3260 wxPoint_Set(arg1,arg2,arg3);
3261
3262 wxPyEndAllowThreads(__tstate);
3263 if (PyErr_Occurred()) SWIG_fail;
3264 }
3265 Py_INCREF(Py_None); resultobj = Py_None;
3266 return resultobj;
3267 fail:
3268 return NULL;
3269}
3270
3271
e811c8ce 3272static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3273 PyObject *resultobj;
3274 wxPoint *arg1 = (wxPoint *) 0 ;
3275 PyObject *result;
3276 PyObject * obj0 = 0 ;
3277 char *kwnames[] = {
3278 (char *) "self", NULL
3279 };
3280
e811c8ce 3281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
3282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3284 {
3285 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3286 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
3287
3288 wxPyEndAllowThreads(__tstate);
3289 if (PyErr_Occurred()) SWIG_fail;
3290 }
3291 resultobj = result;
3292 return resultobj;
3293 fail:
3294 return NULL;
3295}
3296
3297
3298static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
3299 PyObject *obj;
3300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3301 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3302 Py_INCREF(obj);
3303 return Py_BuildValue((char *)"");
3304}
3305static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj;
3307 int arg1 = (int) 0 ;
3308 int arg2 = (int) 0 ;
3309 int arg3 = (int) 0 ;
3310 int arg4 = (int) 0 ;
3311 wxRect *result;
994141e6
RD
3312 PyObject * obj0 = 0 ;
3313 PyObject * obj1 = 0 ;
3314 PyObject * obj2 = 0 ;
3315 PyObject * obj3 = 0 ;
d14a1e28
RD
3316 char *kwnames[] = {
3317 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3318 };
3319
994141e6
RD
3320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3321 if (obj0) {
15afbcd0
RD
3322 arg1 = (int) SWIG_AsInt(obj0);
3323 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3324 }
3325 if (obj1) {
15afbcd0
RD
3326 arg2 = (int) SWIG_AsInt(obj1);
3327 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3328 }
3329 if (obj2) {
15afbcd0
RD
3330 arg3 = (int) SWIG_AsInt(obj2);
3331 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3332 }
3333 if (obj3) {
15afbcd0
RD
3334 arg4 = (int) SWIG_AsInt(obj3);
3335 if (PyErr_Occurred()) SWIG_fail;
994141e6 3336 }
d14a1e28
RD
3337 {
3338 PyThreadState* __tstate = wxPyBeginAllowThreads();
3339 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3340
3341 wxPyEndAllowThreads(__tstate);
3342 if (PyErr_Occurred()) SWIG_fail;
3343 }
15afbcd0 3344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3345 return resultobj;
3346 fail:
3347 return NULL;
3348}
3349
3350
3351static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
3352 PyObject *resultobj;
3353 wxPoint *arg1 = 0 ;
3354 wxPoint *arg2 = 0 ;
3355 wxRect *result;
3356 wxPoint temp1 ;
3357 wxPoint temp2 ;
3358 PyObject * obj0 = 0 ;
3359 PyObject * obj1 = 0 ;
3360 char *kwnames[] = {
3361 (char *) "topLeft",(char *) "bottomRight", NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3365 {
3366 arg1 = &temp1;
3367 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3368 }
3369 {
3370 arg2 = &temp2;
3371 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3372 }
3373 {
3374 PyThreadState* __tstate = wxPyBeginAllowThreads();
3375 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3376
3377 wxPyEndAllowThreads(__tstate);
3378 if (PyErr_Occurred()) SWIG_fail;
3379 }
15afbcd0 3380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3381 return resultobj;
3382 fail:
3383 return NULL;
3384}
3385
3386
3387static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
3388 PyObject *resultobj;
3389 wxPoint *arg1 = 0 ;
3390 wxSize *arg2 = 0 ;
3391 wxRect *result;
3392 wxPoint temp1 ;
3393 wxSize temp2 ;
3394 PyObject * obj0 = 0 ;
3395 PyObject * obj1 = 0 ;
3396 char *kwnames[] = {
3397 (char *) "pos",(char *) "size", NULL
3398 };
3399
3400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3401 {
3402 arg1 = &temp1;
3403 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3404 }
3405 {
3406 arg2 = &temp2;
3407 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3408 }
3409 {
3410 PyThreadState* __tstate = wxPyBeginAllowThreads();
3411 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3412
3413 wxPyEndAllowThreads(__tstate);
3414 if (PyErr_Occurred()) SWIG_fail;
3415 }
15afbcd0 3416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3417 return resultobj;
3418 fail:
3419 return NULL;
3420}
3421
3422
3423static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3424 PyObject *resultobj;
3425 wxRect *arg1 = (wxRect *) 0 ;
3426 PyObject * obj0 = 0 ;
3427 char *kwnames[] = {
3428 (char *) "self", NULL
3429 };
3430
3431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
15afbcd0
RD
3432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3434 {
3435 PyThreadState* __tstate = wxPyBeginAllowThreads();
3436 delete arg1;
3437
3438 wxPyEndAllowThreads(__tstate);
3439 if (PyErr_Occurred()) SWIG_fail;
3440 }
3441 Py_INCREF(Py_None); resultobj = Py_None;
3442 return resultobj;
3443 fail:
3444 return NULL;
3445}
3446
3447
3448static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3449 PyObject *resultobj;
3450 wxRect *arg1 = (wxRect *) 0 ;
3451 int result;
3452 PyObject * obj0 = 0 ;
3453 char *kwnames[] = {
3454 (char *) "self", NULL
3455 };
3456
3457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
3458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3460 {
3461 PyThreadState* __tstate = wxPyBeginAllowThreads();
3462 result = (int)((wxRect const *)arg1)->GetX();
3463
3464 wxPyEndAllowThreads(__tstate);
3465 if (PyErr_Occurred()) SWIG_fail;
3466 }
15afbcd0 3467 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3468 return resultobj;
3469 fail:
3470 return NULL;
3471}
3472
3473
3474static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3475 PyObject *resultobj;
3476 wxRect *arg1 = (wxRect *) 0 ;
3477 int arg2 ;
3478 PyObject * obj0 = 0 ;
994141e6 3479 PyObject * obj1 = 0 ;
d14a1e28
RD
3480 char *kwnames[] = {
3481 (char *) "self",(char *) "x", NULL
3482 };
3483
994141e6 3484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3487 arg2 = (int) SWIG_AsInt(obj1);
3488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3489 {
3490 PyThreadState* __tstate = wxPyBeginAllowThreads();
3491 (arg1)->SetX(arg2);
3492
3493 wxPyEndAllowThreads(__tstate);
3494 if (PyErr_Occurred()) SWIG_fail;
3495 }
3496 Py_INCREF(Py_None); resultobj = Py_None;
3497 return resultobj;
3498 fail:
3499 return NULL;
3500}
3501
3502
3503static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3504 PyObject *resultobj;
3505 wxRect *arg1 = (wxRect *) 0 ;
3506 int result;
3507 PyObject * obj0 = 0 ;
3508 char *kwnames[] = {
3509 (char *) "self", NULL
3510 };
3511
3512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
3513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3515 {
3516 PyThreadState* __tstate = wxPyBeginAllowThreads();
3517 result = (int)(arg1)->GetY();
3518
3519 wxPyEndAllowThreads(__tstate);
3520 if (PyErr_Occurred()) SWIG_fail;
3521 }
15afbcd0 3522 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3523 return resultobj;
3524 fail:
3525 return NULL;
3526}
3527
3528
3529static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3530 PyObject *resultobj;
3531 wxRect *arg1 = (wxRect *) 0 ;
3532 int arg2 ;
3533 PyObject * obj0 = 0 ;
994141e6 3534 PyObject * obj1 = 0 ;
d14a1e28
RD
3535 char *kwnames[] = {
3536 (char *) "self",(char *) "y", NULL
3537 };
3538
994141e6 3539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3542 arg2 = (int) SWIG_AsInt(obj1);
3543 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3544 {
3545 PyThreadState* __tstate = wxPyBeginAllowThreads();
3546 (arg1)->SetY(arg2);
3547
3548 wxPyEndAllowThreads(__tstate);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
3551 Py_INCREF(Py_None); resultobj = Py_None;
3552 return resultobj;
3553 fail:
3554 return NULL;
3555}
3556
3557
3558static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3559 PyObject *resultobj;
3560 wxRect *arg1 = (wxRect *) 0 ;
3561 int result;
3562 PyObject * obj0 = 0 ;
3563 char *kwnames[] = {
3564 (char *) "self", NULL
3565 };
3566
3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3570 {
3571 PyThreadState* __tstate = wxPyBeginAllowThreads();
3572 result = (int)((wxRect const *)arg1)->GetWidth();
3573
3574 wxPyEndAllowThreads(__tstate);
3575 if (PyErr_Occurred()) SWIG_fail;
3576 }
15afbcd0 3577 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3578 return resultobj;
3579 fail:
3580 return NULL;
3581}
3582
3583
3584static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3585 PyObject *resultobj;
3586 wxRect *arg1 = (wxRect *) 0 ;
3587 int arg2 ;
3588 PyObject * obj0 = 0 ;
994141e6 3589 PyObject * obj1 = 0 ;
d14a1e28
RD
3590 char *kwnames[] = {
3591 (char *) "self",(char *) "w", NULL
3592 };
3593
994141e6 3594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3597 arg2 = (int) SWIG_AsInt(obj1);
3598 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 (arg1)->SetWidth(arg2);
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
3606 Py_INCREF(Py_None); resultobj = Py_None;
3607 return resultobj;
3608 fail:
3609 return NULL;
3610}
3611
3612
3613static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3614 PyObject *resultobj;
3615 wxRect *arg1 = (wxRect *) 0 ;
3616 int result;
3617 PyObject * obj0 = 0 ;
3618 char *kwnames[] = {
3619 (char *) "self", NULL
3620 };
3621
3622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3625 {
3626 PyThreadState* __tstate = wxPyBeginAllowThreads();
3627 result = (int)((wxRect const *)arg1)->GetHeight();
3628
3629 wxPyEndAllowThreads(__tstate);
3630 if (PyErr_Occurred()) SWIG_fail;
3631 }
15afbcd0 3632 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3633 return resultobj;
3634 fail:
3635 return NULL;
3636}
3637
3638
3639static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3640 PyObject *resultobj;
3641 wxRect *arg1 = (wxRect *) 0 ;
3642 int arg2 ;
3643 PyObject * obj0 = 0 ;
994141e6 3644 PyObject * obj1 = 0 ;
d14a1e28
RD
3645 char *kwnames[] = {
3646 (char *) "self",(char *) "h", NULL
3647 };
3648
994141e6 3649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3652 arg2 = (int) SWIG_AsInt(obj1);
3653 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3654 {
3655 PyThreadState* __tstate = wxPyBeginAllowThreads();
3656 (arg1)->SetHeight(arg2);
3657
3658 wxPyEndAllowThreads(__tstate);
3659 if (PyErr_Occurred()) SWIG_fail;
3660 }
3661 Py_INCREF(Py_None); resultobj = Py_None;
3662 return resultobj;
3663 fail:
3664 return NULL;
3665}
3666
3667
3668static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3669 PyObject *resultobj;
3670 wxRect *arg1 = (wxRect *) 0 ;
3671 wxPoint result;
3672 PyObject * obj0 = 0 ;
3673 char *kwnames[] = {
3674 (char *) "self", NULL
3675 };
3676
3677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
3678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3680 {
3681 PyThreadState* __tstate = wxPyBeginAllowThreads();
3682 result = ((wxRect const *)arg1)->GetPosition();
3683
3684 wxPyEndAllowThreads(__tstate);
3685 if (PyErr_Occurred()) SWIG_fail;
3686 }
3687 {
3688 wxPoint * resultptr;
3689 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3691 }
3692 return resultobj;
3693 fail:
3694 return NULL;
3695}
3696
3697
3698static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3699 PyObject *resultobj;
3700 wxRect *arg1 = (wxRect *) 0 ;
3701 wxPoint *arg2 = 0 ;
3702 wxPoint temp2 ;
3703 PyObject * obj0 = 0 ;
3704 PyObject * obj1 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self",(char *) "p", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3712 {
3713 arg2 = &temp2;
3714 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3715 }
3716 {
3717 PyThreadState* __tstate = wxPyBeginAllowThreads();
3718 (arg1)->SetPosition((wxPoint const &)*arg2);
3719
3720 wxPyEndAllowThreads(__tstate);
3721 if (PyErr_Occurred()) SWIG_fail;
3722 }
3723 Py_INCREF(Py_None); resultobj = Py_None;
3724 return resultobj;
3725 fail:
3726 return NULL;
3727}
3728
3729
3730static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3731 PyObject *resultobj;
3732 wxRect *arg1 = (wxRect *) 0 ;
3733 wxSize result;
3734 PyObject * obj0 = 0 ;
3735 char *kwnames[] = {
3736 (char *) "self", NULL
3737 };
3738
3739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
3740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3742 {
3743 PyThreadState* __tstate = wxPyBeginAllowThreads();
3744 result = ((wxRect const *)arg1)->GetSize();
3745
3746 wxPyEndAllowThreads(__tstate);
3747 if (PyErr_Occurred()) SWIG_fail;
3748 }
3749 {
3750 wxSize * resultptr;
3751 resultptr = new wxSize((wxSize &) result);
15afbcd0 3752 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3753 }
3754 return resultobj;
3755 fail:
3756 return NULL;
3757}
3758
3759
3760static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3761 PyObject *resultobj;
3762 wxRect *arg1 = (wxRect *) 0 ;
3763 wxSize *arg2 = 0 ;
3764 wxSize temp2 ;
3765 PyObject * obj0 = 0 ;
3766 PyObject * obj1 = 0 ;
3767 char *kwnames[] = {
3768 (char *) "self",(char *) "s", NULL
3769 };
3770
3771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3774 {
3775 arg2 = &temp2;
3776 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3777 }
3778 {
3779 PyThreadState* __tstate = wxPyBeginAllowThreads();
3780 (arg1)->SetSize((wxSize const &)*arg2);
3781
3782 wxPyEndAllowThreads(__tstate);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
3785 Py_INCREF(Py_None); resultobj = Py_None;
3786 return resultobj;
3787 fail:
3788 return NULL;
3789}
3790
3791
c9c7117a
RD
3792static PyObject *_wrap_Rect_GetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3793 PyObject *resultobj;
3794 wxRect *arg1 = (wxRect *) 0 ;
3795 wxPoint result;
3796 PyObject * obj0 = 0 ;
3797 char *kwnames[] = {
3798 (char *) "self", NULL
3799 };
3800
3801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
3802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3804 {
3805 PyThreadState* __tstate = wxPyBeginAllowThreads();
3806 result = ((wxRect const *)arg1)->GetTopLeft();
3807
3808 wxPyEndAllowThreads(__tstate);
3809 if (PyErr_Occurred()) SWIG_fail;
3810 }
3811 {
3812 wxPoint * resultptr;
3813 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3814 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
3815 }
3816 return resultobj;
3817 fail:
3818 return NULL;
3819}
3820
3821
3822static PyObject *_wrap_Rect_SetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3823 PyObject *resultobj;
3824 wxRect *arg1 = (wxRect *) 0 ;
3825 wxPoint *arg2 = 0 ;
3826 wxPoint temp2 ;
3827 PyObject * obj0 = 0 ;
3828 PyObject * obj1 = 0 ;
3829 char *kwnames[] = {
3830 (char *) "self",(char *) "p", NULL
3831 };
3832
3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3836 {
3837 arg2 = &temp2;
3838 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3839 }
3840 {
3841 PyThreadState* __tstate = wxPyBeginAllowThreads();
3842 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3843
3844 wxPyEndAllowThreads(__tstate);
3845 if (PyErr_Occurred()) SWIG_fail;
3846 }
3847 Py_INCREF(Py_None); resultobj = Py_None;
3848 return resultobj;
3849 fail:
3850 return NULL;
3851}
3852
3853
3854static PyObject *_wrap_Rect_GetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3855 PyObject *resultobj;
3856 wxRect *arg1 = (wxRect *) 0 ;
3857 wxPoint result;
3858 PyObject * obj0 = 0 ;
3859 char *kwnames[] = {
3860 (char *) "self", NULL
3861 };
3862
3863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3866 {
3867 PyThreadState* __tstate = wxPyBeginAllowThreads();
3868 result = ((wxRect const *)arg1)->GetBottomRight();
3869
3870 wxPyEndAllowThreads(__tstate);
3871 if (PyErr_Occurred()) SWIG_fail;
3872 }
3873 {
3874 wxPoint * resultptr;
3875 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3876 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
3877 }
3878 return resultobj;
3879 fail:
3880 return NULL;
3881}
3882
3883
3884static PyObject *_wrap_Rect_SetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3885 PyObject *resultobj;
3886 wxRect *arg1 = (wxRect *) 0 ;
3887 wxPoint *arg2 = 0 ;
3888 wxPoint temp2 ;
3889 PyObject * obj0 = 0 ;
3890 PyObject * obj1 = 0 ;
3891 char *kwnames[] = {
3892 (char *) "self",(char *) "p", NULL
3893 };
3894
3895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3898 {
3899 arg2 = &temp2;
3900 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3901 }
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 (arg1)->SetBottomRight((wxPoint const &)*arg2);
3905
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
3909 Py_INCREF(Py_None); resultobj = Py_None;
3910 return resultobj;
3911 fail:
3912 return NULL;
3913}
3914
3915
d14a1e28
RD
3916static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3917 PyObject *resultobj;
3918 wxRect *arg1 = (wxRect *) 0 ;
3919 int result;
3920 PyObject * obj0 = 0 ;
3921 char *kwnames[] = {
3922 (char *) "self", NULL
3923 };
3924
3925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
3926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3928 {
3929 PyThreadState* __tstate = wxPyBeginAllowThreads();
3930 result = (int)((wxRect const *)arg1)->GetLeft();
3931
3932 wxPyEndAllowThreads(__tstate);
3933 if (PyErr_Occurred()) SWIG_fail;
3934 }
15afbcd0 3935 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3936 return resultobj;
3937 fail:
3938 return NULL;
3939}
3940
3941
3942static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3943 PyObject *resultobj;
3944 wxRect *arg1 = (wxRect *) 0 ;
3945 int result;
3946 PyObject * obj0 = 0 ;
3947 char *kwnames[] = {
3948 (char *) "self", NULL
3949 };
3950
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
15afbcd0
RD
3952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3954 {
3955 PyThreadState* __tstate = wxPyBeginAllowThreads();
3956 result = (int)((wxRect const *)arg1)->GetTop();
3957
3958 wxPyEndAllowThreads(__tstate);
3959 if (PyErr_Occurred()) SWIG_fail;
3960 }
15afbcd0 3961 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3962 return resultobj;
3963 fail:
3964 return NULL;
3965}
3966
3967
3968static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3969 PyObject *resultobj;
3970 wxRect *arg1 = (wxRect *) 0 ;
3971 int result;
3972 PyObject * obj0 = 0 ;
3973 char *kwnames[] = {
3974 (char *) "self", NULL
3975 };
3976
3977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
15afbcd0
RD
3978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3980 {
3981 PyThreadState* __tstate = wxPyBeginAllowThreads();
3982 result = (int)((wxRect const *)arg1)->GetBottom();
3983
3984 wxPyEndAllowThreads(__tstate);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
15afbcd0 3987 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3988 return resultobj;
3989 fail:
3990 return NULL;
3991}
3992
3993
3994static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3995 PyObject *resultobj;
3996 wxRect *arg1 = (wxRect *) 0 ;
3997 int result;
3998 PyObject * obj0 = 0 ;
3999 char *kwnames[] = {
4000 (char *) "self", NULL
4001 };
4002
4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
4004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 result = (int)((wxRect const *)arg1)->GetRight();
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
15afbcd0 4013 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4014 return resultobj;
4015 fail:
4016 return NULL;
4017}
4018
4019
4020static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj;
4022 wxRect *arg1 = (wxRect *) 0 ;
4023 int arg2 ;
4024 PyObject * obj0 = 0 ;
994141e6 4025 PyObject * obj1 = 0 ;
d14a1e28
RD
4026 char *kwnames[] = {
4027 (char *) "self",(char *) "left", NULL
4028 };
4029
994141e6 4030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4033 arg2 = (int) SWIG_AsInt(obj1);
4034 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4035 {
4036 PyThreadState* __tstate = wxPyBeginAllowThreads();
4037 (arg1)->SetLeft(arg2);
4038
4039 wxPyEndAllowThreads(__tstate);
4040 if (PyErr_Occurred()) SWIG_fail;
4041 }
4042 Py_INCREF(Py_None); resultobj = Py_None;
4043 return resultobj;
4044 fail:
4045 return NULL;
4046}
4047
4048
4049static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4050 PyObject *resultobj;
4051 wxRect *arg1 = (wxRect *) 0 ;
4052 int arg2 ;
4053 PyObject * obj0 = 0 ;
994141e6 4054 PyObject * obj1 = 0 ;
d14a1e28
RD
4055 char *kwnames[] = {
4056 (char *) "self",(char *) "right", NULL
4057 };
4058
994141e6 4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4062 arg2 = (int) SWIG_AsInt(obj1);
4063 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4064 {
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 (arg1)->SetRight(arg2);
4067
4068 wxPyEndAllowThreads(__tstate);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 }
4071 Py_INCREF(Py_None); resultobj = Py_None;
4072 return resultobj;
4073 fail:
4074 return NULL;
4075}
4076
4077
4078static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
4079 PyObject *resultobj;
4080 wxRect *arg1 = (wxRect *) 0 ;
4081 int arg2 ;
4082 PyObject * obj0 = 0 ;
994141e6 4083 PyObject * obj1 = 0 ;
d14a1e28
RD
4084 char *kwnames[] = {
4085 (char *) "self",(char *) "top", NULL
4086 };
4087
994141e6 4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4091 arg2 = (int) SWIG_AsInt(obj1);
4092 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4093 {
4094 PyThreadState* __tstate = wxPyBeginAllowThreads();
4095 (arg1)->SetTop(arg2);
4096
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 Py_INCREF(Py_None); resultobj = Py_None;
4101 return resultobj;
4102 fail:
4103 return NULL;
4104}
4105
4106
4107static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
4108 PyObject *resultobj;
4109 wxRect *arg1 = (wxRect *) 0 ;
4110 int arg2 ;
4111 PyObject * obj0 = 0 ;
994141e6 4112 PyObject * obj1 = 0 ;
d14a1e28
RD
4113 char *kwnames[] = {
4114 (char *) "self",(char *) "bottom", NULL
4115 };
4116
994141e6 4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4120 arg2 = (int) SWIG_AsInt(obj1);
4121 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 (arg1)->SetBottom(arg2);
4125
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 Py_INCREF(Py_None); resultobj = Py_None;
4130 return resultobj;
4131 fail:
4132 return NULL;
4133}
4134
4135
4136static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4137 PyObject *resultobj;
4138 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4139 int arg2 ;
4140 int arg3 ;
d14a1e28
RD
4141 wxRect *result;
4142 PyObject * obj0 = 0 ;
994141e6
RD
4143 PyObject * obj1 = 0 ;
4144 PyObject * obj2 = 0 ;
d14a1e28
RD
4145 char *kwnames[] = {
4146 (char *) "self",(char *) "dx",(char *) "dy", NULL
4147 };
4148
994141e6 4149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4152 arg2 = (int) SWIG_AsInt(obj1);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 arg3 = (int) SWIG_AsInt(obj2);
4155 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4156 {
4157 PyThreadState* __tstate = wxPyBeginAllowThreads();
4158 {
4159 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
4160 result = (wxRect *) &_result_ref;
4161 }
4162
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
15afbcd0 4166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4167 return resultobj;
4168 fail:
4169 return NULL;
4170}
4171
4172
4173static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4174 PyObject *resultobj;
4175 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4176 int arg2 ;
4177 int arg3 ;
d14a1e28
RD
4178 wxRect *result;
4179 PyObject * obj0 = 0 ;
994141e6
RD
4180 PyObject * obj1 = 0 ;
4181 PyObject * obj2 = 0 ;
d14a1e28
RD
4182 char *kwnames[] = {
4183 (char *) "self",(char *) "dx",(char *) "dy", NULL
4184 };
4185
994141e6 4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4189 arg2 = (int) SWIG_AsInt(obj1);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 arg3 = (int) SWIG_AsInt(obj2);
4192 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4193 {
4194 PyThreadState* __tstate = wxPyBeginAllowThreads();
4195 {
4196 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4197 result = (wxRect *) &_result_ref;
4198 }
4199
4200 wxPyEndAllowThreads(__tstate);
4201 if (PyErr_Occurred()) SWIG_fail;
4202 }
15afbcd0 4203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4204 return resultobj;
4205 fail:
4206 return NULL;
4207}
4208
4209
4210static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4211 PyObject *resultobj;
4212 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4213 int arg2 ;
4214 int arg3 ;
d14a1e28 4215 PyObject * obj0 = 0 ;
994141e6
RD
4216 PyObject * obj1 = 0 ;
4217 PyObject * obj2 = 0 ;
d14a1e28
RD
4218 char *kwnames[] = {
4219 (char *) "self",(char *) "dx",(char *) "dy", NULL
4220 };
4221
994141e6 4222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4225 arg2 = (int) SWIG_AsInt(obj1);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 arg3 = (int) SWIG_AsInt(obj2);
4228 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4229 {
4230 PyThreadState* __tstate = wxPyBeginAllowThreads();
4231 (arg1)->Offset(arg2,arg3);
4232
4233 wxPyEndAllowThreads(__tstate);
4234 if (PyErr_Occurred()) SWIG_fail;
4235 }
4236 Py_INCREF(Py_None); resultobj = Py_None;
4237 return resultobj;
4238 fail:
4239 return NULL;
4240}
4241
4242
4243static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
4244 PyObject *resultobj;
4245 wxRect *arg1 = (wxRect *) 0 ;
4246 wxPoint *arg2 = 0 ;
4247 wxPoint temp2 ;
4248 PyObject * obj0 = 0 ;
4249 PyObject * obj1 = 0 ;
4250 char *kwnames[] = {
4251 (char *) "self",(char *) "pt", NULL
4252 };
4253
4254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4257 {
4258 arg2 = &temp2;
4259 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4260 }
4261 {
4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
4263 (arg1)->Offset((wxPoint const &)*arg2);
4264
4265 wxPyEndAllowThreads(__tstate);
4266 if (PyErr_Occurred()) SWIG_fail;
4267 }
4268 Py_INCREF(Py_None); resultobj = Py_None;
4269 return resultobj;
4270 fail:
4271 return NULL;
4272}
4273
4274
4275static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
4276 PyObject *resultobj;
4277 wxRect *arg1 = (wxRect *) 0 ;
4278 wxRect *arg2 = 0 ;
4279 wxRect *result;
4280 wxRect temp2 ;
4281 PyObject * obj0 = 0 ;
4282 PyObject * obj1 = 0 ;
4283 char *kwnames[] = {
4284 (char *) "self",(char *) "rect", NULL
4285 };
4286
4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4290 {
4291 arg2 = &temp2;
4292 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4293 }
4294 {
4295 PyThreadState* __tstate = wxPyBeginAllowThreads();
4296 {
4297 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4298 result = (wxRect *) &_result_ref;
4299 }
4300
4301 wxPyEndAllowThreads(__tstate);
4302 if (PyErr_Occurred()) SWIG_fail;
4303 }
15afbcd0 4304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4305 return resultobj;
4306 fail:
4307 return NULL;
4308}
4309
4310
4311static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
4312 PyObject *resultobj;
4313 wxRect *arg1 = (wxRect *) 0 ;
4314 wxRect *arg2 = 0 ;
4315 wxRect result;
4316 wxRect temp2 ;
4317 PyObject * obj0 = 0 ;
4318 PyObject * obj1 = 0 ;
4319 char *kwnames[] = {
4320 (char *) "self",(char *) "rect", NULL
4321 };
4322
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4326 {
4327 arg2 = &temp2;
4328 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4329 }
4330 {
4331 PyThreadState* __tstate = wxPyBeginAllowThreads();
4332 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4333
4334 wxPyEndAllowThreads(__tstate);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 }
4337 {
4338 wxRect * resultptr;
4339 resultptr = new wxRect((wxRect &) result);
15afbcd0 4340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4341 }
4342 return resultobj;
4343 fail:
4344 return NULL;
4345}
4346
4347
4348static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4349 PyObject *resultobj;
4350 wxRect *arg1 = (wxRect *) 0 ;
4351 wxRect *arg2 = 0 ;
4352 wxRect *result;
4353 wxRect temp2 ;
4354 PyObject * obj0 = 0 ;
4355 PyObject * obj1 = 0 ;
4356 char *kwnames[] = {
4357 (char *) "self",(char *) "rect", NULL
4358 };
4359
4360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4363 {
4364 arg2 = &temp2;
4365 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4366 }
4367 {
4368 PyThreadState* __tstate = wxPyBeginAllowThreads();
4369 {
4370 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
4371 result = (wxRect *) &_result_ref;
4372 }
4373
4374 wxPyEndAllowThreads(__tstate);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
15afbcd0 4377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4378 return resultobj;
4379 fail:
4380 return NULL;
4381}
4382
4383
4384static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4385 PyObject *resultobj;
4386 wxRect *arg1 = (wxRect *) 0 ;
4387 wxRect *arg2 = 0 ;
4388 bool result;
4389 wxRect temp2 ;
4390 PyObject * obj0 = 0 ;
4391 PyObject * obj1 = 0 ;
4392 char *kwnames[] = {
4393 (char *) "self",(char *) "rect", NULL
4394 };
4395
4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4399 {
4400 arg2 = &temp2;
4401 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4402 }
4403 {
4404 PyThreadState* __tstate = wxPyBeginAllowThreads();
4405 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4406
4407 wxPyEndAllowThreads(__tstate);
4408 if (PyErr_Occurred()) SWIG_fail;
4409 }
4f89f6a3
RD
4410 {
4411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4412 }
d14a1e28
RD
4413 return resultobj;
4414 fail:
4415 return NULL;
4416}
4417
4418
4419static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4420 PyObject *resultobj;
4421 wxRect *arg1 = (wxRect *) 0 ;
4422 wxRect *arg2 = 0 ;
4423 bool result;
4424 wxRect temp2 ;
4425 PyObject * obj0 = 0 ;
4426 PyObject * obj1 = 0 ;
4427 char *kwnames[] = {
4428 (char *) "self",(char *) "rect", NULL
4429 };
4430
4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4434 {
4435 arg2 = &temp2;
4436 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4437 }
4438 {
4439 PyThreadState* __tstate = wxPyBeginAllowThreads();
4440 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4441
4442 wxPyEndAllowThreads(__tstate);
4443 if (PyErr_Occurred()) SWIG_fail;
4444 }
4f89f6a3
RD
4445 {
4446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4447 }
d14a1e28
RD
4448 return resultobj;
4449 fail:
4450 return NULL;
4451}
4452
4453
4454static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4455 PyObject *resultobj;
4456 wxRect *arg1 = (wxRect *) 0 ;
4457 int arg2 ;
4458 int arg3 ;
4459 bool result;
4460 PyObject * obj0 = 0 ;
994141e6
RD
4461 PyObject * obj1 = 0 ;
4462 PyObject * obj2 = 0 ;
d14a1e28
RD
4463 char *kwnames[] = {
4464 (char *) "self",(char *) "x",(char *) "y", NULL
4465 };
4466
994141e6 4467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4470 arg2 = (int) SWIG_AsInt(obj1);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 arg3 = (int) SWIG_AsInt(obj2);
4473 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4477
4478 wxPyEndAllowThreads(__tstate);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 }
4f89f6a3
RD
4481 {
4482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4483 }
d14a1e28
RD
4484 return resultobj;
4485 fail:
4486 return NULL;
4487}
4488
4489
4490static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
4491 PyObject *resultobj;
4492 wxRect *arg1 = (wxRect *) 0 ;
4493 wxPoint *arg2 = 0 ;
4494 bool result;
4495 wxPoint temp2 ;
4496 PyObject * obj0 = 0 ;
4497 PyObject * obj1 = 0 ;
4498 char *kwnames[] = {
4499 (char *) "self",(char *) "pt", NULL
4500 };
4501
4502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4505 {
4506 arg2 = &temp2;
4507 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4508 }
4509 {
4510 PyThreadState* __tstate = wxPyBeginAllowThreads();
4511 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4512
4513 wxPyEndAllowThreads(__tstate);
4514 if (PyErr_Occurred()) SWIG_fail;
4515 }
4f89f6a3
RD
4516 {
4517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4518 }
d14a1e28
RD
4519 return resultobj;
4520 fail:
4521 return NULL;
4522}
4523
4524
4525static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
4526 PyObject *resultobj;
4527 wxRect *arg1 = (wxRect *) 0 ;
4528 wxRect *arg2 = 0 ;
4529 bool result;
4530 wxRect temp2 ;
4531 PyObject * obj0 = 0 ;
4532 PyObject * obj1 = 0 ;
4533 char *kwnames[] = {
4534 (char *) "self",(char *) "rect", NULL
4535 };
4536
4537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4540 {
4541 arg2 = &temp2;
4542 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4543 }
4544 {
4545 PyThreadState* __tstate = wxPyBeginAllowThreads();
4546 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4547
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4f89f6a3
RD
4551 {
4552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4553 }
d14a1e28
RD
4554 return resultobj;
4555 fail:
4556 return NULL;
4557}
4558
4559
4560static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4561 PyObject *resultobj;
4562 wxRect *arg1 = (wxRect *) 0 ;
4563 int arg2 ;
4564 PyObject * obj0 = 0 ;
994141e6 4565 PyObject * obj1 = 0 ;
d14a1e28
RD
4566 char *kwnames[] = {
4567 (char *) "self",(char *) "x", NULL
4568 };
4569
994141e6 4570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4573 arg2 = (int) SWIG_AsInt(obj1);
4574 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4575 if (arg1) (arg1)->x = arg2;
4576
4577 Py_INCREF(Py_None); resultobj = Py_None;
4578 return resultobj;
4579 fail:
4580 return NULL;
4581}
4582
4583
4584static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4585 PyObject *resultobj;
4586 wxRect *arg1 = (wxRect *) 0 ;
4587 int result;
4588 PyObject * obj0 = 0 ;
4589 char *kwnames[] = {
4590 (char *) "self", NULL
4591 };
4592
4593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4596 result = (int) ((arg1)->x);
4597
15afbcd0 4598 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4599 return resultobj;
4600 fail:
4601 return NULL;
4602}
4603
4604
4605static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4606 PyObject *resultobj;
4607 wxRect *arg1 = (wxRect *) 0 ;
4608 int arg2 ;
4609 PyObject * obj0 = 0 ;
994141e6 4610 PyObject * obj1 = 0 ;
d14a1e28
RD
4611 char *kwnames[] = {
4612 (char *) "self",(char *) "y", NULL
4613 };
4614
994141e6 4615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4618 arg2 = (int) SWIG_AsInt(obj1);
4619 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4620 if (arg1) (arg1)->y = arg2;
4621
4622 Py_INCREF(Py_None); resultobj = Py_None;
4623 return resultobj;
4624 fail:
4625 return NULL;
4626}
4627
4628
4629static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4630 PyObject *resultobj;
4631 wxRect *arg1 = (wxRect *) 0 ;
4632 int result;
4633 PyObject * obj0 = 0 ;
4634 char *kwnames[] = {
4635 (char *) "self", NULL
4636 };
4637
4638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4641 result = (int) ((arg1)->y);
4642
15afbcd0 4643 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4644 return resultobj;
4645 fail:
4646 return NULL;
4647}
4648
4649
4650static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4651 PyObject *resultobj;
4652 wxRect *arg1 = (wxRect *) 0 ;
4653 int arg2 ;
4654 PyObject * obj0 = 0 ;
994141e6 4655 PyObject * obj1 = 0 ;
d14a1e28
RD
4656 char *kwnames[] = {
4657 (char *) "self",(char *) "width", NULL
4658 };
4659
994141e6 4660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4663 arg2 = (int) SWIG_AsInt(obj1);
4664 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4665 if (arg1) (arg1)->width = arg2;
4666
4667 Py_INCREF(Py_None); resultobj = Py_None;
4668 return resultobj;
4669 fail:
4670 return NULL;
4671}
4672
4673
4674static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4675 PyObject *resultobj;
4676 wxRect *arg1 = (wxRect *) 0 ;
4677 int result;
4678 PyObject * obj0 = 0 ;
4679 char *kwnames[] = {
4680 (char *) "self", NULL
4681 };
4682
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4686 result = (int) ((arg1)->width);
4687
15afbcd0 4688 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4689 return resultobj;
4690 fail:
4691 return NULL;
4692}
4693
4694
4695static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4696 PyObject *resultobj;
4697 wxRect *arg1 = (wxRect *) 0 ;
4698 int arg2 ;
4699 PyObject * obj0 = 0 ;
994141e6 4700 PyObject * obj1 = 0 ;
d14a1e28
RD
4701 char *kwnames[] = {
4702 (char *) "self",(char *) "height", NULL
4703 };
4704
994141e6 4705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4708 arg2 = (int) SWIG_AsInt(obj1);
4709 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4710 if (arg1) (arg1)->height = arg2;
4711
4712 Py_INCREF(Py_None); resultobj = Py_None;
4713 return resultobj;
4714 fail:
4715 return NULL;
4716}
4717
4718
4719static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj;
4721 wxRect *arg1 = (wxRect *) 0 ;
4722 int result;
4723 PyObject * obj0 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "self", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4731 result = (int) ((arg1)->height);
4732
15afbcd0 4733 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4734 return resultobj;
4735 fail:
4736 return NULL;
4737}
4738
4739
4740static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4741 PyObject *resultobj;
4742 wxRect *arg1 = (wxRect *) 0 ;
4743 int arg2 = (int) 0 ;
4744 int arg3 = (int) 0 ;
4745 int arg4 = (int) 0 ;
4746 int arg5 = (int) 0 ;
4747 PyObject * obj0 = 0 ;
994141e6
RD
4748 PyObject * obj1 = 0 ;
4749 PyObject * obj2 = 0 ;
4750 PyObject * obj3 = 0 ;
4751 PyObject * obj4 = 0 ;
d14a1e28
RD
4752 char *kwnames[] = {
4753 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4754 };
4755
994141e6 4756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
4757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 4759 if (obj1) {
15afbcd0
RD
4760 arg2 = (int) SWIG_AsInt(obj1);
4761 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4762 }
4763 if (obj2) {
15afbcd0
RD
4764 arg3 = (int) SWIG_AsInt(obj2);
4765 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4766 }
4767 if (obj3) {
15afbcd0
RD
4768 arg4 = (int) SWIG_AsInt(obj3);
4769 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4770 }
4771 if (obj4) {
15afbcd0
RD
4772 arg5 = (int) SWIG_AsInt(obj4);
4773 if (PyErr_Occurred()) SWIG_fail;
994141e6 4774 }
d14a1e28
RD
4775 {
4776 PyThreadState* __tstate = wxPyBeginAllowThreads();
4777 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
4778
4779 wxPyEndAllowThreads(__tstate);
4780 if (PyErr_Occurred()) SWIG_fail;
4781 }
4782 Py_INCREF(Py_None); resultobj = Py_None;
4783 return resultobj;
4784 fail:
4785 return NULL;
4786}
4787
4788
e811c8ce 4789static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4790 PyObject *resultobj;
4791 wxRect *arg1 = (wxRect *) 0 ;
4792 PyObject *result;
4793 PyObject * obj0 = 0 ;
4794 char *kwnames[] = {
4795 (char *) "self", NULL
4796 };
4797
e811c8ce 4798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4801 {
4802 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4803 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
4804
4805 wxPyEndAllowThreads(__tstate);
4806 if (PyErr_Occurred()) SWIG_fail;
4807 }
4808 resultobj = result;
4809 return resultobj;
4810 fail:
4811 return NULL;
4812}
4813
4814
4815static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
4816 PyObject *obj;
4817 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4818 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
4819 Py_INCREF(obj);
4820 return Py_BuildValue((char *)"");
4821}
4822static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4823 PyObject *resultobj;
4824 wxRect *arg1 = (wxRect *) 0 ;
4825 wxRect *arg2 = (wxRect *) 0 ;
4826 PyObject *result;
4827 PyObject * obj0 = 0 ;
4828 PyObject * obj1 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "r1",(char *) "r2", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
4837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4838 {
e3b71cb8 4839 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 result = (PyObject *)wxIntersectRect(arg1,arg2);
4842
4843 wxPyEndAllowThreads(__tstate);
110da5b0 4844 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4845 }
4846 resultobj = result;
4847 return resultobj;
4848 fail:
4849 return NULL;
4850}
4851
4852
4853static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 double arg1 = (double) 0.0 ;
4856 double arg2 = (double) 0.0 ;
4857 wxPoint2D *result;
994141e6
RD
4858 PyObject * obj0 = 0 ;
4859 PyObject * obj1 = 0 ;
d14a1e28
RD
4860 char *kwnames[] = {
4861 (char *) "x",(char *) "y", NULL
4862 };
4863
994141e6
RD
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4865 if (obj0) {
15afbcd0
RD
4866 arg1 = (double) SWIG_AsDouble(obj0);
4867 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4868 }
4869 if (obj1) {
15afbcd0
RD
4870 arg2 = (double) SWIG_AsDouble(obj1);
4871 if (PyErr_Occurred()) SWIG_fail;
994141e6 4872 }
d14a1e28
RD
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
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_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
4888 PyObject *resultobj;
4889 wxPoint2D *arg1 = 0 ;
4890 wxPoint2D *result;
4891 wxPoint2D temp1 ;
4892 PyObject * obj0 = 0 ;
4893 char *kwnames[] = {
4894 (char *) "pt", NULL
4895 };
4896
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4898 {
4899 arg1 = &temp1;
4900 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4901 }
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4905
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
15afbcd0 4909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4910 return resultobj;
4911 fail:
4912 return NULL;
4913}
4914
4915
4916static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4917 PyObject *resultobj;
4918 wxPoint *arg1 = 0 ;
4919 wxPoint2D *result;
4920 wxPoint temp1 ;
4921 PyObject * obj0 = 0 ;
4922 char *kwnames[] = {
4923 (char *) "pt", NULL
4924 };
4925
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4927 {
4928 arg1 = &temp1;
4929 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4930 }
4931 {
4932 PyThreadState* __tstate = wxPyBeginAllowThreads();
4933 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4934
4935 wxPyEndAllowThreads(__tstate);
4936 if (PyErr_Occurred()) SWIG_fail;
4937 }
15afbcd0 4938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4939 return resultobj;
4940 fail:
4941 return NULL;
4942}
4943
4944
4945static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
4946 PyObject *resultobj;
4947 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4948 int *arg2 = (int *) 0 ;
4949 int *arg3 = (int *) 0 ;
4950 int temp2 ;
4951 int temp3 ;
4952 PyObject * obj0 = 0 ;
4953 char *kwnames[] = {
4954 (char *) "self", NULL
4955 };
4956
4957 arg2 = &temp2;
4958 arg3 = &temp3;
4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4962 {
4963 PyThreadState* __tstate = wxPyBeginAllowThreads();
4964 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4965
4966 wxPyEndAllowThreads(__tstate);
4967 if (PyErr_Occurred()) SWIG_fail;
4968 }
4969 Py_INCREF(Py_None); resultobj = Py_None;
4970 {
4971 PyObject *o = PyInt_FromLong((long) (*arg2));
4972 resultobj = t_output_helper(resultobj,o);
4973 }
4974 {
4975 PyObject *o = PyInt_FromLong((long) (*arg3));
4976 resultobj = t_output_helper(resultobj,o);
4977 }
4978 return resultobj;
4979 fail:
4980 return NULL;
4981}
4982
4983
4984static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
4985 PyObject *resultobj;
4986 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4987 int *arg2 = (int *) 0 ;
4988 int *arg3 = (int *) 0 ;
4989 int temp2 ;
4990 int temp3 ;
4991 PyObject * obj0 = 0 ;
4992 char *kwnames[] = {
4993 (char *) "self", NULL
4994 };
4995
4996 arg2 = &temp2;
4997 arg3 = &temp3;
4998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
15afbcd0
RD
4999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
5004
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 Py_INCREF(Py_None); resultobj = Py_None;
5009 {
5010 PyObject *o = PyInt_FromLong((long) (*arg2));
5011 resultobj = t_output_helper(resultobj,o);
5012 }
5013 {
5014 PyObject *o = PyInt_FromLong((long) (*arg3));
5015 resultobj = t_output_helper(resultobj,o);
5016 }
5017 return resultobj;
5018 fail:
5019 return NULL;
5020}
5021
5022
5023static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5024 PyObject *resultobj;
5025 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5026 double result;
5027 PyObject * obj0 = 0 ;
5028 char *kwnames[] = {
5029 (char *) "self", NULL
5030 };
5031
5032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
5033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
5038
5039 wxPyEndAllowThreads(__tstate);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
15afbcd0 5042 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5043 return resultobj;
5044 fail:
5045 return NULL;
5046}
5047
5048
5049static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5050 PyObject *resultobj;
5051 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5052 double result;
5053 PyObject * obj0 = 0 ;
5054 char *kwnames[] = {
5055 (char *) "self", NULL
5056 };
5057
5058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
15afbcd0
RD
5059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5061 {
5062 PyThreadState* __tstate = wxPyBeginAllowThreads();
5063 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
5064
5065 wxPyEndAllowThreads(__tstate);
5066 if (PyErr_Occurred()) SWIG_fail;
5067 }
15afbcd0 5068 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5069 return resultobj;
5070 fail:
5071 return NULL;
5072}
5073
5074
5075static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5076 PyObject *resultobj;
5077 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5078 double arg2 ;
5079 PyObject * obj0 = 0 ;
994141e6 5080 PyObject * obj1 = 0 ;
d14a1e28
RD
5081 char *kwnames[] = {
5082 (char *) "self",(char *) "length", NULL
5083 };
5084
994141e6 5085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5088 arg2 = (double) SWIG_AsDouble(obj1);
5089 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 (arg1)->SetVectorLength(arg2);
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 Py_INCREF(Py_None); resultobj = Py_None;
5098 return resultobj;
5099 fail:
5100 return NULL;
5101}
5102
5103
5104static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5105 PyObject *resultobj;
5106 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5107 double arg2 ;
5108 PyObject * obj0 = 0 ;
994141e6 5109 PyObject * obj1 = 0 ;
d14a1e28
RD
5110 char *kwnames[] = {
5111 (char *) "self",(char *) "degrees", NULL
5112 };
5113
994141e6 5114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5117 arg2 = (double) SWIG_AsDouble(obj1);
5118 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5119 {
5120 PyThreadState* __tstate = wxPyBeginAllowThreads();
5121 (arg1)->SetVectorAngle(arg2);
5122
5123 wxPyEndAllowThreads(__tstate);
5124 if (PyErr_Occurred()) SWIG_fail;
5125 }
5126 Py_INCREF(Py_None); resultobj = Py_None;
5127 return resultobj;
5128 fail:
5129 return NULL;
5130}
5131
5132
5133static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
5134 PyObject *resultobj;
5135 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5136 wxPoint2D *arg2 = 0 ;
5137 double result;
5138 wxPoint2D temp2 ;
5139 PyObject * obj0 = 0 ;
5140 PyObject * obj1 = 0 ;
5141 char *kwnames[] = {
5142 (char *) "self",(char *) "pt", NULL
5143 };
5144
5145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5148 {
5149 arg2 = &temp2;
5150 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5151 }
5152 {
5153 PyThreadState* __tstate = wxPyBeginAllowThreads();
5154 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
5155
5156 wxPyEndAllowThreads(__tstate);
5157 if (PyErr_Occurred()) SWIG_fail;
5158 }
15afbcd0 5159 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5160 return resultobj;
5161 fail:
5162 return NULL;
5163}
5164
5165
5166static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
5167 PyObject *resultobj;
5168 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5169 wxPoint2D *arg2 = 0 ;
5170 double result;
5171 wxPoint2D temp2 ;
5172 PyObject * obj0 = 0 ;
5173 PyObject * obj1 = 0 ;
5174 char *kwnames[] = {
5175 (char *) "self",(char *) "pt", NULL
5176 };
5177
5178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5181 {
5182 arg2 = &temp2;
5183 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5184 }
5185 {
5186 PyThreadState* __tstate = wxPyBeginAllowThreads();
5187 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5188
5189 wxPyEndAllowThreads(__tstate);
5190 if (PyErr_Occurred()) SWIG_fail;
5191 }
15afbcd0 5192 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5193 return resultobj;
5194 fail:
5195 return NULL;
5196}
5197
5198
5199static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5200 PyObject *resultobj;
5201 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5202 wxPoint2D *arg2 = 0 ;
5203 double result;
5204 wxPoint2D temp2 ;
5205 PyObject * obj0 = 0 ;
5206 PyObject * obj1 = 0 ;
5207 char *kwnames[] = {
5208 (char *) "self",(char *) "vec", NULL
5209 };
5210
5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5214 {
5215 arg2 = &temp2;
5216 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5217 }
5218 {
5219 PyThreadState* __tstate = wxPyBeginAllowThreads();
5220 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5221
5222 wxPyEndAllowThreads(__tstate);
5223 if (PyErr_Occurred()) SWIG_fail;
5224 }
15afbcd0 5225 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5226 return resultobj;
5227 fail:
5228 return NULL;
5229}
5230
5231
5232static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5233 PyObject *resultobj;
5234 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5235 wxPoint2D *arg2 = 0 ;
5236 double result;
5237 wxPoint2D temp2 ;
5238 PyObject * obj0 = 0 ;
5239 PyObject * obj1 = 0 ;
5240 char *kwnames[] = {
5241 (char *) "self",(char *) "vec", NULL
5242 };
5243
5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5247 {
5248 arg2 = &temp2;
5249 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5250 }
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
15afbcd0 5258 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5259 return resultobj;
5260 fail:
5261 return NULL;
5262}
5263
5264
5265static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
5266 PyObject *resultobj;
5267 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5268 wxPoint2D result;
5269 PyObject * obj0 = 0 ;
5270 char *kwnames[] = {
5271 (char *) "self", NULL
5272 };
5273
5274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
15afbcd0
RD
5275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5277 {
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 result = (arg1)->operator -();
5280
5281 wxPyEndAllowThreads(__tstate);
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
5284 {
5285 wxPoint2D * resultptr;
5286 resultptr = new wxPoint2D((wxPoint2D &) result);
15afbcd0 5287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5288 }
5289 return resultobj;
5290 fail:
5291 return NULL;
5292}
5293
5294
5295static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
5296 PyObject *resultobj;
5297 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5298 wxPoint2D *arg2 = 0 ;
5299 wxPoint2D *result;
5300 wxPoint2D temp2 ;
5301 PyObject * obj0 = 0 ;
5302 PyObject * obj1 = 0 ;
5303 char *kwnames[] = {
5304 (char *) "self",(char *) "pt", NULL
5305 };
5306
5307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5310 {
5311 arg2 = &temp2;
5312 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5313 }
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 {
5317 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5318 result = (wxPoint2D *) &_result_ref;
5319 }
5320
5321 wxPyEndAllowThreads(__tstate);
5322 if (PyErr_Occurred()) SWIG_fail;
5323 }
15afbcd0 5324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5325 return resultobj;
5326 fail:
5327 return NULL;
5328}
5329
5330
5331static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
5332 PyObject *resultobj;
5333 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5334 wxPoint2D *arg2 = 0 ;
5335 wxPoint2D *result;
5336 wxPoint2D temp2 ;
5337 PyObject * obj0 = 0 ;
5338 PyObject * obj1 = 0 ;
5339 char *kwnames[] = {
5340 (char *) "self",(char *) "pt", NULL
5341 };
5342
5343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5346 {
5347 arg2 = &temp2;
5348 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5349 }
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 {
5353 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5354 result = (wxPoint2D *) &_result_ref;
5355 }
5356
5357 wxPyEndAllowThreads(__tstate);
5358 if (PyErr_Occurred()) SWIG_fail;
5359 }
15afbcd0 5360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5361 return resultobj;
5362 fail:
5363 return NULL;
5364}
5365
5366
5367static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
5368 PyObject *resultobj;
5369 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5370 wxPoint2D *arg2 = 0 ;
5371 wxPoint2D *result;
5372 wxPoint2D temp2 ;
5373 PyObject * obj0 = 0 ;
5374 PyObject * obj1 = 0 ;
5375 char *kwnames[] = {
5376 (char *) "self",(char *) "pt", NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5382 {
5383 arg2 = &temp2;
5384 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5385 }
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 {
5389 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5390 result = (wxPoint2D *) &_result_ref;
5391 }
5392
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
15afbcd0 5396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5397 return resultobj;
5398 fail:
5399 return NULL;
5400}
5401
5402
5403static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
5404 PyObject *resultobj;
5405 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5406 wxPoint2D *arg2 = 0 ;
5407 wxPoint2D *result;
5408 wxPoint2D temp2 ;
5409 PyObject * obj0 = 0 ;
5410 PyObject * obj1 = 0 ;
5411 char *kwnames[] = {
5412 (char *) "self",(char *) "pt", NULL
5413 };
5414
5415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5418 {
5419 arg2 = &temp2;
5420 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5421 }
5422 {
5423 PyThreadState* __tstate = wxPyBeginAllowThreads();
5424 {
5425 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5426 result = (wxPoint2D *) &_result_ref;
5427 }
5428
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
15afbcd0 5432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5433 return resultobj;
5434 fail:
5435 return NULL;
5436}
5437
5438
5439static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj;
5441 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5442 wxPoint2D *arg2 = 0 ;
5443 bool result;
5444 wxPoint2D temp2 ;
5445 PyObject * obj0 = 0 ;
5446 PyObject * obj1 = 0 ;
5447 char *kwnames[] = {
5448 (char *) "self",(char *) "pt", NULL
5449 };
5450
5451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5454 {
5455 arg2 = &temp2;
5456 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5457 }
5458 {
5459 PyThreadState* __tstate = wxPyBeginAllowThreads();
5460 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5461
5462 wxPyEndAllowThreads(__tstate);
5463 if (PyErr_Occurred()) SWIG_fail;
5464 }
4f89f6a3
RD
5465 {
5466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5467 }
d14a1e28
RD
5468 return resultobj;
5469 fail:
5470 return NULL;
5471}
5472
5473
5474static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
5475 PyObject *resultobj;
5476 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5477 wxPoint2D *arg2 = 0 ;
5478 bool result;
5479 wxPoint2D temp2 ;
5480 PyObject * obj0 = 0 ;
5481 PyObject * obj1 = 0 ;
5482 char *kwnames[] = {
5483 (char *) "self",(char *) "pt", NULL
5484 };
5485
5486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5489 {
5490 arg2 = &temp2;
5491 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5492 }
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
4f89f6a3
RD
5500 {
5501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5502 }
d14a1e28
RD
5503 return resultobj;
5504 fail:
5505 return NULL;
5506}
5507
5508
d14a1e28
RD
5509static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5510 PyObject *resultobj;
5511 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5512 double arg2 ;
5513 PyObject * obj0 = 0 ;
994141e6 5514 PyObject * obj1 = 0 ;
d14a1e28
RD
5515 char *kwnames[] = {
5516 (char *) "self",(char *) "m_x", NULL
5517 };
5518
994141e6 5519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5522 arg2 = (double) SWIG_AsDouble(obj1);
5523 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5524 if (arg1) (arg1)->m_x = arg2;
5525
5526 Py_INCREF(Py_None); resultobj = Py_None;
5527 return resultobj;
5528 fail:
5529 return NULL;
5530}
5531
5532
5533static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5534 PyObject *resultobj;
5535 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5536 double result;
5537 PyObject * obj0 = 0 ;
5538 char *kwnames[] = {
5539 (char *) "self", NULL
5540 };
5541
5542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5545 result = (double) ((arg1)->m_x);
5546
15afbcd0 5547 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5548 return resultobj;
5549 fail:
5550 return NULL;
5551}
5552
5553
5554static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5555 PyObject *resultobj;
5556 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5557 double arg2 ;
5558 PyObject * obj0 = 0 ;
994141e6 5559 PyObject * obj1 = 0 ;
d14a1e28
RD
5560 char *kwnames[] = {
5561 (char *) "self",(char *) "m_y", NULL
5562 };
5563
994141e6 5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5567 arg2 = (double) SWIG_AsDouble(obj1);
5568 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5569 if (arg1) (arg1)->m_y = arg2;
5570
5571 Py_INCREF(Py_None); resultobj = Py_None;
5572 return resultobj;
5573 fail:
5574 return NULL;
5575}
5576
5577
5578static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5579 PyObject *resultobj;
5580 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5581 double result;
5582 PyObject * obj0 = 0 ;
5583 char *kwnames[] = {
5584 (char *) "self", NULL
5585 };
5586
5587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_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 result = (double) ((arg1)->m_y);
5591
15afbcd0 5592 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5593 return resultobj;
5594 fail:
5595 return NULL;
5596}
5597
5598
5599static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5600 PyObject *resultobj;
5601 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5602 double arg2 = (double) 0 ;
5603 double arg3 = (double) 0 ;
5604 PyObject * obj0 = 0 ;
994141e6
RD
5605 PyObject * obj1 = 0 ;
5606 PyObject * obj2 = 0 ;
d14a1e28
RD
5607 char *kwnames[] = {
5608 (char *) "self",(char *) "x",(char *) "y", NULL
5609 };
5610
994141e6 5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5614 if (obj1) {
15afbcd0
RD
5615 arg2 = (double) SWIG_AsDouble(obj1);
5616 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
5617 }
5618 if (obj2) {
15afbcd0
RD
5619 arg3 = (double) SWIG_AsDouble(obj2);
5620 if (PyErr_Occurred()) SWIG_fail;
994141e6 5621 }
d14a1e28
RD
5622 {
5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5624 wxPoint2D_Set(arg1,arg2,arg3);
5625
5626 wxPyEndAllowThreads(__tstate);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 }
5629 Py_INCREF(Py_None); resultobj = Py_None;
5630 return resultobj;
5631 fail:
5632 return NULL;
5633}
5634
5635
e811c8ce 5636static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5637 PyObject *resultobj;
5638 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5639 PyObject *result;
5640 PyObject * obj0 = 0 ;
5641 char *kwnames[] = {
5642 (char *) "self", NULL
5643 };
5644
e811c8ce 5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5650 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
5651
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 resultobj = result;
5656 return resultobj;
5657 fail:
5658 return NULL;
5659}
5660
5661
5662static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
5663 PyObject *obj;
5664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5665 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5666 Py_INCREF(obj);
5667 return Py_BuildValue((char *)"");
5668}
5669static int _wrap_DefaultPosition_set(PyObject *_val) {
5670 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5671 return 1;
5672}
5673
5674
5675static PyObject *_wrap_DefaultPosition_get() {
5676 PyObject *pyobj;
5677
15afbcd0 5678 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
5679 return pyobj;
5680}
5681
5682
5683static int _wrap_DefaultSize_set(PyObject *_val) {
5684 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5685 return 1;
5686}
5687
5688
5689static PyObject *_wrap_DefaultSize_get() {
5690 PyObject *pyobj;
5691
15afbcd0 5692 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
5693 return pyobj;
5694}
5695
5696
5697static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 PyObject *arg1 = (PyObject *) 0 ;
5700 wxPyInputStream *result;
5701 PyObject * obj0 = 0 ;
5702 char *kwnames[] = {
5703 (char *) "p", NULL
5704 };
5705
5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5707 arg1 = obj0;
5708 {
5709 PyThreadState* __tstate = wxPyBeginAllowThreads();
5710 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5711
5712 wxPyEndAllowThreads(__tstate);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 }
15afbcd0 5715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
d14a1e28
RD
5716 return resultobj;
5717 fail:
5718 return NULL;
5719}
5720
5721
5722static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
5723 PyObject *resultobj;
5724 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5725 PyObject * obj0 = 0 ;
5726 char *kwnames[] = {
5727 (char *) "self", NULL
5728 };
5729
5730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
15afbcd0
RD
5731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 (arg1)->close();
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 Py_INCREF(Py_None); resultobj = Py_None;
5741 return resultobj;
5742 fail:
5743 return NULL;
5744}
5745
5746
5747static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj;
5749 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5750 PyObject * obj0 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
15afbcd0
RD
5756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 (arg1)->flush();
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 Py_INCREF(Py_None); resultobj = Py_None;
5766 return resultobj;
5767 fail:
5768 return NULL;
5769}
5770
5771
5772static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5773 PyObject *resultobj;
5774 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5775 bool result;
5776 PyObject * obj0 = 0 ;
5777 char *kwnames[] = {
5778 (char *) "self", NULL
5779 };
5780
5781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
5782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5784 {
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 result = (bool)(arg1)->eof();
5787
5788 wxPyEndAllowThreads(__tstate);
5789 if (PyErr_Occurred()) SWIG_fail;
5790 }
4f89f6a3
RD
5791 {
5792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5793 }
d14a1e28
RD
5794 return resultobj;
5795 fail:
5796 return NULL;
5797}
5798
5799
5800static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
5801 PyObject *resultobj;
5802 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5803 int arg2 = (int) -1 ;
5804 PyObject *result;
5805 PyObject * obj0 = 0 ;
994141e6 5806 PyObject * obj1 = 0 ;
d14a1e28
RD
5807 char *kwnames[] = {
5808 (char *) "self",(char *) "size", NULL
5809 };
5810
994141e6 5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5814 if (obj1) {
15afbcd0
RD
5815 arg2 = (int) SWIG_AsInt(obj1);
5816 if (PyErr_Occurred()) SWIG_fail;
994141e6 5817 }
d14a1e28
RD
5818 {
5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
5820 result = (PyObject *)(arg1)->read(arg2);
5821
5822 wxPyEndAllowThreads(__tstate);
5823 if (PyErr_Occurred()) SWIG_fail;
5824 }
5825 resultobj = result;
5826 return resultobj;
5827 fail:
5828 return NULL;
5829}
5830
5831
5832static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
5833 PyObject *resultobj;
5834 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5835 int arg2 = (int) -1 ;
5836 PyObject *result;
5837 PyObject * obj0 = 0 ;
994141e6 5838 PyObject * obj1 = 0 ;
d14a1e28
RD
5839 char *kwnames[] = {
5840 (char *) "self",(char *) "size", NULL
5841 };
5842
994141e6 5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5846 if (obj1) {
15afbcd0
RD
5847 arg2 = (int) SWIG_AsInt(obj1);
5848 if (PyErr_Occurred()) SWIG_fail;
994141e6 5849 }
d14a1e28
RD
5850 {
5851 PyThreadState* __tstate = wxPyBeginAllowThreads();
5852 result = (PyObject *)(arg1)->readline(arg2);
5853
5854 wxPyEndAllowThreads(__tstate);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 }
5857 resultobj = result;
5858 return resultobj;
5859 fail:
5860 return NULL;
5861}
5862
5863
5864static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
5865 PyObject *resultobj;
5866 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5867 int arg2 = (int) -1 ;
5868 PyObject *result;
5869 PyObject * obj0 = 0 ;
994141e6 5870 PyObject * obj1 = 0 ;
d14a1e28
RD
5871 char *kwnames[] = {
5872 (char *) "self",(char *) "sizehint", NULL
5873 };
5874
994141e6 5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5878 if (obj1) {
15afbcd0
RD
5879 arg2 = (int) SWIG_AsInt(obj1);
5880 if (PyErr_Occurred()) SWIG_fail;
994141e6 5881 }
d14a1e28
RD
5882 {
5883 PyThreadState* __tstate = wxPyBeginAllowThreads();
5884 result = (PyObject *)(arg1)->readlines(arg2);
5885
5886 wxPyEndAllowThreads(__tstate);
5887 if (PyErr_Occurred()) SWIG_fail;
5888 }
5889 resultobj = result;
5890 return resultobj;
5891 fail:
5892 return NULL;
5893}
5894
5895
5896static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
5897 PyObject *resultobj;
5898 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5899 int arg2 ;
5900 int arg3 = (int) 0 ;
5901 PyObject * obj0 = 0 ;
994141e6
RD
5902 PyObject * obj1 = 0 ;
5903 PyObject * obj2 = 0 ;
d14a1e28
RD
5904 char *kwnames[] = {
5905 (char *) "self",(char *) "offset",(char *) "whence", NULL
5906 };
5907
994141e6 5908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5911 arg2 = (int) SWIG_AsInt(obj1);
5912 if (PyErr_Occurred()) SWIG_fail;
994141e6 5913 if (obj2) {
15afbcd0
RD
5914 arg3 = (int) SWIG_AsInt(obj2);
5915 if (PyErr_Occurred()) SWIG_fail;
994141e6 5916 }
d14a1e28
RD
5917 {
5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
5919 (arg1)->seek(arg2,arg3);
5920
5921 wxPyEndAllowThreads(__tstate);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
5924 Py_INCREF(Py_None); resultobj = Py_None;
5925 return resultobj;
5926 fail:
5927 return NULL;
5928}
5929
5930
5931static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
5932 PyObject *resultobj;
5933 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5934 int result;
5935 PyObject * obj0 = 0 ;
5936 char *kwnames[] = {
5937 (char *) "self", NULL
5938 };
5939
5940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
15afbcd0
RD
5941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5943 {
5944 PyThreadState* __tstate = wxPyBeginAllowThreads();
5945 result = (int)(arg1)->tell();
5946
5947 wxPyEndAllowThreads(__tstate);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
15afbcd0 5950 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5951 return resultobj;
5952 fail:
5953 return NULL;
5954}
5955
5956
5957static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
5958 PyObject *resultobj;
5959 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5960 char result;
5961 PyObject * obj0 = 0 ;
5962 char *kwnames[] = {
5963 (char *) "self", NULL
5964 };
5965
5966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
15afbcd0
RD
5967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 result = (char)(arg1)->Peek();
5972
5973 wxPyEndAllowThreads(__tstate);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
15afbcd0 5976 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5977 return resultobj;
5978 fail:
5979 return NULL;
5980}
5981
5982
5983static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
5984 PyObject *resultobj;
5985 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5986 char result;
5987 PyObject * obj0 = 0 ;
5988 char *kwnames[] = {
5989 (char *) "self", NULL
5990 };
5991
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
15afbcd0
RD
5993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 result = (char)(arg1)->GetC();
5998
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
15afbcd0 6002 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
6003 return resultobj;
6004 fail:
6005 return NULL;
6006}
6007
6008
6009static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
6010 PyObject *resultobj;
6011 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6012 size_t result;
6013 PyObject * obj0 = 0 ;
6014 char *kwnames[] = {
6015 (char *) "self", NULL
6016 };
6017
6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
6019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 result = (size_t)(arg1)->LastRead();
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
15afbcd0 6028 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
6029 return resultobj;
6030 fail:
6031 return NULL;
6032}
6033
6034
6035static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject *resultobj;
6037 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6038 bool result;
6039 PyObject * obj0 = 0 ;
6040 char *kwnames[] = {
6041 (char *) "self", NULL
6042 };
6043
6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
6045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6047 {
6048 PyThreadState* __tstate = wxPyBeginAllowThreads();
6049 result = (bool)(arg1)->CanRead();
6050
6051 wxPyEndAllowThreads(__tstate);
6052 if (PyErr_Occurred()) SWIG_fail;
6053 }
4f89f6a3
RD
6054 {
6055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6056 }
d14a1e28
RD
6057 return resultobj;
6058 fail:
6059 return NULL;
6060}
6061
6062
6063static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
6064 PyObject *resultobj;
6065 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6066 bool result;
6067 PyObject * obj0 = 0 ;
6068 char *kwnames[] = {
6069 (char *) "self", NULL
6070 };
6071
6072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
6073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6075 {
6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6077 result = (bool)(arg1)->Eof();
6078
6079 wxPyEndAllowThreads(__tstate);
6080 if (PyErr_Occurred()) SWIG_fail;
6081 }
4f89f6a3
RD
6082 {
6083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6084 }
d14a1e28
RD
6085 return resultobj;
6086 fail:
6087 return NULL;
6088}
6089
6090
6091static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
6092 PyObject *resultobj;
6093 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6094 char arg2 ;
6095 bool result;
6096 PyObject * obj0 = 0 ;
994141e6 6097 PyObject * obj1 = 0 ;
d14a1e28
RD
6098 char *kwnames[] = {
6099 (char *) "self",(char *) "c", NULL
6100 };
6101
994141e6 6102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6105 arg2 = (char) SWIG_AsChar(obj1);
6106 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6107 {
6108 PyThreadState* __tstate = wxPyBeginAllowThreads();
6109 result = (bool)(arg1)->Ungetch(arg2);
6110
6111 wxPyEndAllowThreads(__tstate);
6112 if (PyErr_Occurred()) SWIG_fail;
6113 }
4f89f6a3
RD
6114 {
6115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6116 }
d14a1e28
RD
6117 return resultobj;
6118 fail:
6119 return NULL;
6120}
6121
6122
6123static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
6124 PyObject *resultobj;
6125 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6126 long arg2 ;
6127 int arg3 = (int) wxFromStart ;
6128 long result;
6129 PyObject * obj0 = 0 ;
994141e6
RD
6130 PyObject * obj1 = 0 ;
6131 PyObject * obj2 = 0 ;
d14a1e28
RD
6132 char *kwnames[] = {
6133 (char *) "self",(char *) "pos",(char *) "mode", NULL
6134 };
6135
994141e6 6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6139 arg2 = (long) SWIG_AsLong(obj1);
6140 if (PyErr_Occurred()) SWIG_fail;
994141e6 6141 if (obj2) {
15afbcd0
RD
6142 arg3 = (wxSeekMode) SWIG_AsInt(obj2);
6143 if (PyErr_Occurred()) SWIG_fail;
994141e6 6144 }
d14a1e28
RD
6145 {
6146 PyThreadState* __tstate = wxPyBeginAllowThreads();
6147 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
6148
6149 wxPyEndAllowThreads(__tstate);
6150 if (PyErr_Occurred()) SWIG_fail;
6151 }
15afbcd0 6152 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
6153 return resultobj;
6154 fail:
6155 return NULL;
6156}
6157
6158
6159static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
6160 PyObject *resultobj;
6161 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6162 long result;
6163 PyObject * obj0 = 0 ;
6164 char *kwnames[] = {
6165 (char *) "self", NULL
6166 };
6167
6168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
15afbcd0
RD
6169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6171 {
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 result = (long)(arg1)->TellI();
6174
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
15afbcd0 6178 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
6179 return resultobj;
6180 fail:
6181 return NULL;
6182}
6183
6184
6185static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
6186 PyObject *obj;
6187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6188 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6189 Py_INCREF(obj);
6190 return Py_BuildValue((char *)"");
6191}
6192static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
6193 PyObject *resultobj;
6194 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6195 PyObject *arg2 = (PyObject *) 0 ;
6196 PyObject * obj0 = 0 ;
6197 PyObject * obj1 = 0 ;
6198 char *kwnames[] = {
6199 (char *) "self",(char *) "obj", NULL
6200 };
6201
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6205 arg2 = obj1;
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 wxOutputStream_write(arg1,arg2);
6209
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 Py_INCREF(Py_None); resultobj = Py_None;
6214 return resultobj;
6215 fail:
6216 return NULL;
6217}
6218
6219
6220static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
6221 PyObject *obj;
6222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6223 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6224 Py_INCREF(obj);
6225 return Py_BuildValue((char *)"");
6226}
6227static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6228 PyObject *resultobj;
6229 wxInputStream *arg1 = (wxInputStream *) 0 ;
6230 wxString *arg2 = 0 ;
6231 wxString *arg3 = 0 ;
6232 wxString *arg4 = 0 ;
6233 wxDateTime arg5 ;
6234 wxFSFile *result;
6235 wxPyInputStream *temp1 ;
6236 bool created1 ;
e811c8ce
RD
6237 bool temp2 = False ;
6238 bool temp3 = False ;
6239 bool temp4 = False ;
d14a1e28
RD
6240 wxDateTime *argp5 ;
6241 PyObject * obj0 = 0 ;
6242 PyObject * obj1 = 0 ;
6243 PyObject * obj2 = 0 ;
6244 PyObject * obj3 = 0 ;
6245 PyObject * obj4 = 0 ;
6246 char *kwnames[] = {
6247 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6248 };
6249
6250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6251 {
6252 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6253 arg1 = temp1->m_wxis;
e811c8ce 6254 created1 = False;
d14a1e28
RD
6255 } else {
6256 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 6257 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
6258 if (arg1 == NULL) {
6259 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6260 SWIG_fail;
6261 }
e811c8ce 6262 created1 = True;
d14a1e28
RD
6263 }
6264 }
6265 {
6266 arg2 = wxString_in_helper(obj1);
6267 if (arg2 == NULL) SWIG_fail;
e811c8ce 6268 temp2 = True;
d14a1e28
RD
6269 }
6270 {
6271 arg3 = wxString_in_helper(obj2);
6272 if (arg3 == NULL) SWIG_fail;
e811c8ce 6273 temp3 = True;
d14a1e28
RD
6274 }
6275 {
6276 arg4 = wxString_in_helper(obj3);
6277 if (arg4 == NULL) SWIG_fail;
e811c8ce 6278 temp4 = True;
d14a1e28 6279 }
15afbcd0
RD
6280 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6281 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6282 arg5 = *argp5;
d14a1e28
RD
6283 {
6284 PyThreadState* __tstate = wxPyBeginAllowThreads();
6285 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6286
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 {
412d302d 6291 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
6292 }
6293 {
6294 if (created1)
6295 delete arg1;
6296 }
6297 {
6298 if (temp2)
6299 delete arg2;
6300 }
6301 {
6302 if (temp3)
6303 delete arg3;
6304 }
6305 {
6306 if (temp4)
6307 delete arg4;
6308 }
6309 return resultobj;
6310 fail:
6311 {
6312 if (created1)
6313 delete arg1;
6314 }
6315 {
6316 if (temp2)
6317 delete arg2;
6318 }
6319 {
6320 if (temp3)
6321 delete arg3;
6322 }
6323 {
6324 if (temp4)
6325 delete arg4;
6326 }
6327 return NULL;
6328}
6329
6330
6331static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6332 PyObject *resultobj;
6333 wxFSFile *arg1 = (wxFSFile *) 0 ;
6334 PyObject * obj0 = 0 ;
6335 char *kwnames[] = {
6336 (char *) "self", NULL
6337 };
6338
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
6340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6342 {
6343 PyThreadState* __tstate = wxPyBeginAllowThreads();
6344 delete arg1;
6345
6346 wxPyEndAllowThreads(__tstate);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
6349 Py_INCREF(Py_None); resultobj = Py_None;
6350 return resultobj;
6351 fail:
6352 return NULL;
6353}
6354
6355
6356static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6357 PyObject *resultobj;
6358 wxFSFile *arg1 = (wxFSFile *) 0 ;
6359 wxInputStream *result;
6360 PyObject * obj0 = 0 ;
6361 char *kwnames[] = {
6362 (char *) "self", NULL
6363 };
6364
6365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
6366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6368 {
6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6370 result = (wxInputStream *)(arg1)->GetStream();
6371
6372 wxPyEndAllowThreads(__tstate);
6373 if (PyErr_Occurred()) SWIG_fail;
6374 }
6375 {
6376 wxPyInputStream * _ptr = NULL;
6377
6378 if (result) {
6379 _ptr = new wxPyInputStream(result);
6380 }
e811c8ce 6381 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
6382 }
6383 return resultobj;
6384 fail:
6385 return NULL;
6386}
6387
6388
6389static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxFSFile *arg1 = (wxFSFile *) 0 ;
6392 wxString *result;
6393 PyObject * obj0 = 0 ;
6394 char *kwnames[] = {
6395 (char *) "self", NULL
6396 };
6397
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
6399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 {
6404 wxString const &_result_ref = (arg1)->GetMimeType();
6405 result = (wxString *) &_result_ref;
6406 }
6407
6408 wxPyEndAllowThreads(__tstate);
6409 if (PyErr_Occurred()) SWIG_fail;
6410 }
cc6dd355
RD
6411 {
6412#if wxUSE_UNICODE
6413 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6414#else
6415 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6416#endif
6417 }
d14a1e28
RD
6418 return resultobj;
6419 fail:
6420 return NULL;
6421}
6422
6423
6424static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6425 PyObject *resultobj;
6426 wxFSFile *arg1 = (wxFSFile *) 0 ;
6427 wxString *result;
6428 PyObject * obj0 = 0 ;
6429 char *kwnames[] = {
6430 (char *) "self", NULL
6431 };
6432
6433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
6434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6436 {
6437 PyThreadState* __tstate = wxPyBeginAllowThreads();
6438 {
6439 wxString const &_result_ref = (arg1)->GetLocation();
6440 result = (wxString *) &_result_ref;
6441 }
6442
6443 wxPyEndAllowThreads(__tstate);
6444 if (PyErr_Occurred()) SWIG_fail;
6445 }
cc6dd355
RD
6446 {
6447#if wxUSE_UNICODE
6448 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6449#else
6450 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6451#endif
6452 }
d14a1e28
RD
6453 return resultobj;
6454 fail:
6455 return NULL;
6456}
6457
6458
6459static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6460 PyObject *resultobj;
6461 wxFSFile *arg1 = (wxFSFile *) 0 ;
6462 wxString *result;
6463 PyObject * obj0 = 0 ;
6464 char *kwnames[] = {
6465 (char *) "self", NULL
6466 };
6467
6468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
15afbcd0
RD
6469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6471 {
6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6473 {
6474 wxString const &_result_ref = (arg1)->GetAnchor();
6475 result = (wxString *) &_result_ref;
6476 }
6477
6478 wxPyEndAllowThreads(__tstate);
6479 if (PyErr_Occurred()) SWIG_fail;
6480 }
cc6dd355
RD
6481 {
6482#if wxUSE_UNICODE
6483 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6484#else
6485 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6486#endif
6487 }
d14a1e28
RD
6488 return resultobj;
6489 fail:
6490 return NULL;
6491}
6492
6493
6494static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6495 PyObject *resultobj;
6496 wxFSFile *arg1 = (wxFSFile *) 0 ;
6497 wxDateTime result;
6498 PyObject * obj0 = 0 ;
6499 char *kwnames[] = {
6500 (char *) "self", NULL
6501 };
6502
6503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
6504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6506 {
6507 PyThreadState* __tstate = wxPyBeginAllowThreads();
6508 result = (arg1)->GetModificationTime();
6509
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 {
6514 wxDateTime * resultptr;
6515 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 6516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
6517 }
6518 return resultobj;
6519 fail:
6520 return NULL;
6521}
6522
6523
6524static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
6525 PyObject *obj;
6526 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6527 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6528 Py_INCREF(obj);
6529 return Py_BuildValue((char *)"");
6530}
6531static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6532 PyObject *obj;
6533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6534 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6535 Py_INCREF(obj);
6536 return Py_BuildValue((char *)"");
6537}
6538static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6539 PyObject *resultobj;
6540 wxPyFileSystemHandler *result;
6541 char *kwnames[] = {
6542 NULL
6543 };
6544
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6546 {
6547 PyThreadState* __tstate = wxPyBeginAllowThreads();
6548 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6549
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 }
15afbcd0 6553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
d14a1e28
RD
6554 return resultobj;
6555 fail:
6556 return NULL;
6557}
6558
6559
6560static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6561 PyObject *resultobj;
6562 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6563 PyObject *arg2 = (PyObject *) 0 ;
6564 PyObject *arg3 = (PyObject *) 0 ;
6565 PyObject * obj0 = 0 ;
6566 PyObject * obj1 = 0 ;
6567 PyObject * obj2 = 0 ;
6568 char *kwnames[] = {
6569 (char *) "self",(char *) "self",(char *) "_class", NULL
6570 };
6571
6572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6575 arg2 = obj1;
6576 arg3 = obj2;
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 (arg1)->_setCallbackInfo(arg2,arg3);
6580
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 Py_INCREF(Py_None); resultobj = Py_None;
6585 return resultobj;
6586 fail:
6587 return NULL;
6588}
6589
6590
6591static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6592 PyObject *resultobj;
6593 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6594 wxString *arg2 = 0 ;
6595 bool result;
e811c8ce 6596 bool temp2 = False ;
d14a1e28
RD
6597 PyObject * obj0 = 0 ;
6598 PyObject * obj1 = 0 ;
6599 char *kwnames[] = {
6600 (char *) "self",(char *) "location", NULL
6601 };
6602
6603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6606 {
6607 arg2 = wxString_in_helper(obj1);
6608 if (arg2 == NULL) SWIG_fail;
e811c8ce 6609 temp2 = True;
d14a1e28
RD
6610 }
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
4f89f6a3
RD
6618 {
6619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6620 }
d14a1e28
RD
6621 {
6622 if (temp2)
6623 delete arg2;
6624 }
6625 return resultobj;
6626 fail:
6627 {
6628 if (temp2)
6629 delete arg2;
6630 }
6631 return NULL;
6632}
6633
6634
6635static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6636 PyObject *resultobj;
6637 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6638 wxFileSystem *arg2 = 0 ;
6639 wxString *arg3 = 0 ;
6640 wxFSFile *result;
e811c8ce 6641 bool temp3 = False ;
d14a1e28
RD
6642 PyObject * obj0 = 0 ;
6643 PyObject * obj1 = 0 ;
6644 PyObject * obj2 = 0 ;
6645 char *kwnames[] = {
6646 (char *) "self",(char *) "fs",(char *) "location", NULL
6647 };
6648
6649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6652 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6653 SWIG_POINTER_EXCEPTION | 0)) == -1)
6654 SWIG_fail;
d14a1e28 6655 if (arg2 == NULL) {
15afbcd0
RD
6656 PyErr_SetString(PyExc_TypeError,"null reference");
6657 SWIG_fail;
d14a1e28
RD
6658 }
6659 {
6660 arg3 = wxString_in_helper(obj2);
6661 if (arg3 == NULL) SWIG_fail;
e811c8ce 6662 temp3 = True;
d14a1e28
RD
6663 }
6664 {
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
6666 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6667
6668 wxPyEndAllowThreads(__tstate);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
6671 {
412d302d 6672 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6673 }
6674 {
6675 if (temp3)
6676 delete arg3;
6677 }
6678 return resultobj;
6679 fail:
6680 {
6681 if (temp3)
6682 delete arg3;
6683 }
6684 return NULL;
6685}
6686
6687
6688static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6689 PyObject *resultobj;
6690 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6691 wxString *arg2 = 0 ;
6692 int arg3 = (int) 0 ;
6693 wxString result;
e811c8ce 6694 bool temp2 = False ;
d14a1e28
RD
6695 PyObject * obj0 = 0 ;
6696 PyObject * obj1 = 0 ;
994141e6 6697 PyObject * obj2 = 0 ;
d14a1e28
RD
6698 char *kwnames[] = {
6699 (char *) "self",(char *) "spec",(char *) "flags", NULL
6700 };
6701
994141e6 6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6705 {
6706 arg2 = wxString_in_helper(obj1);
6707 if (arg2 == NULL) SWIG_fail;
e811c8ce 6708 temp2 = True;
d14a1e28 6709 }
994141e6 6710 if (obj2) {
15afbcd0
RD
6711 arg3 = (int) SWIG_AsInt(obj2);
6712 if (PyErr_Occurred()) SWIG_fail;
994141e6 6713 }
d14a1e28
RD
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 {
6722#if wxUSE_UNICODE
6723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6724#else
6725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6726#endif
6727 }
6728 {
6729 if (temp2)
6730 delete arg2;
6731 }
6732 return resultobj;
6733 fail:
6734 {
6735 if (temp2)
6736 delete arg2;
6737 }
6738 return NULL;
6739}
6740
6741
6742static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6743 PyObject *resultobj;
6744 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6745 wxString result;
6746 PyObject * obj0 = 0 ;
6747 char *kwnames[] = {
6748 (char *) "self", NULL
6749 };
6750
6751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
6752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = (arg1)->FindNext();
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 {
6762#if wxUSE_UNICODE
6763 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6764#else
6765 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6766#endif
6767 }
6768 return resultobj;
6769 fail:
6770 return NULL;
6771}
6772
6773
6774static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj;
6776 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6777 wxString *arg2 = 0 ;
6778 wxString result;
e811c8ce 6779 bool temp2 = False ;
d14a1e28
RD
6780 PyObject * obj0 = 0 ;
6781 PyObject * obj1 = 0 ;
6782 char *kwnames[] = {
6783 (char *) "self",(char *) "location", NULL
6784 };
6785
6786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6789 {
6790 arg2 = wxString_in_helper(obj1);
6791 if (arg2 == NULL) SWIG_fail;
e811c8ce 6792 temp2 = True;
d14a1e28
RD
6793 }
6794 {
6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6796 result = (arg1)->GetProtocol((wxString const &)*arg2);
6797
6798 wxPyEndAllowThreads(__tstate);
6799 if (PyErr_Occurred()) SWIG_fail;
6800 }
6801 {
6802#if wxUSE_UNICODE
6803 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6804#else
6805 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6806#endif
6807 }
6808 {
6809 if (temp2)
6810 delete arg2;
6811 }
6812 return resultobj;
6813 fail:
6814 {
6815 if (temp2)
6816 delete arg2;
6817 }
6818 return NULL;
6819}
6820
6821
6822static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6823 PyObject *resultobj;
6824 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6825 wxString *arg2 = 0 ;
6826 wxString result;
e811c8ce 6827 bool temp2 = False ;
d14a1e28
RD
6828 PyObject * obj0 = 0 ;
6829 PyObject * obj1 = 0 ;
6830 char *kwnames[] = {
6831 (char *) "self",(char *) "location", NULL
6832 };
6833
6834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6837 {
6838 arg2 = wxString_in_helper(obj1);
6839 if (arg2 == NULL) SWIG_fail;
e811c8ce 6840 temp2 = True;
d14a1e28
RD
6841 }
6842 {
6843 PyThreadState* __tstate = wxPyBeginAllowThreads();
6844 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
6845
6846 wxPyEndAllowThreads(__tstate);
6847 if (PyErr_Occurred()) SWIG_fail;
6848 }
6849 {
6850#if wxUSE_UNICODE
6851 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6852#else
6853 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6854#endif
6855 }
6856 {
6857 if (temp2)
6858 delete arg2;
6859 }
6860 return resultobj;
6861 fail:
6862 {
6863 if (temp2)
6864 delete arg2;
6865 }
6866 return NULL;
6867}
6868
6869
6870static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6871 PyObject *resultobj;
6872 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6873 wxString *arg2 = 0 ;
6874 wxString result;
e811c8ce 6875 bool temp2 = False ;
d14a1e28
RD
6876 PyObject * obj0 = 0 ;
6877 PyObject * obj1 = 0 ;
6878 char *kwnames[] = {
6879 (char *) "self",(char *) "location", NULL
6880 };
6881
6882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6885 {
6886 arg2 = wxString_in_helper(obj1);
6887 if (arg2 == NULL) SWIG_fail;
e811c8ce 6888 temp2 = True;
d14a1e28
RD
6889 }
6890 {
6891 PyThreadState* __tstate = wxPyBeginAllowThreads();
6892 result = (arg1)->GetAnchor((wxString const &)*arg2);
6893
6894 wxPyEndAllowThreads(__tstate);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 {
6898#if wxUSE_UNICODE
6899 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6900#else
6901 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6902#endif
6903 }
6904 {
6905 if (temp2)
6906 delete arg2;
6907 }
6908 return resultobj;
6909 fail:
6910 {
6911 if (temp2)
6912 delete arg2;
6913 }
6914 return NULL;
6915}
6916
6917
6918static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6919 PyObject *resultobj;
6920 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6921 wxString *arg2 = 0 ;
6922 wxString result;
e811c8ce 6923 bool temp2 = False ;
d14a1e28
RD
6924 PyObject * obj0 = 0 ;
6925 PyObject * obj1 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "self",(char *) "location", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6933 {
6934 arg2 = wxString_in_helper(obj1);
6935 if (arg2 == NULL) SWIG_fail;
e811c8ce 6936 temp2 = True;
d14a1e28
RD
6937 }
6938 {
6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6940 result = (arg1)->GetRightLocation((wxString const &)*arg2);
6941
6942 wxPyEndAllowThreads(__tstate);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
6945 {
6946#if wxUSE_UNICODE
6947 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6948#else
6949 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6950#endif
6951 }
6952 {
6953 if (temp2)
6954 delete arg2;
6955 }
6956 return resultobj;
6957 fail:
6958 {
6959 if (temp2)
6960 delete arg2;
6961 }
6962 return NULL;
6963}
6964
6965
6966static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
6967 PyObject *resultobj;
6968 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6969 wxString *arg2 = 0 ;
6970 wxString result;
e811c8ce 6971 bool temp2 = False ;
d14a1e28
RD
6972 PyObject * obj0 = 0 ;
6973 PyObject * obj1 = 0 ;
6974 char *kwnames[] = {
6975 (char *) "self",(char *) "location", NULL
6976 };
6977
6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6981 {
6982 arg2 = wxString_in_helper(obj1);
6983 if (arg2 == NULL) SWIG_fail;
e811c8ce 6984 temp2 = True;
d14a1e28
RD
6985 }
6986 {
6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
6988 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
6989
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
6993 {
6994#if wxUSE_UNICODE
6995 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6996#else
6997 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6998#endif
6999 }
7000 {
7001 if (temp2)
7002 delete arg2;
7003 }
7004 return resultobj;
7005 fail:
7006 {
7007 if (temp2)
7008 delete arg2;
7009 }
7010 return NULL;
7011}
7012
7013
7014static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
7015 PyObject *obj;
7016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7017 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
7018 Py_INCREF(obj);
7019 return Py_BuildValue((char *)"");
7020}
7021static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
7022 PyObject *resultobj;
7023 wxFileSystem *result;
7024 char *kwnames[] = {
7025 NULL
7026 };
7027
7028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 result = (wxFileSystem *)new wxFileSystem();
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 {
412d302d 7037 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
7038 }
7039 return resultobj;
7040 fail:
7041 return NULL;
7042}
7043
7044
7045static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
7046 PyObject *resultobj;
7047 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7048 PyObject * obj0 = 0 ;
7049 char *kwnames[] = {
7050 (char *) "self", NULL
7051 };
7052
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
15afbcd0
RD
7054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7056 {
7057 PyThreadState* __tstate = wxPyBeginAllowThreads();
7058 delete arg1;
7059
7060 wxPyEndAllowThreads(__tstate);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
7063 Py_INCREF(Py_None); resultobj = Py_None;
7064 return resultobj;
7065 fail:
7066 return NULL;
7067}
7068
7069
7070static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj;
7072 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7073 wxString *arg2 = 0 ;
e811c8ce
RD
7074 bool arg3 = (bool) False ;
7075 bool temp2 = False ;
d14a1e28
RD
7076 PyObject * obj0 = 0 ;
7077 PyObject * obj1 = 0 ;
7078 PyObject * obj2 = 0 ;
7079 char *kwnames[] = {
7080 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7081 };
7082
7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7086 {
7087 arg2 = wxString_in_helper(obj1);
7088 if (arg2 == NULL) SWIG_fail;
e811c8ce 7089 temp2 = True;
d14a1e28
RD
7090 }
7091 if (obj2) {
15afbcd0
RD
7092 arg3 = (bool) SWIG_AsBool(obj2);
7093 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7094 }
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 Py_INCREF(Py_None); resultobj = Py_None;
7103 {
7104 if (temp2)
7105 delete arg2;
7106 }
7107 return resultobj;
7108 fail:
7109 {
7110 if (temp2)
7111 delete arg2;
7112 }
7113 return NULL;
7114}
7115
7116
7117static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
7118 PyObject *resultobj;
7119 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7120 wxString result;
7121 PyObject * obj0 = 0 ;
7122 char *kwnames[] = {
7123 (char *) "self", NULL
7124 };
7125
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
7127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7129 {
7130 PyThreadState* __tstate = wxPyBeginAllowThreads();
7131 result = (arg1)->GetPath();
7132
7133 wxPyEndAllowThreads(__tstate);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 {
7137#if wxUSE_UNICODE
7138 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7139#else
7140 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7141#endif
7142 }
7143 return resultobj;
7144 fail:
7145 return NULL;
7146}
7147
7148
7149static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7150 PyObject *resultobj;
7151 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7152 wxString *arg2 = 0 ;
7153 wxFSFile *result;
e811c8ce 7154 bool temp2 = False ;
d14a1e28
RD
7155 PyObject * obj0 = 0 ;
7156 PyObject * obj1 = 0 ;
7157 char *kwnames[] = {
7158 (char *) "self",(char *) "location", NULL
7159 };
7160
7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7164 {
7165 arg2 = wxString_in_helper(obj1);
7166 if (arg2 == NULL) SWIG_fail;
e811c8ce 7167 temp2 = True;
d14a1e28
RD
7168 }
7169 {
7170 PyThreadState* __tstate = wxPyBeginAllowThreads();
7171 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
7172
7173 wxPyEndAllowThreads(__tstate);
7174 if (PyErr_Occurred()) SWIG_fail;
7175 }
7176 {
412d302d 7177 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7178 }
7179 {
7180 if (temp2)
7181 delete arg2;
7182 }
7183 return resultobj;
7184 fail:
7185 {
7186 if (temp2)
7187 delete arg2;
7188 }
7189 return NULL;
7190}
7191
7192
7193static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7194 PyObject *resultobj;
7195 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7196 wxString *arg2 = 0 ;
7197 int arg3 = (int) 0 ;
7198 wxString result;
e811c8ce 7199 bool temp2 = False ;
d14a1e28
RD
7200 PyObject * obj0 = 0 ;
7201 PyObject * obj1 = 0 ;
994141e6 7202 PyObject * obj2 = 0 ;
d14a1e28
RD
7203 char *kwnames[] = {
7204 (char *) "self",(char *) "spec",(char *) "flags", NULL
7205 };
7206
994141e6 7207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7210 {
7211 arg2 = wxString_in_helper(obj1);
7212 if (arg2 == NULL) SWIG_fail;
e811c8ce 7213 temp2 = True;
d14a1e28 7214 }
994141e6 7215 if (obj2) {
15afbcd0
RD
7216 arg3 = (int) SWIG_AsInt(obj2);
7217 if (PyErr_Occurred()) SWIG_fail;
994141e6 7218 }
d14a1e28
RD
7219 {
7220 PyThreadState* __tstate = wxPyBeginAllowThreads();
7221 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7222
7223 wxPyEndAllowThreads(__tstate);
7224 if (PyErr_Occurred()) SWIG_fail;
7225 }
7226 {
7227#if wxUSE_UNICODE
7228 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7229#else
7230 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7231#endif
7232 }
7233 {
7234 if (temp2)
7235 delete arg2;
7236 }
7237 return resultobj;
7238 fail:
7239 {
7240 if (temp2)
7241 delete arg2;
7242 }
7243 return NULL;
7244}
7245
7246
7247static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7248 PyObject *resultobj;
7249 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7250 wxString result;
7251 PyObject * obj0 = 0 ;
7252 char *kwnames[] = {
7253 (char *) "self", NULL
7254 };
7255
7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (arg1)->FindNext();
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 {
7267#if wxUSE_UNICODE
7268 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7269#else
7270 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7271#endif
7272 }
7273 return resultobj;
7274 fail:
7275 return NULL;
7276}
7277
7278
7279static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7280 PyObject *resultobj;
7281 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7282 PyObject * obj0 = 0 ;
7283 char *kwnames[] = {
7284 (char *) "handler", NULL
7285 };
7286
7287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
7288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7290 {
7291 PyThreadState* __tstate = wxPyBeginAllowThreads();
7292 wxFileSystem::AddHandler(arg1);
7293
7294 wxPyEndAllowThreads(__tstate);
7295 if (PyErr_Occurred()) SWIG_fail;
7296 }
7297 Py_INCREF(Py_None); resultobj = Py_None;
7298 return resultobj;
7299 fail:
7300 return NULL;
7301}
7302
7303
7304static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
7305 PyObject *resultobj;
7306 char *kwnames[] = {
7307 NULL
7308 };
7309
7310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7311 {
7312 PyThreadState* __tstate = wxPyBeginAllowThreads();
7313 wxFileSystem::CleanUpHandlers();
7314
7315 wxPyEndAllowThreads(__tstate);
7316 if (PyErr_Occurred()) SWIG_fail;
7317 }
7318 Py_INCREF(Py_None); resultobj = Py_None;
7319 return resultobj;
7320 fail:
7321 return NULL;
7322}
7323
7324
7325static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
7326 PyObject *resultobj;
7327 wxString *arg1 = 0 ;
7328 wxString result;
e811c8ce 7329 bool temp1 = False ;
d14a1e28
RD
7330 PyObject * obj0 = 0 ;
7331 char *kwnames[] = {
7332 (char *) "filename", NULL
7333 };
7334
7335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7336 {
7337 arg1 = wxString_in_helper(obj0);
7338 if (arg1 == NULL) SWIG_fail;
e811c8ce 7339 temp1 = True;
d14a1e28
RD
7340 }
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 {
7349#if wxUSE_UNICODE
7350 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7351#else
7352 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7353#endif
7354 }
7355 {
7356 if (temp1)
7357 delete arg1;
7358 }
7359 return resultobj;
7360 fail:
7361 {
7362 if (temp1)
7363 delete arg1;
7364 }
7365 return NULL;
7366}
7367
7368
7369static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
7370 PyObject *obj;
7371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7372 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7373 Py_INCREF(obj);
7374 return Py_BuildValue((char *)"");
7375}
7376static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxString *arg1 = 0 ;
7379 wxString result;
e811c8ce 7380 bool temp1 = False ;
d14a1e28
RD
7381 PyObject * obj0 = 0 ;
7382 char *kwnames[] = {
7383 (char *) "url", NULL
7384 };
7385
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7387 {
7388 arg1 = wxString_in_helper(obj0);
7389 if (arg1 == NULL) SWIG_fail;
e811c8ce 7390 temp1 = True;
d14a1e28
RD
7391 }
7392 {
7393 PyThreadState* __tstate = wxPyBeginAllowThreads();
7394 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
7395
7396 wxPyEndAllowThreads(__tstate);
7397 if (PyErr_Occurred()) SWIG_fail;
7398 }
7399 {
7400#if wxUSE_UNICODE
7401 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7402#else
7403 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7404#endif
7405 }
7406 {
7407 if (temp1)
7408 delete arg1;
7409 }
7410 return resultobj;
7411 fail:
7412 {
7413 if (temp1)
7414 delete arg1;
7415 }
7416 return NULL;
7417}
7418
7419
7420static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7421 PyObject *resultobj;
7422 wxInternetFSHandler *result;
7423 char *kwnames[] = {
7424 NULL
7425 };
7426
7427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7428 {
7429 PyThreadState* __tstate = wxPyBeginAllowThreads();
7430 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7431
7432 wxPyEndAllowThreads(__tstate);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
15afbcd0 7435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
d14a1e28
RD
7436 return resultobj;
7437 fail:
7438 return NULL;
7439}
7440
7441
7442static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7443 PyObject *resultobj;
7444 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7445 wxString *arg2 = 0 ;
7446 bool result;
e811c8ce 7447 bool temp2 = False ;
d14a1e28
RD
7448 PyObject * obj0 = 0 ;
7449 PyObject * obj1 = 0 ;
7450 char *kwnames[] = {
7451 (char *) "self",(char *) "location", NULL
7452 };
7453
7454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7457 {
7458 arg2 = wxString_in_helper(obj1);
7459 if (arg2 == NULL) SWIG_fail;
e811c8ce 7460 temp2 = True;
d14a1e28
RD
7461 }
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
4f89f6a3
RD
7469 {
7470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7471 }
d14a1e28
RD
7472 {
7473 if (temp2)
7474 delete arg2;
7475 }
7476 return resultobj;
7477 fail:
7478 {
7479 if (temp2)
7480 delete arg2;
7481 }
7482 return NULL;
7483}
7484
7485
7486static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7487 PyObject *resultobj;
7488 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7489 wxFileSystem *arg2 = 0 ;
7490 wxString *arg3 = 0 ;
7491 wxFSFile *result;
e811c8ce 7492 bool temp3 = False ;
d14a1e28
RD
7493 PyObject * obj0 = 0 ;
7494 PyObject * obj1 = 0 ;
7495 PyObject * obj2 = 0 ;
7496 char *kwnames[] = {
7497 (char *) "self",(char *) "fs",(char *) "location", NULL
7498 };
7499
7500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7504 SWIG_POINTER_EXCEPTION | 0)) == -1)
7505 SWIG_fail;
d14a1e28 7506 if (arg2 == NULL) {
15afbcd0
RD
7507 PyErr_SetString(PyExc_TypeError,"null reference");
7508 SWIG_fail;
d14a1e28
RD
7509 }
7510 {
7511 arg3 = wxString_in_helper(obj2);
7512 if (arg3 == NULL) SWIG_fail;
e811c8ce 7513 temp3 = True;
d14a1e28
RD
7514 }
7515 {
7516 PyThreadState* __tstate = wxPyBeginAllowThreads();
7517 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7518
7519 wxPyEndAllowThreads(__tstate);
7520 if (PyErr_Occurred()) SWIG_fail;
7521 }
7522 {
412d302d 7523 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7524 }
7525 {
7526 if (temp3)
7527 delete arg3;
7528 }
7529 return resultobj;
7530 fail:
7531 {
7532 if (temp3)
7533 delete arg3;
7534 }
7535 return NULL;
7536}
7537
7538
7539static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
7540 PyObject *obj;
7541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7542 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7543 Py_INCREF(obj);
7544 return Py_BuildValue((char *)"");
7545}
7546static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7547 PyObject *resultobj;
7548 wxZipFSHandler *result;
7549 char *kwnames[] = {
7550 NULL
7551 };
7552
7553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7554 {
7555 PyThreadState* __tstate = wxPyBeginAllowThreads();
7556 result = (wxZipFSHandler *)new wxZipFSHandler();
7557
7558 wxPyEndAllowThreads(__tstate);
7559 if (PyErr_Occurred()) SWIG_fail;
7560 }
15afbcd0 7561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
d14a1e28
RD
7562 return resultobj;
7563 fail:
7564 return NULL;
7565}
7566
7567
7568static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7569 PyObject *resultobj;
7570 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7571 wxString *arg2 = 0 ;
7572 bool result;
e811c8ce 7573 bool temp2 = False ;
d14a1e28
RD
7574 PyObject * obj0 = 0 ;
7575 PyObject * obj1 = 0 ;
7576 char *kwnames[] = {
7577 (char *) "self",(char *) "location", NULL
7578 };
7579
7580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7583 {
7584 arg2 = wxString_in_helper(obj1);
7585 if (arg2 == NULL) SWIG_fail;
e811c8ce 7586 temp2 = True;
d14a1e28
RD
7587 }
7588 {
7589 PyThreadState* __tstate = wxPyBeginAllowThreads();
7590 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7591
7592 wxPyEndAllowThreads(__tstate);
7593 if (PyErr_Occurred()) SWIG_fail;
7594 }
4f89f6a3
RD
7595 {
7596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7597 }
d14a1e28
RD
7598 {
7599 if (temp2)
7600 delete arg2;
7601 }
7602 return resultobj;
7603 fail:
7604 {
7605 if (temp2)
7606 delete arg2;
7607 }
7608 return NULL;
7609}
7610
7611
7612static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7613 PyObject *resultobj;
7614 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7615 wxFileSystem *arg2 = 0 ;
7616 wxString *arg3 = 0 ;
7617 wxFSFile *result;
e811c8ce 7618 bool temp3 = False ;
d14a1e28
RD
7619 PyObject * obj0 = 0 ;
7620 PyObject * obj1 = 0 ;
7621 PyObject * obj2 = 0 ;
7622 char *kwnames[] = {
7623 (char *) "self",(char *) "fs",(char *) "location", NULL
7624 };
7625
7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7630 SWIG_POINTER_EXCEPTION | 0)) == -1)
7631 SWIG_fail;
d14a1e28 7632 if (arg2 == NULL) {
15afbcd0
RD
7633 PyErr_SetString(PyExc_TypeError,"null reference");
7634 SWIG_fail;
d14a1e28
RD
7635 }
7636 {
7637 arg3 = wxString_in_helper(obj2);
7638 if (arg3 == NULL) SWIG_fail;
e811c8ce 7639 temp3 = True;
d14a1e28
RD
7640 }
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7644
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
7648 {
412d302d 7649 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7650 }
7651 {
7652 if (temp3)
7653 delete arg3;
7654 }
7655 return resultobj;
7656 fail:
7657 {
7658 if (temp3)
7659 delete arg3;
7660 }
7661 return NULL;
7662}
7663
7664
7665static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7666 PyObject *resultobj;
7667 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7668 wxString *arg2 = 0 ;
7669 int arg3 = (int) 0 ;
7670 wxString result;
e811c8ce 7671 bool temp2 = False ;
d14a1e28
RD
7672 PyObject * obj0 = 0 ;
7673 PyObject * obj1 = 0 ;
994141e6 7674 PyObject * obj2 = 0 ;
d14a1e28
RD
7675 char *kwnames[] = {
7676 (char *) "self",(char *) "spec",(char *) "flags", NULL
7677 };
7678
994141e6 7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7682 {
7683 arg2 = wxString_in_helper(obj1);
7684 if (arg2 == NULL) SWIG_fail;
e811c8ce 7685 temp2 = True;
d14a1e28 7686 }
994141e6 7687 if (obj2) {
15afbcd0
RD
7688 arg3 = (int) SWIG_AsInt(obj2);
7689 if (PyErr_Occurred()) SWIG_fail;
994141e6 7690 }
d14a1e28
RD
7691 {
7692 PyThreadState* __tstate = wxPyBeginAllowThreads();
7693 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7694
7695 wxPyEndAllowThreads(__tstate);
7696 if (PyErr_Occurred()) SWIG_fail;
7697 }
7698 {
7699#if wxUSE_UNICODE
7700 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7701#else
7702 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7703#endif
7704 }
7705 {
7706 if (temp2)
7707 delete arg2;
7708 }
7709 return resultobj;
7710 fail:
7711 {
7712 if (temp2)
7713 delete arg2;
7714 }
7715 return NULL;
7716}
7717
7718
7719static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7720 PyObject *resultobj;
7721 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7722 wxString result;
7723 PyObject * obj0 = 0 ;
7724 char *kwnames[] = {
7725 (char *) "self", NULL
7726 };
7727
7728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 result = (arg1)->FindNext();
7734
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 {
7739#if wxUSE_UNICODE
7740 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7741#else
7742 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7743#endif
7744 }
7745 return resultobj;
7746 fail:
7747 return NULL;
7748}
7749
7750
7751static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
7752 PyObject *obj;
7753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7754 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7755 Py_INCREF(obj);
7756 return Py_BuildValue((char *)"");
7757}
7758static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj;
7760 wxString *arg1 = 0 ;
7761 wxImage *arg2 = 0 ;
7762 long arg3 ;
e811c8ce 7763 bool temp1 = False ;
d14a1e28
RD
7764 PyObject * obj0 = 0 ;
7765 PyObject * obj1 = 0 ;
994141e6 7766 PyObject * obj2 = 0 ;
d14a1e28
RD
7767 char *kwnames[] = {
7768 (char *) "filename",(char *) "image",(char *) "type", NULL
7769 };
7770
994141e6 7771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7772 {
7773 arg1 = wxString_in_helper(obj0);
7774 if (arg1 == NULL) SWIG_fail;
e811c8ce 7775 temp1 = True;
d14a1e28 7776 }
15afbcd0
RD
7777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
7778 SWIG_POINTER_EXCEPTION | 0)) == -1)
7779 SWIG_fail;
d14a1e28 7780 if (arg2 == NULL) {
15afbcd0
RD
7781 PyErr_SetString(PyExc_TypeError,"null reference");
7782 SWIG_fail;
994141e6 7783 }
15afbcd0
RD
7784 arg3 = (long) SWIG_AsLong(obj2);
7785 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7786 {
7787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7788 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
7789
7790 wxPyEndAllowThreads(__tstate);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 Py_INCREF(Py_None); resultobj = Py_None;
7794 {
7795 if (temp1)
7796 delete arg1;
7797 }
7798 return resultobj;
7799 fail:
7800 {
7801 if (temp1)
7802 delete arg1;
7803 }
7804 return NULL;
7805}
7806
7807
7808static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7809 PyObject *resultobj;
7810 wxString *arg1 = 0 ;
7811 wxBitmap *arg2 = 0 ;
7812 long arg3 ;
e811c8ce 7813 bool temp1 = False ;
d14a1e28
RD
7814 PyObject * obj0 = 0 ;
7815 PyObject * obj1 = 0 ;
994141e6 7816 PyObject * obj2 = 0 ;
d14a1e28
RD
7817 char *kwnames[] = {
7818 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7819 };
7820
994141e6 7821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7822 {
7823 arg1 = wxString_in_helper(obj0);
7824 if (arg1 == NULL) SWIG_fail;
e811c8ce 7825 temp1 = True;
d14a1e28 7826 }
15afbcd0
RD
7827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
7828 SWIG_POINTER_EXCEPTION | 0)) == -1)
7829 SWIG_fail;
d14a1e28 7830 if (arg2 == NULL) {
15afbcd0
RD
7831 PyErr_SetString(PyExc_TypeError,"null reference");
7832 SWIG_fail;
994141e6 7833 }
15afbcd0
RD
7834 arg3 = (long) SWIG_AsLong(obj2);
7835 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7836 {
7837 PyThreadState* __tstate = wxPyBeginAllowThreads();
7838 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
7839
7840 wxPyEndAllowThreads(__tstate);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
7843 Py_INCREF(Py_None); resultobj = Py_None;
7844 {
7845 if (temp1)
7846 delete arg1;
7847 }
7848 return resultobj;
7849 fail:
7850 {
7851 if (temp1)
7852 delete arg1;
7853 }
7854 return NULL;
7855}
7856
7857
7858static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
7859 PyObject *resultobj;
7860 wxString *arg1 = 0 ;
7861 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 7862 bool temp1 = False ;
d14a1e28
RD
7863 PyObject * obj0 = 0 ;
7864 PyObject * obj1 = 0 ;
7865 char *kwnames[] = {
7866 (char *) "filename",(char *) "data", NULL
7867 };
7868
7869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
7870 {
7871 arg1 = wxString_in_helper(obj0);
7872 if (arg1 == NULL) SWIG_fail;
e811c8ce 7873 temp1 = True;
d14a1e28
RD
7874 }
7875 arg2 = obj1;
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 Py_INCREF(Py_None); resultobj = Py_None;
7884 {
7885 if (temp1)
7886 delete arg1;
7887 }
7888 return resultobj;
7889 fail:
7890 {
7891 if (temp1)
7892 delete arg1;
7893 }
7894 return NULL;
7895}
7896
7897
7898static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7899 PyObject *resultobj;
7900 wxMemoryFSHandler *result;
7901 char *kwnames[] = {
7902 NULL
7903 };
7904
7905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
7906 {
7907 PyThreadState* __tstate = wxPyBeginAllowThreads();
7908 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
7909
7910 wxPyEndAllowThreads(__tstate);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
15afbcd0 7913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
d14a1e28
RD
7914 return resultobj;
7915 fail:
7916 return NULL;
7917}
7918
7919
7920static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7921 PyObject *resultobj;
7922 wxString *arg1 = 0 ;
e811c8ce 7923 bool temp1 = False ;
d14a1e28
RD
7924 PyObject * obj0 = 0 ;
7925 char *kwnames[] = {
7926 (char *) "filename", NULL
7927 };
7928
7929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
7930 {
7931 arg1 = wxString_in_helper(obj0);
7932 if (arg1 == NULL) SWIG_fail;
e811c8ce 7933 temp1 = True;
d14a1e28
RD
7934 }
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 Py_INCREF(Py_None); resultobj = Py_None;
7943 {
7944 if (temp1)
7945 delete arg1;
7946 }
7947 return resultobj;
7948 fail:
7949 {
7950 if (temp1)
7951 delete arg1;
7952 }
7953 return NULL;
7954}
7955
7956
7957static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7958 PyObject *resultobj;
7959 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7960 wxString *arg2 = 0 ;
7961 bool result;
e811c8ce 7962 bool temp2 = False ;
d14a1e28
RD
7963 PyObject * obj0 = 0 ;
7964 PyObject * obj1 = 0 ;
7965 char *kwnames[] = {
7966 (char *) "self",(char *) "location", NULL
7967 };
7968
7969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7972 {
7973 arg2 = wxString_in_helper(obj1);
7974 if (arg2 == NULL) SWIG_fail;
e811c8ce 7975 temp2 = True;
d14a1e28
RD
7976 }
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7980
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
4f89f6a3
RD
7984 {
7985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7986 }
d14a1e28
RD
7987 {
7988 if (temp2)
7989 delete arg2;
7990 }
7991 return resultobj;
7992 fail:
7993 {
7994 if (temp2)
7995 delete arg2;
7996 }
7997 return NULL;
7998}
7999
8000
8001static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8002 PyObject *resultobj;
8003 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8004 wxFileSystem *arg2 = 0 ;
8005 wxString *arg3 = 0 ;
8006 wxFSFile *result;
e811c8ce 8007 bool temp3 = False ;
d14a1e28
RD
8008 PyObject * obj0 = 0 ;
8009 PyObject * obj1 = 0 ;
8010 PyObject * obj2 = 0 ;
8011 char *kwnames[] = {
8012 (char *) "self",(char *) "fs",(char *) "location", NULL
8013 };
8014
8015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
8019 SWIG_POINTER_EXCEPTION | 0)) == -1)
8020 SWIG_fail;
d14a1e28 8021 if (arg2 == NULL) {
15afbcd0
RD
8022 PyErr_SetString(PyExc_TypeError,"null reference");
8023 SWIG_fail;
d14a1e28
RD
8024 }
8025 {
8026 arg3 = wxString_in_helper(obj2);
8027 if (arg3 == NULL) SWIG_fail;
e811c8ce 8028 temp3 = True;
d14a1e28
RD
8029 }
8030 {
8031 PyThreadState* __tstate = wxPyBeginAllowThreads();
8032 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
8033
8034 wxPyEndAllowThreads(__tstate);
8035 if (PyErr_Occurred()) SWIG_fail;
8036 }
8037 {
412d302d 8038 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
8039 }
8040 {
8041 if (temp3)
8042 delete arg3;
8043 }
8044 return resultobj;
8045 fail:
8046 {
8047 if (temp3)
8048 delete arg3;
8049 }
8050 return NULL;
8051}
8052
8053
8054static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
8055 PyObject *resultobj;
8056 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8057 wxString *arg2 = 0 ;
8058 int arg3 = (int) 0 ;
8059 wxString result;
e811c8ce 8060 bool temp2 = False ;
d14a1e28
RD
8061 PyObject * obj0 = 0 ;
8062 PyObject * obj1 = 0 ;
994141e6 8063 PyObject * obj2 = 0 ;
d14a1e28
RD
8064 char *kwnames[] = {
8065 (char *) "self",(char *) "spec",(char *) "flags", NULL
8066 };
8067
994141e6 8068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8071 {
8072 arg2 = wxString_in_helper(obj1);
8073 if (arg2 == NULL) SWIG_fail;
e811c8ce 8074 temp2 = True;
d14a1e28 8075 }
994141e6 8076 if (obj2) {
15afbcd0
RD
8077 arg3 = (int) SWIG_AsInt(obj2);
8078 if (PyErr_Occurred()) SWIG_fail;
994141e6 8079 }
d14a1e28
RD
8080 {
8081 PyThreadState* __tstate = wxPyBeginAllowThreads();
8082 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8083
8084 wxPyEndAllowThreads(__tstate);
8085 if (PyErr_Occurred()) SWIG_fail;
8086 }
8087 {
8088#if wxUSE_UNICODE
8089 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8090#else
8091 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8092#endif
8093 }
8094 {
8095 if (temp2)
8096 delete arg2;
8097 }
8098 return resultobj;
8099 fail:
8100 {
8101 if (temp2)
8102 delete arg2;
8103 }
8104 return NULL;
8105}
8106
8107
8108static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
8109 PyObject *resultobj;
8110 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8111 wxString result;
8112 PyObject * obj0 = 0 ;
8113 char *kwnames[] = {
8114 (char *) "self", NULL
8115 };
8116
8117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
8118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8120 {
8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8122 result = (arg1)->FindNext();
8123
8124 wxPyEndAllowThreads(__tstate);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 {
8128#if wxUSE_UNICODE
8129 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8130#else
8131 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8132#endif
8133 }
8134 return resultobj;
8135 fail:
8136 return NULL;
8137}
8138
8139
8140static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
8141 PyObject *obj;
8142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8143 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
8144 Py_INCREF(obj);
8145 return Py_BuildValue((char *)"");
8146}
8147static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8148 PyObject *resultobj;
8149 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8150 wxString result;
8151 PyObject * obj0 = 0 ;
8152 char *kwnames[] = {
8153 (char *) "self", NULL
8154 };
8155
8156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
8157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8159 {
8160 PyThreadState* __tstate = wxPyBeginAllowThreads();
8161 result = (arg1)->GetName();
8162
8163 wxPyEndAllowThreads(__tstate);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 }
8166 {
8167#if wxUSE_UNICODE
8168 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8169#else
8170 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8171#endif
8172 }
8173 return resultobj;
8174 fail:
8175 return NULL;
8176}
8177
8178
8179static PyObject *_wrap_ImageHandler_GetExtension(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_GetExtension",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)->GetExtension();
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_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj;
8213 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8214 long result;
8215 PyObject * obj0 = 0 ;
8216 char *kwnames[] = {
8217 (char *) "self", NULL
8218 };
8219
8220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8223 {
8224 PyThreadState* __tstate = wxPyBeginAllowThreads();
8225 result = (long)(arg1)->GetType();
8226
8227 wxPyEndAllowThreads(__tstate);
8228 if (PyErr_Occurred()) SWIG_fail;
8229 }
15afbcd0 8230 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
8231 return resultobj;
8232 fail:
8233 return NULL;
8234}
8235
8236
8237static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8238 PyObject *resultobj;
8239 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8240 wxString result;
8241 PyObject * obj0 = 0 ;
8242 char *kwnames[] = {
8243 (char *) "self", NULL
8244 };
8245
8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8249 {
8250 PyThreadState* __tstate = wxPyBeginAllowThreads();
8251 result = (arg1)->GetMimeType();
8252
8253 wxPyEndAllowThreads(__tstate);
8254 if (PyErr_Occurred()) SWIG_fail;
8255 }
8256 {
8257#if wxUSE_UNICODE
8258 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8259#else
8260 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8261#endif
8262 }
8263 return resultobj;
8264 fail:
8265 return NULL;
8266}
8267
8268
8269static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8270 PyObject *resultobj;
8271 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8272 wxString *arg2 = 0 ;
8273 bool result;
e811c8ce 8274 bool temp2 = False ;
d14a1e28
RD
8275 PyObject * obj0 = 0 ;
8276 PyObject * obj1 = 0 ;
8277 char *kwnames[] = {
8278 (char *) "self",(char *) "name", NULL
8279 };
8280
8281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8284 {
8285 arg2 = wxString_in_helper(obj1);
8286 if (arg2 == NULL) SWIG_fail;
e811c8ce 8287 temp2 = True;
d14a1e28
RD
8288 }
8289 {
8290 PyThreadState* __tstate = wxPyBeginAllowThreads();
8291 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8292
8293 wxPyEndAllowThreads(__tstate);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
4f89f6a3
RD
8296 {
8297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8298 }
d14a1e28
RD
8299 {
8300 if (temp2)
8301 delete arg2;
8302 }
8303 return resultobj;
8304 fail:
8305 {
8306 if (temp2)
8307 delete arg2;
8308 }
8309 return NULL;
8310}
8311
8312
8313static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8314 PyObject *resultobj;
8315 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8316 wxString *arg2 = 0 ;
e811c8ce 8317 bool temp2 = False ;
d14a1e28
RD
8318 PyObject * obj0 = 0 ;
8319 PyObject * obj1 = 0 ;
8320 char *kwnames[] = {
8321 (char *) "self",(char *) "name", NULL
8322 };
8323
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8327 {
8328 arg2 = wxString_in_helper(obj1);
8329 if (arg2 == NULL) SWIG_fail;
e811c8ce 8330 temp2 = True;
d14a1e28
RD
8331 }
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 (arg1)->SetName((wxString const &)*arg2);
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 Py_INCREF(Py_None); resultobj = Py_None;
8340 {
8341 if (temp2)
8342 delete arg2;
8343 }
8344 return resultobj;
8345 fail:
8346 {
8347 if (temp2)
8348 delete arg2;
8349 }
8350 return NULL;
8351}
8352
8353
8354static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8355 PyObject *resultobj;
8356 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8357 wxString *arg2 = 0 ;
e811c8ce 8358 bool temp2 = False ;
d14a1e28
RD
8359 PyObject * obj0 = 0 ;
8360 PyObject * obj1 = 0 ;
8361 char *kwnames[] = {
8362 (char *) "self",(char *) "extension", NULL
8363 };
8364
8365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8368 {
8369 arg2 = wxString_in_helper(obj1);
8370 if (arg2 == NULL) SWIG_fail;
e811c8ce 8371 temp2 = True;
d14a1e28
RD
8372 }
8373 {
8374 PyThreadState* __tstate = wxPyBeginAllowThreads();
8375 (arg1)->SetExtension((wxString const &)*arg2);
8376
8377 wxPyEndAllowThreads(__tstate);
8378 if (PyErr_Occurred()) SWIG_fail;
8379 }
8380 Py_INCREF(Py_None); resultobj = Py_None;
8381 {
8382 if (temp2)
8383 delete arg2;
8384 }
8385 return resultobj;
8386 fail:
8387 {
8388 if (temp2)
8389 delete arg2;
8390 }
8391 return NULL;
8392}
8393
8394
8395static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8396 PyObject *resultobj;
8397 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8398 long arg2 ;
8399 PyObject * obj0 = 0 ;
994141e6 8400 PyObject * obj1 = 0 ;
d14a1e28
RD
8401 char *kwnames[] = {
8402 (char *) "self",(char *) "type", NULL
8403 };
8404
994141e6 8405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8408 arg2 = (long) SWIG_AsLong(obj1);
8409 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8410 {
8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8412 (arg1)->SetType(arg2);
8413
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 Py_INCREF(Py_None); resultobj = Py_None;
8418 return resultobj;
8419 fail:
8420 return NULL;
8421}
8422
8423
8424static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8425 PyObject *resultobj;
8426 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8427 wxString *arg2 = 0 ;
e811c8ce 8428 bool temp2 = False ;
d14a1e28
RD
8429 PyObject * obj0 = 0 ;
8430 PyObject * obj1 = 0 ;
8431 char *kwnames[] = {
8432 (char *) "self",(char *) "mimetype", NULL
8433 };
8434
8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8438 {
8439 arg2 = wxString_in_helper(obj1);
8440 if (arg2 == NULL) SWIG_fail;
e811c8ce 8441 temp2 = True;
d14a1e28
RD
8442 }
8443 {
8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
8445 (arg1)->SetMimeType((wxString const &)*arg2);
8446
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 Py_INCREF(Py_None); resultobj = Py_None;
8451 {
8452 if (temp2)
8453 delete arg2;
8454 }
8455 return resultobj;
8456 fail:
8457 {
8458 if (temp2)
8459 delete arg2;
8460 }
8461 return NULL;
8462}
8463
8464
8465static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
8466 PyObject *obj;
8467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8468 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8469 Py_INCREF(obj);
8470 return Py_BuildValue((char *)"");
8471}
8472static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
8473 PyObject *resultobj;
8474 wxImageHistogram *result;
8475 char *kwnames[] = {
8476 NULL
8477 };
8478
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8480 {
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
8482 result = (wxImageHistogram *)new wxImageHistogram();
8483
8484 wxPyEndAllowThreads(__tstate);
8485 if (PyErr_Occurred()) SWIG_fail;
8486 }
15afbcd0 8487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
d14a1e28
RD
8488 return resultobj;
8489 fail:
8490 return NULL;
8491}
8492
8493
8494static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
8495 PyObject *resultobj;
8496 unsigned char arg1 ;
8497 unsigned char arg2 ;
8498 unsigned char arg3 ;
8499 unsigned long result;
8500 PyObject * obj0 = 0 ;
8501 PyObject * obj1 = 0 ;
8502 PyObject * obj2 = 0 ;
8503 char *kwnames[] = {
8504 (char *) "r",(char *) "g",(char *) "b", NULL
8505 };
8506
8507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8508 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8513 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8514 {
8515 PyThreadState* __tstate = wxPyBeginAllowThreads();
8516 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8517
8518 wxPyEndAllowThreads(__tstate);
8519 if (PyErr_Occurred()) SWIG_fail;
8520 }
15afbcd0 8521 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
8522 return resultobj;
8523 fail:
8524 return NULL;
8525}
8526
8527
8528static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8529 PyObject *resultobj;
8530 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8531 unsigned char *arg2 = (unsigned char *) 0 ;
8532 unsigned char *arg3 = (unsigned char *) 0 ;
8533 unsigned char *arg4 = (unsigned char *) 0 ;
8534 unsigned char arg5 = (unsigned char) 1 ;
8535 unsigned char arg6 = (unsigned char) 0 ;
8536 unsigned char arg7 = (unsigned char) 0 ;
8537 bool result;
8538 unsigned char temp2 ;
8539 unsigned char temp3 ;
8540 unsigned char temp4 ;
8541 PyObject * obj0 = 0 ;
8542 PyObject * obj1 = 0 ;
8543 PyObject * obj2 = 0 ;
8544 PyObject * obj3 = 0 ;
8545 char *kwnames[] = {
8546 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8547 };
8548
8549 arg2 = &temp2;
8550 arg3 = &temp3;
8551 arg4 = &temp4;
8552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8555 if (obj1) {
15afbcd0
RD
8556 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8557 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8558 }
8559 if (obj2) {
15afbcd0
RD
8560 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8561 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8562 }
8563 if (obj3) {
15afbcd0
RD
8564 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8565 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8566 }
8567 {
8568 PyThreadState* __tstate = wxPyBeginAllowThreads();
8569 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8570
8571 wxPyEndAllowThreads(__tstate);
8572 if (PyErr_Occurred()) SWIG_fail;
8573 }
4f89f6a3
RD
8574 {
8575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8576 }
d14a1e28
RD
8577 {
8578 PyObject *o = PyInt_FromLong((long) (*arg2));
8579 resultobj = t_output_helper(resultobj,o);
8580 }
8581 {
8582 PyObject *o = PyInt_FromLong((long) (*arg3));
8583 resultobj = t_output_helper(resultobj,o);
8584 }
8585 {
8586 PyObject *o = PyInt_FromLong((long) (*arg4));
8587 resultobj = t_output_helper(resultobj,o);
8588 }
8589 return resultobj;
8590 fail:
8591 return NULL;
8592}
8593
8594
8595static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
8596 PyObject *obj;
8597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8598 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8599 Py_INCREF(obj);
8600 return Py_BuildValue((char *)"");
8601}
8602static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8603 PyObject *resultobj;
8604 wxString *arg1 = 0 ;
8605 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8606 int arg3 = (int) -1 ;
8607 wxImage *result;
e811c8ce 8608 bool temp1 = False ;
d14a1e28 8609 PyObject * obj0 = 0 ;
994141e6
RD
8610 PyObject * obj1 = 0 ;
8611 PyObject * obj2 = 0 ;
d14a1e28
RD
8612 char *kwnames[] = {
8613 (char *) "name",(char *) "type",(char *) "index", NULL
8614 };
8615
994141e6 8616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8617 {
8618 arg1 = wxString_in_helper(obj0);
8619 if (arg1 == NULL) SWIG_fail;
e811c8ce 8620 temp1 = True;
d14a1e28 8621 }
994141e6 8622 if (obj1) {
15afbcd0
RD
8623 arg2 = (long) SWIG_AsLong(obj1);
8624 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8625 }
8626 if (obj2) {
15afbcd0
RD
8627 arg3 = (int) SWIG_AsInt(obj2);
8628 if (PyErr_Occurred()) SWIG_fail;
994141e6 8629 }
d14a1e28
RD
8630 {
8631 PyThreadState* __tstate = wxPyBeginAllowThreads();
8632 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8633
8634 wxPyEndAllowThreads(__tstate);
8635 if (PyErr_Occurred()) SWIG_fail;
8636 }
15afbcd0 8637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8638 {
8639 if (temp1)
8640 delete arg1;
8641 }
8642 return resultobj;
8643 fail:
8644 {
8645 if (temp1)
8646 delete arg1;
8647 }
8648 return NULL;
8649}
8650
8651
8652static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8653 PyObject *resultobj;
8654 wxImage *arg1 = (wxImage *) 0 ;
8655 PyObject * obj0 = 0 ;
8656 char *kwnames[] = {
8657 (char *) "self", NULL
8658 };
8659
8660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
15afbcd0
RD
8661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8663 {
8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
8665 delete arg1;
8666
8667 wxPyEndAllowThreads(__tstate);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 }
8670 Py_INCREF(Py_None); resultobj = Py_None;
8671 return resultobj;
8672 fail:
8673 return NULL;
8674}
8675
8676
8677static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8678 PyObject *resultobj;
8679 wxString *arg1 = 0 ;
8680 wxString *arg2 = 0 ;
8681 int arg3 = (int) -1 ;
8682 wxImage *result;
e811c8ce
RD
8683 bool temp1 = False ;
8684 bool temp2 = False ;
d14a1e28
RD
8685 PyObject * obj0 = 0 ;
8686 PyObject * obj1 = 0 ;
994141e6 8687 PyObject * obj2 = 0 ;
d14a1e28
RD
8688 char *kwnames[] = {
8689 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8690 };
8691
994141e6 8692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8693 {
8694 arg1 = wxString_in_helper(obj0);
8695 if (arg1 == NULL) SWIG_fail;
e811c8ce 8696 temp1 = True;
d14a1e28
RD
8697 }
8698 {
8699 arg2 = wxString_in_helper(obj1);
8700 if (arg2 == NULL) SWIG_fail;
e811c8ce 8701 temp2 = True;
d14a1e28 8702 }
994141e6 8703 if (obj2) {
15afbcd0
RD
8704 arg3 = (int) SWIG_AsInt(obj2);
8705 if (PyErr_Occurred()) SWIG_fail;
994141e6 8706 }
d14a1e28
RD
8707 {
8708 PyThreadState* __tstate = wxPyBeginAllowThreads();
8709 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8710
8711 wxPyEndAllowThreads(__tstate);
8712 if (PyErr_Occurred()) SWIG_fail;
8713 }
15afbcd0 8714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8715 {
8716 if (temp1)
8717 delete arg1;
8718 }
8719 {
8720 if (temp2)
8721 delete arg2;
8722 }
8723 return resultobj;
8724 fail:
8725 {
8726 if (temp1)
8727 delete arg1;
8728 }
8729 {
8730 if (temp2)
8731 delete arg2;
8732 }
8733 return NULL;
8734}
8735
8736
8737static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8738 PyObject *resultobj;
8739 wxInputStream *arg1 = 0 ;
8740 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8741 int arg3 = (int) -1 ;
8742 wxImage *result;
8743 wxPyInputStream *temp1 ;
8744 bool created1 ;
8745 PyObject * obj0 = 0 ;
994141e6
RD
8746 PyObject * obj1 = 0 ;
8747 PyObject * obj2 = 0 ;
d14a1e28
RD
8748 char *kwnames[] = {
8749 (char *) "stream",(char *) "type",(char *) "index", NULL
8750 };
8751
994141e6 8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8753 {
8754 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8755 arg1 = temp1->m_wxis;
e811c8ce 8756 created1 = False;
d14a1e28
RD
8757 } else {
8758 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8759 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8760 if (arg1 == NULL) {
8761 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8762 SWIG_fail;
8763 }
e811c8ce 8764 created1 = True;
d14a1e28
RD
8765 }
8766 }
994141e6 8767 if (obj1) {
15afbcd0
RD
8768 arg2 = (long) SWIG_AsLong(obj1);
8769 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8770 }
8771 if (obj2) {
15afbcd0
RD
8772 arg3 = (int) SWIG_AsInt(obj2);
8773 if (PyErr_Occurred()) SWIG_fail;
994141e6 8774 }
d14a1e28
RD
8775 {
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
8778
8779 wxPyEndAllowThreads(__tstate);
8780 if (PyErr_Occurred()) SWIG_fail;
8781 }
15afbcd0 8782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8783 {
8784 if (created1)
8785 delete arg1;
8786 }
8787 return resultobj;
8788 fail:
8789 {
8790 if (created1)
8791 delete arg1;
8792 }
8793 return NULL;
8794}
8795
8796
8797static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8798 PyObject *resultobj;
8799 wxInputStream *arg1 = 0 ;
8800 wxString *arg2 = 0 ;
8801 int arg3 = (int) -1 ;
8802 wxImage *result;
8803 wxPyInputStream *temp1 ;
8804 bool created1 ;
e811c8ce 8805 bool temp2 = False ;
d14a1e28
RD
8806 PyObject * obj0 = 0 ;
8807 PyObject * obj1 = 0 ;
994141e6 8808 PyObject * obj2 = 0 ;
d14a1e28
RD
8809 char *kwnames[] = {
8810 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8811 };
8812
994141e6 8813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8814 {
8815 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8816 arg1 = temp1->m_wxis;
e811c8ce 8817 created1 = False;
d14a1e28
RD
8818 } else {
8819 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8820 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8821 if (arg1 == NULL) {
8822 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8823 SWIG_fail;
8824 }
e811c8ce 8825 created1 = True;
d14a1e28
RD
8826 }
8827 }
8828 {
8829 arg2 = wxString_in_helper(obj1);
8830 if (arg2 == NULL) SWIG_fail;
e811c8ce 8831 temp2 = True;
d14a1e28 8832 }
994141e6 8833 if (obj2) {
15afbcd0
RD
8834 arg3 = (int) SWIG_AsInt(obj2);
8835 if (PyErr_Occurred()) SWIG_fail;
994141e6 8836 }
d14a1e28
RD
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
8840
8841 wxPyEndAllowThreads(__tstate);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 }
15afbcd0 8844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8845 {
8846 if (created1)
8847 delete arg1;
8848 }
8849 {
8850 if (temp2)
8851 delete arg2;
8852 }
8853 return resultobj;
8854 fail:
8855 {
8856 if (created1)
8857 delete arg1;
8858 }
8859 {
8860 if (temp2)
8861 delete arg2;
8862 }
8863 return NULL;
8864}
8865
8866
66c033b4 8867static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8868 PyObject *resultobj;
8869 int arg1 = (int) 0 ;
8870 int arg2 = (int) 0 ;
e811c8ce 8871 bool arg3 = (bool) True ;
d14a1e28 8872 wxImage *result;
994141e6
RD
8873 PyObject * obj0 = 0 ;
8874 PyObject * obj1 = 0 ;
d14a1e28 8875 PyObject * obj2 = 0 ;
66c033b4
RD
8876 char *kwnames[] = {
8877 (char *) "width",(char *) "height",(char *) "clear", NULL
8878 };
d14a1e28 8879
66c033b4 8880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 8881 if (obj0) {
15afbcd0
RD
8882 arg1 = (int) SWIG_AsInt(obj0);
8883 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8884 }
8885 if (obj1) {
15afbcd0
RD
8886 arg2 = (int) SWIG_AsInt(obj1);
8887 if (PyErr_Occurred()) SWIG_fail;
994141e6 8888 }
d14a1e28 8889 if (obj2) {
15afbcd0
RD
8890 arg3 = (bool) SWIG_AsBool(obj2);
8891 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8892 }
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 8895 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
d14a1e28
RD
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
15afbcd0 8900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8901 return resultobj;
8902 fail:
8903 return NULL;
8904}
8905
8906
8907static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8908 PyObject *resultobj;
8909 wxBitmap *arg1 = 0 ;
8910 wxImage *result;
8911 PyObject * obj0 = 0 ;
8912 char *kwnames[] = {
8913 (char *) "bitmap", NULL
8914 };
8915
8916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
8917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
8918 SWIG_POINTER_EXCEPTION | 0)) == -1)
8919 SWIG_fail;
d14a1e28 8920 if (arg1 == NULL) {
15afbcd0
RD
8921 PyErr_SetString(PyExc_TypeError,"null reference");
8922 SWIG_fail;
d14a1e28
RD
8923 }
8924 {
e3b71cb8 8925 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8928
8929 wxPyEndAllowThreads(__tstate);
110da5b0 8930 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8931 }
15afbcd0 8932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8933 return resultobj;
8934 fail:
8935 return NULL;
8936}
8937
8938
8939static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj;
8941 int arg1 ;
8942 int arg2 ;
8943 unsigned char *arg3 = (unsigned char *) 0 ;
8944 wxImage *result;
994141e6
RD
8945 PyObject * obj0 = 0 ;
8946 PyObject * obj1 = 0 ;
d14a1e28
RD
8947 PyObject * obj2 = 0 ;
8948 char *kwnames[] = {
8949 (char *) "width",(char *) "height",(char *) "data", NULL
8950 };
8951
994141e6 8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8953 arg1 = (int) SWIG_AsInt(obj0);
8954 if (PyErr_Occurred()) SWIG_fail;
8955 arg2 = (int) SWIG_AsInt(obj1);
8956 if (PyErr_Occurred()) SWIG_fail;
8957 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
8958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
15afbcd0 8966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8967 return resultobj;
8968 fail:
8969 return NULL;
8970}
8971
8972
8973static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxImage *arg1 = (wxImage *) 0 ;
8976 int arg2 ;
8977 int arg3 ;
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_Create",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 (arg1)->Create(arg2,arg3);
8995
8996 wxPyEndAllowThreads(__tstate);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 }
8999 Py_INCREF(Py_None); resultobj = Py_None;
9000 return resultobj;
9001 fail:
9002 return NULL;
9003}
9004
9005
9006static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
9007 PyObject *resultobj;
9008 wxImage *arg1 = (wxImage *) 0 ;
9009 PyObject * obj0 = 0 ;
9010 char *kwnames[] = {
9011 (char *) "self", NULL
9012 };
9013
9014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
9015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9017 {
9018 PyThreadState* __tstate = wxPyBeginAllowThreads();
9019 (arg1)->Destroy();
9020
9021 wxPyEndAllowThreads(__tstate);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 }
9024 Py_INCREF(Py_None); resultobj = Py_None;
9025 return resultobj;
9026 fail:
9027 return NULL;
9028}
9029
9030
9031static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
9032 PyObject *resultobj;
9033 wxImage *arg1 = (wxImage *) 0 ;
9034 int arg2 ;
9035 int arg3 ;
9036 SwigValueWrapper< wxImage > result;
9037 PyObject * obj0 = 0 ;
994141e6
RD
9038 PyObject * obj1 = 0 ;
9039 PyObject * obj2 = 0 ;
d14a1e28
RD
9040 char *kwnames[] = {
9041 (char *) "self",(char *) "width",(char *) "height", NULL
9042 };
9043
994141e6 9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9047 arg2 = (int) SWIG_AsInt(obj1);
9048 if (PyErr_Occurred()) SWIG_fail;
9049 arg3 = (int) SWIG_AsInt(obj2);
9050 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9051 {
9052 PyThreadState* __tstate = wxPyBeginAllowThreads();
9053 result = (arg1)->Scale(arg2,arg3);
9054
9055 wxPyEndAllowThreads(__tstate);
9056 if (PyErr_Occurred()) SWIG_fail;
9057 }
9058 {
9059 wxImage * resultptr;
9060 resultptr = new wxImage((wxImage &) result);
15afbcd0 9061 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9062 }
9063 return resultobj;
9064 fail:
9065 return NULL;
9066}
9067
9068
9069static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
9070 PyObject *resultobj;
9071 wxImage *arg1 = (wxImage *) 0 ;
9072 int arg2 ;
9073 int arg3 ;
9074 SwigValueWrapper< wxImage > result;
9075 PyObject * obj0 = 0 ;
994141e6
RD
9076 PyObject * obj1 = 0 ;
9077 PyObject * obj2 = 0 ;
d14a1e28
RD
9078 char *kwnames[] = {
9079 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9080 };
9081
994141e6 9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9085 arg2 = (int) SWIG_AsInt(obj1);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 arg3 = (int) SWIG_AsInt(obj2);
9088 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9089 {
9090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9091 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
9092
9093 wxPyEndAllowThreads(__tstate);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 }
9096 {
9097 wxImage * resultptr;
9098 resultptr = new wxImage((wxImage &) result);
15afbcd0 9099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9100 }
9101 return resultobj;
9102 fail:
9103 return NULL;
9104}
9105
9106
9107static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
9108 PyObject *resultobj;
9109 wxImage *arg1 = (wxImage *) 0 ;
9110 int arg2 ;
9111 int arg3 ;
9112 wxImage *result;
9113 PyObject * obj0 = 0 ;
994141e6
RD
9114 PyObject * obj1 = 0 ;
9115 PyObject * obj2 = 0 ;
d14a1e28
RD
9116 char *kwnames[] = {
9117 (char *) "self",(char *) "width",(char *) "height", NULL
9118 };
9119
994141e6 9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9123 arg2 = (int) SWIG_AsInt(obj1);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 arg3 = (int) SWIG_AsInt(obj2);
9126 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 {
9130 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
9131 result = (wxImage *) &_result_ref;
9132 }
9133
9134 wxPyEndAllowThreads(__tstate);
9135 if (PyErr_Occurred()) SWIG_fail;
9136 }
15afbcd0 9137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
9138 return resultobj;
9139 fail:
9140 return NULL;
9141}
9142
9143
9144static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
9145 PyObject *resultobj;
9146 wxImage *arg1 = (wxImage *) 0 ;
9147 int arg2 ;
9148 int arg3 ;
9149 unsigned char arg4 ;
9150 unsigned char arg5 ;
9151 unsigned char arg6 ;
9152 PyObject * obj0 = 0 ;
994141e6
RD
9153 PyObject * obj1 = 0 ;
9154 PyObject * obj2 = 0 ;
d14a1e28
RD
9155 PyObject * obj3 = 0 ;
9156 PyObject * obj4 = 0 ;
9157 PyObject * obj5 = 0 ;
9158 char *kwnames[] = {
9159 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9160 };
9161
994141e6 9162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9165 arg2 = (int) SWIG_AsInt(obj1);
9166 if (PyErr_Occurred()) SWIG_fail;
9167 arg3 = (int) SWIG_AsInt(obj2);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
9174 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9175 {
9176 PyThreadState* __tstate = wxPyBeginAllowThreads();
9177 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9178
9179 wxPyEndAllowThreads(__tstate);
9180 if (PyErr_Occurred()) SWIG_fail;
9181 }
9182 Py_INCREF(Py_None); resultobj = Py_None;
9183 return resultobj;
9184 fail:
9185 return NULL;
9186}
9187
9188
9189static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9190 PyObject *resultobj;
9191 wxImage *arg1 = (wxImage *) 0 ;
9192 int arg2 ;
9193 int arg3 ;
9194 unsigned char result;
9195 PyObject * obj0 = 0 ;
994141e6
RD
9196 PyObject * obj1 = 0 ;
9197 PyObject * obj2 = 0 ;
d14a1e28
RD
9198 char *kwnames[] = {
9199 (char *) "self",(char *) "x",(char *) "y", NULL
9200 };
9201
994141e6 9202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9205 arg2 = (int) SWIG_AsInt(obj1);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 arg3 = (int) SWIG_AsInt(obj2);
9208 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9209 {
9210 PyThreadState* __tstate = wxPyBeginAllowThreads();
9211 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9212
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
15afbcd0 9216 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9217 return resultobj;
9218 fail:
9219 return NULL;
9220}
9221
9222
9223static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9224 PyObject *resultobj;
9225 wxImage *arg1 = (wxImage *) 0 ;
9226 int arg2 ;
9227 int arg3 ;
9228 unsigned char result;
9229 PyObject * obj0 = 0 ;
994141e6
RD
9230 PyObject * obj1 = 0 ;
9231 PyObject * obj2 = 0 ;
d14a1e28
RD
9232 char *kwnames[] = {
9233 (char *) "self",(char *) "x",(char *) "y", NULL
9234 };
9235
994141e6 9236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9239 arg2 = (int) SWIG_AsInt(obj1);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 arg3 = (int) SWIG_AsInt(obj2);
9242 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9243 {
9244 PyThreadState* __tstate = wxPyBeginAllowThreads();
9245 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9246
9247 wxPyEndAllowThreads(__tstate);
9248 if (PyErr_Occurred()) SWIG_fail;
9249 }
15afbcd0 9250 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9251 return resultobj;
9252 fail:
9253 return NULL;
9254}
9255
9256
9257static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9258 PyObject *resultobj;
9259 wxImage *arg1 = (wxImage *) 0 ;
9260 int arg2 ;
9261 int arg3 ;
9262 unsigned char result;
9263 PyObject * obj0 = 0 ;
994141e6
RD
9264 PyObject * obj1 = 0 ;
9265 PyObject * obj2 = 0 ;
d14a1e28
RD
9266 char *kwnames[] = {
9267 (char *) "self",(char *) "x",(char *) "y", NULL
9268 };
9269
994141e6 9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9273 arg2 = (int) SWIG_AsInt(obj1);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 arg3 = (int) SWIG_AsInt(obj2);
9276 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9280
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
15afbcd0 9284 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9285 return resultobj;
9286 fail:
9287 return NULL;
9288}
9289
9290
9291static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9292 PyObject *resultobj;
9293 wxImage *arg1 = (wxImage *) 0 ;
9294 int arg2 ;
9295 int arg3 ;
9296 unsigned char arg4 ;
9297 PyObject * obj0 = 0 ;
994141e6
RD
9298 PyObject * obj1 = 0 ;
9299 PyObject * obj2 = 0 ;
d14a1e28
RD
9300 PyObject * obj3 = 0 ;
9301 char *kwnames[] = {
9302 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9303 };
9304
994141e6 9305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9308 arg2 = (int) SWIG_AsInt(obj1);
9309 if (PyErr_Occurred()) SWIG_fail;
9310 arg3 = (int) SWIG_AsInt(obj2);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 (arg1)->SetAlpha(arg2,arg3,arg4);
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 Py_INCREF(Py_None); resultobj = Py_None;
9322 return resultobj;
9323 fail:
9324 return NULL;
9325}
9326
9327
9328static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9329 PyObject *resultobj;
9330 wxImage *arg1 = (wxImage *) 0 ;
9331 int arg2 ;
9332 int arg3 ;
9333 unsigned char result;
9334 PyObject * obj0 = 0 ;
994141e6
RD
9335 PyObject * obj1 = 0 ;
9336 PyObject * obj2 = 0 ;
d14a1e28
RD
9337 char *kwnames[] = {
9338 (char *) "self",(char *) "x",(char *) "y", NULL
9339 };
9340
994141e6 9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9344 arg2 = (int) SWIG_AsInt(obj1);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 arg3 = (int) SWIG_AsInt(obj2);
9347 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9348 {
9349 PyThreadState* __tstate = wxPyBeginAllowThreads();
9350 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9351
9352 wxPyEndAllowThreads(__tstate);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 }
15afbcd0 9355 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9356 return resultobj;
9357 fail:
9358 return NULL;
9359}
9360
9361
9362static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj;
9364 wxImage *arg1 = (wxImage *) 0 ;
9365 bool result;
9366 PyObject * obj0 = 0 ;
9367 char *kwnames[] = {
9368 (char *) "self", NULL
9369 };
9370
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
15afbcd0
RD
9372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9374 {
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 result = (bool)(arg1)->HasAlpha();
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
4f89f6a3
RD
9381 {
9382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9383 }
d14a1e28
RD
9384 return resultobj;
9385 fail:
9386 return NULL;
9387}
9388
9389
9390static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxImage *arg1 = (wxImage *) 0 ;
9393 byte *arg2 = (byte *) 0 ;
9394 byte *arg3 = (byte *) 0 ;
9395 byte *arg4 = (byte *) 0 ;
9396 byte arg5 = (byte) 0 ;
9397 byte arg6 = (byte) 0 ;
9398 byte arg7 = (byte) 0 ;
9399 bool result;
9400 byte temp2 ;
9401 byte temp3 ;
9402 byte temp4 ;
9403 PyObject * obj0 = 0 ;
9404 PyObject * obj1 = 0 ;
9405 PyObject * obj2 = 0 ;
9406 PyObject * obj3 = 0 ;
9407 char *kwnames[] = {
9408 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9409 };
9410
9411 arg2 = &temp2;
9412 arg3 = &temp3;
9413 arg4 = &temp4;
9414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9417 if (obj1) {
15afbcd0
RD
9418 arg5 = (byte) SWIG_AsUnsignedChar(obj1);
9419 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9420 }
9421 if (obj2) {
15afbcd0
RD
9422 arg6 = (byte) SWIG_AsUnsignedChar(obj2);
9423 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9424 }
9425 if (obj3) {
15afbcd0
RD
9426 arg7 = (byte) SWIG_AsUnsignedChar(obj3);
9427 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9428 }
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
4f89f6a3
RD
9436 {
9437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9438 }
d14a1e28
RD
9439 {
9440 PyObject *o = PyInt_FromLong((long) (*arg2));
9441 resultobj = t_output_helper(resultobj,o);
9442 }
9443 {
9444 PyObject *o = PyInt_FromLong((long) (*arg3));
9445 resultobj = t_output_helper(resultobj,o);
9446 }
9447 {
9448 PyObject *o = PyInt_FromLong((long) (*arg4));
9449 resultobj = t_output_helper(resultobj,o);
9450 }
9451 return resultobj;
9452 fail:
9453 return NULL;
9454}
9455
9456
9457static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9458 PyObject *resultobj;
9459 wxImage *arg1 = (wxImage *) 0 ;
9460 wxImage *arg2 = 0 ;
9461 byte arg3 ;
9462 byte arg4 ;
9463 byte arg5 ;
9464 bool result;
9465 PyObject * obj0 = 0 ;
9466 PyObject * obj1 = 0 ;
9467 PyObject * obj2 = 0 ;
9468 PyObject * obj3 = 0 ;
9469 PyObject * obj4 = 0 ;
9470 char *kwnames[] = {
9471 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9472 };
9473
9474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
9475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9478 SWIG_POINTER_EXCEPTION | 0)) == -1)
9479 SWIG_fail;
d14a1e28 9480 if (arg2 == NULL) {
15afbcd0
RD
9481 PyErr_SetString(PyExc_TypeError,"null reference");
9482 SWIG_fail;
a41e16b6 9483 }
15afbcd0
RD
9484 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 arg5 = (byte) SWIG_AsUnsignedChar(obj4);
9489 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9490 {
9491 PyThreadState* __tstate = wxPyBeginAllowThreads();
9492 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9493
9494 wxPyEndAllowThreads(__tstate);
9495 if (PyErr_Occurred()) SWIG_fail;
9496 }
4f89f6a3
RD
9497 {
9498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9499 }
d14a1e28
RD
9500 return resultobj;
9501 fail:
9502 return NULL;
9503}
9504
9505
9506static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
9507 PyObject *resultobj;
9508 wxString *arg1 = 0 ;
9509 bool result;
e811c8ce 9510 bool temp1 = False ;
d14a1e28
RD
9511 PyObject * obj0 = 0 ;
9512 char *kwnames[] = {
9513 (char *) "name", NULL
9514 };
9515
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9517 {
9518 arg1 = wxString_in_helper(obj0);
9519 if (arg1 == NULL) SWIG_fail;
e811c8ce 9520 temp1 = True;
d14a1e28
RD
9521 }
9522 {
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9525
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
4f89f6a3
RD
9529 {
9530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9531 }
d14a1e28
RD
9532 {
9533 if (temp1)
9534 delete arg1;
9535 }
9536 return resultobj;
9537 fail:
9538 {
9539 if (temp1)
9540 delete arg1;
9541 }
9542 return NULL;
9543}
9544
9545
9546static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9547 PyObject *resultobj;
9548 wxString *arg1 = 0 ;
9549 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9550 int result;
e811c8ce 9551 bool temp1 = False ;
d14a1e28 9552 PyObject * obj0 = 0 ;
994141e6 9553 PyObject * obj1 = 0 ;
d14a1e28
RD
9554 char *kwnames[] = {
9555 (char *) "name",(char *) "type", NULL
9556 };
9557
994141e6 9558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
9559 {
9560 arg1 = wxString_in_helper(obj0);
9561 if (arg1 == NULL) SWIG_fail;
e811c8ce 9562 temp1 = True;
d14a1e28 9563 }
994141e6 9564 if (obj1) {
15afbcd0
RD
9565 arg2 = (long) SWIG_AsLong(obj1);
9566 if (PyErr_Occurred()) SWIG_fail;
994141e6 9567 }
d14a1e28
RD
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
15afbcd0 9575 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9576 {
9577 if (temp1)
9578 delete arg1;
9579 }
9580 return resultobj;
9581 fail:
9582 {
9583 if (temp1)
9584 delete arg1;
9585 }
9586 return NULL;
9587}
9588
9589
9590static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9591 PyObject *resultobj;
9592 wxImage *arg1 = (wxImage *) 0 ;
9593 wxString *arg2 = 0 ;
9594 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9595 int arg4 = (int) -1 ;
9596 bool result;
e811c8ce 9597 bool temp2 = False ;
d14a1e28
RD
9598 PyObject * obj0 = 0 ;
9599 PyObject * obj1 = 0 ;
994141e6
RD
9600 PyObject * obj2 = 0 ;
9601 PyObject * obj3 = 0 ;
d14a1e28
RD
9602 char *kwnames[] = {
9603 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9604 };
9605
994141e6 9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9609 {
9610 arg2 = wxString_in_helper(obj1);
9611 if (arg2 == NULL) SWIG_fail;
e811c8ce 9612 temp2 = True;
d14a1e28 9613 }
994141e6 9614 if (obj2) {
15afbcd0
RD
9615 arg3 = (long) SWIG_AsLong(obj2);
9616 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9617 }
9618 if (obj3) {
15afbcd0
RD
9619 arg4 = (int) SWIG_AsInt(obj3);
9620 if (PyErr_Occurred()) SWIG_fail;
994141e6 9621 }
d14a1e28
RD
9622 {
9623 PyThreadState* __tstate = wxPyBeginAllowThreads();
9624 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9625
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
4f89f6a3
RD
9629 {
9630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9631 }
d14a1e28
RD
9632 {
9633 if (temp2)
9634 delete arg2;
9635 }
9636 return resultobj;
9637 fail:
9638 {
9639 if (temp2)
9640 delete arg2;
9641 }
9642 return NULL;
9643}
9644
9645
9646static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9647 PyObject *resultobj;
9648 wxImage *arg1 = (wxImage *) 0 ;
9649 wxString *arg2 = 0 ;
9650 wxString *arg3 = 0 ;
9651 int arg4 = (int) -1 ;
9652 bool result;
e811c8ce
RD
9653 bool temp2 = False ;
9654 bool temp3 = False ;
d14a1e28
RD
9655 PyObject * obj0 = 0 ;
9656 PyObject * obj1 = 0 ;
9657 PyObject * obj2 = 0 ;
994141e6 9658 PyObject * obj3 = 0 ;
d14a1e28
RD
9659 char *kwnames[] = {
9660 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9661 };
9662
994141e6 9663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9666 {
9667 arg2 = wxString_in_helper(obj1);
9668 if (arg2 == NULL) SWIG_fail;
e811c8ce 9669 temp2 = True;
d14a1e28
RD
9670 }
9671 {
9672 arg3 = wxString_in_helper(obj2);
9673 if (arg3 == NULL) SWIG_fail;
e811c8ce 9674 temp3 = True;
d14a1e28 9675 }
994141e6 9676 if (obj3) {
15afbcd0
RD
9677 arg4 = (int) SWIG_AsInt(obj3);
9678 if (PyErr_Occurred()) SWIG_fail;
994141e6 9679 }
d14a1e28
RD
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9683
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
4f89f6a3
RD
9687 {
9688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9689 }
d14a1e28
RD
9690 {
9691 if (temp2)
9692 delete arg2;
9693 }
9694 {
9695 if (temp3)
9696 delete arg3;
9697 }
9698 return resultobj;
9699 fail:
9700 {
9701 if (temp2)
9702 delete arg2;
9703 }
9704 {
9705 if (temp3)
9706 delete arg3;
9707 }
9708 return NULL;
9709}
9710
9711
9712static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9713 PyObject *resultobj;
9714 wxImage *arg1 = (wxImage *) 0 ;
9715 wxString *arg2 = 0 ;
9716 int arg3 ;
9717 bool result;
e811c8ce 9718 bool temp2 = False ;
d14a1e28
RD
9719 PyObject * obj0 = 0 ;
9720 PyObject * obj1 = 0 ;
994141e6 9721 PyObject * obj2 = 0 ;
d14a1e28
RD
9722 char *kwnames[] = {
9723 (char *) "self",(char *) "name",(char *) "type", NULL
9724 };
9725
994141e6 9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9729 {
9730 arg2 = wxString_in_helper(obj1);
9731 if (arg2 == NULL) SWIG_fail;
e811c8ce 9732 temp2 = True;
d14a1e28 9733 }
15afbcd0
RD
9734 arg3 = (int) SWIG_AsInt(obj2);
9735 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9736 {
9737 PyThreadState* __tstate = wxPyBeginAllowThreads();
9738 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9739
9740 wxPyEndAllowThreads(__tstate);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 }
4f89f6a3
RD
9743 {
9744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9745 }
d14a1e28
RD
9746 {
9747 if (temp2)
9748 delete arg2;
9749 }
9750 return resultobj;
9751 fail:
9752 {
9753 if (temp2)
9754 delete arg2;
9755 }
9756 return NULL;
9757}
9758
9759
9760static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9761 PyObject *resultobj;
9762 wxImage *arg1 = (wxImage *) 0 ;
9763 wxString *arg2 = 0 ;
9764 wxString *arg3 = 0 ;
9765 bool result;
e811c8ce
RD
9766 bool temp2 = False ;
9767 bool temp3 = False ;
d14a1e28
RD
9768 PyObject * obj0 = 0 ;
9769 PyObject * obj1 = 0 ;
9770 PyObject * obj2 = 0 ;
9771 char *kwnames[] = {
9772 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9773 };
9774
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9778 {
9779 arg2 = wxString_in_helper(obj1);
9780 if (arg2 == NULL) SWIG_fail;
e811c8ce 9781 temp2 = True;
d14a1e28
RD
9782 }
9783 {
9784 arg3 = wxString_in_helper(obj2);
9785 if (arg3 == NULL) SWIG_fail;
e811c8ce 9786 temp3 = True;
d14a1e28
RD
9787 }
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9791
9792 wxPyEndAllowThreads(__tstate);
9793 if (PyErr_Occurred()) SWIG_fail;
9794 }
4f89f6a3
RD
9795 {
9796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9797 }
d14a1e28
RD
9798 {
9799 if (temp2)
9800 delete arg2;
9801 }
9802 {
9803 if (temp3)
9804 delete arg3;
9805 }
9806 return resultobj;
9807 fail:
9808 {
9809 if (temp2)
9810 delete arg2;
9811 }
9812 {
9813 if (temp3)
9814 delete arg3;
9815 }
9816 return NULL;
9817}
9818
9819
9820static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9821 PyObject *resultobj;
9822 wxInputStream *arg1 = 0 ;
9823 bool result;
9824 wxPyInputStream *temp1 ;
9825 bool created1 ;
9826 PyObject * obj0 = 0 ;
9827 char *kwnames[] = {
9828 (char *) "stream", NULL
9829 };
9830
9831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9832 {
9833 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9834 arg1 = temp1->m_wxis;
e811c8ce 9835 created1 = False;
d14a1e28
RD
9836 } else {
9837 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9838 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
9839 if (arg1 == NULL) {
9840 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9841 SWIG_fail;
9842 }
e811c8ce 9843 created1 = True;
d14a1e28
RD
9844 }
9845 }
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = (bool)wxImage::CanRead(*arg1);
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
4f89f6a3
RD
9853 {
9854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9855 }
d14a1e28
RD
9856 {
9857 if (created1)
9858 delete arg1;
9859 }
9860 return resultobj;
9861 fail:
9862 {
9863 if (created1)
9864 delete arg1;
9865 }
9866 return NULL;
9867}
9868
9869
9870static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9871 PyObject *resultobj;
9872 wxImage *arg1 = (wxImage *) 0 ;
9873 wxInputStream *arg2 = 0 ;
9874 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9875 int arg4 = (int) -1 ;
9876 bool result;
9877 wxPyInputStream *temp2 ;
9878 bool created2 ;
9879 PyObject * obj0 = 0 ;
9880 PyObject * obj1 = 0 ;
994141e6
RD
9881 PyObject * obj2 = 0 ;
9882 PyObject * obj3 = 0 ;
d14a1e28
RD
9883 char *kwnames[] = {
9884 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9885 };
9886
994141e6 9887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9890 {
9891 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9892 arg2 = temp2->m_wxis;
e811c8ce 9893 created2 = False;
d14a1e28
RD
9894 } else {
9895 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9896 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9897 if (arg2 == NULL) {
9898 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9899 SWIG_fail;
9900 }
e811c8ce 9901 created2 = True;
d14a1e28
RD
9902 }
9903 }
994141e6 9904 if (obj2) {
15afbcd0
RD
9905 arg3 = (long) SWIG_AsLong(obj2);
9906 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9907 }
9908 if (obj3) {
15afbcd0
RD
9909 arg4 = (int) SWIG_AsInt(obj3);
9910 if (PyErr_Occurred()) SWIG_fail;
994141e6 9911 }
d14a1e28
RD
9912 {
9913 PyThreadState* __tstate = wxPyBeginAllowThreads();
9914 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9915
9916 wxPyEndAllowThreads(__tstate);
9917 if (PyErr_Occurred()) SWIG_fail;
9918 }
4f89f6a3
RD
9919 {
9920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9921 }
d14a1e28
RD
9922 {
9923 if (created2)
9924 delete arg2;
9925 }
9926 return resultobj;
9927 fail:
9928 {
9929 if (created2)
9930 delete arg2;
9931 }
9932 return NULL;
9933}
9934
9935
9936static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9937 PyObject *resultobj;
9938 wxImage *arg1 = (wxImage *) 0 ;
9939 wxInputStream *arg2 = 0 ;
9940 wxString *arg3 = 0 ;
9941 int arg4 = (int) -1 ;
9942 bool result;
9943 wxPyInputStream *temp2 ;
9944 bool created2 ;
e811c8ce 9945 bool temp3 = False ;
d14a1e28
RD
9946 PyObject * obj0 = 0 ;
9947 PyObject * obj1 = 0 ;
9948 PyObject * obj2 = 0 ;
994141e6 9949 PyObject * obj3 = 0 ;
d14a1e28
RD
9950 char *kwnames[] = {
9951 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9952 };
9953
994141e6 9954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9957 {
9958 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9959 arg2 = temp2->m_wxis;
e811c8ce 9960 created2 = False;
d14a1e28
RD
9961 } else {
9962 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9963 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9964 if (arg2 == NULL) {
9965 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9966 SWIG_fail;
9967 }
e811c8ce 9968 created2 = True;
d14a1e28
RD
9969 }
9970 }
9971 {
9972 arg3 = wxString_in_helper(obj2);
9973 if (arg3 == NULL) SWIG_fail;
e811c8ce 9974 temp3 = True;
d14a1e28 9975 }
994141e6 9976 if (obj3) {
15afbcd0
RD
9977 arg4 = (int) SWIG_AsInt(obj3);
9978 if (PyErr_Occurred()) SWIG_fail;
994141e6 9979 }
d14a1e28
RD
9980 {
9981 PyThreadState* __tstate = wxPyBeginAllowThreads();
9982 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9983
9984 wxPyEndAllowThreads(__tstate);
9985 if (PyErr_Occurred()) SWIG_fail;
9986 }
4f89f6a3
RD
9987 {
9988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9989 }
d14a1e28
RD
9990 {
9991 if (created2)
9992 delete arg2;
9993 }
9994 {
9995 if (temp3)
9996 delete arg3;
9997 }
9998 return resultobj;
9999 fail:
10000 {
10001 if (created2)
10002 delete arg2;
10003 }
10004 {
10005 if (temp3)
10006 delete arg3;
10007 }
10008 return NULL;
10009}
10010
10011
10012static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
10013 PyObject *resultobj;
10014 wxImage *arg1 = (wxImage *) 0 ;
10015 bool result;
10016 PyObject * obj0 = 0 ;
10017 char *kwnames[] = {
10018 (char *) "self", NULL
10019 };
10020
10021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
10022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10024 {
10025 PyThreadState* __tstate = wxPyBeginAllowThreads();
10026 result = (bool)(arg1)->Ok();
10027
10028 wxPyEndAllowThreads(__tstate);
10029 if (PyErr_Occurred()) SWIG_fail;
10030 }
4f89f6a3
RD
10031 {
10032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10033 }
d14a1e28
RD
10034 return resultobj;
10035 fail:
10036 return NULL;
10037}
10038
10039
10040static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10041 PyObject *resultobj;
10042 wxImage *arg1 = (wxImage *) 0 ;
10043 int result;
10044 PyObject * obj0 = 0 ;
10045 char *kwnames[] = {
10046 (char *) "self", NULL
10047 };
10048
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
10050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10052 {
10053 PyThreadState* __tstate = wxPyBeginAllowThreads();
10054 result = (int)(arg1)->GetWidth();
10055
10056 wxPyEndAllowThreads(__tstate);
10057 if (PyErr_Occurred()) SWIG_fail;
10058 }
15afbcd0 10059 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10060 return resultobj;
10061 fail:
10062 return NULL;
10063}
10064
10065
10066static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10067 PyObject *resultobj;
10068 wxImage *arg1 = (wxImage *) 0 ;
10069 int result;
10070 PyObject * obj0 = 0 ;
10071 char *kwnames[] = {
10072 (char *) "self", NULL
10073 };
10074
10075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
10080 result = (int)(arg1)->GetHeight();
10081
10082 wxPyEndAllowThreads(__tstate);
10083 if (PyErr_Occurred()) SWIG_fail;
10084 }
15afbcd0 10085 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10086 return resultobj;
10087 fail:
10088 return NULL;
10089}
10090
10091
b2df227b
RD
10092static PyObject *_wrap_Image_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10093 PyObject *resultobj;
10094 wxImage *arg1 = (wxImage *) 0 ;
10095 wxSize result;
10096 PyObject * obj0 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "self", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
10102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10104 {
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 result = wxImage_GetSize(arg1);
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 {
10112 wxSize * resultptr;
10113 resultptr = new wxSize((wxSize &) result);
10114 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10115 }
10116 return resultobj;
10117 fail:
10118 return NULL;
10119}
10120
10121
d14a1e28
RD
10122static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj;
10124 wxImage *arg1 = (wxImage *) 0 ;
10125 wxRect *arg2 = 0 ;
10126 SwigValueWrapper< wxImage > result;
10127 wxRect temp2 ;
10128 PyObject * obj0 = 0 ;
10129 PyObject * obj1 = 0 ;
10130 char *kwnames[] = {
10131 (char *) "self",(char *) "rect", NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10137 {
10138 arg2 = &temp2;
10139 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10140 }
10141 {
10142 PyThreadState* __tstate = wxPyBeginAllowThreads();
10143 result = (arg1)->GetSubImage((wxRect const &)*arg2);
10144
10145 wxPyEndAllowThreads(__tstate);
10146 if (PyErr_Occurred()) SWIG_fail;
10147 }
10148 {
10149 wxImage * resultptr;
10150 resultptr = new wxImage((wxImage &) result);
15afbcd0 10151 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10152 }
10153 return resultobj;
10154 fail:
10155 return NULL;
10156}
10157
10158
10159static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
10160 PyObject *resultobj;
10161 wxImage *arg1 = (wxImage *) 0 ;
10162 SwigValueWrapper< wxImage > result;
10163 PyObject * obj0 = 0 ;
10164 char *kwnames[] = {
10165 (char *) "self", NULL
10166 };
10167
10168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
10169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 result = (arg1)->Copy();
10174
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 }
10178 {
10179 wxImage * resultptr;
10180 resultptr = new wxImage((wxImage &) result);
15afbcd0 10181 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10182 }
10183 return resultobj;
10184 fail:
10185 return NULL;
10186}
10187
10188
10189static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
10190 PyObject *resultobj;
10191 wxImage *arg1 = (wxImage *) 0 ;
10192 wxImage *arg2 = 0 ;
10193 int arg3 ;
10194 int arg4 ;
10195 PyObject * obj0 = 0 ;
10196 PyObject * obj1 = 0 ;
994141e6
RD
10197 PyObject * obj2 = 0 ;
10198 PyObject * obj3 = 0 ;
d14a1e28
RD
10199 char *kwnames[] = {
10200 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10201 };
10202
994141e6 10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10206 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10207 SWIG_POINTER_EXCEPTION | 0)) == -1)
10208 SWIG_fail;
d14a1e28 10209 if (arg2 == NULL) {
15afbcd0
RD
10210 PyErr_SetString(PyExc_TypeError,"null reference");
10211 SWIG_fail;
994141e6 10212 }
15afbcd0
RD
10213 arg3 = (int) SWIG_AsInt(obj2);
10214 if (PyErr_Occurred()) SWIG_fail;
10215 arg4 = (int) SWIG_AsInt(obj3);
10216 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10217 {
10218 PyThreadState* __tstate = wxPyBeginAllowThreads();
10219 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10220
10221 wxPyEndAllowThreads(__tstate);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 }
10224 Py_INCREF(Py_None); resultobj = Py_None;
10225 return resultobj;
10226 fail:
10227 return NULL;
10228}
10229
10230
10231static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10232 PyObject *resultobj;
10233 wxImage *arg1 = (wxImage *) 0 ;
10234 PyObject *result;
10235 PyObject * obj0 = 0 ;
10236 char *kwnames[] = {
10237 (char *) "self", NULL
10238 };
10239
10240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10243 {
10244 PyThreadState* __tstate = wxPyBeginAllowThreads();
10245 result = (PyObject *)wxImage_GetData(arg1);
10246
10247 wxPyEndAllowThreads(__tstate);
10248 if (PyErr_Occurred()) SWIG_fail;
10249 }
10250 resultobj = result;
10251 return resultobj;
10252 fail:
10253 return NULL;
10254}
10255
10256
10257static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10258 PyObject *resultobj;
10259 wxImage *arg1 = (wxImage *) 0 ;
10260 PyObject *arg2 = (PyObject *) 0 ;
10261 PyObject * obj0 = 0 ;
10262 PyObject * obj1 = 0 ;
10263 char *kwnames[] = {
10264 (char *) "self",(char *) "data", NULL
10265 };
10266
10267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10270 arg2 = obj1;
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 wxImage_SetData(arg1,arg2);
10274
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 Py_INCREF(Py_None); resultobj = Py_None;
10279 return resultobj;
10280 fail:
10281 return NULL;
10282}
10283
10284
10285static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10286 PyObject *resultobj;
10287 wxImage *arg1 = (wxImage *) 0 ;
10288 PyObject *result;
10289 PyObject * obj0 = 0 ;
10290 char *kwnames[] = {
10291 (char *) "self", NULL
10292 };
10293
10294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
10299 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10300
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 }
10304 resultobj = result;
10305 return resultobj;
10306 fail:
10307 return NULL;
10308}
10309
10310
10311static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10312 PyObject *resultobj;
10313 wxImage *arg1 = (wxImage *) 0 ;
10314 PyObject *arg2 = (PyObject *) 0 ;
10315 PyObject * obj0 = 0 ;
10316 PyObject * obj1 = 0 ;
10317 char *kwnames[] = {
10318 (char *) "self",(char *) "data", NULL
10319 };
10320
10321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10324 arg2 = obj1;
10325 {
10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
10327 wxImage_SetDataBuffer(arg1,arg2);
10328
10329 wxPyEndAllowThreads(__tstate);
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
10332 Py_INCREF(Py_None); resultobj = Py_None;
10333 return resultobj;
10334 fail:
10335 return NULL;
10336}
10337
10338
10339static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10340 PyObject *resultobj;
10341 wxImage *arg1 = (wxImage *) 0 ;
10342 PyObject *result;
10343 PyObject * obj0 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "self", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 result = (PyObject *)wxImage_GetAlphaData(arg1);
10354
10355 wxPyEndAllowThreads(__tstate);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
10358 resultobj = result;
10359 return resultobj;
10360 fail:
10361 return NULL;
10362}
10363
10364
10365static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10366 PyObject *resultobj;
10367 wxImage *arg1 = (wxImage *) 0 ;
10368 PyObject *arg2 = (PyObject *) 0 ;
10369 PyObject * obj0 = 0 ;
10370 PyObject * obj1 = 0 ;
10371 char *kwnames[] = {
10372 (char *) "self",(char *) "data", NULL
10373 };
10374
10375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10378 arg2 = obj1;
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 wxImage_SetAlphaData(arg1,arg2);
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 Py_INCREF(Py_None); resultobj = Py_None;
10387 return resultobj;
10388 fail:
10389 return NULL;
10390}
10391
10392
10393static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10394 PyObject *resultobj;
10395 wxImage *arg1 = (wxImage *) 0 ;
10396 PyObject *result;
10397 PyObject * obj0 = 0 ;
10398 char *kwnames[] = {
10399 (char *) "self", NULL
10400 };
10401
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10408
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 resultobj = result;
10413 return resultobj;
10414 fail:
10415 return NULL;
10416}
10417
10418
10419static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10420 PyObject *resultobj;
10421 wxImage *arg1 = (wxImage *) 0 ;
10422 PyObject *arg2 = (PyObject *) 0 ;
10423 PyObject * obj0 = 0 ;
10424 PyObject * obj1 = 0 ;
10425 char *kwnames[] = {
10426 (char *) "self",(char *) "data", NULL
10427 };
10428
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10432 arg2 = obj1;
10433 {
10434 PyThreadState* __tstate = wxPyBeginAllowThreads();
10435 wxImage_SetAlphaBuffer(arg1,arg2);
10436
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 Py_INCREF(Py_None); resultobj = Py_None;
10441 return resultobj;
10442 fail:
10443 return NULL;
10444}
10445
10446
10447static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10448 PyObject *resultobj;
10449 wxImage *arg1 = (wxImage *) 0 ;
10450 unsigned char arg2 ;
10451 unsigned char arg3 ;
10452 unsigned char arg4 ;
10453 PyObject * obj0 = 0 ;
10454 PyObject * obj1 = 0 ;
10455 PyObject * obj2 = 0 ;
10456 PyObject * obj3 = 0 ;
10457 char *kwnames[] = {
10458 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10459 };
10460
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10464 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10467 if (PyErr_Occurred()) SWIG_fail;
10468 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10469 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10470 {
10471 PyThreadState* __tstate = wxPyBeginAllowThreads();
10472 (arg1)->SetMaskColour(arg2,arg3,arg4);
10473
10474 wxPyEndAllowThreads(__tstate);
10475 if (PyErr_Occurred()) SWIG_fail;
10476 }
10477 Py_INCREF(Py_None); resultobj = Py_None;
10478 return resultobj;
10479 fail:
10480 return NULL;
10481}
10482
10483
10484static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
10485 PyObject *resultobj;
10486 wxImage *arg1 = (wxImage *) 0 ;
10487 unsigned char result;
10488 PyObject * obj0 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self", NULL
10491 };
10492
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
15afbcd0
RD
10494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10496 {
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 result = (unsigned char)(arg1)->GetMaskRed();
10499
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 }
15afbcd0 10503 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10504 return resultobj;
10505 fail:
10506 return NULL;
10507}
10508
10509
10510static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10511 PyObject *resultobj;
10512 wxImage *arg1 = (wxImage *) 0 ;
10513 unsigned char result;
10514 PyObject * obj0 = 0 ;
10515 char *kwnames[] = {
10516 (char *) "self", NULL
10517 };
10518
10519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
10520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10522 {
10523 PyThreadState* __tstate = wxPyBeginAllowThreads();
10524 result = (unsigned char)(arg1)->GetMaskGreen();
10525
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
15afbcd0 10529 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10530 return resultobj;
10531 fail:
10532 return NULL;
10533}
10534
10535
10536static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
10537 PyObject *resultobj;
10538 wxImage *arg1 = (wxImage *) 0 ;
10539 unsigned char result;
10540 PyObject * obj0 = 0 ;
10541 char *kwnames[] = {
10542 (char *) "self", NULL
10543 };
10544
10545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10548 {
10549 PyThreadState* __tstate = wxPyBeginAllowThreads();
10550 result = (unsigned char)(arg1)->GetMaskBlue();
10551
10552 wxPyEndAllowThreads(__tstate);
10553 if (PyErr_Occurred()) SWIG_fail;
10554 }
15afbcd0 10555 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10556 return resultobj;
10557 fail:
10558 return NULL;
10559}
10560
10561
10562static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10565 bool arg2 = (bool) True ;
d14a1e28
RD
10566 PyObject * obj0 = 0 ;
10567 PyObject * obj1 = 0 ;
10568 char *kwnames[] = {
10569 (char *) "self",(char *) "mask", NULL
10570 };
10571
10572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10575 if (obj1) {
15afbcd0
RD
10576 arg2 = (bool) SWIG_AsBool(obj1);
10577 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10578 }
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 (arg1)->SetMask(arg2);
10582
10583 wxPyEndAllowThreads(__tstate);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
10586 Py_INCREF(Py_None); resultobj = Py_None;
10587 return resultobj;
10588 fail:
10589 return NULL;
10590}
10591
10592
10593static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10594 PyObject *resultobj;
10595 wxImage *arg1 = (wxImage *) 0 ;
10596 bool result;
10597 PyObject * obj0 = 0 ;
10598 char *kwnames[] = {
10599 (char *) "self", NULL
10600 };
10601
10602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
10603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10605 {
10606 PyThreadState* __tstate = wxPyBeginAllowThreads();
10607 result = (bool)(arg1)->HasMask();
10608
10609 wxPyEndAllowThreads(__tstate);
10610 if (PyErr_Occurred()) SWIG_fail;
10611 }
4f89f6a3
RD
10612 {
10613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10614 }
d14a1e28
RD
10615 return resultobj;
10616 fail:
10617 return NULL;
10618}
10619
10620
10621static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
10622 PyObject *resultobj;
10623 wxImage *arg1 = (wxImage *) 0 ;
10624 double arg2 ;
10625 wxPoint *arg3 = 0 ;
e811c8ce 10626 bool arg4 = (bool) True ;
d14a1e28
RD
10627 wxPoint *arg5 = (wxPoint *) NULL ;
10628 SwigValueWrapper< wxImage > result;
10629 wxPoint temp3 ;
10630 PyObject * obj0 = 0 ;
994141e6 10631 PyObject * obj1 = 0 ;
d14a1e28
RD
10632 PyObject * obj2 = 0 ;
10633 PyObject * obj3 = 0 ;
10634 PyObject * obj4 = 0 ;
10635 char *kwnames[] = {
10636 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10637 };
10638
994141e6 10639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10642 arg2 = (double) SWIG_AsDouble(obj1);
10643 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10644 {
10645 arg3 = &temp3;
10646 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10647 }
10648 if (obj3) {
15afbcd0
RD
10649 arg4 = (bool) SWIG_AsBool(obj3);
10650 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10651 }
10652 if (obj4) {
15afbcd0
RD
10653 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10655 }
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10659
10660 wxPyEndAllowThreads(__tstate);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 }
10663 {
10664 wxImage * resultptr;
10665 resultptr = new wxImage((wxImage &) result);
15afbcd0 10666 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10667 }
10668 return resultobj;
10669 fail:
10670 return NULL;
10671}
10672
10673
10674static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
10675 PyObject *resultobj;
10676 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10677 bool arg2 = (bool) True ;
d14a1e28
RD
10678 SwigValueWrapper< wxImage > result;
10679 PyObject * obj0 = 0 ;
10680 PyObject * obj1 = 0 ;
10681 char *kwnames[] = {
10682 (char *) "self",(char *) "clockwise", NULL
10683 };
10684
10685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10688 if (obj1) {
15afbcd0
RD
10689 arg2 = (bool) SWIG_AsBool(obj1);
10690 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10691 }
10692 {
10693 PyThreadState* __tstate = wxPyBeginAllowThreads();
10694 result = (arg1)->Rotate90(arg2);
10695
10696 wxPyEndAllowThreads(__tstate);
10697 if (PyErr_Occurred()) SWIG_fail;
10698 }
10699 {
10700 wxImage * resultptr;
10701 resultptr = new wxImage((wxImage &) result);
15afbcd0 10702 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10703 }
10704 return resultobj;
10705 fail:
10706 return NULL;
10707}
10708
10709
10710static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
10711 PyObject *resultobj;
10712 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10713 bool arg2 = (bool) True ;
d14a1e28
RD
10714 SwigValueWrapper< wxImage > result;
10715 PyObject * obj0 = 0 ;
10716 PyObject * obj1 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self",(char *) "horizontally", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10724 if (obj1) {
15afbcd0
RD
10725 arg2 = (bool) SWIG_AsBool(obj1);
10726 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10727 }
10728 {
10729 PyThreadState* __tstate = wxPyBeginAllowThreads();
10730 result = (arg1)->Mirror(arg2);
10731
10732 wxPyEndAllowThreads(__tstate);
10733 if (PyErr_Occurred()) SWIG_fail;
10734 }
10735 {
10736 wxImage * resultptr;
10737 resultptr = new wxImage((wxImage &) result);
15afbcd0 10738 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10739 }
10740 return resultobj;
10741 fail:
10742 return NULL;
10743}
10744
10745
10746static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
10747 PyObject *resultobj;
10748 wxImage *arg1 = (wxImage *) 0 ;
10749 unsigned char arg2 ;
10750 unsigned char arg3 ;
10751 unsigned char arg4 ;
10752 unsigned char arg5 ;
10753 unsigned char arg6 ;
10754 unsigned char arg7 ;
10755 PyObject * obj0 = 0 ;
10756 PyObject * obj1 = 0 ;
10757 PyObject * obj2 = 0 ;
10758 PyObject * obj3 = 0 ;
10759 PyObject * obj4 = 0 ;
10760 PyObject * obj5 = 0 ;
10761 PyObject * obj6 = 0 ;
10762 char *kwnames[] = {
10763 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10764 };
10765
10766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10769 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10770 if (PyErr_Occurred()) SWIG_fail;
10771 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10772 if (PyErr_Occurred()) SWIG_fail;
10773 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
10776 if (PyErr_Occurred()) SWIG_fail;
10777 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj6);
10780 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10781 {
10782 PyThreadState* __tstate = wxPyBeginAllowThreads();
10783 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10784
10785 wxPyEndAllowThreads(__tstate);
10786 if (PyErr_Occurred()) SWIG_fail;
10787 }
10788 Py_INCREF(Py_None); resultobj = Py_None;
10789 return resultobj;
10790 fail:
10791 return NULL;
10792}
10793
10794
10795static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
10796 PyObject *resultobj;
10797 wxImage *arg1 = (wxImage *) 0 ;
10798 unsigned char arg2 ;
10799 unsigned char arg3 ;
10800 unsigned char arg4 ;
10801 SwigValueWrapper< wxImage > result;
10802 PyObject * obj0 = 0 ;
10803 PyObject * obj1 = 0 ;
10804 PyObject * obj2 = 0 ;
10805 PyObject * obj3 = 0 ;
10806 char *kwnames[] = {
10807 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10808 };
10809
10810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10813 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10814 if (PyErr_Occurred()) SWIG_fail;
10815 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10818 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 {
10827 wxImage * resultptr;
10828 resultptr = new wxImage((wxImage &) result);
15afbcd0 10829 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10830 }
10831 return resultobj;
10832 fail:
10833 return NULL;
10834}
10835
10836
10837static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10838 PyObject *resultobj;
10839 wxImage *arg1 = (wxImage *) 0 ;
10840 wxString *arg2 = 0 ;
10841 wxString *arg3 = 0 ;
e811c8ce
RD
10842 bool temp2 = False ;
10843 bool temp3 = False ;
d14a1e28
RD
10844 PyObject * obj0 = 0 ;
10845 PyObject * obj1 = 0 ;
10846 PyObject * obj2 = 0 ;
10847 char *kwnames[] = {
10848 (char *) "self",(char *) "name",(char *) "value", NULL
10849 };
10850
10851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10854 {
10855 arg2 = wxString_in_helper(obj1);
10856 if (arg2 == NULL) SWIG_fail;
e811c8ce 10857 temp2 = True;
d14a1e28
RD
10858 }
10859 {
10860 arg3 = wxString_in_helper(obj2);
10861 if (arg3 == NULL) SWIG_fail;
e811c8ce 10862 temp3 = True;
d14a1e28
RD
10863 }
10864 {
10865 PyThreadState* __tstate = wxPyBeginAllowThreads();
10866 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10867
10868 wxPyEndAllowThreads(__tstate);
10869 if (PyErr_Occurred()) SWIG_fail;
10870 }
10871 Py_INCREF(Py_None); resultobj = Py_None;
10872 {
10873 if (temp2)
10874 delete arg2;
10875 }
10876 {
10877 if (temp3)
10878 delete arg3;
10879 }
10880 return resultobj;
10881 fail:
10882 {
10883 if (temp2)
10884 delete arg2;
10885 }
10886 {
10887 if (temp3)
10888 delete arg3;
10889 }
10890 return NULL;
10891}
10892
10893
10894static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10895 PyObject *resultobj;
10896 wxImage *arg1 = (wxImage *) 0 ;
10897 wxString *arg2 = 0 ;
10898 int arg3 ;
e811c8ce 10899 bool temp2 = False ;
d14a1e28
RD
10900 PyObject * obj0 = 0 ;
10901 PyObject * obj1 = 0 ;
994141e6 10902 PyObject * obj2 = 0 ;
d14a1e28
RD
10903 char *kwnames[] = {
10904 (char *) "self",(char *) "name",(char *) "value", NULL
10905 };
10906
994141e6 10907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10910 {
10911 arg2 = wxString_in_helper(obj1);
10912 if (arg2 == NULL) SWIG_fail;
e811c8ce 10913 temp2 = True;
d14a1e28 10914 }
15afbcd0
RD
10915 arg3 = (int) SWIG_AsInt(obj2);
10916 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10917 {
10918 PyThreadState* __tstate = wxPyBeginAllowThreads();
10919 (arg1)->SetOption((wxString const &)*arg2,arg3);
10920
10921 wxPyEndAllowThreads(__tstate);
10922 if (PyErr_Occurred()) SWIG_fail;
10923 }
10924 Py_INCREF(Py_None); resultobj = Py_None;
10925 {
10926 if (temp2)
10927 delete arg2;
10928 }
10929 return resultobj;
10930 fail:
10931 {
10932 if (temp2)
10933 delete arg2;
10934 }
10935 return NULL;
10936}
10937
10938
10939static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10940 PyObject *resultobj;
10941 wxImage *arg1 = (wxImage *) 0 ;
10942 wxString *arg2 = 0 ;
10943 wxString result;
e811c8ce 10944 bool temp2 = False ;
d14a1e28
RD
10945 PyObject * obj0 = 0 ;
10946 PyObject * obj1 = 0 ;
10947 char *kwnames[] = {
10948 (char *) "self",(char *) "name", NULL
10949 };
10950
10951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10954 {
10955 arg2 = wxString_in_helper(obj1);
10956 if (arg2 == NULL) SWIG_fail;
e811c8ce 10957 temp2 = True;
d14a1e28
RD
10958 }
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10962
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 }
10966 {
10967#if wxUSE_UNICODE
10968 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10969#else
10970 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10971#endif
10972 }
10973 {
10974 if (temp2)
10975 delete arg2;
10976 }
10977 return resultobj;
10978 fail:
10979 {
10980 if (temp2)
10981 delete arg2;
10982 }
10983 return NULL;
10984}
10985
10986
10987static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10988 PyObject *resultobj;
10989 wxImage *arg1 = (wxImage *) 0 ;
10990 wxString *arg2 = 0 ;
10991 int result;
e811c8ce 10992 bool temp2 = False ;
d14a1e28
RD
10993 PyObject * obj0 = 0 ;
10994 PyObject * obj1 = 0 ;
10995 char *kwnames[] = {
10996 (char *) "self",(char *) "name", NULL
10997 };
10998
10999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11002 {
11003 arg2 = wxString_in_helper(obj1);
11004 if (arg2 == NULL) SWIG_fail;
e811c8ce 11005 temp2 = True;
d14a1e28
RD
11006 }
11007 {
11008 PyThreadState* __tstate = wxPyBeginAllowThreads();
11009 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
11010
11011 wxPyEndAllowThreads(__tstate);
11012 if (PyErr_Occurred()) SWIG_fail;
11013 }
15afbcd0 11014 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11015 {
11016 if (temp2)
11017 delete arg2;
11018 }
11019 return resultobj;
11020 fail:
11021 {
11022 if (temp2)
11023 delete arg2;
11024 }
11025 return NULL;
11026}
11027
11028
11029static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
11030 PyObject *resultobj;
11031 wxImage *arg1 = (wxImage *) 0 ;
11032 wxString *arg2 = 0 ;
11033 bool result;
e811c8ce 11034 bool temp2 = False ;
d14a1e28
RD
11035 PyObject * obj0 = 0 ;
11036 PyObject * obj1 = 0 ;
11037 char *kwnames[] = {
11038 (char *) "self",(char *) "name", NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11044 {
11045 arg2 = wxString_in_helper(obj1);
11046 if (arg2 == NULL) SWIG_fail;
e811c8ce 11047 temp2 = True;
d14a1e28
RD
11048 }
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
11052
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
4f89f6a3
RD
11056 {
11057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11058 }
d14a1e28
RD
11059 {
11060 if (temp2)
11061 delete arg2;
11062 }
11063 return resultobj;
11064 fail:
11065 {
11066 if (temp2)
11067 delete arg2;
11068 }
11069 return NULL;
11070}
11071
11072
11073static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
11074 PyObject *resultobj;
11075 wxImage *arg1 = (wxImage *) 0 ;
11076 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
11077 unsigned long result;
11078 PyObject * obj0 = 0 ;
11079 PyObject * obj1 = 0 ;
11080 char *kwnames[] = {
11081 (char *) "self",(char *) "stopafter", NULL
11082 };
11083
11084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11087 if (obj1) {
15afbcd0
RD
11088 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
11089 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11090 }
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 result = (unsigned long)(arg1)->CountColours(arg2);
11094
11095 wxPyEndAllowThreads(__tstate);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 }
15afbcd0 11098 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
11099 return resultobj;
11100 fail:
11101 return NULL;
11102}
11103
11104
11105static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
11106 PyObject *resultobj;
11107 wxImage *arg1 = (wxImage *) 0 ;
11108 wxImageHistogram *arg2 = 0 ;
11109 unsigned long result;
11110 PyObject * obj0 = 0 ;
11111 PyObject * obj1 = 0 ;
11112 char *kwnames[] = {
11113 (char *) "self",(char *) "h", NULL
11114 };
11115
11116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11119 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
11120 SWIG_POINTER_EXCEPTION | 0)) == -1)
11121 SWIG_fail;
d14a1e28 11122 if (arg2 == NULL) {
15afbcd0
RD
11123 PyErr_SetString(PyExc_TypeError,"null reference");
11124 SWIG_fail;
d14a1e28
RD
11125 }
11126 {
11127 PyThreadState* __tstate = wxPyBeginAllowThreads();
11128 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
11129
11130 wxPyEndAllowThreads(__tstate);
11131 if (PyErr_Occurred()) SWIG_fail;
11132 }
15afbcd0 11133 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
11134 return resultobj;
11135 fail:
11136 return NULL;
11137}
11138
11139
11140static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11141 PyObject *resultobj;
11142 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11143 PyObject * obj0 = 0 ;
11144 char *kwnames[] = {
11145 (char *) "handler", NULL
11146 };
11147
11148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11151 {
11152 PyThreadState* __tstate = wxPyBeginAllowThreads();
11153 wxImage::AddHandler(arg1);
11154
11155 wxPyEndAllowThreads(__tstate);
11156 if (PyErr_Occurred()) SWIG_fail;
11157 }
11158 Py_INCREF(Py_None); resultobj = Py_None;
11159 return resultobj;
11160 fail:
11161 return NULL;
11162}
11163
11164
11165static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11166 PyObject *resultobj;
11167 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11168 PyObject * obj0 = 0 ;
11169 char *kwnames[] = {
11170 (char *) "handler", NULL
11171 };
11172
11173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11176 {
11177 PyThreadState* __tstate = wxPyBeginAllowThreads();
11178 wxImage::InsertHandler(arg1);
11179
11180 wxPyEndAllowThreads(__tstate);
11181 if (PyErr_Occurred()) SWIG_fail;
11182 }
11183 Py_INCREF(Py_None); resultobj = Py_None;
11184 return resultobj;
11185 fail:
11186 return NULL;
11187}
11188
11189
11190static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11191 PyObject *resultobj;
11192 wxString *arg1 = 0 ;
11193 bool result;
e811c8ce 11194 bool temp1 = False ;
d14a1e28
RD
11195 PyObject * obj0 = 0 ;
11196 char *kwnames[] = {
11197 (char *) "name", NULL
11198 };
11199
11200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11201 {
11202 arg1 = wxString_in_helper(obj0);
11203 if (arg1 == NULL) SWIG_fail;
e811c8ce 11204 temp1 = True;
d14a1e28
RD
11205 }
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11209
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
4f89f6a3
RD
11213 {
11214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11215 }
d14a1e28
RD
11216 {
11217 if (temp1)
11218 delete arg1;
11219 }
11220 return resultobj;
11221 fail:
11222 {
11223 if (temp1)
11224 delete arg1;
11225 }
11226 return NULL;
11227}
11228
11229
11230static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11231 PyObject *resultobj;
11232 wxString result;
11233 char *kwnames[] = {
11234 NULL
11235 };
11236
11237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 result = wxImage::GetImageExtWildcard();
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 {
11246#if wxUSE_UNICODE
11247 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11248#else
11249 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11250#endif
11251 }
11252 return resultobj;
11253 fail:
11254 return NULL;
11255}
11256
11257
11258static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11259 PyObject *resultobj;
11260 wxImage *arg1 = (wxImage *) 0 ;
11261 wxBitmap result;
11262 PyObject * obj0 = 0 ;
11263 char *kwnames[] = {
11264 (char *) "self", NULL
11265 };
11266
11267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
11268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11270 {
e3b71cb8 11271 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11272 PyThreadState* __tstate = wxPyBeginAllowThreads();
11273 result = wxImage_ConvertToBitmap(arg1);
11274
11275 wxPyEndAllowThreads(__tstate);
110da5b0 11276 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11277 }
11278 {
11279 wxBitmap * resultptr;
11280 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11281 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11282 }
11283 return resultobj;
11284 fail:
11285 return NULL;
11286}
11287
11288
11289static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11290 PyObject *resultobj;
11291 wxImage *arg1 = (wxImage *) 0 ;
11292 unsigned char arg2 ;
11293 unsigned char arg3 ;
11294 unsigned char arg4 ;
11295 wxBitmap result;
11296 PyObject * obj0 = 0 ;
11297 PyObject * obj1 = 0 ;
11298 PyObject * obj2 = 0 ;
11299 PyObject * obj3 = 0 ;
11300 char *kwnames[] = {
11301 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11302 };
11303
11304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11307 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
11312 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11313 {
e3b71cb8 11314 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11317
11318 wxPyEndAllowThreads(__tstate);
110da5b0 11319 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11320 }
11321 {
11322 wxBitmap * resultptr;
11323 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11325 }
11326 return resultobj;
11327 fail:
11328 return NULL;
11329}
11330
11331
11332static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
11333 PyObject *obj;
11334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11335 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11336 Py_INCREF(obj);
11337 return Py_BuildValue((char *)"");
11338}
d14a1e28
RD
11339static int _wrap_NullImage_set(PyObject *_val) {
11340 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11341 return 1;
11342}
11343
11344
11345static PyObject *_wrap_NullImage_get() {
11346 PyObject *pyobj;
11347
15afbcd0 11348 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
11349 return pyobj;
11350}
11351
11352
11353static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
11354 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11355 return 1;
11356}
11357
11358
11359static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11360 PyObject *pyobj;
11361
11362 {
11363#if wxUSE_UNICODE
11364 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11365#else
11366 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11367#endif
11368 }
11369 return pyobj;
11370}
11371
11372
11373static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
11374 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11375 return 1;
11376}
11377
11378
11379static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11380 PyObject *pyobj;
11381
11382 {
11383#if wxUSE_UNICODE
11384 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11385#else
11386 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11387#endif
11388 }
11389 return pyobj;
11390}
11391
11392
11393static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
11394 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11395 return 1;
11396}
11397
11398
11399static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11400 PyObject *pyobj;
11401
11402 {
11403#if wxUSE_UNICODE
11404 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11405#else
11406 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11407#endif
11408 }
11409 return pyobj;
11410}
11411
11412
11413static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
11414 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11415 return 1;
11416}
11417
11418
11419static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11420 PyObject *pyobj;
11421
11422 {
11423#if wxUSE_UNICODE
11424 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11425#else
11426 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11427#endif
11428 }
11429 return pyobj;
11430}
11431
11432
11433static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
11434 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11435 return 1;
11436}
11437
11438
11439static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11440 PyObject *pyobj;
11441
11442 {
11443#if wxUSE_UNICODE
11444 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11445#else
11446 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11447#endif
11448 }
11449 return pyobj;
11450}
11451
11452
11453static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11454 PyObject *resultobj;
11455 wxBMPHandler *result;
11456 char *kwnames[] = {
11457 NULL
11458 };
11459
11460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11461 {
11462 PyThreadState* __tstate = wxPyBeginAllowThreads();
11463 result = (wxBMPHandler *)new wxBMPHandler();
11464
11465 wxPyEndAllowThreads(__tstate);
11466 if (PyErr_Occurred()) SWIG_fail;
11467 }
15afbcd0 11468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
d14a1e28
RD
11469 return resultobj;
11470 fail:
11471 return NULL;
11472}
11473
11474
11475static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
11476 PyObject *obj;
11477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11478 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11479 Py_INCREF(obj);
11480 return Py_BuildValue((char *)"");
11481}
11482static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11483 PyObject *resultobj;
11484 wxICOHandler *result;
11485 char *kwnames[] = {
11486 NULL
11487 };
11488
11489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11490 {
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 result = (wxICOHandler *)new wxICOHandler();
11493
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 }
15afbcd0 11497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
d14a1e28
RD
11498 return resultobj;
11499 fail:
11500 return NULL;
11501}
11502
11503
11504static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
11505 PyObject *obj;
11506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11507 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11508 Py_INCREF(obj);
11509 return Py_BuildValue((char *)"");
11510}
11511static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11512 PyObject *resultobj;
11513 wxCURHandler *result;
11514 char *kwnames[] = {
11515 NULL
11516 };
11517
11518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11519 {
11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
11521 result = (wxCURHandler *)new wxCURHandler();
11522
11523 wxPyEndAllowThreads(__tstate);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
15afbcd0 11526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
d14a1e28
RD
11527 return resultobj;
11528 fail:
11529 return NULL;
11530}
11531
11532
11533static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
11534 PyObject *obj;
11535 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11536 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11537 Py_INCREF(obj);
11538 return Py_BuildValue((char *)"");
11539}
11540static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11541 PyObject *resultobj;
11542 wxANIHandler *result;
11543 char *kwnames[] = {
11544 NULL
11545 };
11546
11547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 result = (wxANIHandler *)new wxANIHandler();
11551
11552 wxPyEndAllowThreads(__tstate);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 }
15afbcd0 11555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
d14a1e28
RD
11556 return resultobj;
11557 fail:
11558 return NULL;
11559}
11560
11561
11562static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
11563 PyObject *obj;
11564 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11565 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11566 Py_INCREF(obj);
11567 return Py_BuildValue((char *)"");
11568}
11569static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11570 PyObject *resultobj;
11571 wxPNGHandler *result;
11572 char *kwnames[] = {
11573 NULL
11574 };
11575
11576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11577 {
11578 PyThreadState* __tstate = wxPyBeginAllowThreads();
11579 result = (wxPNGHandler *)new wxPNGHandler();
11580
11581 wxPyEndAllowThreads(__tstate);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
15afbcd0 11584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
d14a1e28
RD
11585 return resultobj;
11586 fail:
11587 return NULL;
11588}
11589
11590
11591static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
11592 PyObject *obj;
11593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11594 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11595 Py_INCREF(obj);
11596 return Py_BuildValue((char *)"");
11597}
11598static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11599 PyObject *resultobj;
11600 wxGIFHandler *result;
11601 char *kwnames[] = {
11602 NULL
11603 };
11604
11605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11606 {
11607 PyThreadState* __tstate = wxPyBeginAllowThreads();
11608 result = (wxGIFHandler *)new wxGIFHandler();
11609
11610 wxPyEndAllowThreads(__tstate);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 }
15afbcd0 11613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
d14a1e28
RD
11614 return resultobj;
11615 fail:
11616 return NULL;
11617}
11618
11619
11620static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
11621 PyObject *obj;
11622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11623 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11624 Py_INCREF(obj);
11625 return Py_BuildValue((char *)"");
11626}
11627static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11628 PyObject *resultobj;
11629 wxPCXHandler *result;
11630 char *kwnames[] = {
11631 NULL
11632 };
11633
11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11635 {
11636 PyThreadState* __tstate = wxPyBeginAllowThreads();
11637 result = (wxPCXHandler *)new wxPCXHandler();
11638
11639 wxPyEndAllowThreads(__tstate);
11640 if (PyErr_Occurred()) SWIG_fail;
11641 }
15afbcd0 11642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
d14a1e28
RD
11643 return resultobj;
11644 fail:
11645 return NULL;
11646}
11647
11648
11649static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
11650 PyObject *obj;
11651 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11652 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11653 Py_INCREF(obj);
11654 return Py_BuildValue((char *)"");
11655}
11656static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11657 PyObject *resultobj;
11658 wxJPEGHandler *result;
11659 char *kwnames[] = {
11660 NULL
11661 };
11662
11663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11664 {
11665 PyThreadState* __tstate = wxPyBeginAllowThreads();
11666 result = (wxJPEGHandler *)new wxJPEGHandler();
11667
11668 wxPyEndAllowThreads(__tstate);
11669 if (PyErr_Occurred()) SWIG_fail;
11670 }
15afbcd0 11671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
d14a1e28
RD
11672 return resultobj;
11673 fail:
11674 return NULL;
11675}
11676
11677
11678static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
11679 PyObject *obj;
11680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11681 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11682 Py_INCREF(obj);
11683 return Py_BuildValue((char *)"");
11684}
11685static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11686 PyObject *resultobj;
11687 wxPNMHandler *result;
11688 char *kwnames[] = {
11689 NULL
11690 };
11691
11692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11693 {
11694 PyThreadState* __tstate = wxPyBeginAllowThreads();
11695 result = (wxPNMHandler *)new wxPNMHandler();
11696
11697 wxPyEndAllowThreads(__tstate);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
15afbcd0 11700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
d14a1e28
RD
11701 return resultobj;
11702 fail:
11703 return NULL;
11704}
11705
11706
11707static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
11708 PyObject *obj;
11709 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11710 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11711 Py_INCREF(obj);
11712 return Py_BuildValue((char *)"");
11713}
11714static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11715 PyObject *resultobj;
11716 wxXPMHandler *result;
11717 char *kwnames[] = {
11718 NULL
11719 };
11720
11721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11722 {
11723 PyThreadState* __tstate = wxPyBeginAllowThreads();
11724 result = (wxXPMHandler *)new wxXPMHandler();
11725
11726 wxPyEndAllowThreads(__tstate);
11727 if (PyErr_Occurred()) SWIG_fail;
11728 }
15afbcd0 11729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
d14a1e28
RD
11730 return resultobj;
11731 fail:
11732 return NULL;
11733}
11734
11735
11736static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
11737 PyObject *obj;
11738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11739 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11740 Py_INCREF(obj);
11741 return Py_BuildValue((char *)"");
11742}
11743static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11744 PyObject *resultobj;
11745 wxTIFFHandler *result;
11746 char *kwnames[] = {
11747 NULL
11748 };
11749
11750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11751 {
11752 PyThreadState* __tstate = wxPyBeginAllowThreads();
11753 result = (wxTIFFHandler *)new wxTIFFHandler();
11754
11755 wxPyEndAllowThreads(__tstate);
11756 if (PyErr_Occurred()) SWIG_fail;
11757 }
15afbcd0 11758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
d14a1e28
RD
11759 return resultobj;
11760 fail:
11761 return NULL;
11762}
11763
11764
11765static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
11766 PyObject *obj;
11767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11768 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11769 Py_INCREF(obj);
11770 return Py_BuildValue((char *)"");
11771}
11772static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11773 PyObject *resultobj;
11774 wxEvtHandler *result;
11775 char *kwnames[] = {
11776 NULL
11777 };
11778
11779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11780 {
11781 PyThreadState* __tstate = wxPyBeginAllowThreads();
11782 result = (wxEvtHandler *)new wxEvtHandler();
11783
11784 wxPyEndAllowThreads(__tstate);
11785 if (PyErr_Occurred()) SWIG_fail;
11786 }
b0f7404b 11787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvtHandler, 1);
d14a1e28
RD
11788 return resultobj;
11789 fail:
11790 return NULL;
11791}
11792
11793
11794static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11795 PyObject *resultobj;
11796 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11797 wxEvtHandler *result;
11798 PyObject * obj0 = 0 ;
11799 char *kwnames[] = {
11800 (char *) "self", NULL
11801 };
11802
11803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 {
412d302d 11814 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
11815 }
11816 return resultobj;
11817 fail:
11818 return NULL;
11819}
11820
11821
11822static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11823 PyObject *resultobj;
11824 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11825 wxEvtHandler *result;
11826 PyObject * obj0 = 0 ;
11827 char *kwnames[] = {
11828 (char *) "self", NULL
11829 };
11830
11831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11834 {
11835 PyThreadState* __tstate = wxPyBeginAllowThreads();
11836 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11837
11838 wxPyEndAllowThreads(__tstate);
11839 if (PyErr_Occurred()) SWIG_fail;
11840 }
11841 {
412d302d 11842 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
11843 }
11844 return resultobj;
11845 fail:
11846 return NULL;
11847}
11848
11849
11850static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11851 PyObject *resultobj;
11852 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11853 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11854 PyObject * obj0 = 0 ;
11855 PyObject * obj1 = 0 ;
11856 char *kwnames[] = {
11857 (char *) "self",(char *) "handler", NULL
11858 };
11859
11860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 (arg1)->SetNextHandler(arg2);
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 Py_INCREF(Py_None); resultobj = Py_None;
11873 return resultobj;
11874 fail:
11875 return NULL;
11876}
11877
11878
11879static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11880 PyObject *resultobj;
11881 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11882 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11883 PyObject * obj0 = 0 ;
11884 PyObject * obj1 = 0 ;
11885 char *kwnames[] = {
11886 (char *) "self",(char *) "handler", NULL
11887 };
11888
11889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11894 {
11895 PyThreadState* __tstate = wxPyBeginAllowThreads();
11896 (arg1)->SetPreviousHandler(arg2);
11897
11898 wxPyEndAllowThreads(__tstate);
11899 if (PyErr_Occurred()) SWIG_fail;
11900 }
11901 Py_INCREF(Py_None); resultobj = Py_None;
11902 return resultobj;
11903 fail:
11904 return NULL;
11905}
11906
11907
11908static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11909 PyObject *resultobj;
11910 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11911 bool result;
11912 PyObject * obj0 = 0 ;
11913 char *kwnames[] = {
11914 (char *) "self", NULL
11915 };
11916
11917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
11918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11920 {
11921 PyThreadState* __tstate = wxPyBeginAllowThreads();
11922 result = (bool)(arg1)->GetEvtHandlerEnabled();
11923
11924 wxPyEndAllowThreads(__tstate);
11925 if (PyErr_Occurred()) SWIG_fail;
11926 }
4f89f6a3
RD
11927 {
11928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11929 }
d14a1e28
RD
11930 return resultobj;
11931 fail:
11932 return NULL;
11933}
11934
11935
11936static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11937 PyObject *resultobj;
11938 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11939 bool arg2 ;
11940 PyObject * obj0 = 0 ;
11941 PyObject * obj1 = 0 ;
11942 char *kwnames[] = {
11943 (char *) "self",(char *) "enabled", NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11949 arg2 = (bool) SWIG_AsBool(obj1);
11950 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11951 {
11952 PyThreadState* __tstate = wxPyBeginAllowThreads();
11953 (arg1)->SetEvtHandlerEnabled(arg2);
11954
11955 wxPyEndAllowThreads(__tstate);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 Py_INCREF(Py_None); resultobj = Py_None;
11959 return resultobj;
11960 fail:
11961 return NULL;
11962}
11963
11964
11965static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11966 PyObject *resultobj;
11967 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11968 wxEvent *arg2 = 0 ;
11969 bool result;
11970 PyObject * obj0 = 0 ;
11971 PyObject * obj1 = 0 ;
11972 char *kwnames[] = {
11973 (char *) "self",(char *) "event", NULL
11974 };
11975
11976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11980 SWIG_POINTER_EXCEPTION | 0)) == -1)
11981 SWIG_fail;
d14a1e28 11982 if (arg2 == NULL) {
15afbcd0
RD
11983 PyErr_SetString(PyExc_TypeError,"null reference");
11984 SWIG_fail;
d14a1e28
RD
11985 }
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 result = (bool)(arg1)->ProcessEvent(*arg2);
11989
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
4f89f6a3
RD
11993 {
11994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11995 }
d14a1e28
RD
11996 return resultobj;
11997 fail:
11998 return NULL;
11999}
12000
12001
12002static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12003 PyObject *resultobj;
12004 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12005 wxEvent *arg2 = 0 ;
12006 PyObject * obj0 = 0 ;
12007 PyObject * obj1 = 0 ;
12008 char *kwnames[] = {
12009 (char *) "self",(char *) "event", NULL
12010 };
12011
12012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12015 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12016 SWIG_POINTER_EXCEPTION | 0)) == -1)
12017 SWIG_fail;
d14a1e28 12018 if (arg2 == NULL) {
15afbcd0
RD
12019 PyErr_SetString(PyExc_TypeError,"null reference");
12020 SWIG_fail;
d14a1e28
RD
12021 }
12022 {
12023 PyThreadState* __tstate = wxPyBeginAllowThreads();
12024 (arg1)->AddPendingEvent(*arg2);
12025
12026 wxPyEndAllowThreads(__tstate);
12027 if (PyErr_Occurred()) SWIG_fail;
12028 }
12029 Py_INCREF(Py_None); resultobj = Py_None;
12030 return resultobj;
12031 fail:
12032 return NULL;
12033}
12034
12035
12036static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
12037 PyObject *resultobj;
12038 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12039 PyObject * obj0 = 0 ;
12040 char *kwnames[] = {
12041 (char *) "self", NULL
12042 };
12043
12044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
12045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12047 {
12048 PyThreadState* __tstate = wxPyBeginAllowThreads();
12049 (arg1)->ProcessPendingEvents();
12050
12051 wxPyEndAllowThreads(__tstate);
12052 if (PyErr_Occurred()) SWIG_fail;
12053 }
12054 Py_INCREF(Py_None); resultobj = Py_None;
12055 return resultobj;
12056 fail:
12057 return NULL;
12058}
12059
12060
12061static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
12062 PyObject *resultobj;
12063 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12064 int arg2 ;
12065 int arg3 ;
12066 int arg4 ;
12067 PyObject *arg5 = (PyObject *) 0 ;
12068 PyObject * obj0 = 0 ;
994141e6
RD
12069 PyObject * obj1 = 0 ;
12070 PyObject * obj2 = 0 ;
12071 PyObject * obj3 = 0 ;
d14a1e28
RD
12072 PyObject * obj4 = 0 ;
12073 char *kwnames[] = {
12074 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12075 };
12076
994141e6 12077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12080 arg2 = (int) SWIG_AsInt(obj1);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 arg3 = (int) SWIG_AsInt(obj2);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 arg4 = (int) SWIG_AsInt(obj3);
12085 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12086 arg5 = obj4;
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
12090
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
12094 Py_INCREF(Py_None); resultobj = Py_None;
12095 return resultobj;
12096 fail:
12097 return NULL;
12098}
12099
12100
12101static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
12102 PyObject *resultobj;
12103 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12104 int arg2 ;
12105 int arg3 = (int) -1 ;
12106 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
12107 bool result;
12108 PyObject * obj0 = 0 ;
994141e6
RD
12109 PyObject * obj1 = 0 ;
12110 PyObject * obj2 = 0 ;
12111 PyObject * obj3 = 0 ;
d14a1e28
RD
12112 char *kwnames[] = {
12113 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12114 };
12115
994141e6 12116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12119 arg2 = (int) SWIG_AsInt(obj1);
12120 if (PyErr_Occurred()) SWIG_fail;
994141e6 12121 if (obj2) {
15afbcd0
RD
12122 arg3 = (int) SWIG_AsInt(obj2);
12123 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12124 }
12125 if (obj3) {
15afbcd0
RD
12126 arg4 = (wxEventType) SWIG_AsInt(obj3);
12127 if (PyErr_Occurred()) SWIG_fail;
994141e6 12128 }
d14a1e28
RD
12129 {
12130 PyThreadState* __tstate = wxPyBeginAllowThreads();
12131 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
12132
12133 wxPyEndAllowThreads(__tstate);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 }
4f89f6a3
RD
12136 {
12137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12138 }
d14a1e28
RD
12139 return resultobj;
12140 fail:
12141 return NULL;
12142}
12143
12144
12145static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12146 PyObject *resultobj;
12147 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12148 PyObject *arg2 = (PyObject *) 0 ;
12149 PyObject * obj0 = 0 ;
12150 PyObject * obj1 = 0 ;
12151 char *kwnames[] = {
12152 (char *) "self",(char *) "_self", NULL
12153 };
12154
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12158 arg2 = obj1;
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 wxEvtHandler__setOORInfo(arg1,arg2);
12162
12163 wxPyEndAllowThreads(__tstate);
12164 if (PyErr_Occurred()) SWIG_fail;
12165 }
12166 Py_INCREF(Py_None); resultobj = Py_None;
12167 return resultobj;
12168 fail:
12169 return NULL;
12170}
12171
12172
12173static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
12174 PyObject *obj;
12175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12176 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12177 Py_INCREF(obj);
12178 return Py_BuildValue((char *)"");
12179}
12180static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12181 PyObject *resultobj;
12182 wxEventType result;
12183 char *kwnames[] = {
12184 NULL
12185 };
12186
12187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12188 {
12189 PyThreadState* __tstate = wxPyBeginAllowThreads();
12190 result = (wxEventType)wxNewEventType();
12191
12192 wxPyEndAllowThreads(__tstate);
12193 if (PyErr_Occurred()) SWIG_fail;
12194 }
15afbcd0 12195 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12196 return resultobj;
12197 fail:
12198 return NULL;
12199}
12200
12201
12202static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
12203 PyObject *resultobj;
12204 wxEvent *arg1 = (wxEvent *) 0 ;
12205 PyObject * obj0 = 0 ;
12206 char *kwnames[] = {
12207 (char *) "self", NULL
12208 };
12209
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
15afbcd0
RD
12211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12213 {
12214 PyThreadState* __tstate = wxPyBeginAllowThreads();
12215 delete arg1;
12216
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
12220 Py_INCREF(Py_None); resultobj = Py_None;
12221 return resultobj;
12222 fail:
12223 return NULL;
12224}
12225
12226
12227static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12228 PyObject *resultobj;
12229 wxEvent *arg1 = (wxEvent *) 0 ;
12230 wxEventType arg2 ;
12231 PyObject * obj0 = 0 ;
994141e6 12232 PyObject * obj1 = 0 ;
d14a1e28
RD
12233 char *kwnames[] = {
12234 (char *) "self",(char *) "typ", NULL
12235 };
12236
994141e6 12237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12240 arg2 = (wxEventType) SWIG_AsInt(obj1);
12241 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12242 {
12243 PyThreadState* __tstate = wxPyBeginAllowThreads();
12244 (arg1)->SetEventType(arg2);
12245
12246 wxPyEndAllowThreads(__tstate);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 }
12249 Py_INCREF(Py_None); resultobj = Py_None;
12250 return resultobj;
12251 fail:
12252 return NULL;
12253}
12254
12255
12256static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12257 PyObject *resultobj;
12258 wxEvent *arg1 = (wxEvent *) 0 ;
12259 wxEventType result;
12260 PyObject * obj0 = 0 ;
12261 char *kwnames[] = {
12262 (char *) "self", NULL
12263 };
12264
12265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
15afbcd0
RD
12266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12268 {
12269 PyThreadState* __tstate = wxPyBeginAllowThreads();
12270 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12271
12272 wxPyEndAllowThreads(__tstate);
12273 if (PyErr_Occurred()) SWIG_fail;
12274 }
15afbcd0 12275 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12276 return resultobj;
12277 fail:
12278 return NULL;
12279}
12280
12281
12282static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12283 PyObject *resultobj;
12284 wxEvent *arg1 = (wxEvent *) 0 ;
12285 wxObject *result;
12286 PyObject * obj0 = 0 ;
12287 char *kwnames[] = {
12288 (char *) "self", NULL
12289 };
12290
12291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
12292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12294 {
12295 PyThreadState* __tstate = wxPyBeginAllowThreads();
12296 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12297
12298 wxPyEndAllowThreads(__tstate);
12299 if (PyErr_Occurred()) SWIG_fail;
12300 }
12301 {
412d302d 12302 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
12303 }
12304 return resultobj;
12305 fail:
12306 return NULL;
12307}
12308
12309
12310static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12311 PyObject *resultobj;
12312 wxEvent *arg1 = (wxEvent *) 0 ;
12313 wxObject *arg2 = (wxObject *) 0 ;
12314 PyObject * obj0 = 0 ;
12315 PyObject * obj1 = 0 ;
12316 char *kwnames[] = {
12317 (char *) "self",(char *) "obj", NULL
12318 };
12319
12320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12323 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12325 {
12326 PyThreadState* __tstate = wxPyBeginAllowThreads();
12327 (arg1)->SetEventObject(arg2);
12328
12329 wxPyEndAllowThreads(__tstate);
12330 if (PyErr_Occurred()) SWIG_fail;
12331 }
12332 Py_INCREF(Py_None); resultobj = Py_None;
12333 return resultobj;
12334 fail:
12335 return NULL;
12336}
12337
12338
12339static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12340 PyObject *resultobj;
12341 wxEvent *arg1 = (wxEvent *) 0 ;
12342 long result;
12343 PyObject * obj0 = 0 ;
12344 char *kwnames[] = {
12345 (char *) "self", NULL
12346 };
12347
12348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
15afbcd0
RD
12349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12351 {
12352 PyThreadState* __tstate = wxPyBeginAllowThreads();
12353 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12354
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
15afbcd0 12358 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12359 return resultobj;
12360 fail:
12361 return NULL;
12362}
12363
12364
12365static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12366 PyObject *resultobj;
12367 wxEvent *arg1 = (wxEvent *) 0 ;
12368 long arg2 = (long) 0 ;
12369 PyObject * obj0 = 0 ;
994141e6 12370 PyObject * obj1 = 0 ;
d14a1e28
RD
12371 char *kwnames[] = {
12372 (char *) "self",(char *) "ts", NULL
12373 };
12374
994141e6 12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 12378 if (obj1) {
15afbcd0
RD
12379 arg2 = (long) SWIG_AsLong(obj1);
12380 if (PyErr_Occurred()) SWIG_fail;
994141e6 12381 }
d14a1e28
RD
12382 {
12383 PyThreadState* __tstate = wxPyBeginAllowThreads();
12384 (arg1)->SetTimestamp(arg2);
12385
12386 wxPyEndAllowThreads(__tstate);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
12389 Py_INCREF(Py_None); resultobj = Py_None;
12390 return resultobj;
12391 fail:
12392 return NULL;
12393}
12394
12395
12396static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12397 PyObject *resultobj;
12398 wxEvent *arg1 = (wxEvent *) 0 ;
12399 int result;
12400 PyObject * obj0 = 0 ;
12401 char *kwnames[] = {
12402 (char *) "self", NULL
12403 };
12404
12405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
12406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12408 {
12409 PyThreadState* __tstate = wxPyBeginAllowThreads();
12410 result = (int)((wxEvent const *)arg1)->GetId();
12411
12412 wxPyEndAllowThreads(__tstate);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 }
15afbcd0 12415 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12416 return resultobj;
12417 fail:
12418 return NULL;
12419}
12420
12421
12422static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12423 PyObject *resultobj;
12424 wxEvent *arg1 = (wxEvent *) 0 ;
12425 int arg2 ;
12426 PyObject * obj0 = 0 ;
994141e6 12427 PyObject * obj1 = 0 ;
d14a1e28
RD
12428 char *kwnames[] = {
12429 (char *) "self",(char *) "Id", NULL
12430 };
12431
994141e6 12432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12435 arg2 = (int) SWIG_AsInt(obj1);
12436 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12437 {
12438 PyThreadState* __tstate = wxPyBeginAllowThreads();
12439 (arg1)->SetId(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_IsCommandEvent(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_IsCommandEvent",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)->IsCommandEvent();
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_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
12480 PyObject *resultobj;
12481 wxEvent *arg1 = (wxEvent *) 0 ;
e811c8ce 12482 bool arg2 = (bool) True ;
d14a1e28
RD
12483 PyObject * obj0 = 0 ;
12484 PyObject * obj1 = 0 ;
12485 char *kwnames[] = {
12486 (char *) "self",(char *) "skip", NULL
12487 };
12488
12489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12492 if (obj1) {
15afbcd0
RD
12493 arg2 = (bool) SWIG_AsBool(obj1);
12494 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12495 }
12496 {
12497 PyThreadState* __tstate = wxPyBeginAllowThreads();
12498 (arg1)->Skip(arg2);
12499
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) SWIG_fail;
12502 }
12503 Py_INCREF(Py_None); resultobj = Py_None;
12504 return resultobj;
12505 fail:
12506 return NULL;
12507}
12508
12509
12510static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj;
12512 wxEvent *arg1 = (wxEvent *) 0 ;
12513 bool result;
12514 PyObject * obj0 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "self", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
15afbcd0
RD
12520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
4f89f6a3
RD
12529 {
12530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12531 }
d14a1e28
RD
12532 return resultobj;
12533 fail:
12534 return NULL;
12535}
12536
12537
12538static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
12539 PyObject *resultobj;
12540 wxEvent *arg1 = (wxEvent *) 0 ;
12541 bool result;
12542 PyObject * obj0 = 0 ;
12543 char *kwnames[] = {
12544 (char *) "self", NULL
12545 };
12546
12547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
15afbcd0
RD
12548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12550 {
12551 PyThreadState* __tstate = wxPyBeginAllowThreads();
12552 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12553
12554 wxPyEndAllowThreads(__tstate);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
4f89f6a3
RD
12557 {
12558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12559 }
d14a1e28
RD
12560 return resultobj;
12561 fail:
12562 return NULL;
12563}
12564
12565
12566static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12567 PyObject *resultobj;
12568 wxEvent *arg1 = (wxEvent *) 0 ;
12569 int result;
12570 PyObject * obj0 = 0 ;
12571 char *kwnames[] = {
12572 (char *) "self", NULL
12573 };
12574
12575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
15afbcd0
RD
12576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 result = (int)(arg1)->StopPropagation();
12581
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
15afbcd0 12585 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12586 return resultobj;
12587 fail:
12588 return NULL;
12589}
12590
12591
12592static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12593 PyObject *resultobj;
12594 wxEvent *arg1 = (wxEvent *) 0 ;
12595 int arg2 ;
12596 PyObject * obj0 = 0 ;
994141e6 12597 PyObject * obj1 = 0 ;
d14a1e28
RD
12598 char *kwnames[] = {
12599 (char *) "self",(char *) "propagationLevel", NULL
12600 };
12601
994141e6 12602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12605 arg2 = (int) SWIG_AsInt(obj1);
12606 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12607 {
12608 PyThreadState* __tstate = wxPyBeginAllowThreads();
12609 (arg1)->ResumePropagation(arg2);
12610
12611 wxPyEndAllowThreads(__tstate);
12612 if (PyErr_Occurred()) SWIG_fail;
12613 }
12614 Py_INCREF(Py_None); resultobj = Py_None;
12615 return resultobj;
12616 fail:
12617 return NULL;
12618}
12619
12620
12621static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12622 PyObject *resultobj;
12623 wxEvent *arg1 = (wxEvent *) 0 ;
12624 wxEvent *result;
12625 PyObject * obj0 = 0 ;
12626 char *kwnames[] = {
12627 (char *) "self", NULL
12628 };
12629
12630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
12631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 result = (wxEvent *)(arg1)->Clone();
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
15afbcd0 12640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
12641 return resultobj;
12642 fail:
12643 return NULL;
12644}
12645
12646
12647static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
12648 PyObject *obj;
12649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12650 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12651 Py_INCREF(obj);
12652 return Py_BuildValue((char *)"");
12653}
12654static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12655 PyObject *resultobj;
12656 wxEvent *arg1 = 0 ;
12657 wxPropagationDisabler *result;
12658 PyObject * obj0 = 0 ;
12659 char *kwnames[] = {
12660 (char *) "event", NULL
12661 };
12662
12663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12665 SWIG_POINTER_EXCEPTION | 0)) == -1)
12666 SWIG_fail;
d14a1e28 12667 if (arg1 == NULL) {
15afbcd0
RD
12668 PyErr_SetString(PyExc_TypeError,"null reference");
12669 SWIG_fail;
d14a1e28
RD
12670 }
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12674
12675 wxPyEndAllowThreads(__tstate);
12676 if (PyErr_Occurred()) SWIG_fail;
12677 }
15afbcd0 12678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
d14a1e28
RD
12679 return resultobj;
12680 fail:
12681 return NULL;
12682}
12683
12684
12685static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12686 PyObject *resultobj;
12687 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12688 PyObject * obj0 = 0 ;
12689 char *kwnames[] = {
12690 (char *) "self", NULL
12691 };
12692
12693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
12695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
12698 delete arg1;
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 Py_INCREF(Py_None); resultobj = Py_None;
12704 return resultobj;
12705 fail:
12706 return NULL;
12707}
12708
12709
12710static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
12711 PyObject *obj;
12712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12713 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12714 Py_INCREF(obj);
12715 return Py_BuildValue((char *)"");
12716}
12717static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12718 PyObject *resultobj;
12719 wxEvent *arg1 = 0 ;
12720 wxPropagateOnce *result;
12721 PyObject * obj0 = 0 ;
12722 char *kwnames[] = {
12723 (char *) "event", NULL
12724 };
12725
12726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
12727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12728 SWIG_POINTER_EXCEPTION | 0)) == -1)
12729 SWIG_fail;
d14a1e28 12730 if (arg1 == NULL) {
15afbcd0
RD
12731 PyErr_SetString(PyExc_TypeError,"null reference");
12732 SWIG_fail;
d14a1e28
RD
12733 }
12734 {
12735 PyThreadState* __tstate = wxPyBeginAllowThreads();
12736 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12737
12738 wxPyEndAllowThreads(__tstate);
12739 if (PyErr_Occurred()) SWIG_fail;
12740 }
15afbcd0 12741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
d14a1e28
RD
12742 return resultobj;
12743 fail:
12744 return NULL;
12745}
12746
12747
12748static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12749 PyObject *resultobj;
12750 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12751 PyObject * obj0 = 0 ;
12752 char *kwnames[] = {
12753 (char *) "self", NULL
12754 };
12755
12756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
12757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
12758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12759 {
12760 PyThreadState* __tstate = wxPyBeginAllowThreads();
12761 delete arg1;
12762
12763 wxPyEndAllowThreads(__tstate);
12764 if (PyErr_Occurred()) SWIG_fail;
12765 }
12766 Py_INCREF(Py_None); resultobj = Py_None;
12767 return resultobj;
12768 fail:
12769 return NULL;
12770}
12771
12772
12773static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
12774 PyObject *obj;
12775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12776 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12777 Py_INCREF(obj);
12778 return Py_BuildValue((char *)"");
12779}
12780static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12781 PyObject *resultobj;
12782 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12783 int arg2 = (int) 0 ;
12784 wxCommandEvent *result;
994141e6
RD
12785 PyObject * obj0 = 0 ;
12786 PyObject * obj1 = 0 ;
d14a1e28
RD
12787 char *kwnames[] = {
12788 (char *) "commandType",(char *) "winid", NULL
12789 };
12790
994141e6
RD
12791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12792 if (obj0) {
15afbcd0
RD
12793 arg1 = (wxEventType) SWIG_AsInt(obj0);
12794 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12795 }
12796 if (obj1) {
15afbcd0
RD
12797 arg2 = (int) SWIG_AsInt(obj1);
12798 if (PyErr_Occurred()) SWIG_fail;
994141e6 12799 }
d14a1e28
RD
12800 {
12801 PyThreadState* __tstate = wxPyBeginAllowThreads();
12802 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12803
12804 wxPyEndAllowThreads(__tstate);
12805 if (PyErr_Occurred()) SWIG_fail;
12806 }
15afbcd0 12807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
d14a1e28
RD
12808 return resultobj;
12809 fail:
12810 return NULL;
12811}
12812
12813
12814static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12815 PyObject *resultobj;
12816 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12817 int result;
12818 PyObject * obj0 = 0 ;
12819 char *kwnames[] = {
12820 (char *) "self", NULL
12821 };
12822
12823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12826 {
12827 PyThreadState* __tstate = wxPyBeginAllowThreads();
12828 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12829
12830 wxPyEndAllowThreads(__tstate);
12831 if (PyErr_Occurred()) SWIG_fail;
12832 }
15afbcd0 12833 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12834 return resultobj;
12835 fail:
12836 return NULL;
12837}
12838
12839
12840static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12841 PyObject *resultobj;
12842 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12843 wxString *arg2 = 0 ;
e811c8ce 12844 bool temp2 = False ;
d14a1e28
RD
12845 PyObject * obj0 = 0 ;
12846 PyObject * obj1 = 0 ;
12847 char *kwnames[] = {
12848 (char *) "self",(char *) "s", NULL
12849 };
12850
12851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12854 {
12855 arg2 = wxString_in_helper(obj1);
12856 if (arg2 == NULL) SWIG_fail;
e811c8ce 12857 temp2 = True;
d14a1e28
RD
12858 }
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 (arg1)->SetString((wxString const &)*arg2);
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 Py_INCREF(Py_None); resultobj = Py_None;
12867 {
12868 if (temp2)
12869 delete arg2;
12870 }
12871 return resultobj;
12872 fail:
12873 {
12874 if (temp2)
12875 delete arg2;
12876 }
12877 return NULL;
12878}
12879
12880
12881static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12882 PyObject *resultobj;
12883 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12884 wxString result;
12885 PyObject * obj0 = 0 ;
12886 char *kwnames[] = {
12887 (char *) "self", NULL
12888 };
12889
12890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
15afbcd0
RD
12891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12893 {
12894 PyThreadState* __tstate = wxPyBeginAllowThreads();
12895 result = ((wxCommandEvent const *)arg1)->GetString();
12896
12897 wxPyEndAllowThreads(__tstate);
12898 if (PyErr_Occurred()) SWIG_fail;
12899 }
12900 {
12901#if wxUSE_UNICODE
12902 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12903#else
12904 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12905#endif
12906 }
12907 return resultobj;
12908 fail:
12909 return NULL;
12910}
12911
12912
12913static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
12914 PyObject *resultobj;
12915 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12916 bool result;
12917 PyObject * obj0 = 0 ;
12918 char *kwnames[] = {
12919 (char *) "self", NULL
12920 };
12921
12922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
12923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12925 {
12926 PyThreadState* __tstate = wxPyBeginAllowThreads();
12927 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
12928
12929 wxPyEndAllowThreads(__tstate);
12930 if (PyErr_Occurred()) SWIG_fail;
12931 }
4f89f6a3
RD
12932 {
12933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12934 }
d14a1e28
RD
12935 return resultobj;
12936 fail:
12937 return NULL;
12938}
12939
12940
12941static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12942 PyObject *resultobj;
12943 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12944 bool result;
12945 PyObject * obj0 = 0 ;
12946 char *kwnames[] = {
12947 (char *) "self", NULL
12948 };
12949
12950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12953 {
12954 PyThreadState* __tstate = wxPyBeginAllowThreads();
12955 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
12956
12957 wxPyEndAllowThreads(__tstate);
12958 if (PyErr_Occurred()) SWIG_fail;
12959 }
4f89f6a3
RD
12960 {
12961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12962 }
d14a1e28
RD
12963 return resultobj;
12964 fail:
12965 return NULL;
12966}
12967
12968
12969static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12970 PyObject *resultobj;
12971 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12972 long arg2 ;
12973 PyObject * obj0 = 0 ;
994141e6 12974 PyObject * obj1 = 0 ;
d14a1e28
RD
12975 char *kwnames[] = {
12976 (char *) "self",(char *) "extraLong", NULL
12977 };
12978
994141e6 12979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12982 arg2 = (long) SWIG_AsLong(obj1);
12983 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 (arg1)->SetExtraLong(arg2);
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 Py_INCREF(Py_None); resultobj = Py_None;
12992 return resultobj;
12993 fail:
12994 return NULL;
12995}
12996
12997
12998static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj;
13000 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13001 long result;
13002 PyObject * obj0 = 0 ;
13003 char *kwnames[] = {
13004 (char *) "self", NULL
13005 };
13006
13007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
15afbcd0
RD
13008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
15afbcd0 13017 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
13018 return resultobj;
13019 fail:
13020 return NULL;
13021}
13022
13023
13024static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj;
13026 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13027 int arg2 ;
13028 PyObject * obj0 = 0 ;
994141e6 13029 PyObject * obj1 = 0 ;
d14a1e28
RD
13030 char *kwnames[] = {
13031 (char *) "self",(char *) "i", NULL
13032 };
13033
994141e6 13034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13037 arg2 = (int) SWIG_AsInt(obj1);
13038 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 (arg1)->SetInt(arg2);
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 Py_INCREF(Py_None); resultobj = Py_None;
13047 return resultobj;
13048 fail:
13049 return NULL;
13050}
13051
13052
13053static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13054 PyObject *resultobj;
13055 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13056 long result;
13057 PyObject * obj0 = 0 ;
13058 char *kwnames[] = {
13059 (char *) "self", NULL
13060 };
13061
13062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
15afbcd0
RD
13063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13065 {
13066 PyThreadState* __tstate = wxPyBeginAllowThreads();
13067 result = (long)((wxCommandEvent const *)arg1)->GetInt();
13068
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
15afbcd0 13072 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
13073 return resultobj;
13074 fail:
13075 return NULL;
13076}
13077
13078
13079static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
13080 PyObject *resultobj;
13081 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13082 wxEvent *result;
13083 PyObject * obj0 = 0 ;
13084 char *kwnames[] = {
13085 (char *) "self", NULL
13086 };
13087
13088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
13089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13091 {
13092 PyThreadState* __tstate = wxPyBeginAllowThreads();
13093 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
13094
13095 wxPyEndAllowThreads(__tstate);
13096 if (PyErr_Occurred()) SWIG_fail;
13097 }
15afbcd0 13098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
13099 return resultobj;
13100 fail:
13101 return NULL;
13102}
13103
13104
13105static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
13106 PyObject *obj;
13107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13108 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
13109 Py_INCREF(obj);
13110 return Py_BuildValue((char *)"");
13111}
13112static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13113 PyObject *resultobj;
13114 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13115 int arg2 = (int) 0 ;
13116 wxNotifyEvent *result;
994141e6
RD
13117 PyObject * obj0 = 0 ;
13118 PyObject * obj1 = 0 ;
d14a1e28
RD
13119 char *kwnames[] = {
13120 (char *) "commandType",(char *) "winid", NULL
13121 };
13122
994141e6
RD
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
13124 if (obj0) {
15afbcd0
RD
13125 arg1 = (wxEventType) SWIG_AsInt(obj0);
13126 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13127 }
13128 if (obj1) {
15afbcd0
RD
13129 arg2 = (int) SWIG_AsInt(obj1);
13130 if (PyErr_Occurred()) SWIG_fail;
994141e6 13131 }
d14a1e28
RD
13132 {
13133 PyThreadState* __tstate = wxPyBeginAllowThreads();
13134 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
13135
13136 wxPyEndAllowThreads(__tstate);
13137 if (PyErr_Occurred()) SWIG_fail;
13138 }
15afbcd0 13139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
d14a1e28
RD
13140 return resultobj;
13141 fail:
13142 return NULL;
13143}
13144
13145
13146static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
13147 PyObject *resultobj;
13148 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13149 PyObject * obj0 = 0 ;
13150 char *kwnames[] = {
13151 (char *) "self", NULL
13152 };
13153
13154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
15afbcd0
RD
13155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13157 {
13158 PyThreadState* __tstate = wxPyBeginAllowThreads();
13159 (arg1)->Veto();
13160
13161 wxPyEndAllowThreads(__tstate);
13162 if (PyErr_Occurred()) SWIG_fail;
13163 }
13164 Py_INCREF(Py_None); resultobj = Py_None;
13165 return resultobj;
13166 fail:
13167 return NULL;
13168}
13169
13170
13171static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
13172 PyObject *resultobj;
13173 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13174 PyObject * obj0 = 0 ;
13175 char *kwnames[] = {
13176 (char *) "self", NULL
13177 };
13178
13179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
15afbcd0
RD
13180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13182 {
13183 PyThreadState* __tstate = wxPyBeginAllowThreads();
13184 (arg1)->Allow();
13185
13186 wxPyEndAllowThreads(__tstate);
13187 if (PyErr_Occurred()) SWIG_fail;
13188 }
13189 Py_INCREF(Py_None); resultobj = Py_None;
13190 return resultobj;
13191 fail:
13192 return NULL;
13193}
13194
13195
13196static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
13197 PyObject *resultobj;
13198 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13199 bool result;
13200 PyObject * obj0 = 0 ;
13201 char *kwnames[] = {
13202 (char *) "self", NULL
13203 };
13204
13205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
15afbcd0
RD
13206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 result = (bool)(arg1)->IsAllowed();
13211
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
4f89f6a3
RD
13215 {
13216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13217 }
d14a1e28
RD
13218 return resultobj;
13219 fail:
13220 return NULL;
13221}
13222
13223
13224static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
13225 PyObject *obj;
13226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13227 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13228 Py_INCREF(obj);
13229 return Py_BuildValue((char *)"");
13230}
13231static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13232 PyObject *resultobj;
13233 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13234 int arg2 = (int) 0 ;
13235 int arg3 = (int) 0 ;
13236 int arg4 = (int) 0 ;
13237 wxScrollEvent *result;
994141e6
RD
13238 PyObject * obj0 = 0 ;
13239 PyObject * obj1 = 0 ;
13240 PyObject * obj2 = 0 ;
13241 PyObject * obj3 = 0 ;
d14a1e28
RD
13242 char *kwnames[] = {
13243 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13244 };
13245
994141e6
RD
13246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13247 if (obj0) {
15afbcd0
RD
13248 arg1 = (wxEventType) SWIG_AsInt(obj0);
13249 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13250 }
13251 if (obj1) {
15afbcd0
RD
13252 arg2 = (int) SWIG_AsInt(obj1);
13253 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13254 }
13255 if (obj2) {
15afbcd0
RD
13256 arg3 = (int) SWIG_AsInt(obj2);
13257 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13258 }
13259 if (obj3) {
15afbcd0
RD
13260 arg4 = (int) SWIG_AsInt(obj3);
13261 if (PyErr_Occurred()) SWIG_fail;
994141e6 13262 }
d14a1e28
RD
13263 {
13264 PyThreadState* __tstate = wxPyBeginAllowThreads();
13265 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13266
13267 wxPyEndAllowThreads(__tstate);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 }
15afbcd0 13270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
d14a1e28
RD
13271 return resultobj;
13272 fail:
13273 return NULL;
13274}
13275
13276
13277static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13278 PyObject *resultobj;
13279 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13280 int result;
13281 PyObject * obj0 = 0 ;
13282 char *kwnames[] = {
13283 (char *) "self", NULL
13284 };
13285
13286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13289 {
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13292
13293 wxPyEndAllowThreads(__tstate);
13294 if (PyErr_Occurred()) SWIG_fail;
13295 }
15afbcd0 13296 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13297 return resultobj;
13298 fail:
13299 return NULL;
13300}
13301
13302
13303static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj;
13305 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13306 int result;
13307 PyObject * obj0 = 0 ;
13308 char *kwnames[] = {
13309 (char *) "self", NULL
13310 };
13311
13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13315 {
13316 PyThreadState* __tstate = wxPyBeginAllowThreads();
13317 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13318
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
15afbcd0 13322 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13323 return resultobj;
13324 fail:
13325 return NULL;
13326}
13327
13328
13329static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13330 PyObject *resultobj;
13331 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13332 int arg2 ;
13333 PyObject * obj0 = 0 ;
994141e6 13334 PyObject * obj1 = 0 ;
d14a1e28
RD
13335 char *kwnames[] = {
13336 (char *) "self",(char *) "orient", NULL
13337 };
13338
994141e6 13339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13342 arg2 = (int) SWIG_AsInt(obj1);
13343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13344 {
13345 PyThreadState* __tstate = wxPyBeginAllowThreads();
13346 (arg1)->SetOrientation(arg2);
13347
13348 wxPyEndAllowThreads(__tstate);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 Py_INCREF(Py_None); resultobj = Py_None;
13352 return resultobj;
13353 fail:
13354 return NULL;
13355}
13356
13357
13358static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13359 PyObject *resultobj;
13360 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13361 int arg2 ;
13362 PyObject * obj0 = 0 ;
994141e6 13363 PyObject * obj1 = 0 ;
d14a1e28
RD
13364 char *kwnames[] = {
13365 (char *) "self",(char *) "pos", NULL
13366 };
13367
994141e6 13368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13371 arg2 = (int) SWIG_AsInt(obj1);
13372 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13373 {
13374 PyThreadState* __tstate = wxPyBeginAllowThreads();
13375 (arg1)->SetPosition(arg2);
13376
13377 wxPyEndAllowThreads(__tstate);
13378 if (PyErr_Occurred()) SWIG_fail;
13379 }
13380 Py_INCREF(Py_None); resultobj = Py_None;
13381 return resultobj;
13382 fail:
13383 return NULL;
13384}
13385
13386
13387static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
13388 PyObject *obj;
13389 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13390 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13391 Py_INCREF(obj);
13392 return Py_BuildValue((char *)"");
13393}
13394static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13395 PyObject *resultobj;
13396 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13397 int arg2 = (int) 0 ;
13398 int arg3 = (int) 0 ;
13399 wxScrollWinEvent *result;
994141e6
RD
13400 PyObject * obj0 = 0 ;
13401 PyObject * obj1 = 0 ;
13402 PyObject * obj2 = 0 ;
d14a1e28
RD
13403 char *kwnames[] = {
13404 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13405 };
13406
994141e6
RD
13407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13408 if (obj0) {
15afbcd0
RD
13409 arg1 = (wxEventType) SWIG_AsInt(obj0);
13410 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13411 }
13412 if (obj1) {
15afbcd0
RD
13413 arg2 = (int) SWIG_AsInt(obj1);
13414 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13415 }
13416 if (obj2) {
15afbcd0
RD
13417 arg3 = (int) SWIG_AsInt(obj2);
13418 if (PyErr_Occurred()) SWIG_fail;
994141e6 13419 }
d14a1e28
RD
13420 {
13421 PyThreadState* __tstate = wxPyBeginAllowThreads();
13422 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13423
13424 wxPyEndAllowThreads(__tstate);
13425 if (PyErr_Occurred()) SWIG_fail;
13426 }
15afbcd0 13427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
d14a1e28
RD
13428 return resultobj;
13429 fail:
13430 return NULL;
13431}
13432
13433
13434static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13435 PyObject *resultobj;
13436 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13437 int result;
13438 PyObject * obj0 = 0 ;
13439 char *kwnames[] = {
13440 (char *) "self", NULL
13441 };
13442
13443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13446 {
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13449
13450 wxPyEndAllowThreads(__tstate);
13451 if (PyErr_Occurred()) SWIG_fail;
13452 }
15afbcd0 13453 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13454 return resultobj;
13455 fail:
13456 return NULL;
13457}
13458
13459
13460static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13461 PyObject *resultobj;
13462 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13463 int result;
13464 PyObject * obj0 = 0 ;
13465 char *kwnames[] = {
13466 (char *) "self", NULL
13467 };
13468
13469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13475
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
15afbcd0 13479 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13480 return resultobj;
13481 fail:
13482 return NULL;
13483}
13484
13485
13486static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13487 PyObject *resultobj;
13488 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13489 int arg2 ;
13490 PyObject * obj0 = 0 ;
994141e6 13491 PyObject * obj1 = 0 ;
d14a1e28
RD
13492 char *kwnames[] = {
13493 (char *) "self",(char *) "orient", NULL
13494 };
13495
994141e6 13496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13499 arg2 = (int) SWIG_AsInt(obj1);
13500 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13501 {
13502 PyThreadState* __tstate = wxPyBeginAllowThreads();
13503 (arg1)->SetOrientation(arg2);
13504
13505 wxPyEndAllowThreads(__tstate);
13506 if (PyErr_Occurred()) SWIG_fail;
13507 }
13508 Py_INCREF(Py_None); resultobj = Py_None;
13509 return resultobj;
13510 fail:
13511 return NULL;
13512}
13513
13514
13515static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13516 PyObject *resultobj;
13517 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13518 int arg2 ;
13519 PyObject * obj0 = 0 ;
994141e6 13520 PyObject * obj1 = 0 ;
d14a1e28
RD
13521 char *kwnames[] = {
13522 (char *) "self",(char *) "pos", NULL
13523 };
13524
994141e6 13525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13528 arg2 = (int) SWIG_AsInt(obj1);
13529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13530 {
13531 PyThreadState* __tstate = wxPyBeginAllowThreads();
13532 (arg1)->SetPosition(arg2);
13533
13534 wxPyEndAllowThreads(__tstate);
13535 if (PyErr_Occurred()) SWIG_fail;
13536 }
13537 Py_INCREF(Py_None); resultobj = Py_None;
13538 return resultobj;
13539 fail:
13540 return NULL;
13541}
13542
13543
13544static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
13545 PyObject *obj;
13546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13547 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13548 Py_INCREF(obj);
13549 return Py_BuildValue((char *)"");
13550}
13551static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13552 PyObject *resultobj;
13553 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13554 wxMouseEvent *result;
994141e6 13555 PyObject * obj0 = 0 ;
d14a1e28
RD
13556 char *kwnames[] = {
13557 (char *) "mouseType", NULL
13558 };
13559
994141e6
RD
13560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13561 if (obj0) {
15afbcd0
RD
13562 arg1 = (wxEventType) SWIG_AsInt(obj0);
13563 if (PyErr_Occurred()) SWIG_fail;
994141e6 13564 }
d14a1e28
RD
13565 {
13566 PyThreadState* __tstate = wxPyBeginAllowThreads();
13567 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13568
13569 wxPyEndAllowThreads(__tstate);
13570 if (PyErr_Occurred()) SWIG_fail;
13571 }
13572 {
412d302d 13573 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
13574 }
13575 return resultobj;
13576 fail:
13577 return NULL;
13578}
13579
13580
13581static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13582 PyObject *resultobj;
13583 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13584 bool result;
13585 PyObject * obj0 = 0 ;
13586 char *kwnames[] = {
13587 (char *) "self", NULL
13588 };
13589
13590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
13591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13593 {
13594 PyThreadState* __tstate = wxPyBeginAllowThreads();
13595 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13596
13597 wxPyEndAllowThreads(__tstate);
13598 if (PyErr_Occurred()) SWIG_fail;
13599 }
4f89f6a3
RD
13600 {
13601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13602 }
d14a1e28
RD
13603 return resultobj;
13604 fail:
13605 return NULL;
13606}
13607
13608
13609static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13610 PyObject *resultobj;
13611 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13612 int arg2 = (int) wxMOUSE_BTN_ANY ;
13613 bool result;
13614 PyObject * obj0 = 0 ;
994141e6 13615 PyObject * obj1 = 0 ;
d14a1e28
RD
13616 char *kwnames[] = {
13617 (char *) "self",(char *) "but", NULL
13618 };
13619
994141e6 13620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13623 if (obj1) {
15afbcd0
RD
13624 arg2 = (int) SWIG_AsInt(obj1);
13625 if (PyErr_Occurred()) SWIG_fail;
994141e6 13626 }
d14a1e28
RD
13627 {
13628 PyThreadState* __tstate = wxPyBeginAllowThreads();
13629 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13630
13631 wxPyEndAllowThreads(__tstate);
13632 if (PyErr_Occurred()) SWIG_fail;
13633 }
4f89f6a3
RD
13634 {
13635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13636 }
d14a1e28
RD
13637 return resultobj;
13638 fail:
13639 return NULL;
13640}
13641
13642
13643static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13644 PyObject *resultobj;
13645 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13646 int arg2 = (int) wxMOUSE_BTN_ANY ;
13647 bool result;
13648 PyObject * obj0 = 0 ;
994141e6 13649 PyObject * obj1 = 0 ;
d14a1e28
RD
13650 char *kwnames[] = {
13651 (char *) "self",(char *) "but", NULL
13652 };
13653
994141e6 13654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13657 if (obj1) {
15afbcd0
RD
13658 arg2 = (int) SWIG_AsInt(obj1);
13659 if (PyErr_Occurred()) SWIG_fail;
994141e6 13660 }
d14a1e28
RD
13661 {
13662 PyThreadState* __tstate = wxPyBeginAllowThreads();
13663 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13664
13665 wxPyEndAllowThreads(__tstate);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 }
4f89f6a3
RD
13668 {
13669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13670 }
d14a1e28
RD
13671 return resultobj;
13672 fail:
13673 return NULL;
13674}
13675
13676
13677static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13678 PyObject *resultobj;
13679 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13680 int arg2 = (int) wxMOUSE_BTN_ANY ;
13681 bool result;
13682 PyObject * obj0 = 0 ;
994141e6 13683 PyObject * obj1 = 0 ;
d14a1e28
RD
13684 char *kwnames[] = {
13685 (char *) "self",(char *) "but", NULL
13686 };
13687
994141e6 13688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13691 if (obj1) {
15afbcd0
RD
13692 arg2 = (int) SWIG_AsInt(obj1);
13693 if (PyErr_Occurred()) SWIG_fail;
994141e6 13694 }
d14a1e28
RD
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
4f89f6a3
RD
13702 {
13703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13704 }
d14a1e28
RD
13705 return resultobj;
13706 fail:
13707 return NULL;
13708}
13709
13710
13711static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
13712 PyObject *resultobj;
13713 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13714 int arg2 ;
13715 bool result;
13716 PyObject * obj0 = 0 ;
994141e6 13717 PyObject * obj1 = 0 ;
d14a1e28
RD
13718 char *kwnames[] = {
13719 (char *) "self",(char *) "but", NULL
13720 };
13721
994141e6 13722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13725 arg2 = (int) SWIG_AsInt(obj1);
13726 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13727 {
13728 PyThreadState* __tstate = wxPyBeginAllowThreads();
13729 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13730
13731 wxPyEndAllowThreads(__tstate);
13732 if (PyErr_Occurred()) SWIG_fail;
13733 }
4f89f6a3
RD
13734 {
13735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13736 }
d14a1e28
RD
13737 return resultobj;
13738 fail:
13739 return NULL;
13740}
13741
13742
13743static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13744 PyObject *resultobj;
13745 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13746 int arg2 ;
13747 bool result;
13748 PyObject * obj0 = 0 ;
994141e6 13749 PyObject * obj1 = 0 ;
d14a1e28
RD
13750 char *kwnames[] = {
13751 (char *) "self",(char *) "but", NULL
13752 };
13753
994141e6 13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13757 arg2 = (int) SWIG_AsInt(obj1);
13758 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13759 {
13760 PyThreadState* __tstate = wxPyBeginAllowThreads();
13761 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13762
13763 wxPyEndAllowThreads(__tstate);
13764 if (PyErr_Occurred()) SWIG_fail;
13765 }
4f89f6a3
RD
13766 {
13767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13768 }
d14a1e28
RD
13769 return resultobj;
13770 fail:
13771 return NULL;
13772}
13773
13774
13775static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13776 PyObject *resultobj;
13777 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13778 int result;
13779 PyObject * obj0 = 0 ;
13780 char *kwnames[] = {
13781 (char *) "self", NULL
13782 };
13783
13784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
13785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13787 {
13788 PyThreadState* __tstate = wxPyBeginAllowThreads();
13789 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13790
13791 wxPyEndAllowThreads(__tstate);
13792 if (PyErr_Occurred()) SWIG_fail;
13793 }
15afbcd0 13794 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13795 return resultobj;
13796 fail:
13797 return NULL;
13798}
13799
13800
13801static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13802 PyObject *resultobj;
13803 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13804 bool result;
13805 PyObject * obj0 = 0 ;
13806 char *kwnames[] = {
13807 (char *) "self", NULL
13808 };
13809
13810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13813 {
13814 PyThreadState* __tstate = wxPyBeginAllowThreads();
13815 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13816
13817 wxPyEndAllowThreads(__tstate);
13818 if (PyErr_Occurred()) SWIG_fail;
13819 }
4f89f6a3
RD
13820 {
13821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13822 }
d14a1e28
RD
13823 return resultobj;
13824 fail:
13825 return NULL;
13826}
13827
13828
13829static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13830 PyObject *resultobj;
13831 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13832 bool result;
13833 PyObject * obj0 = 0 ;
13834 char *kwnames[] = {
13835 (char *) "self", NULL
13836 };
13837
13838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13841 {
13842 PyThreadState* __tstate = wxPyBeginAllowThreads();
13843 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13844
13845 wxPyEndAllowThreads(__tstate);
13846 if (PyErr_Occurred()) SWIG_fail;
13847 }
4f89f6a3
RD
13848 {
13849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13850 }
d14a1e28
RD
13851 return resultobj;
13852 fail:
13853 return NULL;
13854}
13855
13856
13857static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13858 PyObject *resultobj;
13859 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13860 bool result;
13861 PyObject * obj0 = 0 ;
13862 char *kwnames[] = {
13863 (char *) "self", NULL
13864 };
13865
13866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13869 {
13870 PyThreadState* __tstate = wxPyBeginAllowThreads();
13871 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
13872
13873 wxPyEndAllowThreads(__tstate);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 }
4f89f6a3
RD
13876 {
13877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13878 }
d14a1e28
RD
13879 return resultobj;
13880 fail:
13881 return NULL;
13882}
13883
13884
13885static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13886 PyObject *resultobj;
13887 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13888 bool result;
13889 PyObject * obj0 = 0 ;
13890 char *kwnames[] = {
13891 (char *) "self", NULL
13892 };
13893
13894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13897 {
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
13900
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
4f89f6a3
RD
13904 {
13905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13906 }
d14a1e28
RD
13907 return resultobj;
13908 fail:
13909 return NULL;
13910}
13911
13912
412d302d
RD
13913static PyObject *_wrap_MouseEvent_CmdDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13914 PyObject *resultobj;
13915 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13916 bool result;
13917 PyObject * obj0 = 0 ;
13918 char *kwnames[] = {
13919 (char *) "self", NULL
13920 };
13921
13922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_CmdDown",kwnames,&obj0)) goto fail;
13923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13925 {
13926 PyThreadState* __tstate = wxPyBeginAllowThreads();
13927 result = (bool)((wxMouseEvent const *)arg1)->CmdDown();
13928
13929 wxPyEndAllowThreads(__tstate);
13930 if (PyErr_Occurred()) SWIG_fail;
13931 }
13932 {
13933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13934 }
13935 return resultobj;
13936 fail:
13937 return NULL;
13938}
13939
13940
d14a1e28
RD
13941static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13942 PyObject *resultobj;
13943 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13944 bool result;
13945 PyObject * obj0 = 0 ;
13946 char *kwnames[] = {
13947 (char *) "self", NULL
13948 };
13949
13950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13953 {
13954 PyThreadState* __tstate = wxPyBeginAllowThreads();
13955 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
13956
13957 wxPyEndAllowThreads(__tstate);
13958 if (PyErr_Occurred()) SWIG_fail;
13959 }
4f89f6a3
RD
13960 {
13961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13962 }
d14a1e28
RD
13963 return resultobj;
13964 fail:
13965 return NULL;
13966}
13967
13968
13969static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13970 PyObject *resultobj;
13971 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13972 bool result;
13973 PyObject * obj0 = 0 ;
13974 char *kwnames[] = {
13975 (char *) "self", NULL
13976 };
13977
13978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13981 {
13982 PyThreadState* __tstate = wxPyBeginAllowThreads();
13983 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
13984
13985 wxPyEndAllowThreads(__tstate);
13986 if (PyErr_Occurred()) SWIG_fail;
13987 }
4f89f6a3
RD
13988 {
13989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13990 }
d14a1e28
RD
13991 return resultobj;
13992 fail:
13993 return NULL;
13994}
13995
13996
13997static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13998 PyObject *resultobj;
13999 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14000 bool result;
14001 PyObject * obj0 = 0 ;
14002 char *kwnames[] = {
14003 (char *) "self", NULL
14004 };
14005
14006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14009 {
14010 PyThreadState* __tstate = wxPyBeginAllowThreads();
14011 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
14012
14013 wxPyEndAllowThreads(__tstate);
14014 if (PyErr_Occurred()) SWIG_fail;
14015 }
4f89f6a3
RD
14016 {
14017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14018 }
d14a1e28
RD
14019 return resultobj;
14020 fail:
14021 return NULL;
14022}
14023
14024
14025static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14026 PyObject *resultobj;
14027 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14028 bool result;
14029 PyObject * obj0 = 0 ;
14030 char *kwnames[] = {
14031 (char *) "self", NULL
14032 };
14033
14034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14037 {
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
14040
14041 wxPyEndAllowThreads(__tstate);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 }
4f89f6a3
RD
14044 {
14045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14046 }
d14a1e28
RD
14047 return resultobj;
14048 fail:
14049 return NULL;
14050}
14051
14052
14053static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14054 PyObject *resultobj;
14055 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14056 bool result;
14057 PyObject * obj0 = 0 ;
14058 char *kwnames[] = {
14059 (char *) "self", NULL
14060 };
14061
14062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14065 {
14066 PyThreadState* __tstate = wxPyBeginAllowThreads();
14067 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
14068
14069 wxPyEndAllowThreads(__tstate);
14070 if (PyErr_Occurred()) SWIG_fail;
14071 }
4f89f6a3
RD
14072 {
14073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14074 }
d14a1e28
RD
14075 return resultobj;
14076 fail:
14077 return NULL;
14078}
14079
14080
14081static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14082 PyObject *resultobj;
14083 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14084 bool result;
14085 PyObject * obj0 = 0 ;
14086 char *kwnames[] = {
14087 (char *) "self", NULL
14088 };
14089
14090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14093 {
14094 PyThreadState* __tstate = wxPyBeginAllowThreads();
14095 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
14096
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
4f89f6a3
RD
14100 {
14101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14102 }
d14a1e28
RD
14103 return resultobj;
14104 fail:
14105 return NULL;
14106}
14107
14108
14109static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14110 PyObject *resultobj;
14111 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14112 bool result;
14113 PyObject * obj0 = 0 ;
14114 char *kwnames[] = {
14115 (char *) "self", NULL
14116 };
14117
14118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14121 {
14122 PyThreadState* __tstate = wxPyBeginAllowThreads();
14123 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
14124
14125 wxPyEndAllowThreads(__tstate);
14126 if (PyErr_Occurred()) SWIG_fail;
14127 }
4f89f6a3
RD
14128 {
14129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14130 }
d14a1e28
RD
14131 return resultobj;
14132 fail:
14133 return NULL;
14134}
14135
14136
14137static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14138 PyObject *resultobj;
14139 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14140 bool result;
14141 PyObject * obj0 = 0 ;
14142 char *kwnames[] = {
14143 (char *) "self", NULL
14144 };
14145
14146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14149 {
14150 PyThreadState* __tstate = wxPyBeginAllowThreads();
14151 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
14152
14153 wxPyEndAllowThreads(__tstate);
14154 if (PyErr_Occurred()) SWIG_fail;
14155 }
4f89f6a3
RD
14156 {
14157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14158 }
d14a1e28
RD
14159 return resultobj;
14160 fail:
14161 return NULL;
14162}
14163
14164
14165static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14166 PyObject *resultobj;
14167 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14168 bool result;
14169 PyObject * obj0 = 0 ;
14170 char *kwnames[] = {
14171 (char *) "self", NULL
14172 };
14173
14174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14177 {
14178 PyThreadState* __tstate = wxPyBeginAllowThreads();
14179 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
14180
14181 wxPyEndAllowThreads(__tstate);
14182 if (PyErr_Occurred()) SWIG_fail;
14183 }
4f89f6a3
RD
14184 {
14185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14186 }
d14a1e28
RD
14187 return resultobj;
14188 fail:
14189 return NULL;
14190}
14191
14192
14193static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14194 PyObject *resultobj;
14195 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14196 bool result;
14197 PyObject * obj0 = 0 ;
14198 char *kwnames[] = {
14199 (char *) "self", NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14205 {
14206 PyThreadState* __tstate = wxPyBeginAllowThreads();
14207 result = (bool)(arg1)->LeftIsDown();
14208
14209 wxPyEndAllowThreads(__tstate);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 }
4f89f6a3
RD
14212 {
14213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14214 }
d14a1e28
RD
14215 return resultobj;
14216 fail:
14217 return NULL;
14218}
14219
14220
14221static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14222 PyObject *resultobj;
14223 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14224 bool result;
14225 PyObject * obj0 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 result = (bool)(arg1)->MiddleIsDown();
14236
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
4f89f6a3
RD
14240 {
14241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14242 }
d14a1e28
RD
14243 return resultobj;
14244 fail:
14245 return NULL;
14246}
14247
14248
14249static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14250 PyObject *resultobj;
14251 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14252 bool result;
14253 PyObject * obj0 = 0 ;
14254 char *kwnames[] = {
14255 (char *) "self", NULL
14256 };
14257
14258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14261 {
14262 PyThreadState* __tstate = wxPyBeginAllowThreads();
14263 result = (bool)(arg1)->RightIsDown();
14264
14265 wxPyEndAllowThreads(__tstate);
14266 if (PyErr_Occurred()) SWIG_fail;
14267 }
4f89f6a3
RD
14268 {
14269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14270 }
d14a1e28
RD
14271 return resultobj;
14272 fail:
14273 return NULL;
14274}
14275
14276
14277static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
14278 PyObject *resultobj;
14279 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14280 bool result;
14281 PyObject * obj0 = 0 ;
14282 char *kwnames[] = {
14283 (char *) "self", NULL
14284 };
14285
14286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
15afbcd0
RD
14287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14289 {
14290 PyThreadState* __tstate = wxPyBeginAllowThreads();
14291 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
14292
14293 wxPyEndAllowThreads(__tstate);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 }
4f89f6a3
RD
14296 {
14297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14298 }
d14a1e28
RD
14299 return resultobj;
14300 fail:
14301 return NULL;
14302}
14303
14304
14305static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
14306 PyObject *resultobj;
14307 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14308 bool result;
14309 PyObject * obj0 = 0 ;
14310 char *kwnames[] = {
14311 (char *) "self", NULL
14312 };
14313
14314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
15afbcd0
RD
14315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14317 {
14318 PyThreadState* __tstate = wxPyBeginAllowThreads();
14319 result = (bool)((wxMouseEvent const *)arg1)->Moving();
14320
14321 wxPyEndAllowThreads(__tstate);
14322 if (PyErr_Occurred()) SWIG_fail;
14323 }
4f89f6a3
RD
14324 {
14325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14326 }
d14a1e28
RD
14327 return resultobj;
14328 fail:
14329 return NULL;
14330}
14331
14332
14333static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
14334 PyObject *resultobj;
14335 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14336 bool result;
14337 PyObject * obj0 = 0 ;
14338 char *kwnames[] = {
14339 (char *) "self", NULL
14340 };
14341
14342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
15afbcd0
RD
14343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14345 {
14346 PyThreadState* __tstate = wxPyBeginAllowThreads();
14347 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14348
14349 wxPyEndAllowThreads(__tstate);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 }
4f89f6a3
RD
14352 {
14353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14354 }
d14a1e28
RD
14355 return resultobj;
14356 fail:
14357 return NULL;
14358}
14359
14360
14361static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
14362 PyObject *resultobj;
14363 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14364 bool result;
14365 PyObject * obj0 = 0 ;
14366 char *kwnames[] = {
14367 (char *) "self", NULL
14368 };
14369
14370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
15afbcd0
RD
14371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14373 {
14374 PyThreadState* __tstate = wxPyBeginAllowThreads();
14375 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14376
14377 wxPyEndAllowThreads(__tstate);
14378 if (PyErr_Occurred()) SWIG_fail;
14379 }
4f89f6a3
RD
14380 {
14381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14382 }
d14a1e28
RD
14383 return resultobj;
14384 fail:
14385 return NULL;
14386}
14387
14388
14389static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14390 PyObject *resultobj;
14391 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14392 wxPoint result;
14393 PyObject * obj0 = 0 ;
14394 char *kwnames[] = {
14395 (char *) "self", NULL
14396 };
14397
14398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
14399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14401 {
14402 PyThreadState* __tstate = wxPyBeginAllowThreads();
14403 result = (arg1)->GetPosition();
14404
14405 wxPyEndAllowThreads(__tstate);
14406 if (PyErr_Occurred()) SWIG_fail;
14407 }
14408 {
14409 wxPoint * resultptr;
14410 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14411 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14412 }
14413 return resultobj;
14414 fail:
14415 return NULL;
14416}
14417
14418
14419static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
14420 PyObject *resultobj;
14421 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14422 long *arg2 = (long *) 0 ;
14423 long *arg3 = (long *) 0 ;
14424 long temp2 ;
14425 long temp3 ;
14426 PyObject * obj0 = 0 ;
14427 char *kwnames[] = {
14428 (char *) "self", NULL
14429 };
14430
14431 arg2 = &temp2;
14432 arg3 = &temp3;
14433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 (arg1)->GetPosition(arg2,arg3);
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 Py_INCREF(Py_None); resultobj = Py_None;
14444 {
14445 PyObject *o = PyInt_FromLong((long) (*arg2));
14446 resultobj = t_output_helper(resultobj,o);
14447 }
14448 {
14449 PyObject *o = PyInt_FromLong((long) (*arg3));
14450 resultobj = t_output_helper(resultobj,o);
14451 }
14452 return resultobj;
14453 fail:
14454 return NULL;
14455}
14456
14457
14458static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14459 PyObject *resultobj;
14460 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14461 wxDC *arg2 = 0 ;
14462 wxPoint result;
14463 PyObject * obj0 = 0 ;
14464 PyObject * obj1 = 0 ;
14465 char *kwnames[] = {
14466 (char *) "self",(char *) "dc", NULL
14467 };
14468
14469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14473 SWIG_POINTER_EXCEPTION | 0)) == -1)
14474 SWIG_fail;
d14a1e28 14475 if (arg2 == NULL) {
15afbcd0
RD
14476 PyErr_SetString(PyExc_TypeError,"null reference");
14477 SWIG_fail;
d14a1e28
RD
14478 }
14479 {
14480 PyThreadState* __tstate = wxPyBeginAllowThreads();
14481 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14482
14483 wxPyEndAllowThreads(__tstate);
14484 if (PyErr_Occurred()) SWIG_fail;
14485 }
14486 {
14487 wxPoint * resultptr;
14488 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14489 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14490 }
14491 return resultobj;
14492 fail:
14493 return NULL;
14494}
14495
14496
14497static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14498 PyObject *resultobj;
14499 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14500 int result;
d14a1e28
RD
14501 PyObject * obj0 = 0 ;
14502 char *kwnames[] = {
14503 (char *) "self", NULL
14504 };
14505
14506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14509 {
14510 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14511 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
14512
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
15afbcd0 14516 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14517 return resultobj;
14518 fail:
14519 return NULL;
14520}
14521
14522
14523static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14524 PyObject *resultobj;
14525 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14526 int result;
d14a1e28
RD
14527 PyObject * obj0 = 0 ;
14528 char *kwnames[] = {
14529 (char *) "self", NULL
14530 };
14531
14532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14535 {
14536 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14537 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
14538
14539 wxPyEndAllowThreads(__tstate);
14540 if (PyErr_Occurred()) SWIG_fail;
14541 }
15afbcd0 14542 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14543 return resultobj;
14544 fail:
14545 return NULL;
14546}
14547
14548
14549static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
14550 PyObject *resultobj;
14551 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14552 int result;
14553 PyObject * obj0 = 0 ;
14554 char *kwnames[] = {
14555 (char *) "self", NULL
14556 };
14557
14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
15afbcd0
RD
14559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14561 {
14562 PyThreadState* __tstate = wxPyBeginAllowThreads();
14563 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14564
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
15afbcd0 14568 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14569 return resultobj;
14570 fail:
14571 return NULL;
14572}
14573
14574
14575static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
14576 PyObject *resultobj;
14577 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14578 int result;
14579 PyObject * obj0 = 0 ;
14580 char *kwnames[] = {
14581 (char *) "self", NULL
14582 };
14583
14584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
15afbcd0
RD
14585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14587 {
14588 PyThreadState* __tstate = wxPyBeginAllowThreads();
14589 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14590
14591 wxPyEndAllowThreads(__tstate);
14592 if (PyErr_Occurred()) SWIG_fail;
14593 }
15afbcd0 14594 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14595 return resultobj;
14596 fail:
14597 return NULL;
14598}
14599
14600
14601static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
14602 PyObject *resultobj;
14603 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14604 int result;
14605 PyObject * obj0 = 0 ;
14606 char *kwnames[] = {
14607 (char *) "self", NULL
14608 };
14609
14610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
15afbcd0
RD
14611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14613 {
14614 PyThreadState* __tstate = wxPyBeginAllowThreads();
14615 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14616
14617 wxPyEndAllowThreads(__tstate);
14618 if (PyErr_Occurred()) SWIG_fail;
14619 }
15afbcd0 14620 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14621 return resultobj;
14622 fail:
14623 return NULL;
14624}
14625
14626
14627static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
14628 PyObject *resultobj;
14629 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14630 bool result;
14631 PyObject * obj0 = 0 ;
14632 char *kwnames[] = {
14633 (char *) "self", NULL
14634 };
14635
14636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
15afbcd0
RD
14637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14639 {
14640 PyThreadState* __tstate = wxPyBeginAllowThreads();
14641 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14642
14643 wxPyEndAllowThreads(__tstate);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
4f89f6a3
RD
14646 {
14647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14648 }
d14a1e28
RD
14649 return resultobj;
14650 fail:
14651 return NULL;
14652}
14653
14654
14655static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14656 PyObject *resultobj;
14657 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14658 int arg2 ;
d14a1e28 14659 PyObject * obj0 = 0 ;
994141e6 14660 PyObject * obj1 = 0 ;
d14a1e28
RD
14661 char *kwnames[] = {
14662 (char *) "self",(char *) "m_x", NULL
14663 };
14664
994141e6 14665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14668 arg2 = (int) SWIG_AsInt(obj1);
14669 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14670 if (arg1) (arg1)->m_x = arg2;
14671
14672 Py_INCREF(Py_None); resultobj = Py_None;
14673 return resultobj;
14674 fail:
14675 return NULL;
14676}
14677
14678
14679static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14680 PyObject *resultobj;
14681 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14682 int result;
d14a1e28
RD
14683 PyObject * obj0 = 0 ;
14684 char *kwnames[] = {
14685 (char *) "self", NULL
14686 };
14687
14688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 14691 result = (int) ((arg1)->m_x);
d14a1e28 14692
15afbcd0 14693 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14694 return resultobj;
14695 fail:
14696 return NULL;
14697}
14698
14699
14700static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14701 PyObject *resultobj;
14702 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14703 int arg2 ;
d14a1e28 14704 PyObject * obj0 = 0 ;
994141e6 14705 PyObject * obj1 = 0 ;
d14a1e28
RD
14706 char *kwnames[] = {
14707 (char *) "self",(char *) "m_y", NULL
14708 };
14709
994141e6 14710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14713 arg2 = (int) SWIG_AsInt(obj1);
14714 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14715 if (arg1) (arg1)->m_y = arg2;
14716
14717 Py_INCREF(Py_None); resultobj = Py_None;
14718 return resultobj;
14719 fail:
14720 return NULL;
14721}
14722
14723
14724static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14725 PyObject *resultobj;
14726 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14727 int result;
d14a1e28
RD
14728 PyObject * obj0 = 0 ;
14729 char *kwnames[] = {
14730 (char *) "self", NULL
14731 };
14732
14733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 14736 result = (int) ((arg1)->m_y);
d14a1e28 14737
15afbcd0 14738 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14739 return resultobj;
14740 fail:
14741 return NULL;
14742}
14743
14744
14745static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14746 PyObject *resultobj;
14747 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14748 bool arg2 ;
14749 PyObject * obj0 = 0 ;
14750 PyObject * obj1 = 0 ;
14751 char *kwnames[] = {
14752 (char *) "self",(char *) "m_leftDown", NULL
14753 };
14754
14755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14758 arg2 = (bool) SWIG_AsBool(obj1);
14759 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14760 if (arg1) (arg1)->m_leftDown = arg2;
14761
14762 Py_INCREF(Py_None); resultobj = Py_None;
14763 return resultobj;
14764 fail:
14765 return NULL;
14766}
14767
14768
14769static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14770 PyObject *resultobj;
14771 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14772 bool result;
14773 PyObject * obj0 = 0 ;
14774 char *kwnames[] = {
14775 (char *) "self", NULL
14776 };
14777
14778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14781 result = (bool) ((arg1)->m_leftDown);
14782
4f89f6a3
RD
14783 {
14784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14785 }
d14a1e28
RD
14786 return resultobj;
14787 fail:
14788 return NULL;
14789}
14790
14791
14792static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14793 PyObject *resultobj;
14794 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14795 bool arg2 ;
14796 PyObject * obj0 = 0 ;
14797 PyObject * obj1 = 0 ;
14798 char *kwnames[] = {
14799 (char *) "self",(char *) "m_middleDown", NULL
14800 };
14801
14802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14805 arg2 = (bool) SWIG_AsBool(obj1);
14806 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14807 if (arg1) (arg1)->m_middleDown = arg2;
14808
14809 Py_INCREF(Py_None); resultobj = Py_None;
14810 return resultobj;
14811 fail:
14812 return NULL;
14813}
14814
14815
14816static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14817 PyObject *resultobj;
14818 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14819 bool result;
14820 PyObject * obj0 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "self", NULL
14823 };
14824
14825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14828 result = (bool) ((arg1)->m_middleDown);
14829
4f89f6a3
RD
14830 {
14831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14832 }
d14a1e28
RD
14833 return resultobj;
14834 fail:
14835 return NULL;
14836}
14837
14838
14839static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14840 PyObject *resultobj;
14841 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14842 bool arg2 ;
14843 PyObject * obj0 = 0 ;
14844 PyObject * obj1 = 0 ;
14845 char *kwnames[] = {
14846 (char *) "self",(char *) "m_rightDown", NULL
14847 };
14848
14849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14852 arg2 = (bool) SWIG_AsBool(obj1);
14853 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14854 if (arg1) (arg1)->m_rightDown = arg2;
14855
14856 Py_INCREF(Py_None); resultobj = Py_None;
14857 return resultobj;
14858 fail:
14859 return NULL;
14860}
14861
14862
14863static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14864 PyObject *resultobj;
14865 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14866 bool result;
14867 PyObject * obj0 = 0 ;
14868 char *kwnames[] = {
14869 (char *) "self", NULL
14870 };
14871
14872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14875 result = (bool) ((arg1)->m_rightDown);
14876
4f89f6a3
RD
14877 {
14878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14879 }
d14a1e28
RD
14880 return resultobj;
14881 fail:
14882 return NULL;
14883}
14884
14885
14886static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14887 PyObject *resultobj;
14888 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14889 bool arg2 ;
14890 PyObject * obj0 = 0 ;
14891 PyObject * obj1 = 0 ;
14892 char *kwnames[] = {
14893 (char *) "self",(char *) "m_controlDown", NULL
14894 };
14895
14896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14899 arg2 = (bool) SWIG_AsBool(obj1);
14900 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14901 if (arg1) (arg1)->m_controlDown = arg2;
14902
14903 Py_INCREF(Py_None); resultobj = Py_None;
14904 return resultobj;
14905 fail:
14906 return NULL;
14907}
14908
14909
14910static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14911 PyObject *resultobj;
14912 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14913 bool result;
14914 PyObject * obj0 = 0 ;
14915 char *kwnames[] = {
14916 (char *) "self", NULL
14917 };
14918
14919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14922 result = (bool) ((arg1)->m_controlDown);
14923
4f89f6a3
RD
14924 {
14925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14926 }
d14a1e28
RD
14927 return resultobj;
14928 fail:
14929 return NULL;
14930}
14931
14932
14933static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14934 PyObject *resultobj;
14935 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14936 bool arg2 ;
14937 PyObject * obj0 = 0 ;
14938 PyObject * obj1 = 0 ;
14939 char *kwnames[] = {
14940 (char *) "self",(char *) "m_shiftDown", NULL
14941 };
14942
14943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14946 arg2 = (bool) SWIG_AsBool(obj1);
14947 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14948 if (arg1) (arg1)->m_shiftDown = arg2;
14949
14950 Py_INCREF(Py_None); resultobj = Py_None;
14951 return resultobj;
14952 fail:
14953 return NULL;
14954}
14955
14956
14957static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14958 PyObject *resultobj;
14959 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14960 bool result;
14961 PyObject * obj0 = 0 ;
14962 char *kwnames[] = {
14963 (char *) "self", NULL
14964 };
14965
14966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14969 result = (bool) ((arg1)->m_shiftDown);
14970
4f89f6a3
RD
14971 {
14972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14973 }
d14a1e28
RD
14974 return resultobj;
14975 fail:
14976 return NULL;
14977}
14978
14979
14980static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14981 PyObject *resultobj;
14982 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14983 bool arg2 ;
14984 PyObject * obj0 = 0 ;
14985 PyObject * obj1 = 0 ;
14986 char *kwnames[] = {
14987 (char *) "self",(char *) "m_altDown", NULL
14988 };
14989
14990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14993 arg2 = (bool) SWIG_AsBool(obj1);
14994 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14995 if (arg1) (arg1)->m_altDown = arg2;
14996
14997 Py_INCREF(Py_None); resultobj = Py_None;
14998 return resultobj;
14999 fail:
15000 return NULL;
15001}
15002
15003
15004static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15005 PyObject *resultobj;
15006 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15007 bool result;
15008 PyObject * obj0 = 0 ;
15009 char *kwnames[] = {
15010 (char *) "self", NULL
15011 };
15012
15013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15016 result = (bool) ((arg1)->m_altDown);
15017
4f89f6a3
RD
15018 {
15019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15020 }
d14a1e28
RD
15021 return resultobj;
15022 fail:
15023 return NULL;
15024}
15025
15026
15027static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15028 PyObject *resultobj;
15029 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15030 bool arg2 ;
15031 PyObject * obj0 = 0 ;
15032 PyObject * obj1 = 0 ;
15033 char *kwnames[] = {
15034 (char *) "self",(char *) "m_metaDown", NULL
15035 };
15036
15037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15040 arg2 = (bool) SWIG_AsBool(obj1);
15041 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15042 if (arg1) (arg1)->m_metaDown = arg2;
15043
15044 Py_INCREF(Py_None); resultobj = Py_None;
15045 return resultobj;
15046 fail:
15047 return NULL;
15048}
15049
15050
15051static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15052 PyObject *resultobj;
15053 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15054 bool result;
15055 PyObject * obj0 = 0 ;
15056 char *kwnames[] = {
15057 (char *) "self", NULL
15058 };
15059
15060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15063 result = (bool) ((arg1)->m_metaDown);
15064
4f89f6a3
RD
15065 {
15066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15067 }
d14a1e28
RD
15068 return resultobj;
15069 fail:
15070 return NULL;
15071}
15072
15073
15074static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15075 PyObject *resultobj;
15076 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15077 int arg2 ;
15078 PyObject * obj0 = 0 ;
994141e6 15079 PyObject * obj1 = 0 ;
d14a1e28
RD
15080 char *kwnames[] = {
15081 (char *) "self",(char *) "m_wheelRotation", NULL
15082 };
15083
994141e6 15084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15087 arg2 = (int) SWIG_AsInt(obj1);
15088 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15089 if (arg1) (arg1)->m_wheelRotation = arg2;
15090
15091 Py_INCREF(Py_None); resultobj = Py_None;
15092 return resultobj;
15093 fail:
15094 return NULL;
15095}
15096
15097
15098static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15099 PyObject *resultobj;
15100 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15101 int result;
15102 PyObject * obj0 = 0 ;
15103 char *kwnames[] = {
15104 (char *) "self", NULL
15105 };
15106
15107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15110 result = (int) ((arg1)->m_wheelRotation);
15111
15afbcd0 15112 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15113 return resultobj;
15114 fail:
15115 return NULL;
15116}
15117
15118
15119static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15120 PyObject *resultobj;
15121 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15122 int arg2 ;
15123 PyObject * obj0 = 0 ;
994141e6 15124 PyObject * obj1 = 0 ;
d14a1e28
RD
15125 char *kwnames[] = {
15126 (char *) "self",(char *) "m_wheelDelta", NULL
15127 };
15128
994141e6 15129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15132 arg2 = (int) SWIG_AsInt(obj1);
15133 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15134 if (arg1) (arg1)->m_wheelDelta = arg2;
15135
15136 Py_INCREF(Py_None); resultobj = Py_None;
15137 return resultobj;
15138 fail:
15139 return NULL;
15140}
15141
15142
15143static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15144 PyObject *resultobj;
15145 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15146 int result;
15147 PyObject * obj0 = 0 ;
15148 char *kwnames[] = {
15149 (char *) "self", NULL
15150 };
15151
15152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15155 result = (int) ((arg1)->m_wheelDelta);
15156
15afbcd0 15157 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15158 return resultobj;
15159 fail:
15160 return NULL;
15161}
15162
15163
15164static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15165 PyObject *resultobj;
15166 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15167 int arg2 ;
15168 PyObject * obj0 = 0 ;
994141e6 15169 PyObject * obj1 = 0 ;
d14a1e28
RD
15170 char *kwnames[] = {
15171 (char *) "self",(char *) "m_linesPerAction", NULL
15172 };
15173
994141e6 15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15177 arg2 = (int) SWIG_AsInt(obj1);
15178 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15179 if (arg1) (arg1)->m_linesPerAction = arg2;
15180
15181 Py_INCREF(Py_None); resultobj = Py_None;
15182 return resultobj;
15183 fail:
15184 return NULL;
15185}
15186
15187
15188static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15189 PyObject *resultobj;
15190 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15191 int result;
15192 PyObject * obj0 = 0 ;
15193 char *kwnames[] = {
15194 (char *) "self", NULL
15195 };
15196
15197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15200 result = (int) ((arg1)->m_linesPerAction);
15201
15afbcd0 15202 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15203 return resultobj;
15204 fail:
15205 return NULL;
15206}
15207
15208
15209static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
15210 PyObject *obj;
15211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15212 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15213 Py_INCREF(obj);
15214 return Py_BuildValue((char *)"");
15215}
15216static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15217 PyObject *resultobj;
e811c8ce
RD
15218 int arg1 = (int) 0 ;
15219 int arg2 = (int) 0 ;
d14a1e28 15220 wxSetCursorEvent *result;
994141e6
RD
15221 PyObject * obj0 = 0 ;
15222 PyObject * obj1 = 0 ;
d14a1e28
RD
15223 char *kwnames[] = {
15224 (char *) "x",(char *) "y", NULL
15225 };
15226
994141e6
RD
15227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15228 if (obj0) {
15afbcd0
RD
15229 arg1 = (int) SWIG_AsInt(obj0);
15230 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15231 }
15232 if (obj1) {
15afbcd0
RD
15233 arg2 = (int) SWIG_AsInt(obj1);
15234 if (PyErr_Occurred()) SWIG_fail;
994141e6 15235 }
d14a1e28
RD
15236 {
15237 PyThreadState* __tstate = wxPyBeginAllowThreads();
15238 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15239
15240 wxPyEndAllowThreads(__tstate);
15241 if (PyErr_Occurred()) SWIG_fail;
15242 }
15afbcd0 15243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
d14a1e28
RD
15244 return resultobj;
15245 fail:
15246 return NULL;
15247}
15248
15249
15250static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15251 PyObject *resultobj;
15252 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15253 int result;
d14a1e28
RD
15254 PyObject * obj0 = 0 ;
15255 char *kwnames[] = {
15256 (char *) "self", NULL
15257 };
15258
15259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
15260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15264 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
15265
15266 wxPyEndAllowThreads(__tstate);
15267 if (PyErr_Occurred()) SWIG_fail;
15268 }
15afbcd0 15269 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15270 return resultobj;
15271 fail:
15272 return NULL;
15273}
15274
15275
15276static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15277 PyObject *resultobj;
15278 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15279 int result;
d14a1e28
RD
15280 PyObject * obj0 = 0 ;
15281 char *kwnames[] = {
15282 (char *) "self", NULL
15283 };
15284
15285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15288 {
15289 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15290 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
15291
15292 wxPyEndAllowThreads(__tstate);
15293 if (PyErr_Occurred()) SWIG_fail;
15294 }
15afbcd0 15295 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15296 return resultobj;
15297 fail:
15298 return NULL;
15299}
15300
15301
15302static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15303 PyObject *resultobj;
15304 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15305 wxCursor *arg2 = 0 ;
15306 PyObject * obj0 = 0 ;
15307 PyObject * obj1 = 0 ;
15308 char *kwnames[] = {
15309 (char *) "self",(char *) "cursor", NULL
15310 };
15311
15312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15316 SWIG_POINTER_EXCEPTION | 0)) == -1)
15317 SWIG_fail;
d14a1e28 15318 if (arg2 == NULL) {
15afbcd0
RD
15319 PyErr_SetString(PyExc_TypeError,"null reference");
15320 SWIG_fail;
d14a1e28
RD
15321 }
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 (arg1)->SetCursor((wxCursor const &)*arg2);
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 Py_INCREF(Py_None); resultobj = Py_None;
15330 return resultobj;
15331 fail:
15332 return NULL;
15333}
15334
15335
15336static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15337 PyObject *resultobj;
15338 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15339 wxCursor *result;
15340 PyObject * obj0 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15348 {
15349 PyThreadState* __tstate = wxPyBeginAllowThreads();
15350 {
15351 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15352 result = (wxCursor *) &_result_ref;
15353 }
15354
15355 wxPyEndAllowThreads(__tstate);
15356 if (PyErr_Occurred()) SWIG_fail;
15357 }
4276dc52
RD
15358 {
15359 wxCursor* resultptr = new wxCursor(*result);
15360 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15361 }
d14a1e28
RD
15362 return resultobj;
15363 fail:
15364 return NULL;
15365}
15366
15367
15368static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15369 PyObject *resultobj;
15370 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15371 bool result;
15372 PyObject * obj0 = 0 ;
15373 char *kwnames[] = {
15374 (char *) "self", NULL
15375 };
15376
15377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15380 {
15381 PyThreadState* __tstate = wxPyBeginAllowThreads();
15382 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15383
15384 wxPyEndAllowThreads(__tstate);
15385 if (PyErr_Occurred()) SWIG_fail;
15386 }
4f89f6a3
RD
15387 {
15388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15389 }
d14a1e28
RD
15390 return resultobj;
15391 fail:
15392 return NULL;
15393}
15394
15395
15396static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
15397 PyObject *obj;
15398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15399 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15400 Py_INCREF(obj);
15401 return Py_BuildValue((char *)"");
15402}
15403static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15404 PyObject *resultobj;
15405 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15406 wxKeyEvent *result;
994141e6 15407 PyObject * obj0 = 0 ;
d14a1e28
RD
15408 char *kwnames[] = {
15409 (char *) "keyType", NULL
15410 };
15411
994141e6
RD
15412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15413 if (obj0) {
15afbcd0
RD
15414 arg1 = (wxEventType) SWIG_AsInt(obj0);
15415 if (PyErr_Occurred()) SWIG_fail;
994141e6 15416 }
d14a1e28
RD
15417 {
15418 PyThreadState* __tstate = wxPyBeginAllowThreads();
15419 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15420
15421 wxPyEndAllowThreads(__tstate);
15422 if (PyErr_Occurred()) SWIG_fail;
15423 }
15afbcd0 15424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
d14a1e28
RD
15425 return resultobj;
15426 fail:
15427 return NULL;
15428}
15429
15430
15431static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15432 PyObject *resultobj;
15433 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15434 bool result;
15435 PyObject * obj0 = 0 ;
15436 char *kwnames[] = {
15437 (char *) "self", NULL
15438 };
15439
15440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
4f89f6a3
RD
15450 {
15451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15452 }
d14a1e28
RD
15453 return resultobj;
15454 fail:
15455 return NULL;
15456}
15457
15458
15459static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15460 PyObject *resultobj;
15461 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15462 bool result;
15463 PyObject * obj0 = 0 ;
15464 char *kwnames[] = {
15465 (char *) "self", NULL
15466 };
15467
15468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
4f89f6a3
RD
15478 {
15479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15480 }
d14a1e28
RD
15481 return resultobj;
15482 fail:
15483 return NULL;
15484}
15485
15486
15487static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15488 PyObject *resultobj;
15489 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15490 bool result;
15491 PyObject * obj0 = 0 ;
15492 char *kwnames[] = {
15493 (char *) "self", NULL
15494 };
15495
15496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15499 {
15500 PyThreadState* __tstate = wxPyBeginAllowThreads();
15501 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15502
15503 wxPyEndAllowThreads(__tstate);
15504 if (PyErr_Occurred()) SWIG_fail;
15505 }
4f89f6a3
RD
15506 {
15507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15508 }
d14a1e28
RD
15509 return resultobj;
15510 fail:
15511 return NULL;
15512}
15513
15514
15515static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15516 PyObject *resultobj;
15517 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15518 bool result;
15519 PyObject * obj0 = 0 ;
15520 char *kwnames[] = {
15521 (char *) "self", NULL
15522 };
15523
15524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15527 {
15528 PyThreadState* __tstate = wxPyBeginAllowThreads();
15529 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15530
15531 wxPyEndAllowThreads(__tstate);
15532 if (PyErr_Occurred()) SWIG_fail;
15533 }
4f89f6a3
RD
15534 {
15535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15536 }
d14a1e28
RD
15537 return resultobj;
15538 fail:
15539 return NULL;
15540}
15541
15542
412d302d
RD
15543static PyObject *_wrap_KeyEvent_CmdDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15544 PyObject *resultobj;
15545 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15546 bool result;
15547 PyObject * obj0 = 0 ;
15548 char *kwnames[] = {
15549 (char *) "self", NULL
15550 };
15551
15552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_CmdDown",kwnames,&obj0)) goto fail;
15553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 result = (bool)((wxKeyEvent const *)arg1)->CmdDown();
15558
15559 wxPyEndAllowThreads(__tstate);
15560 if (PyErr_Occurred()) SWIG_fail;
15561 }
15562 {
15563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15564 }
15565 return resultobj;
15566 fail:
15567 return NULL;
15568}
15569
15570
d14a1e28
RD
15571static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
15572 PyObject *resultobj;
15573 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15574 bool result;
15575 PyObject * obj0 = 0 ;
15576 char *kwnames[] = {
15577 (char *) "self", NULL
15578 };
15579
15580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
15afbcd0
RD
15581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15583 {
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
4f89f6a3
RD
15590 {
15591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15592 }
d14a1e28
RD
15593 return resultobj;
15594 fail:
15595 return NULL;
15596}
15597
15598
15599static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15600 PyObject *resultobj;
15601 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15602 int result;
15603 PyObject * obj0 = 0 ;
15604 char *kwnames[] = {
15605 (char *) "self", NULL
15606 };
15607
15608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
15609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15611 {
15612 PyThreadState* __tstate = wxPyBeginAllowThreads();
15613 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15614
15615 wxPyEndAllowThreads(__tstate);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 }
15afbcd0 15618 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15619 return resultobj;
15620 fail:
15621 return NULL;
15622}
15623
15624
19272049 15625static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15626 PyObject *resultobj;
15627 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15628 int result;
15629 PyObject * obj0 = 0 ;
15630 char *kwnames[] = {
15631 (char *) "self", NULL
15632 };
15633
19272049 15634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUnicodeKey",kwnames,&obj0)) goto fail;
15afbcd0
RD
15635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15637 {
15638 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272049 15639 result = (int)wxKeyEvent_GetUnicodeKey(arg1);
d14a1e28
RD
15640
15641 wxPyEndAllowThreads(__tstate);
15642 if (PyErr_Occurred()) SWIG_fail;
15643 }
15afbcd0 15644 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15645 return resultobj;
15646 fail:
15647 return NULL;
15648}
15649
15650
15651static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15652 PyObject *resultobj;
15653 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15654 unsigned int result;
d14a1e28
RD
15655 PyObject * obj0 = 0 ;
15656 char *kwnames[] = {
15657 (char *) "self", NULL
15658 };
15659
15660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
15661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15663 {
15664 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15665 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
15666
15667 wxPyEndAllowThreads(__tstate);
15668 if (PyErr_Occurred()) SWIG_fail;
15669 }
15afbcd0 15670 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15671 return resultobj;
15672 fail:
15673 return NULL;
15674}
15675
15676
15677static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
15678 PyObject *resultobj;
15679 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15680 unsigned int result;
d14a1e28
RD
15681 PyObject * obj0 = 0 ;
15682 char *kwnames[] = {
15683 (char *) "self", NULL
15684 };
15685
15686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
15687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15691 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
15692
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15afbcd0 15696 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15697 return resultobj;
15698 fail:
15699 return NULL;
15700}
15701
15702
15703static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15704 PyObject *resultobj;
15705 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15706 wxPoint result;
15707 PyObject * obj0 = 0 ;
15708 char *kwnames[] = {
15709 (char *) "self", NULL
15710 };
15711
15712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
15713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15715 {
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 result = (arg1)->GetPosition();
15718
15719 wxPyEndAllowThreads(__tstate);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 }
15722 {
15723 wxPoint * resultptr;
15724 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 15725 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
15726 }
15727 return resultobj;
15728 fail:
15729 return NULL;
15730}
15731
15732
15733static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
15734 PyObject *resultobj;
15735 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15736 long *arg2 = (long *) 0 ;
15737 long *arg3 = (long *) 0 ;
15738 long temp2 ;
15739 long temp3 ;
15740 PyObject * obj0 = 0 ;
15741 char *kwnames[] = {
15742 (char *) "self", NULL
15743 };
15744
15745 arg2 = &temp2;
15746 arg3 = &temp3;
15747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
15748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15750 {
15751 PyThreadState* __tstate = wxPyBeginAllowThreads();
15752 (arg1)->GetPosition(arg2,arg3);
15753
15754 wxPyEndAllowThreads(__tstate);
15755 if (PyErr_Occurred()) SWIG_fail;
15756 }
15757 Py_INCREF(Py_None); resultobj = Py_None;
15758 {
15759 PyObject *o = PyInt_FromLong((long) (*arg2));
15760 resultobj = t_output_helper(resultobj,o);
15761 }
15762 {
15763 PyObject *o = PyInt_FromLong((long) (*arg3));
15764 resultobj = t_output_helper(resultobj,o);
15765 }
15766 return resultobj;
15767 fail:
15768 return NULL;
15769}
15770
15771
15772static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15773 PyObject *resultobj;
15774 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15775 int result;
d14a1e28
RD
15776 PyObject * obj0 = 0 ;
15777 char *kwnames[] = {
15778 (char *) "self", NULL
15779 };
15780
15781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
15782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15784 {
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15786 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
15787
15788 wxPyEndAllowThreads(__tstate);
15789 if (PyErr_Occurred()) SWIG_fail;
15790 }
15afbcd0 15791 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15792 return resultobj;
15793 fail:
15794 return NULL;
15795}
15796
15797
15798static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15799 PyObject *resultobj;
15800 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15801 int result;
d14a1e28
RD
15802 PyObject * obj0 = 0 ;
15803 char *kwnames[] = {
15804 (char *) "self", NULL
15805 };
15806
15807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15810 {
15811 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15812 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
15813
15814 wxPyEndAllowThreads(__tstate);
15815 if (PyErr_Occurred()) SWIG_fail;
15816 }
15afbcd0 15817 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15818 return resultobj;
15819 fail:
15820 return NULL;
15821}
15822
15823
15824static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15825 PyObject *resultobj;
15826 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15827 int arg2 ;
d14a1e28 15828 PyObject * obj0 = 0 ;
994141e6 15829 PyObject * obj1 = 0 ;
d14a1e28
RD
15830 char *kwnames[] = {
15831 (char *) "self",(char *) "m_x", NULL
15832 };
15833
994141e6 15834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15837 arg2 = (int) SWIG_AsInt(obj1);
15838 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15839 if (arg1) (arg1)->m_x = arg2;
15840
15841 Py_INCREF(Py_None); resultobj = Py_None;
15842 return resultobj;
15843 fail:
15844 return NULL;
15845}
15846
15847
15848static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15849 PyObject *resultobj;
15850 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15851 int result;
d14a1e28
RD
15852 PyObject * obj0 = 0 ;
15853 char *kwnames[] = {
15854 (char *) "self", NULL
15855 };
15856
15857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15860 result = (int) ((arg1)->m_x);
d14a1e28 15861
15afbcd0 15862 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15863 return resultobj;
15864 fail:
15865 return NULL;
15866}
15867
15868
15869static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15870 PyObject *resultobj;
15871 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15872 int arg2 ;
d14a1e28 15873 PyObject * obj0 = 0 ;
994141e6 15874 PyObject * obj1 = 0 ;
d14a1e28
RD
15875 char *kwnames[] = {
15876 (char *) "self",(char *) "m_y", NULL
15877 };
15878
994141e6 15879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15882 arg2 = (int) SWIG_AsInt(obj1);
15883 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15884 if (arg1) (arg1)->m_y = arg2;
15885
15886 Py_INCREF(Py_None); resultobj = Py_None;
15887 return resultobj;
15888 fail:
15889 return NULL;
15890}
15891
15892
15893static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15894 PyObject *resultobj;
15895 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15896 int result;
d14a1e28
RD
15897 PyObject * obj0 = 0 ;
15898 char *kwnames[] = {
15899 (char *) "self", NULL
15900 };
15901
15902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15905 result = (int) ((arg1)->m_y);
d14a1e28 15906
15afbcd0 15907 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15908 return resultobj;
15909 fail:
15910 return NULL;
15911}
15912
15913
15914static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15915 PyObject *resultobj;
15916 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15917 long arg2 ;
15918 PyObject * obj0 = 0 ;
994141e6 15919 PyObject * obj1 = 0 ;
d14a1e28
RD
15920 char *kwnames[] = {
15921 (char *) "self",(char *) "m_keyCode", NULL
15922 };
15923
994141e6 15924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15927 arg2 = (long) SWIG_AsLong(obj1);
15928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15929 if (arg1) (arg1)->m_keyCode = arg2;
15930
15931 Py_INCREF(Py_None); resultobj = Py_None;
15932 return resultobj;
15933 fail:
15934 return NULL;
15935}
15936
15937
15938static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15941 long result;
15942 PyObject * obj0 = 0 ;
15943 char *kwnames[] = {
15944 (char *) "self", NULL
15945 };
15946
15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15950 result = (long) ((arg1)->m_keyCode);
15951
15afbcd0 15952 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
15953 return resultobj;
15954 fail:
15955 return NULL;
15956}
15957
15958
15959static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15960 PyObject *resultobj;
15961 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15962 bool arg2 ;
15963 PyObject * obj0 = 0 ;
15964 PyObject * obj1 = 0 ;
15965 char *kwnames[] = {
15966 (char *) "self",(char *) "m_controlDown", NULL
15967 };
15968
15969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15972 arg2 = (bool) SWIG_AsBool(obj1);
15973 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15974 if (arg1) (arg1)->m_controlDown = arg2;
15975
15976 Py_INCREF(Py_None); resultobj = Py_None;
15977 return resultobj;
15978 fail:
15979 return NULL;
15980}
15981
15982
15983static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj;
15985 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15986 bool result;
15987 PyObject * obj0 = 0 ;
15988 char *kwnames[] = {
15989 (char *) "self", NULL
15990 };
15991
15992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15995 result = (bool) ((arg1)->m_controlDown);
15996
4f89f6a3
RD
15997 {
15998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15999 }
d14a1e28
RD
16000 return resultobj;
16001 fail:
16002 return NULL;
16003}
16004
16005
16006static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16007 PyObject *resultobj;
16008 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16009 bool arg2 ;
16010 PyObject * obj0 = 0 ;
16011 PyObject * obj1 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self",(char *) "m_shiftDown", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16019 arg2 = (bool) SWIG_AsBool(obj1);
16020 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16021 if (arg1) (arg1)->m_shiftDown = arg2;
16022
16023 Py_INCREF(Py_None); resultobj = Py_None;
16024 return resultobj;
16025 fail:
16026 return NULL;
16027}
16028
16029
16030static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16031 PyObject *resultobj;
16032 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16033 bool result;
16034 PyObject * obj0 = 0 ;
16035 char *kwnames[] = {
16036 (char *) "self", NULL
16037 };
16038
16039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16042 result = (bool) ((arg1)->m_shiftDown);
16043
4f89f6a3
RD
16044 {
16045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16046 }
d14a1e28
RD
16047 return resultobj;
16048 fail:
16049 return NULL;
16050}
16051
16052
16053static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj;
16055 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16056 bool arg2 ;
16057 PyObject * obj0 = 0 ;
16058 PyObject * obj1 = 0 ;
16059 char *kwnames[] = {
16060 (char *) "self",(char *) "m_altDown", NULL
16061 };
16062
16063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16066 arg2 = (bool) SWIG_AsBool(obj1);
16067 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16068 if (arg1) (arg1)->m_altDown = arg2;
16069
16070 Py_INCREF(Py_None); resultobj = Py_None;
16071 return resultobj;
16072 fail:
16073 return NULL;
16074}
16075
16076
16077static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj;
16079 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16080 bool result;
16081 PyObject * obj0 = 0 ;
16082 char *kwnames[] = {
16083 (char *) "self", NULL
16084 };
16085
16086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16089 result = (bool) ((arg1)->m_altDown);
16090
4f89f6a3
RD
16091 {
16092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16093 }
d14a1e28
RD
16094 return resultobj;
16095 fail:
16096 return NULL;
16097}
16098
16099
16100static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16101 PyObject *resultobj;
16102 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16103 bool arg2 ;
16104 PyObject * obj0 = 0 ;
16105 PyObject * obj1 = 0 ;
16106 char *kwnames[] = {
16107 (char *) "self",(char *) "m_metaDown", NULL
16108 };
16109
16110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16113 arg2 = (bool) SWIG_AsBool(obj1);
16114 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16115 if (arg1) (arg1)->m_metaDown = arg2;
16116
16117 Py_INCREF(Py_None); resultobj = Py_None;
16118 return resultobj;
16119 fail:
16120 return NULL;
16121}
16122
16123
16124static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16125 PyObject *resultobj;
16126 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16127 bool result;
16128 PyObject * obj0 = 0 ;
16129 char *kwnames[] = {
16130 (char *) "self", NULL
16131 };
16132
16133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16136 result = (bool) ((arg1)->m_metaDown);
16137
4f89f6a3
RD
16138 {
16139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16140 }
d14a1e28
RD
16141 return resultobj;
16142 fail:
16143 return NULL;
16144}
16145
16146
16147static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16148 PyObject *resultobj;
16149 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16150 bool arg2 ;
16151 PyObject * obj0 = 0 ;
16152 PyObject * obj1 = 0 ;
16153 char *kwnames[] = {
16154 (char *) "self",(char *) "m_scanCode", NULL
16155 };
16156
16157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16160 arg2 = (bool) SWIG_AsBool(obj1);
16161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16162 if (arg1) (arg1)->m_scanCode = arg2;
16163
16164 Py_INCREF(Py_None); resultobj = Py_None;
16165 return resultobj;
16166 fail:
16167 return NULL;
16168}
16169
16170
16171static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16172 PyObject *resultobj;
16173 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16174 bool result;
16175 PyObject * obj0 = 0 ;
16176 char *kwnames[] = {
16177 (char *) "self", NULL
16178 };
16179
16180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16183 result = (bool) ((arg1)->m_scanCode);
16184
4f89f6a3
RD
16185 {
16186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16187 }
d14a1e28
RD
16188 return resultobj;
16189 fail:
16190 return NULL;
16191}
16192
16193
16194static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16195 PyObject *resultobj;
16196 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16197 unsigned int arg2 ;
d14a1e28
RD
16198 PyObject * obj0 = 0 ;
16199 PyObject * obj1 = 0 ;
16200 char *kwnames[] = {
16201 (char *) "self",(char *) "m_rawCode", NULL
16202 };
16203
16204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16207 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16208 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16209 if (arg1) (arg1)->m_rawCode = arg2;
16210
16211 Py_INCREF(Py_None); resultobj = Py_None;
16212 return resultobj;
16213 fail:
16214 return NULL;
16215}
16216
16217
16218static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16219 PyObject *resultobj;
16220 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16221 unsigned int result;
d14a1e28
RD
16222 PyObject * obj0 = 0 ;
16223 char *kwnames[] = {
16224 (char *) "self", NULL
16225 };
16226
16227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16230 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28 16231
15afbcd0 16232 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16233 return resultobj;
16234 fail:
16235 return NULL;
16236}
16237
16238
16239static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16240 PyObject *resultobj;
16241 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16242 unsigned int arg2 ;
d14a1e28
RD
16243 PyObject * obj0 = 0 ;
16244 PyObject * obj1 = 0 ;
16245 char *kwnames[] = {
16246 (char *) "self",(char *) "m_rawFlags", NULL
16247 };
16248
16249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16252 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16253 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16254 if (arg1) (arg1)->m_rawFlags = arg2;
16255
16256 Py_INCREF(Py_None); resultobj = Py_None;
16257 return resultobj;
16258 fail:
16259 return NULL;
16260}
16261
16262
16263static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16264 PyObject *resultobj;
16265 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16266 unsigned int result;
d14a1e28
RD
16267 PyObject * obj0 = 0 ;
16268 char *kwnames[] = {
16269 (char *) "self", NULL
16270 };
16271
16272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16275 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28 16276
15afbcd0 16277 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16278 return resultobj;
16279 fail:
16280 return NULL;
16281}
16282
16283
16284static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
16285 PyObject *obj;
16286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16287 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16288 Py_INCREF(obj);
16289 return Py_BuildValue((char *)"");
16290}
16291static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16292 PyObject *resultobj;
16293 wxSize const &arg1_defvalue = wxDefaultSize ;
16294 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16295 int arg2 = (int) 0 ;
16296 wxSizeEvent *result;
16297 wxSize temp1 ;
16298 PyObject * obj0 = 0 ;
994141e6 16299 PyObject * obj1 = 0 ;
d14a1e28
RD
16300 char *kwnames[] = {
16301 (char *) "sz",(char *) "winid", NULL
16302 };
16303
994141e6 16304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16305 if (obj0) {
16306 {
16307 arg1 = &temp1;
16308 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16309 }
16310 }
994141e6 16311 if (obj1) {
15afbcd0
RD
16312 arg2 = (int) SWIG_AsInt(obj1);
16313 if (PyErr_Occurred()) SWIG_fail;
994141e6 16314 }
d14a1e28
RD
16315 {
16316 PyThreadState* __tstate = wxPyBeginAllowThreads();
16317 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16318
16319 wxPyEndAllowThreads(__tstate);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
15afbcd0 16322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
d14a1e28
RD
16323 return resultobj;
16324 fail:
16325 return NULL;
16326}
16327
16328
16329static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16330 PyObject *resultobj;
16331 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16332 wxSize result;
16333 PyObject * obj0 = 0 ;
16334 char *kwnames[] = {
16335 (char *) "self", NULL
16336 };
16337
16338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16341 {
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 result = ((wxSizeEvent const *)arg1)->GetSize();
16344
16345 wxPyEndAllowThreads(__tstate);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 {
16349 wxSize * resultptr;
16350 resultptr = new wxSize((wxSize &) result);
15afbcd0 16351 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16352 }
16353 return resultobj;
16354 fail:
16355 return NULL;
16356}
16357
16358
16359static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16360 PyObject *resultobj;
16361 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16362 wxRect result;
16363 PyObject * obj0 = 0 ;
16364 char *kwnames[] = {
16365 (char *) "self", NULL
16366 };
16367
16368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
16369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16371 {
16372 PyThreadState* __tstate = wxPyBeginAllowThreads();
16373 result = ((wxSizeEvent const *)arg1)->GetRect();
16374
16375 wxPyEndAllowThreads(__tstate);
16376 if (PyErr_Occurred()) SWIG_fail;
16377 }
16378 {
16379 wxRect * resultptr;
16380 resultptr = new wxRect((wxRect &) result);
15afbcd0 16381 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16382 }
16383 return resultobj;
16384 fail:
16385 return NULL;
16386}
16387
16388
16389static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16390 PyObject *resultobj;
16391 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16392 wxRect arg2 ;
16393 wxRect *argp2 ;
16394 PyObject * obj0 = 0 ;
16395 PyObject * obj1 = 0 ;
16396 char *kwnames[] = {
16397 (char *) "self",(char *) "rect", NULL
16398 };
16399
16400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16403 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16404 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16405 arg2 = *argp2;
d14a1e28
RD
16406 {
16407 PyThreadState* __tstate = wxPyBeginAllowThreads();
16408 (arg1)->SetRect(arg2);
16409
16410 wxPyEndAllowThreads(__tstate);
16411 if (PyErr_Occurred()) SWIG_fail;
16412 }
16413 Py_INCREF(Py_None); resultobj = Py_None;
16414 return resultobj;
16415 fail:
16416 return NULL;
16417}
16418
16419
16420static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16421 PyObject *resultobj;
16422 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16423 wxSize arg2 ;
16424 wxSize *argp2 ;
16425 PyObject * obj0 = 0 ;
16426 PyObject * obj1 = 0 ;
16427 char *kwnames[] = {
16428 (char *) "self",(char *) "size", NULL
16429 };
16430
16431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16434 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16435 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16436 arg2 = *argp2;
d14a1e28
RD
16437 {
16438 PyThreadState* __tstate = wxPyBeginAllowThreads();
16439 wxSizeEvent_SetSize(arg1,arg2);
16440
16441 wxPyEndAllowThreads(__tstate);
16442 if (PyErr_Occurred()) SWIG_fail;
16443 }
16444 Py_INCREF(Py_None); resultobj = Py_None;
16445 return resultobj;
16446 fail:
16447 return NULL;
16448}
16449
16450
16451static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj;
16453 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16454 wxSize *arg2 = (wxSize *) 0 ;
16455 PyObject * obj0 = 0 ;
16456 PyObject * obj1 = 0 ;
16457 char *kwnames[] = {
16458 (char *) "self",(char *) "m_size", NULL
16459 };
16460
16461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16466 if (arg1) (arg1)->m_size = *arg2;
16467
16468 Py_INCREF(Py_None); resultobj = Py_None;
16469 return resultobj;
16470 fail:
16471 return NULL;
16472}
16473
16474
16475static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16476 PyObject *resultobj;
16477 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16478 wxSize *result;
16479 PyObject * obj0 = 0 ;
16480 char *kwnames[] = {
16481 (char *) "self", NULL
16482 };
16483
16484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16487 result = (wxSize *)& ((arg1)->m_size);
16488
15afbcd0 16489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
16490 return resultobj;
16491 fail:
16492 return NULL;
16493}
16494
16495
16496static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj;
16498 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16499 wxRect *arg2 = (wxRect *) 0 ;
16500 PyObject * obj0 = 0 ;
16501 PyObject * obj1 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self",(char *) "m_rect", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16511 if (arg1) (arg1)->m_rect = *arg2;
16512
16513 Py_INCREF(Py_None); resultobj = Py_None;
16514 return resultobj;
16515 fail:
16516 return NULL;
16517}
16518
16519
16520static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16521 PyObject *resultobj;
16522 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16523 wxRect *result;
16524 PyObject * obj0 = 0 ;
16525 char *kwnames[] = {
16526 (char *) "self", NULL
16527 };
16528
16529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16532 result = (wxRect *)& ((arg1)->m_rect);
16533
15afbcd0 16534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16535 return resultobj;
16536 fail:
16537 return NULL;
16538}
16539
16540
16541static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
16542 PyObject *obj;
16543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16544 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16545 Py_INCREF(obj);
16546 return Py_BuildValue((char *)"");
16547}
16548static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16549 PyObject *resultobj;
16550 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16551 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16552 int arg2 = (int) 0 ;
16553 wxMoveEvent *result;
16554 wxPoint temp1 ;
16555 PyObject * obj0 = 0 ;
994141e6 16556 PyObject * obj1 = 0 ;
d14a1e28
RD
16557 char *kwnames[] = {
16558 (char *) "pos",(char *) "winid", NULL
16559 };
16560
994141e6 16561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16562 if (obj0) {
16563 {
16564 arg1 = &temp1;
16565 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16566 }
16567 }
994141e6 16568 if (obj1) {
15afbcd0
RD
16569 arg2 = (int) SWIG_AsInt(obj1);
16570 if (PyErr_Occurred()) SWIG_fail;
994141e6 16571 }
d14a1e28
RD
16572 {
16573 PyThreadState* __tstate = wxPyBeginAllowThreads();
16574 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16575
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
15afbcd0 16579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
d14a1e28
RD
16580 return resultobj;
16581 fail:
16582 return NULL;
16583}
16584
16585
16586static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16587 PyObject *resultobj;
16588 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16589 wxPoint result;
16590 PyObject * obj0 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 result = ((wxMoveEvent const *)arg1)->GetPosition();
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 {
16606 wxPoint * resultptr;
16607 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 16608 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
16609 }
16610 return resultobj;
16611 fail:
16612 return NULL;
16613}
16614
16615
16616static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj;
16618 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16619 wxRect result;
16620 PyObject * obj0 = 0 ;
16621 char *kwnames[] = {
16622 (char *) "self", NULL
16623 };
16624
16625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
16626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 result = ((wxMoveEvent const *)arg1)->GetRect();
16631
16632 wxPyEndAllowThreads(__tstate);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 }
16635 {
16636 wxRect * resultptr;
16637 resultptr = new wxRect((wxRect &) result);
15afbcd0 16638 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16639 }
16640 return resultobj;
16641 fail:
16642 return NULL;
16643}
16644
16645
16646static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16647 PyObject *resultobj;
16648 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16649 wxRect arg2 ;
16650 wxRect *argp2 ;
16651 PyObject * obj0 = 0 ;
16652 PyObject * obj1 = 0 ;
16653 char *kwnames[] = {
16654 (char *) "self",(char *) "rect", NULL
16655 };
16656
16657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16660 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16661 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16662 arg2 = *argp2;
d14a1e28
RD
16663 {
16664 PyThreadState* __tstate = wxPyBeginAllowThreads();
16665 (arg1)->SetRect(arg2);
16666
16667 wxPyEndAllowThreads(__tstate);
16668 if (PyErr_Occurred()) SWIG_fail;
16669 }
16670 Py_INCREF(Py_None); resultobj = Py_None;
16671 return resultobj;
16672 fail:
16673 return NULL;
16674}
16675
16676
16677static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16678 PyObject *resultobj;
16679 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16680 wxPoint arg2 ;
16681 wxPoint *argp2 ;
16682 PyObject * obj0 = 0 ;
16683 PyObject * obj1 = 0 ;
16684 char *kwnames[] = {
16685 (char *) "self",(char *) "pos", NULL
16686 };
16687
16688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16691 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
16692 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16693 arg2 = *argp2;
d14a1e28
RD
16694 {
16695 PyThreadState* __tstate = wxPyBeginAllowThreads();
16696 wxMoveEvent_SetPosition(arg1,arg2);
16697
16698 wxPyEndAllowThreads(__tstate);
16699 if (PyErr_Occurred()) SWIG_fail;
16700 }
16701 Py_INCREF(Py_None); resultobj = Py_None;
16702 return resultobj;
16703 fail:
16704 return NULL;
16705}
16706
16707
16708static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16709 PyObject *resultobj;
16710 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16711 wxPoint *arg2 = (wxPoint *) 0 ;
16712 PyObject * obj0 = 0 ;
16713 PyObject * obj1 = 0 ;
16714 char *kwnames[] = {
16715 (char *) "self",(char *) "m_pos", NULL
16716 };
16717
16718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
16722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16723 if (arg1) (arg1)->m_pos = *arg2;
16724
16725 Py_INCREF(Py_None); resultobj = Py_None;
16726 return resultobj;
16727 fail:
16728 return NULL;
16729}
16730
16731
16732static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16733 PyObject *resultobj;
16734 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16735 wxPoint *result;
16736 PyObject * obj0 = 0 ;
16737 char *kwnames[] = {
16738 (char *) "self", NULL
16739 };
16740
16741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16744 result = (wxPoint *)& ((arg1)->m_pos);
16745
15afbcd0 16746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
16747 return resultobj;
16748 fail:
16749 return NULL;
16750}
16751
16752
16753static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16754 PyObject *resultobj;
16755 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16756 wxRect *arg2 = (wxRect *) 0 ;
16757 PyObject * obj0 = 0 ;
16758 PyObject * obj1 = 0 ;
16759 char *kwnames[] = {
16760 (char *) "self",(char *) "m_rect", NULL
16761 };
16762
16763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16768 if (arg1) (arg1)->m_rect = *arg2;
16769
16770 Py_INCREF(Py_None); resultobj = Py_None;
16771 return resultobj;
16772 fail:
16773 return NULL;
16774}
16775
16776
16777static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16778 PyObject *resultobj;
16779 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16780 wxRect *result;
16781 PyObject * obj0 = 0 ;
16782 char *kwnames[] = {
16783 (char *) "self", NULL
16784 };
16785
16786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16789 result = (wxRect *)& ((arg1)->m_rect);
16790
15afbcd0 16791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16792 return resultobj;
16793 fail:
16794 return NULL;
16795}
16796
16797
16798static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
16799 PyObject *obj;
16800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16801 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16802 Py_INCREF(obj);
16803 return Py_BuildValue((char *)"");
16804}
16805static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16806 PyObject *resultobj;
16807 int arg1 = (int) 0 ;
16808 wxPaintEvent *result;
994141e6 16809 PyObject * obj0 = 0 ;
d14a1e28
RD
16810 char *kwnames[] = {
16811 (char *) "Id", NULL
16812 };
16813
994141e6
RD
16814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16815 if (obj0) {
15afbcd0
RD
16816 arg1 = (int) SWIG_AsInt(obj0);
16817 if (PyErr_Occurred()) SWIG_fail;
994141e6 16818 }
d14a1e28
RD
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
15afbcd0 16826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
d14a1e28
RD
16827 return resultobj;
16828 fail:
16829 return NULL;
16830}
16831
16832
16833static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
16834 PyObject *obj;
16835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16836 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16837 Py_INCREF(obj);
16838 return Py_BuildValue((char *)"");
16839}
16840static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16841 PyObject *resultobj;
16842 int arg1 = (int) 0 ;
16843 wxNcPaintEvent *result;
994141e6 16844 PyObject * obj0 = 0 ;
d14a1e28
RD
16845 char *kwnames[] = {
16846 (char *) "winid", NULL
16847 };
16848
994141e6
RD
16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16850 if (obj0) {
15afbcd0
RD
16851 arg1 = (int) SWIG_AsInt(obj0);
16852 if (PyErr_Occurred()) SWIG_fail;
994141e6 16853 }
d14a1e28
RD
16854 {
16855 PyThreadState* __tstate = wxPyBeginAllowThreads();
16856 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16857
16858 wxPyEndAllowThreads(__tstate);
16859 if (PyErr_Occurred()) SWIG_fail;
16860 }
15afbcd0 16861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
d14a1e28
RD
16862 return resultobj;
16863 fail:
16864 return NULL;
16865}
16866
16867
16868static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
16869 PyObject *obj;
16870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16871 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16872 Py_INCREF(obj);
16873 return Py_BuildValue((char *)"");
16874}
16875static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16876 PyObject *resultobj;
16877 int arg1 = (int) 0 ;
16878 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16879 wxEraseEvent *result;
994141e6 16880 PyObject * obj0 = 0 ;
d14a1e28
RD
16881 PyObject * obj1 = 0 ;
16882 char *kwnames[] = {
16883 (char *) "Id",(char *) "dc", NULL
16884 };
16885
994141e6
RD
16886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16887 if (obj0) {
15afbcd0
RD
16888 arg1 = (int) SWIG_AsInt(obj0);
16889 if (PyErr_Occurred()) SWIG_fail;
994141e6 16890 }
d14a1e28 16891 if (obj1) {
15afbcd0
RD
16892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16894 }
16895 {
16896 PyThreadState* __tstate = wxPyBeginAllowThreads();
16897 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16898
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
15afbcd0 16902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
d14a1e28
RD
16903 return resultobj;
16904 fail:
16905 return NULL;
16906}
16907
16908
16909static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
16910 PyObject *resultobj;
16911 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16912 wxDC *result;
16913 PyObject * obj0 = 0 ;
16914 char *kwnames[] = {
16915 (char *) "self", NULL
16916 };
16917
16918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
16919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
16920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16924
16925 wxPyEndAllowThreads(__tstate);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 {
412d302d 16929 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16930 }
16931 return resultobj;
16932 fail:
16933 return NULL;
16934}
16935
16936
16937static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
16938 PyObject *obj;
16939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16940 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
16941 Py_INCREF(obj);
16942 return Py_BuildValue((char *)"");
16943}
16944static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16945 PyObject *resultobj;
16946 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16947 int arg2 = (int) 0 ;
16948 wxFocusEvent *result;
994141e6
RD
16949 PyObject * obj0 = 0 ;
16950 PyObject * obj1 = 0 ;
d14a1e28
RD
16951 char *kwnames[] = {
16952 (char *) "type",(char *) "winid", NULL
16953 };
16954
994141e6
RD
16955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
16956 if (obj0) {
15afbcd0
RD
16957 arg1 = (wxEventType) SWIG_AsInt(obj0);
16958 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
16959 }
16960 if (obj1) {
15afbcd0
RD
16961 arg2 = (int) SWIG_AsInt(obj1);
16962 if (PyErr_Occurred()) SWIG_fail;
994141e6 16963 }
d14a1e28
RD
16964 {
16965 PyThreadState* __tstate = wxPyBeginAllowThreads();
16966 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
16967
16968 wxPyEndAllowThreads(__tstate);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 }
15afbcd0 16971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
d14a1e28
RD
16972 return resultobj;
16973 fail:
16974 return NULL;
16975}
16976
16977
16978static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16979 PyObject *resultobj;
16980 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16981 wxWindow *result;
16982 PyObject * obj0 = 0 ;
16983 char *kwnames[] = {
16984 (char *) "self", NULL
16985 };
16986
16987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16990 {
16991 PyThreadState* __tstate = wxPyBeginAllowThreads();
16992 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
16993
16994 wxPyEndAllowThreads(__tstate);
16995 if (PyErr_Occurred()) SWIG_fail;
16996 }
16997 {
412d302d 16998 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16999 }
17000 return resultobj;
17001 fail:
17002 return NULL;
17003}
17004
17005
17006static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17007 PyObject *resultobj;
17008 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
17009 wxWindow *arg2 = (wxWindow *) 0 ;
17010 PyObject * obj0 = 0 ;
17011 PyObject * obj1 = 0 ;
17012 char *kwnames[] = {
17013 (char *) "self",(char *) "win", NULL
17014 };
17015
17016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
17018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17019 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17021 {
17022 PyThreadState* __tstate = wxPyBeginAllowThreads();
17023 (arg1)->SetWindow(arg2);
17024
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 Py_INCREF(Py_None); resultobj = Py_None;
17029 return resultobj;
17030 fail:
17031 return NULL;
17032}
17033
17034
17035static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
17036 PyObject *obj;
17037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17038 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
17039 Py_INCREF(obj);
17040 return Py_BuildValue((char *)"");
17041}
17042static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17043 PyObject *resultobj;
17044 wxWindow *arg1 = (wxWindow *) NULL ;
17045 wxChildFocusEvent *result;
17046 PyObject * obj0 = 0 ;
17047 char *kwnames[] = {
17048 (char *) "win", NULL
17049 };
17050
17051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
17052 if (obj0) {
15afbcd0
RD
17053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17055 }
17056 {
17057 PyThreadState* __tstate = wxPyBeginAllowThreads();
17058 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
17059
17060 wxPyEndAllowThreads(__tstate);
17061 if (PyErr_Occurred()) SWIG_fail;
17062 }
15afbcd0 17063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
d14a1e28
RD
17064 return resultobj;
17065 fail:
17066 return NULL;
17067}
17068
17069
17070static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17071 PyObject *resultobj;
17072 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
17073 wxWindow *result;
17074 PyObject * obj0 = 0 ;
17075 char *kwnames[] = {
17076 (char *) "self", NULL
17077 };
17078
17079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
17081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17082 {
17083 PyThreadState* __tstate = wxPyBeginAllowThreads();
17084 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
17085
17086 wxPyEndAllowThreads(__tstate);
17087 if (PyErr_Occurred()) SWIG_fail;
17088 }
17089 {
412d302d 17090 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17091 }
17092 return resultobj;
17093 fail:
17094 return NULL;
17095}
17096
17097
17098static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
17099 PyObject *obj;
17100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17101 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
17102 Py_INCREF(obj);
17103 return Py_BuildValue((char *)"");
17104}
17105static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17106 PyObject *resultobj;
17107 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 17108 bool arg2 = (bool) True ;
d14a1e28
RD
17109 int arg3 = (int) 0 ;
17110 wxActivateEvent *result;
994141e6 17111 PyObject * obj0 = 0 ;
d14a1e28 17112 PyObject * obj1 = 0 ;
994141e6 17113 PyObject * obj2 = 0 ;
d14a1e28
RD
17114 char *kwnames[] = {
17115 (char *) "type",(char *) "active",(char *) "Id", NULL
17116 };
17117
994141e6
RD
17118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17119 if (obj0) {
15afbcd0
RD
17120 arg1 = (wxEventType) SWIG_AsInt(obj0);
17121 if (PyErr_Occurred()) SWIG_fail;
994141e6 17122 }
d14a1e28 17123 if (obj1) {
15afbcd0
RD
17124 arg2 = (bool) SWIG_AsBool(obj1);
17125 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17126 }
17127 if (obj2) {
15afbcd0
RD
17128 arg3 = (int) SWIG_AsInt(obj2);
17129 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17130 }
17131 {
17132 PyThreadState* __tstate = wxPyBeginAllowThreads();
17133 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
17134
17135 wxPyEndAllowThreads(__tstate);
17136 if (PyErr_Occurred()) SWIG_fail;
17137 }
15afbcd0 17138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
d14a1e28
RD
17139 return resultobj;
17140 fail:
17141 return NULL;
17142}
17143
17144
17145static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17146 PyObject *resultobj;
17147 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
17148 bool result;
17149 PyObject * obj0 = 0 ;
17150 char *kwnames[] = {
17151 (char *) "self", NULL
17152 };
17153
17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
17155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
17156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17157 {
17158 PyThreadState* __tstate = wxPyBeginAllowThreads();
17159 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
17160
17161 wxPyEndAllowThreads(__tstate);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 }
4f89f6a3
RD
17164 {
17165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17166 }
d14a1e28
RD
17167 return resultobj;
17168 fail:
17169 return NULL;
17170}
17171
17172
17173static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
17174 PyObject *obj;
17175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17176 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
17177 Py_INCREF(obj);
17178 return Py_BuildValue((char *)"");
17179}
17180static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17181 PyObject *resultobj;
17182 int arg1 = (int) 0 ;
17183 wxInitDialogEvent *result;
994141e6 17184 PyObject * obj0 = 0 ;
d14a1e28
RD
17185 char *kwnames[] = {
17186 (char *) "Id", NULL
17187 };
17188
994141e6
RD
17189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
17190 if (obj0) {
15afbcd0
RD
17191 arg1 = (int) SWIG_AsInt(obj0);
17192 if (PyErr_Occurred()) SWIG_fail;
994141e6 17193 }
d14a1e28
RD
17194 {
17195 PyThreadState* __tstate = wxPyBeginAllowThreads();
17196 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
17197
17198 wxPyEndAllowThreads(__tstate);
17199 if (PyErr_Occurred()) SWIG_fail;
17200 }
15afbcd0 17201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
d14a1e28
RD
17202 return resultobj;
17203 fail:
17204 return NULL;
17205}
17206
17207
17208static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
17209 PyObject *obj;
17210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17211 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
17212 Py_INCREF(obj);
17213 return Py_BuildValue((char *)"");
17214}
17215static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17216 PyObject *resultobj;
17217 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17218 int arg2 = (int) 0 ;
17219 wxMenu *arg3 = (wxMenu *) NULL ;
17220 wxMenuEvent *result;
994141e6
RD
17221 PyObject * obj0 = 0 ;
17222 PyObject * obj1 = 0 ;
d14a1e28
RD
17223 PyObject * obj2 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "type",(char *) "winid",(char *) "menu", NULL
17226 };
17227
994141e6
RD
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17229 if (obj0) {
15afbcd0
RD
17230 arg1 = (wxEventType) SWIG_AsInt(obj0);
17231 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17232 }
17233 if (obj1) {
15afbcd0
RD
17234 arg2 = (int) SWIG_AsInt(obj1);
17235 if (PyErr_Occurred()) SWIG_fail;
994141e6 17236 }
d14a1e28 17237 if (obj2) {
15afbcd0
RD
17238 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17240 }
17241 {
17242 PyThreadState* __tstate = wxPyBeginAllowThreads();
17243 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17244
17245 wxPyEndAllowThreads(__tstate);
17246 if (PyErr_Occurred()) SWIG_fail;
17247 }
15afbcd0 17248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
d14a1e28
RD
17249 return resultobj;
17250 fail:
17251 return NULL;
17252}
17253
17254
17255static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
17256 PyObject *resultobj;
17257 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17258 int result;
17259 PyObject * obj0 = 0 ;
17260 char *kwnames[] = {
17261 (char *) "self", NULL
17262 };
17263
17264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15afbcd0
RD
17265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17267 {
17268 PyThreadState* __tstate = wxPyBeginAllowThreads();
17269 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17270
17271 wxPyEndAllowThreads(__tstate);
17272 if (PyErr_Occurred()) SWIG_fail;
17273 }
15afbcd0 17274 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17275 return resultobj;
17276 fail:
17277 return NULL;
17278}
17279
17280
17281static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
17282 PyObject *resultobj;
17283 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17284 bool result;
17285 PyObject * obj0 = 0 ;
17286 char *kwnames[] = {
17287 (char *) "self", NULL
17288 };
17289
17290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15afbcd0
RD
17291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17293 {
17294 PyThreadState* __tstate = wxPyBeginAllowThreads();
17295 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17296
17297 wxPyEndAllowThreads(__tstate);
17298 if (PyErr_Occurred()) SWIG_fail;
17299 }
4f89f6a3
RD
17300 {
17301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17302 }
d14a1e28
RD
17303 return resultobj;
17304 fail:
17305 return NULL;
17306}
17307
17308
17309static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
17310 PyObject *resultobj;
17311 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17312 wxMenu *result;
17313 PyObject * obj0 = 0 ;
17314 char *kwnames[] = {
17315 (char *) "self", NULL
17316 };
17317
17318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
17319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17321 {
17322 PyThreadState* __tstate = wxPyBeginAllowThreads();
17323 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17324
17325 wxPyEndAllowThreads(__tstate);
17326 if (PyErr_Occurred()) SWIG_fail;
17327 }
17328 {
412d302d 17329 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17330 }
17331 return resultobj;
17332 fail:
17333 return NULL;
17334}
17335
17336
17337static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
17338 PyObject *obj;
17339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17340 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17341 Py_INCREF(obj);
17342 return Py_BuildValue((char *)"");
17343}
17344static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17345 PyObject *resultobj;
17346 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17347 int arg2 = (int) 0 ;
17348 wxCloseEvent *result;
994141e6
RD
17349 PyObject * obj0 = 0 ;
17350 PyObject * obj1 = 0 ;
d14a1e28
RD
17351 char *kwnames[] = {
17352 (char *) "type",(char *) "winid", NULL
17353 };
17354
994141e6
RD
17355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17356 if (obj0) {
15afbcd0
RD
17357 arg1 = (wxEventType) SWIG_AsInt(obj0);
17358 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17359 }
17360 if (obj1) {
15afbcd0
RD
17361 arg2 = (int) SWIG_AsInt(obj1);
17362 if (PyErr_Occurred()) SWIG_fail;
994141e6 17363 }
d14a1e28
RD
17364 {
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17367
17368 wxPyEndAllowThreads(__tstate);
17369 if (PyErr_Occurred()) SWIG_fail;
17370 }
15afbcd0 17371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
d14a1e28
RD
17372 return resultobj;
17373 fail:
17374 return NULL;
17375}
17376
17377
17378static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17379 PyObject *resultobj;
17380 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17381 bool arg2 ;
17382 PyObject * obj0 = 0 ;
17383 PyObject * obj1 = 0 ;
17384 char *kwnames[] = {
17385 (char *) "self",(char *) "logOff", NULL
17386 };
17387
17388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17391 arg2 = (bool) SWIG_AsBool(obj1);
17392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17393 {
17394 PyThreadState* __tstate = wxPyBeginAllowThreads();
17395 (arg1)->SetLoggingOff(arg2);
17396
17397 wxPyEndAllowThreads(__tstate);
17398 if (PyErr_Occurred()) SWIG_fail;
17399 }
17400 Py_INCREF(Py_None); resultobj = Py_None;
17401 return resultobj;
17402 fail:
17403 return NULL;
17404}
17405
17406
17407static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17408 PyObject *resultobj;
17409 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17410 bool result;
17411 PyObject * obj0 = 0 ;
17412 char *kwnames[] = {
17413 (char *) "self", NULL
17414 };
17415
17416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15afbcd0
RD
17417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17419 {
17420 PyThreadState* __tstate = wxPyBeginAllowThreads();
17421 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17422
17423 wxPyEndAllowThreads(__tstate);
17424 if (PyErr_Occurred()) SWIG_fail;
17425 }
4f89f6a3
RD
17426 {
17427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17428 }
d14a1e28
RD
17429 return resultobj;
17430 fail:
17431 return NULL;
17432}
17433
17434
17435static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
17436 PyObject *resultobj;
17437 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
e811c8ce 17438 bool arg2 = (bool) True ;
d14a1e28
RD
17439 PyObject * obj0 = 0 ;
17440 PyObject * obj1 = 0 ;
17441 char *kwnames[] = {
17442 (char *) "self",(char *) "veto", NULL
17443 };
17444
17445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 17448 if (obj1) {
15afbcd0
RD
17449 arg2 = (bool) SWIG_AsBool(obj1);
17450 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17451 }
17452 {
17453 PyThreadState* __tstate = wxPyBeginAllowThreads();
17454 (arg1)->Veto(arg2);
17455
17456 wxPyEndAllowThreads(__tstate);
17457 if (PyErr_Occurred()) SWIG_fail;
17458 }
17459 Py_INCREF(Py_None); resultobj = Py_None;
17460 return resultobj;
17461 fail:
17462 return NULL;
17463}
17464
17465
17466static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17467 PyObject *resultobj;
17468 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17469 bool arg2 ;
17470 PyObject * obj0 = 0 ;
17471 PyObject * obj1 = 0 ;
17472 char *kwnames[] = {
17473 (char *) "self",(char *) "canVeto", NULL
17474 };
17475
17476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17479 arg2 = (bool) SWIG_AsBool(obj1);
17480 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17481 {
17482 PyThreadState* __tstate = wxPyBeginAllowThreads();
17483 (arg1)->SetCanVeto(arg2);
17484
17485 wxPyEndAllowThreads(__tstate);
17486 if (PyErr_Occurred()) SWIG_fail;
17487 }
17488 Py_INCREF(Py_None); resultobj = Py_None;
17489 return resultobj;
17490 fail:
17491 return NULL;
17492}
17493
17494
17495static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17496 PyObject *resultobj;
17497 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17498 bool result;
17499 PyObject * obj0 = 0 ;
17500 char *kwnames[] = {
17501 (char *) "self", NULL
17502 };
17503
17504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17507 {
17508 PyThreadState* __tstate = wxPyBeginAllowThreads();
17509 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17510
17511 wxPyEndAllowThreads(__tstate);
17512 if (PyErr_Occurred()) SWIG_fail;
17513 }
4f89f6a3
RD
17514 {
17515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17516 }
d14a1e28
RD
17517 return resultobj;
17518 fail:
17519 return NULL;
17520}
17521
17522
17523static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17524 PyObject *resultobj;
17525 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17526 bool result;
17527 PyObject * obj0 = 0 ;
17528 char *kwnames[] = {
17529 (char *) "self", NULL
17530 };
17531
17532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17535 {
17536 PyThreadState* __tstate = wxPyBeginAllowThreads();
17537 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17538
17539 wxPyEndAllowThreads(__tstate);
17540 if (PyErr_Occurred()) SWIG_fail;
17541 }
4f89f6a3
RD
17542 {
17543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17544 }
d14a1e28
RD
17545 return resultobj;
17546 fail:
17547 return NULL;
17548}
17549
17550
17551static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
17552 PyObject *obj;
17553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17554 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17555 Py_INCREF(obj);
17556 return Py_BuildValue((char *)"");
17557}
17558static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17559 PyObject *resultobj;
17560 int arg1 = (int) 0 ;
e811c8ce 17561 bool arg2 = (bool) False ;
d14a1e28 17562 wxShowEvent *result;
994141e6 17563 PyObject * obj0 = 0 ;
d14a1e28
RD
17564 PyObject * obj1 = 0 ;
17565 char *kwnames[] = {
17566 (char *) "winid",(char *) "show", NULL
17567 };
17568
994141e6
RD
17569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17570 if (obj0) {
15afbcd0
RD
17571 arg1 = (int) SWIG_AsInt(obj0);
17572 if (PyErr_Occurred()) SWIG_fail;
994141e6 17573 }
d14a1e28 17574 if (obj1) {
15afbcd0
RD
17575 arg2 = (bool) SWIG_AsBool(obj1);
17576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17577 }
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17581
17582 wxPyEndAllowThreads(__tstate);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 }
15afbcd0 17585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
d14a1e28
RD
17586 return resultobj;
17587 fail:
17588 return NULL;
17589}
17590
17591
17592static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17593 PyObject *resultobj;
17594 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17595 bool arg2 ;
17596 PyObject * obj0 = 0 ;
17597 PyObject * obj1 = 0 ;
17598 char *kwnames[] = {
17599 (char *) "self",(char *) "show", NULL
17600 };
17601
17602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17605 arg2 = (bool) SWIG_AsBool(obj1);
17606 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17607 {
17608 PyThreadState* __tstate = wxPyBeginAllowThreads();
17609 (arg1)->SetShow(arg2);
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 Py_INCREF(Py_None); resultobj = Py_None;
17615 return resultobj;
17616 fail:
17617 return NULL;
17618}
17619
17620
17621static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17622 PyObject *resultobj;
17623 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17624 bool result;
17625 PyObject * obj0 = 0 ;
17626 char *kwnames[] = {
17627 (char *) "self", NULL
17628 };
17629
17630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17633 {
17634 PyThreadState* __tstate = wxPyBeginAllowThreads();
17635 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17636
17637 wxPyEndAllowThreads(__tstate);
17638 if (PyErr_Occurred()) SWIG_fail;
17639 }
4f89f6a3
RD
17640 {
17641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17642 }
d14a1e28
RD
17643 return resultobj;
17644 fail:
17645 return NULL;
17646}
17647
17648
17649static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
17650 PyObject *obj;
17651 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17652 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17653 Py_INCREF(obj);
17654 return Py_BuildValue((char *)"");
17655}
17656static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17657 PyObject *resultobj;
17658 int arg1 = (int) 0 ;
e811c8ce 17659 bool arg2 = (bool) True ;
d14a1e28 17660 wxIconizeEvent *result;
994141e6 17661 PyObject * obj0 = 0 ;
d14a1e28
RD
17662 PyObject * obj1 = 0 ;
17663 char *kwnames[] = {
17664 (char *) "id",(char *) "iconized", NULL
17665 };
17666
994141e6
RD
17667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17668 if (obj0) {
15afbcd0
RD
17669 arg1 = (int) SWIG_AsInt(obj0);
17670 if (PyErr_Occurred()) SWIG_fail;
994141e6 17671 }
d14a1e28 17672 if (obj1) {
15afbcd0
RD
17673 arg2 = (bool) SWIG_AsBool(obj1);
17674 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17675 }
17676 {
17677 PyThreadState* __tstate = wxPyBeginAllowThreads();
17678 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
17679
17680 wxPyEndAllowThreads(__tstate);
17681 if (PyErr_Occurred()) SWIG_fail;
17682 }
15afbcd0 17683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
d14a1e28
RD
17684 return resultobj;
17685 fail:
17686 return NULL;
17687}
17688
17689
17690static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
17691 PyObject *resultobj;
17692 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17693 bool result;
17694 PyObject * obj0 = 0 ;
17695 char *kwnames[] = {
17696 (char *) "self", NULL
17697 };
17698
17699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15afbcd0
RD
17700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
17701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17702 {
17703 PyThreadState* __tstate = wxPyBeginAllowThreads();
17704 result = (bool)(arg1)->Iconized();
17705
17706 wxPyEndAllowThreads(__tstate);
17707 if (PyErr_Occurred()) SWIG_fail;
17708 }
4f89f6a3
RD
17709 {
17710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17711 }
d14a1e28
RD
17712 return resultobj;
17713 fail:
17714 return NULL;
17715}
17716
17717
17718static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
17719 PyObject *obj;
17720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17721 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17722 Py_INCREF(obj);
17723 return Py_BuildValue((char *)"");
17724}
17725static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17726 PyObject *resultobj;
17727 int arg1 = (int) 0 ;
17728 wxMaximizeEvent *result;
994141e6 17729 PyObject * obj0 = 0 ;
d14a1e28
RD
17730 char *kwnames[] = {
17731 (char *) "id", NULL
17732 };
17733
994141e6
RD
17734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17735 if (obj0) {
15afbcd0
RD
17736 arg1 = (int) SWIG_AsInt(obj0);
17737 if (PyErr_Occurred()) SWIG_fail;
994141e6 17738 }
d14a1e28
RD
17739 {
17740 PyThreadState* __tstate = wxPyBeginAllowThreads();
17741 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17742
17743 wxPyEndAllowThreads(__tstate);
17744 if (PyErr_Occurred()) SWIG_fail;
17745 }
15afbcd0 17746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
d14a1e28
RD
17747 return resultobj;
17748 fail:
17749 return NULL;
17750}
17751
17752
17753static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
17754 PyObject *obj;
17755 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17756 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17757 Py_INCREF(obj);
17758 return Py_BuildValue((char *)"");
17759}
17760static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17761 PyObject *resultobj;
17762 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17763 wxPoint result;
17764 PyObject * obj0 = 0 ;
17765 char *kwnames[] = {
17766 (char *) "self", NULL
17767 };
17768
17769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
17770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 result = (arg1)->GetPosition();
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 {
17780 wxPoint * resultptr;
17781 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 17782 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
17783 }
17784 return resultobj;
17785 fail:
17786 return NULL;
17787}
17788
17789
17790static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17791 PyObject *resultobj;
17792 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17793 int result;
17794 PyObject * obj0 = 0 ;
17795 char *kwnames[] = {
17796 (char *) "self", NULL
17797 };
17798
17799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
17800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17802 {
17803 PyThreadState* __tstate = wxPyBeginAllowThreads();
17804 result = (int)(arg1)->GetNumberOfFiles();
17805
17806 wxPyEndAllowThreads(__tstate);
17807 if (PyErr_Occurred()) SWIG_fail;
17808 }
15afbcd0 17809 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17810 return resultobj;
17811 fail:
17812 return NULL;
17813}
17814
17815
17816static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17817 PyObject *resultobj;
17818 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17819 PyObject *result;
17820 PyObject * obj0 = 0 ;
17821 char *kwnames[] = {
17822 (char *) "self", NULL
17823 };
17824
17825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
17826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17828 {
17829 PyThreadState* __tstate = wxPyBeginAllowThreads();
17830 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17831
17832 wxPyEndAllowThreads(__tstate);
17833 if (PyErr_Occurred()) SWIG_fail;
17834 }
17835 resultobj = result;
17836 return resultobj;
17837 fail:
17838 return NULL;
17839}
17840
17841
17842static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
17843 PyObject *obj;
17844 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17845 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17846 Py_INCREF(obj);
17847 return Py_BuildValue((char *)"");
17848}
17849static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17850 PyObject *resultobj;
e811c8ce 17851 int arg1 = (int) 0 ;
d14a1e28 17852 wxUpdateUIEvent *result;
994141e6 17853 PyObject * obj0 = 0 ;
d14a1e28
RD
17854 char *kwnames[] = {
17855 (char *) "commandId", NULL
17856 };
17857
994141e6
RD
17858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17859 if (obj0) {
15afbcd0
RD
17860 arg1 = (int) SWIG_AsInt(obj0);
17861 if (PyErr_Occurred()) SWIG_fail;
994141e6 17862 }
d14a1e28
RD
17863 {
17864 PyThreadState* __tstate = wxPyBeginAllowThreads();
17865 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17866
17867 wxPyEndAllowThreads(__tstate);
17868 if (PyErr_Occurred()) SWIG_fail;
17869 }
15afbcd0 17870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
d14a1e28
RD
17871 return resultobj;
17872 fail:
17873 return NULL;
17874}
17875
17876
17877static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17878 PyObject *resultobj;
17879 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17880 bool result;
17881 PyObject * obj0 = 0 ;
17882 char *kwnames[] = {
17883 (char *) "self", NULL
17884 };
17885
17886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
17887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
17892
17893 wxPyEndAllowThreads(__tstate);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
4f89f6a3
RD
17896 {
17897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17898 }
d14a1e28
RD
17899 return resultobj;
17900 fail:
17901 return NULL;
17902}
17903
17904
17905static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17906 PyObject *resultobj;
17907 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17908 bool result;
17909 PyObject * obj0 = 0 ;
17910 char *kwnames[] = {
17911 (char *) "self", NULL
17912 };
17913
17914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
17915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17917 {
17918 PyThreadState* __tstate = wxPyBeginAllowThreads();
17919 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17920
17921 wxPyEndAllowThreads(__tstate);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 }
4f89f6a3
RD
17924 {
17925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17926 }
d14a1e28
RD
17927 return resultobj;
17928 fail:
17929 return NULL;
17930}
17931
17932
17933static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17934 PyObject *resultobj;
17935 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17936 wxString result;
17937 PyObject * obj0 = 0 ;
17938 char *kwnames[] = {
17939 (char *) "self", NULL
17940 };
17941
17942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
17943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17945 {
17946 PyThreadState* __tstate = wxPyBeginAllowThreads();
17947 result = ((wxUpdateUIEvent const *)arg1)->GetText();
17948
17949 wxPyEndAllowThreads(__tstate);
17950 if (PyErr_Occurred()) SWIG_fail;
17951 }
17952 {
17953#if wxUSE_UNICODE
17954 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17955#else
17956 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17957#endif
17958 }
17959 return resultobj;
17960 fail:
17961 return NULL;
17962}
17963
17964
17965static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17966 PyObject *resultobj;
17967 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17968 bool result;
17969 PyObject * obj0 = 0 ;
17970 char *kwnames[] = {
17971 (char *) "self", NULL
17972 };
17973
17974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
17975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17977 {
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
17979 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
17980
17981 wxPyEndAllowThreads(__tstate);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
4f89f6a3
RD
17984 {
17985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17986 }
d14a1e28
RD
17987 return resultobj;
17988 fail:
17989 return NULL;
17990}
17991
17992
17993static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17994 PyObject *resultobj;
17995 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17996 bool result;
17997 PyObject * obj0 = 0 ;
17998 char *kwnames[] = {
17999 (char *) "self", NULL
18000 };
18001
18002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
18003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18005 {
18006 PyThreadState* __tstate = wxPyBeginAllowThreads();
18007 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
18008
18009 wxPyEndAllowThreads(__tstate);
18010 if (PyErr_Occurred()) SWIG_fail;
18011 }
4f89f6a3
RD
18012 {
18013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18014 }
d14a1e28
RD
18015 return resultobj;
18016 fail:
18017 return NULL;
18018}
18019
18020
18021static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
18022 PyObject *resultobj;
18023 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18024 bool result;
18025 PyObject * obj0 = 0 ;
18026 char *kwnames[] = {
18027 (char *) "self", NULL
18028 };
18029
18030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
18031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18033 {
18034 PyThreadState* __tstate = wxPyBeginAllowThreads();
18035 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
18036
18037 wxPyEndAllowThreads(__tstate);
18038 if (PyErr_Occurred()) SWIG_fail;
18039 }
4f89f6a3
RD
18040 {
18041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18042 }
d14a1e28
RD
18043 return resultobj;
18044 fail:
18045 return NULL;
18046}
18047
18048
18049static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
18050 PyObject *resultobj;
18051 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18052 bool arg2 ;
18053 PyObject * obj0 = 0 ;
18054 PyObject * obj1 = 0 ;
18055 char *kwnames[] = {
18056 (char *) "self",(char *) "check", NULL
18057 };
18058
18059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18062 arg2 = (bool) SWIG_AsBool(obj1);
18063 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18064 {
18065 PyThreadState* __tstate = wxPyBeginAllowThreads();
18066 (arg1)->Check(arg2);
18067
18068 wxPyEndAllowThreads(__tstate);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 Py_INCREF(Py_None); resultobj = Py_None;
18072 return resultobj;
18073 fail:
18074 return NULL;
18075}
18076
18077
18078static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
18079 PyObject *resultobj;
18080 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18081 bool arg2 ;
18082 PyObject * obj0 = 0 ;
18083 PyObject * obj1 = 0 ;
18084 char *kwnames[] = {
18085 (char *) "self",(char *) "enable", NULL
18086 };
18087
18088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18091 arg2 = (bool) SWIG_AsBool(obj1);
18092 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18093 {
18094 PyThreadState* __tstate = wxPyBeginAllowThreads();
18095 (arg1)->Enable(arg2);
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 Py_INCREF(Py_None); resultobj = Py_None;
18101 return resultobj;
18102 fail:
18103 return NULL;
18104}
18105
18106
18107static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18108 PyObject *resultobj;
18109 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18110 wxString *arg2 = 0 ;
e811c8ce 18111 bool temp2 = False ;
d14a1e28
RD
18112 PyObject * obj0 = 0 ;
18113 PyObject * obj1 = 0 ;
18114 char *kwnames[] = {
18115 (char *) "self",(char *) "text", NULL
18116 };
18117
18118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18121 {
18122 arg2 = wxString_in_helper(obj1);
18123 if (arg2 == NULL) SWIG_fail;
e811c8ce 18124 temp2 = True;
d14a1e28
RD
18125 }
18126 {
18127 PyThreadState* __tstate = wxPyBeginAllowThreads();
18128 (arg1)->SetText((wxString const &)*arg2);
18129
18130 wxPyEndAllowThreads(__tstate);
18131 if (PyErr_Occurred()) SWIG_fail;
18132 }
18133 Py_INCREF(Py_None); resultobj = Py_None;
18134 {
18135 if (temp2)
18136 delete arg2;
18137 }
18138 return resultobj;
18139 fail:
18140 {
18141 if (temp2)
18142 delete arg2;
18143 }
18144 return NULL;
18145}
18146
18147
18148static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18149 PyObject *resultobj;
18150 long arg1 ;
994141e6 18151 PyObject * obj0 = 0 ;
d14a1e28
RD
18152 char *kwnames[] = {
18153 (char *) "updateInterval", NULL
18154 };
18155
994141e6 18156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
15afbcd0
RD
18157 arg1 = (long) SWIG_AsLong(obj0);
18158 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18159 {
18160 PyThreadState* __tstate = wxPyBeginAllowThreads();
18161 wxUpdateUIEvent::SetUpdateInterval(arg1);
18162
18163 wxPyEndAllowThreads(__tstate);
18164 if (PyErr_Occurred()) SWIG_fail;
18165 }
18166 Py_INCREF(Py_None); resultobj = Py_None;
18167 return resultobj;
18168 fail:
18169 return NULL;
18170}
18171
18172
18173static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18174 PyObject *resultobj;
18175 long result;
18176 char *kwnames[] = {
18177 NULL
18178 };
18179
18180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
18181 {
18182 PyThreadState* __tstate = wxPyBeginAllowThreads();
18183 result = (long)wxUpdateUIEvent::GetUpdateInterval();
18184
18185 wxPyEndAllowThreads(__tstate);
18186 if (PyErr_Occurred()) SWIG_fail;
18187 }
15afbcd0 18188 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18189 return resultobj;
18190 fail:
18191 return NULL;
18192}
18193
18194
18195static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
18196 PyObject *resultobj;
18197 wxWindow *arg1 = (wxWindow *) 0 ;
18198 bool result;
18199 PyObject * obj0 = 0 ;
18200 char *kwnames[] = {
18201 (char *) "win", NULL
18202 };
18203
18204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
15afbcd0
RD
18205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18207 {
18208 PyThreadState* __tstate = wxPyBeginAllowThreads();
18209 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
18210
18211 wxPyEndAllowThreads(__tstate);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 }
4f89f6a3
RD
18214 {
18215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18216 }
d14a1e28
RD
18217 return resultobj;
18218 fail:
18219 return NULL;
18220}
18221
18222
18223static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18224 PyObject *resultobj;
18225 char *kwnames[] = {
18226 NULL
18227 };
18228
18229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18230 {
18231 PyThreadState* __tstate = wxPyBeginAllowThreads();
18232 wxUpdateUIEvent::ResetUpdateTime();
18233
18234 wxPyEndAllowThreads(__tstate);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 }
18237 Py_INCREF(Py_None); resultobj = Py_None;
18238 return resultobj;
18239 fail:
18240 return NULL;
18241}
18242
18243
18244static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18245 PyObject *resultobj;
18246 int arg1 ;
994141e6 18247 PyObject * obj0 = 0 ;
d14a1e28
RD
18248 char *kwnames[] = {
18249 (char *) "mode", NULL
18250 };
18251
994141e6 18252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
18253 arg1 = (wxUpdateUIMode) SWIG_AsInt(obj0);
18254 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18255 {
18256 PyThreadState* __tstate = wxPyBeginAllowThreads();
18257 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18258
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 Py_INCREF(Py_None); resultobj = Py_None;
18263 return resultobj;
18264 fail:
18265 return NULL;
18266}
18267
18268
18269static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj;
18271 int result;
18272 char *kwnames[] = {
18273 NULL
18274 };
18275
18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18277 {
18278 PyThreadState* __tstate = wxPyBeginAllowThreads();
18279 result = (int)wxUpdateUIEvent::GetMode();
18280
18281 wxPyEndAllowThreads(__tstate);
18282 if (PyErr_Occurred()) SWIG_fail;
18283 }
15afbcd0 18284 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18285 return resultobj;
18286 fail:
18287 return NULL;
18288}
18289
18290
18291static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
18292 PyObject *obj;
18293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18294 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18295 Py_INCREF(obj);
18296 return Py_BuildValue((char *)"");
18297}
18298static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18299 PyObject *resultobj;
18300 wxSysColourChangedEvent *result;
18301 char *kwnames[] = {
18302 NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18306 {
18307 PyThreadState* __tstate = wxPyBeginAllowThreads();
18308 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18309
18310 wxPyEndAllowThreads(__tstate);
18311 if (PyErr_Occurred()) SWIG_fail;
18312 }
15afbcd0 18313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
d14a1e28
RD
18314 return resultobj;
18315 fail:
18316 return NULL;
18317}
18318
18319
18320static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
18321 PyObject *obj;
18322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18323 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18324 Py_INCREF(obj);
18325 return Py_BuildValue((char *)"");
18326}
18327static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18328 PyObject *resultobj;
e811c8ce 18329 int arg1 = (int) 0 ;
d14a1e28
RD
18330 wxWindow *arg2 = (wxWindow *) NULL ;
18331 wxMouseCaptureChangedEvent *result;
994141e6 18332 PyObject * obj0 = 0 ;
d14a1e28
RD
18333 PyObject * obj1 = 0 ;
18334 char *kwnames[] = {
18335 (char *) "winid",(char *) "gainedCapture", NULL
18336 };
18337
994141e6
RD
18338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18339 if (obj0) {
15afbcd0
RD
18340 arg1 = (int) SWIG_AsInt(obj0);
18341 if (PyErr_Occurred()) SWIG_fail;
994141e6 18342 }
d14a1e28 18343 if (obj1) {
15afbcd0
RD
18344 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18346 }
18347 {
18348 PyThreadState* __tstate = wxPyBeginAllowThreads();
18349 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18350
18351 wxPyEndAllowThreads(__tstate);
18352 if (PyErr_Occurred()) SWIG_fail;
18353 }
15afbcd0 18354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
d14a1e28
RD
18355 return resultobj;
18356 fail:
18357 return NULL;
18358}
18359
18360
18361static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18362 PyObject *resultobj;
18363 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18364 wxWindow *result;
18365 PyObject * obj0 = 0 ;
18366 char *kwnames[] = {
18367 (char *) "self", NULL
18368 };
18369
18370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18376
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 {
412d302d 18381 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18382 }
18383 return resultobj;
18384 fail:
18385 return NULL;
18386}
18387
18388
18389static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
18390 PyObject *obj;
18391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18392 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18393 Py_INCREF(obj);
18394 return Py_BuildValue((char *)"");
18395}
18396static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18397 PyObject *resultobj;
18398 wxDisplayChangedEvent *result;
18399 char *kwnames[] = {
18400 NULL
18401 };
18402
18403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18404 {
18405 PyThreadState* __tstate = wxPyBeginAllowThreads();
18406 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18407
18408 wxPyEndAllowThreads(__tstate);
18409 if (PyErr_Occurred()) SWIG_fail;
18410 }
15afbcd0 18411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
d14a1e28
RD
18412 return resultobj;
18413 fail:
18414 return NULL;
18415}
18416
18417
18418static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
18419 PyObject *obj;
18420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18421 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18422 Py_INCREF(obj);
18423 return Py_BuildValue((char *)"");
18424}
18425static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18426 PyObject *resultobj;
e811c8ce 18427 int arg1 = (int) 0 ;
d14a1e28 18428 wxPaletteChangedEvent *result;
994141e6 18429 PyObject * obj0 = 0 ;
d14a1e28
RD
18430 char *kwnames[] = {
18431 (char *) "id", NULL
18432 };
18433
994141e6
RD
18434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18435 if (obj0) {
15afbcd0
RD
18436 arg1 = (int) SWIG_AsInt(obj0);
18437 if (PyErr_Occurred()) SWIG_fail;
994141e6 18438 }
d14a1e28
RD
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
15afbcd0 18446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
d14a1e28
RD
18447 return resultobj;
18448 fail:
18449 return NULL;
18450}
18451
18452
18453static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj;
18455 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18456 wxWindow *arg2 = (wxWindow *) 0 ;
18457 PyObject * obj0 = 0 ;
18458 PyObject * obj1 = 0 ;
18459 char *kwnames[] = {
18460 (char *) "self",(char *) "win", NULL
18461 };
18462
18463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18468 {
18469 PyThreadState* __tstate = wxPyBeginAllowThreads();
18470 (arg1)->SetChangedWindow(arg2);
18471
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
18475 Py_INCREF(Py_None); resultobj = Py_None;
18476 return resultobj;
18477 fail:
18478 return NULL;
18479}
18480
18481
18482static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj;
18484 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18485 wxWindow *result;
18486 PyObject * obj0 = 0 ;
18487 char *kwnames[] = {
18488 (char *) "self", NULL
18489 };
18490
18491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18494 {
18495 PyThreadState* __tstate = wxPyBeginAllowThreads();
18496 result = (wxWindow *)(arg1)->GetChangedWindow();
18497
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 {
412d302d 18502 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18503 }
18504 return resultobj;
18505 fail:
18506 return NULL;
18507}
18508
18509
18510static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
18511 PyObject *obj;
18512 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18513 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18514 Py_INCREF(obj);
18515 return Py_BuildValue((char *)"");
18516}
18517static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18518 PyObject *resultobj;
e811c8ce 18519 int arg1 = (int) 0 ;
d14a1e28 18520 wxQueryNewPaletteEvent *result;
994141e6 18521 PyObject * obj0 = 0 ;
d14a1e28
RD
18522 char *kwnames[] = {
18523 (char *) "winid", NULL
18524 };
18525
994141e6
RD
18526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18527 if (obj0) {
15afbcd0
RD
18528 arg1 = (int) SWIG_AsInt(obj0);
18529 if (PyErr_Occurred()) SWIG_fail;
994141e6 18530 }
d14a1e28
RD
18531 {
18532 PyThreadState* __tstate = wxPyBeginAllowThreads();
18533 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18534
18535 wxPyEndAllowThreads(__tstate);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
15afbcd0 18538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
d14a1e28
RD
18539 return resultobj;
18540 fail:
18541 return NULL;
18542}
18543
18544
18545static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18546 PyObject *resultobj;
18547 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18548 bool arg2 ;
18549 PyObject * obj0 = 0 ;
18550 PyObject * obj1 = 0 ;
18551 char *kwnames[] = {
18552 (char *) "self",(char *) "realized", NULL
18553 };
18554
18555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18558 arg2 = (bool) SWIG_AsBool(obj1);
18559 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18560 {
18561 PyThreadState* __tstate = wxPyBeginAllowThreads();
18562 (arg1)->SetPaletteRealized(arg2);
18563
18564 wxPyEndAllowThreads(__tstate);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
18567 Py_INCREF(Py_None); resultobj = Py_None;
18568 return resultobj;
18569 fail:
18570 return NULL;
18571}
18572
18573
18574static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18575 PyObject *resultobj;
18576 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18577 bool result;
18578 PyObject * obj0 = 0 ;
18579 char *kwnames[] = {
18580 (char *) "self", NULL
18581 };
18582
18583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
15afbcd0
RD
18584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18586 {
18587 PyThreadState* __tstate = wxPyBeginAllowThreads();
18588 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18589
18590 wxPyEndAllowThreads(__tstate);
18591 if (PyErr_Occurred()) SWIG_fail;
18592 }
4f89f6a3
RD
18593 {
18594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18595 }
d14a1e28
RD
18596 return resultobj;
18597 fail:
18598 return NULL;
18599}
18600
18601
18602static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
18603 PyObject *obj;
18604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18605 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18606 Py_INCREF(obj);
18607 return Py_BuildValue((char *)"");
18608}
18609static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18610 PyObject *resultobj;
18611 wxNavigationKeyEvent *result;
18612 char *kwnames[] = {
18613 NULL
18614 };
18615
18616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18617 {
18618 PyThreadState* __tstate = wxPyBeginAllowThreads();
18619 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18620
18621 wxPyEndAllowThreads(__tstate);
18622 if (PyErr_Occurred()) SWIG_fail;
18623 }
15afbcd0 18624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
d14a1e28
RD
18625 return resultobj;
18626 fail:
18627 return NULL;
18628}
18629
18630
18631static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18632 PyObject *resultobj;
18633 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18634 bool result;
18635 PyObject * obj0 = 0 ;
18636 char *kwnames[] = {
18637 (char *) "self", NULL
18638 };
18639
18640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
18641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18646
18647 wxPyEndAllowThreads(__tstate);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
4f89f6a3
RD
18650 {
18651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18652 }
d14a1e28
RD
18653 return resultobj;
18654 fail:
18655 return NULL;
18656}
18657
18658
18659static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18660 PyObject *resultobj;
18661 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18662 bool arg2 ;
18663 PyObject * obj0 = 0 ;
18664 PyObject * obj1 = 0 ;
18665 char *kwnames[] = {
908b74cd 18666 (char *) "self",(char *) "forward", NULL
d14a1e28
RD
18667 };
18668
18669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18672 arg2 = (bool) SWIG_AsBool(obj1);
18673 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 (arg1)->SetDirection(arg2);
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 Py_INCREF(Py_None); resultobj = Py_None;
18682 return resultobj;
18683 fail:
18684 return NULL;
18685}
18686
18687
18688static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18689 PyObject *resultobj;
18690 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18691 bool result;
18692 PyObject * obj0 = 0 ;
18693 char *kwnames[] = {
18694 (char *) "self", NULL
18695 };
18696
18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
15afbcd0
RD
18698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18700 {
18701 PyThreadState* __tstate = wxPyBeginAllowThreads();
18702 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
18703
18704 wxPyEndAllowThreads(__tstate);
18705 if (PyErr_Occurred()) SWIG_fail;
18706 }
4f89f6a3
RD
18707 {
18708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18709 }
d14a1e28
RD
18710 return resultobj;
18711 fail:
18712 return NULL;
18713}
18714
18715
18716static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18717 PyObject *resultobj;
18718 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18719 bool arg2 ;
18720 PyObject * obj0 = 0 ;
18721 PyObject * obj1 = 0 ;
18722 char *kwnames[] = {
908b74cd 18723 (char *) "self",(char *) "ischange", NULL
d14a1e28
RD
18724 };
18725
18726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18729 arg2 = (bool) SWIG_AsBool(obj1);
18730 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18731 {
18732 PyThreadState* __tstate = wxPyBeginAllowThreads();
18733 (arg1)->SetWindowChange(arg2);
18734
18735 wxPyEndAllowThreads(__tstate);
18736 if (PyErr_Occurred()) SWIG_fail;
18737 }
18738 Py_INCREF(Py_None); resultobj = Py_None;
18739 return resultobj;
18740 fail:
18741 return NULL;
18742}
18743
18744
908b74cd
RD
18745static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
18746 PyObject *resultobj;
18747 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18748 long arg2 ;
18749 PyObject * obj0 = 0 ;
18750 PyObject * obj1 = 0 ;
18751 char *kwnames[] = {
18752 (char *) "self",(char *) "flags", NULL
18753 };
18754
18755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
18756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18758 arg2 = (long) SWIG_AsLong(obj1);
18759 if (PyErr_Occurred()) SWIG_fail;
18760 {
18761 PyThreadState* __tstate = wxPyBeginAllowThreads();
18762 (arg1)->SetFlags(arg2);
18763
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
18767 Py_INCREF(Py_None); resultobj = Py_None;
18768 return resultobj;
18769 fail:
18770 return NULL;
18771}
18772
18773
d14a1e28
RD
18774static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18775 PyObject *resultobj;
18776 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18777 wxWindow *result;
18778 PyObject * obj0 = 0 ;
18779 char *kwnames[] = {
18780 (char *) "self", NULL
18781 };
18782
18783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
18784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18786 {
18787 PyThreadState* __tstate = wxPyBeginAllowThreads();
18788 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18789
18790 wxPyEndAllowThreads(__tstate);
18791 if (PyErr_Occurred()) SWIG_fail;
18792 }
18793 {
412d302d 18794 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18795 }
18796 return resultobj;
18797 fail:
18798 return NULL;
18799}
18800
18801
18802static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18803 PyObject *resultobj;
18804 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18805 wxWindow *arg2 = (wxWindow *) 0 ;
18806 PyObject * obj0 = 0 ;
18807 PyObject * obj1 = 0 ;
18808 char *kwnames[] = {
18809 (char *) "self",(char *) "win", NULL
18810 };
18811
18812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18815 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18817 {
18818 PyThreadState* __tstate = wxPyBeginAllowThreads();
18819 (arg1)->SetCurrentFocus(arg2);
18820
18821 wxPyEndAllowThreads(__tstate);
18822 if (PyErr_Occurred()) SWIG_fail;
18823 }
18824 Py_INCREF(Py_None); resultobj = Py_None;
18825 return resultobj;
18826 fail:
18827 return NULL;
18828}
18829
18830
18831static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
18832 PyObject *obj;
18833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18834 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18835 Py_INCREF(obj);
18836 return Py_BuildValue((char *)"");
18837}
18838static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18839 PyObject *resultobj;
18840 wxWindow *arg1 = (wxWindow *) NULL ;
18841 wxWindowCreateEvent *result;
18842 PyObject * obj0 = 0 ;
18843 char *kwnames[] = {
18844 (char *) "win", NULL
18845 };
18846
18847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18848 if (obj0) {
15afbcd0
RD
18849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18851 }
18852 {
18853 PyThreadState* __tstate = wxPyBeginAllowThreads();
18854 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18855
18856 wxPyEndAllowThreads(__tstate);
18857 if (PyErr_Occurred()) SWIG_fail;
18858 }
15afbcd0 18859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
d14a1e28
RD
18860 return resultobj;
18861 fail:
18862 return NULL;
18863}
18864
18865
18866static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18867 PyObject *resultobj;
18868 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18869 wxWindow *result;
18870 PyObject * obj0 = 0 ;
18871 char *kwnames[] = {
18872 (char *) "self", NULL
18873 };
18874
18875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
18877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18878 {
18879 PyThreadState* __tstate = wxPyBeginAllowThreads();
18880 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18881
18882 wxPyEndAllowThreads(__tstate);
18883 if (PyErr_Occurred()) SWIG_fail;
18884 }
18885 {
412d302d 18886 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18887 }
18888 return resultobj;
18889 fail:
18890 return NULL;
18891}
18892
18893
18894static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
18895 PyObject *obj;
18896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18897 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18898 Py_INCREF(obj);
18899 return Py_BuildValue((char *)"");
18900}
18901static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18902 PyObject *resultobj;
18903 wxWindow *arg1 = (wxWindow *) NULL ;
18904 wxWindowDestroyEvent *result;
18905 PyObject * obj0 = 0 ;
18906 char *kwnames[] = {
18907 (char *) "win", NULL
18908 };
18909
18910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18911 if (obj0) {
15afbcd0
RD
18912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18914 }
18915 {
18916 PyThreadState* __tstate = wxPyBeginAllowThreads();
18917 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18918
18919 wxPyEndAllowThreads(__tstate);
18920 if (PyErr_Occurred()) SWIG_fail;
18921 }
15afbcd0 18922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
d14a1e28
RD
18923 return resultobj;
18924 fail:
18925 return NULL;
18926}
18927
18928
18929static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18930 PyObject *resultobj;
18931 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
18932 wxWindow *result;
18933 PyObject * obj0 = 0 ;
18934 char *kwnames[] = {
18935 (char *) "self", NULL
18936 };
18937
18938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
18940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
18944
18945 wxPyEndAllowThreads(__tstate);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 {
412d302d 18949 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18950 }
18951 return resultobj;
18952 fail:
18953 return NULL;
18954}
18955
18956
18957static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
18958 PyObject *obj;
18959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18960 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
18961 Py_INCREF(obj);
18962 return Py_BuildValue((char *)"");
18963}
18964static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18965 PyObject *resultobj;
18966 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 18967 int arg2 = (int) 0 ;
d14a1e28
RD
18968 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18969 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18970 wxContextMenuEvent *result;
18971 wxPoint temp3 ;
994141e6
RD
18972 PyObject * obj0 = 0 ;
18973 PyObject * obj1 = 0 ;
d14a1e28
RD
18974 PyObject * obj2 = 0 ;
18975 char *kwnames[] = {
18976 (char *) "type",(char *) "winid",(char *) "pt", NULL
18977 };
18978
994141e6
RD
18979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
18980 if (obj0) {
15afbcd0
RD
18981 arg1 = (wxEventType) SWIG_AsInt(obj0);
18982 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18983 }
18984 if (obj1) {
15afbcd0
RD
18985 arg2 = (int) SWIG_AsInt(obj1);
18986 if (PyErr_Occurred()) SWIG_fail;
994141e6 18987 }
d14a1e28
RD
18988 if (obj2) {
18989 {
18990 arg3 = &temp3;
18991 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18992 }
18993 }
18994 {
18995 PyThreadState* __tstate = wxPyBeginAllowThreads();
18996 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
18997
18998 wxPyEndAllowThreads(__tstate);
18999 if (PyErr_Occurred()) SWIG_fail;
19000 }
15afbcd0 19001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
d14a1e28
RD
19002 return resultobj;
19003 fail:
19004 return NULL;
19005}
19006
19007
19008static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19009 PyObject *resultobj;
19010 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
19011 wxPoint *result;
19012 PyObject * obj0 = 0 ;
19013 char *kwnames[] = {
19014 (char *) "self", NULL
19015 };
19016
19017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
19018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
19019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19020 {
19021 PyThreadState* __tstate = wxPyBeginAllowThreads();
19022 {
19023 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
19024 result = (wxPoint *) &_result_ref;
19025 }
19026
19027 wxPyEndAllowThreads(__tstate);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 }
15afbcd0 19030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
19031 return resultobj;
19032 fail:
19033 return NULL;
19034}
19035
19036
19037static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19038 PyObject *resultobj;
19039 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
19040 wxPoint *arg2 = 0 ;
19041 wxPoint temp2 ;
19042 PyObject * obj0 = 0 ;
19043 PyObject * obj1 = 0 ;
19044 char *kwnames[] = {
19045 (char *) "self",(char *) "pos", NULL
19046 };
19047
19048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
19050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19051 {
19052 arg2 = &temp2;
19053 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19054 }
19055 {
19056 PyThreadState* __tstate = wxPyBeginAllowThreads();
19057 (arg1)->SetPosition((wxPoint const &)*arg2);
19058
19059 wxPyEndAllowThreads(__tstate);
19060 if (PyErr_Occurred()) SWIG_fail;
19061 }
19062 Py_INCREF(Py_None); resultobj = Py_None;
19063 return resultobj;
19064 fail:
19065 return NULL;
19066}
19067
19068
19069static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
19070 PyObject *obj;
19071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19072 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
19073 Py_INCREF(obj);
19074 return Py_BuildValue((char *)"");
19075}
19076static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19077 PyObject *resultobj;
19078 wxIdleEvent *result;
19079 char *kwnames[] = {
19080 NULL
19081 };
19082
19083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
19084 {
19085 PyThreadState* __tstate = wxPyBeginAllowThreads();
19086 result = (wxIdleEvent *)new wxIdleEvent();
19087
19088 wxPyEndAllowThreads(__tstate);
19089 if (PyErr_Occurred()) SWIG_fail;
19090 }
15afbcd0 19091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
d14a1e28
RD
19092 return resultobj;
19093 fail:
19094 return NULL;
19095}
19096
19097
19098static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
19099 PyObject *resultobj;
19100 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
e811c8ce 19101 bool arg2 = (bool) True ;
d14a1e28
RD
19102 PyObject * obj0 = 0 ;
19103 PyObject * obj1 = 0 ;
19104 char *kwnames[] = {
19105 (char *) "self",(char *) "needMore", NULL
19106 };
19107
19108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19111 if (obj1) {
15afbcd0
RD
19112 arg2 = (bool) SWIG_AsBool(obj1);
19113 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19114 }
19115 {
19116 PyThreadState* __tstate = wxPyBeginAllowThreads();
19117 (arg1)->RequestMore(arg2);
19118
19119 wxPyEndAllowThreads(__tstate);
19120 if (PyErr_Occurred()) SWIG_fail;
19121 }
19122 Py_INCREF(Py_None); resultobj = Py_None;
19123 return resultobj;
19124 fail:
19125 return NULL;
19126}
19127
19128
19129static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
19130 PyObject *resultobj;
19131 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
19132 bool result;
19133 PyObject * obj0 = 0 ;
19134 char *kwnames[] = {
19135 (char *) "self", NULL
19136 };
19137
19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
15afbcd0
RD
19139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19141 {
19142 PyThreadState* __tstate = wxPyBeginAllowThreads();
19143 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
19144
19145 wxPyEndAllowThreads(__tstate);
19146 if (PyErr_Occurred()) SWIG_fail;
19147 }
4f89f6a3
RD
19148 {
19149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19150 }
d14a1e28
RD
19151 return resultobj;
19152 fail:
19153 return NULL;
19154}
19155
19156
19157static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19158 PyObject *resultobj;
19159 int arg1 ;
994141e6 19160 PyObject * obj0 = 0 ;
d14a1e28
RD
19161 char *kwnames[] = {
19162 (char *) "mode", NULL
19163 };
19164
994141e6 19165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
19166 arg1 = (wxIdleMode) SWIG_AsInt(obj0);
19167 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19168 {
19169 PyThreadState* __tstate = wxPyBeginAllowThreads();
19170 wxIdleEvent::SetMode((wxIdleMode )arg1);
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_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19183 PyObject *resultobj;
19184 int result;
19185 char *kwnames[] = {
19186 NULL
19187 };
19188
19189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
19190 {
19191 PyThreadState* __tstate = wxPyBeginAllowThreads();
19192 result = (int)wxIdleEvent::GetMode();
19193
19194 wxPyEndAllowThreads(__tstate);
19195 if (PyErr_Occurred()) SWIG_fail;
19196 }
15afbcd0 19197 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19198 return resultobj;
19199 fail:
19200 return NULL;
19201}
19202
19203
19204static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
19205 PyObject *resultobj;
19206 wxWindow *arg1 = (wxWindow *) 0 ;
19207 bool result;
19208 PyObject * obj0 = 0 ;
19209 char *kwnames[] = {
19210 (char *) "win", NULL
19211 };
19212
19213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
15afbcd0
RD
19214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19216 {
19217 PyThreadState* __tstate = wxPyBeginAllowThreads();
19218 result = (bool)wxIdleEvent::CanSend(arg1);
19219
19220 wxPyEndAllowThreads(__tstate);
19221 if (PyErr_Occurred()) SWIG_fail;
19222 }
4f89f6a3
RD
19223 {
19224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19225 }
d14a1e28
RD
19226 return resultobj;
19227 fail:
19228 return NULL;
19229}
19230
19231
19232static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
19233 PyObject *obj;
19234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19235 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
19236 Py_INCREF(obj);
19237 return Py_BuildValue((char *)"");
19238}
19239static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj;
19241 int arg1 = (int) 0 ;
19242 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
19243 wxPyEvent *result;
994141e6
RD
19244 PyObject * obj0 = 0 ;
19245 PyObject * obj1 = 0 ;
d14a1e28
RD
19246 char *kwnames[] = {
19247 (char *) "winid",(char *) "commandType", NULL
19248 };
19249
994141e6
RD
19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19251 if (obj0) {
15afbcd0
RD
19252 arg1 = (int) SWIG_AsInt(obj0);
19253 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19254 }
19255 if (obj1) {
15afbcd0
RD
19256 arg2 = (wxEventType) SWIG_AsInt(obj1);
19257 if (PyErr_Occurred()) SWIG_fail;
994141e6 19258 }
d14a1e28
RD
19259 {
19260 PyThreadState* __tstate = wxPyBeginAllowThreads();
19261 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19262
19263 wxPyEndAllowThreads(__tstate);
19264 if (PyErr_Occurred()) SWIG_fail;
19265 }
15afbcd0 19266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
d14a1e28
RD
19267 return resultobj;
19268 fail:
19269 return NULL;
19270}
19271
19272
19273static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19274 PyObject *resultobj;
19275 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19276 PyObject * obj0 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "self", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19284 {
19285 PyThreadState* __tstate = wxPyBeginAllowThreads();
19286 delete arg1;
19287
19288 wxPyEndAllowThreads(__tstate);
19289 if (PyErr_Occurred()) SWIG_fail;
19290 }
19291 Py_INCREF(Py_None); resultobj = Py_None;
19292 return resultobj;
19293 fail:
19294 return NULL;
19295}
19296
19297
19298static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19299 PyObject *resultobj;
19300 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19301 PyObject *arg2 = (PyObject *) 0 ;
19302 PyObject * obj0 = 0 ;
19303 PyObject * obj1 = 0 ;
19304 char *kwnames[] = {
19305 (char *) "self",(char *) "self", NULL
19306 };
19307
19308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19311 arg2 = obj1;
19312 {
19313 PyThreadState* __tstate = wxPyBeginAllowThreads();
19314 (arg1)->SetSelf(arg2);
19315
19316 wxPyEndAllowThreads(__tstate);
19317 if (PyErr_Occurred()) SWIG_fail;
19318 }
19319 Py_INCREF(Py_None); resultobj = Py_None;
19320 return resultobj;
19321 fail:
19322 return NULL;
19323}
19324
19325
19326static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19327 PyObject *resultobj;
19328 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19329 PyObject *result;
19330 PyObject * obj0 = 0 ;
19331 char *kwnames[] = {
19332 (char *) "self", NULL
19333 };
19334
19335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19338 {
19339 PyThreadState* __tstate = wxPyBeginAllowThreads();
19340 result = (PyObject *)(arg1)->GetSelf();
19341
19342 wxPyEndAllowThreads(__tstate);
19343 if (PyErr_Occurred()) SWIG_fail;
19344 }
19345 resultobj = result;
19346 return resultobj;
19347 fail:
19348 return NULL;
19349}
19350
19351
19352static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
19353 PyObject *obj;
19354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19355 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19356 Py_INCREF(obj);
19357 return Py_BuildValue((char *)"");
19358}
19359static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19360 PyObject *resultobj;
19361 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19362 int arg2 = (int) 0 ;
19363 wxPyCommandEvent *result;
994141e6
RD
19364 PyObject * obj0 = 0 ;
19365 PyObject * obj1 = 0 ;
d14a1e28
RD
19366 char *kwnames[] = {
19367 (char *) "commandType",(char *) "id", NULL
19368 };
19369
994141e6
RD
19370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19371 if (obj0) {
15afbcd0
RD
19372 arg1 = (wxEventType) SWIG_AsInt(obj0);
19373 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19374 }
19375 if (obj1) {
15afbcd0
RD
19376 arg2 = (int) SWIG_AsInt(obj1);
19377 if (PyErr_Occurred()) SWIG_fail;
994141e6 19378 }
d14a1e28
RD
19379 {
19380 PyThreadState* __tstate = wxPyBeginAllowThreads();
19381 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19382
19383 wxPyEndAllowThreads(__tstate);
19384 if (PyErr_Occurred()) SWIG_fail;
19385 }
15afbcd0 19386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
d14a1e28
RD
19387 return resultobj;
19388 fail:
19389 return NULL;
19390}
19391
19392
19393static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19394 PyObject *resultobj;
19395 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19396 PyObject * obj0 = 0 ;
19397 char *kwnames[] = {
19398 (char *) "self", NULL
19399 };
19400
19401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19404 {
19405 PyThreadState* __tstate = wxPyBeginAllowThreads();
19406 delete arg1;
19407
19408 wxPyEndAllowThreads(__tstate);
19409 if (PyErr_Occurred()) SWIG_fail;
19410 }
19411 Py_INCREF(Py_None); resultobj = Py_None;
19412 return resultobj;
19413 fail:
19414 return NULL;
19415}
19416
19417
19418static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19419 PyObject *resultobj;
19420 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19421 PyObject *arg2 = (PyObject *) 0 ;
19422 PyObject * obj0 = 0 ;
19423 PyObject * obj1 = 0 ;
19424 char *kwnames[] = {
19425 (char *) "self",(char *) "self", NULL
19426 };
19427
19428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19431 arg2 = obj1;
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 (arg1)->SetSelf(arg2);
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
19439 Py_INCREF(Py_None); resultobj = Py_None;
19440 return resultobj;
19441 fail:
19442 return NULL;
19443}
19444
19445
19446static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19447 PyObject *resultobj;
19448 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19449 PyObject *result;
19450 PyObject * obj0 = 0 ;
19451 char *kwnames[] = {
19452 (char *) "self", NULL
19453 };
19454
19455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19458 {
19459 PyThreadState* __tstate = wxPyBeginAllowThreads();
19460 result = (PyObject *)(arg1)->GetSelf();
19461
19462 wxPyEndAllowThreads(__tstate);
19463 if (PyErr_Occurred()) SWIG_fail;
19464 }
19465 resultobj = result;
19466 return resultobj;
19467 fail:
19468 return NULL;
19469}
19470
19471
19472static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
19473 PyObject *obj;
19474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19475 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19476 Py_INCREF(obj);
19477 return Py_BuildValue((char *)"");
19478}
19479static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19480 PyObject *resultobj;
19481 wxPyApp *result;
19482 char *kwnames[] = {
19483 NULL
19484 };
19485
19486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 result = (wxPyApp *)new_wxPyApp();
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
b0f7404b 19494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyApp, 1);
d14a1e28
RD
19495 return resultobj;
19496 fail:
19497 return NULL;
19498}
19499
19500
19501static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19502 PyObject *resultobj;
19503 wxPyApp *arg1 = (wxPyApp *) 0 ;
19504 PyObject * obj0 = 0 ;
19505 char *kwnames[] = {
19506 (char *) "self", NULL
19507 };
19508
19509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
19510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19512 {
19513 PyThreadState* __tstate = wxPyBeginAllowThreads();
19514 delete arg1;
19515
19516 wxPyEndAllowThreads(__tstate);
19517 if (PyErr_Occurred()) SWIG_fail;
19518 }
19519 Py_INCREF(Py_None); resultobj = Py_None;
19520 return resultobj;
19521 fail:
19522 return NULL;
19523}
19524
19525
19526static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19527 PyObject *resultobj;
19528 wxPyApp *arg1 = (wxPyApp *) 0 ;
19529 PyObject *arg2 = (PyObject *) 0 ;
19530 PyObject *arg3 = (PyObject *) 0 ;
19531 PyObject * obj0 = 0 ;
19532 PyObject * obj1 = 0 ;
19533 PyObject * obj2 = 0 ;
19534 char *kwnames[] = {
19535 (char *) "self",(char *) "self",(char *) "_class", NULL
19536 };
19537
19538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19541 arg2 = obj1;
19542 arg3 = obj2;
19543 {
19544 PyThreadState* __tstate = wxPyBeginAllowThreads();
19545 (arg1)->_setCallbackInfo(arg2,arg3);
19546
19547 wxPyEndAllowThreads(__tstate);
19548 if (PyErr_Occurred()) SWIG_fail;
19549 }
19550 Py_INCREF(Py_None); resultobj = Py_None;
19551 return resultobj;
19552 fail:
19553 return NULL;
19554}
19555
19556
19557static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19558 PyObject *resultobj;
19559 wxPyApp *arg1 = (wxPyApp *) 0 ;
19560 wxString result;
19561 PyObject * obj0 = 0 ;
19562 char *kwnames[] = {
19563 (char *) "self", NULL
19564 };
19565
19566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19569 {
19570 PyThreadState* __tstate = wxPyBeginAllowThreads();
19571 result = ((wxPyApp const *)arg1)->GetAppName();
19572
19573 wxPyEndAllowThreads(__tstate);
19574 if (PyErr_Occurred()) SWIG_fail;
19575 }
19576 {
19577#if wxUSE_UNICODE
19578 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19579#else
19580 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19581#endif
19582 }
19583 return resultobj;
19584 fail:
19585 return NULL;
19586}
19587
19588
19589static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19590 PyObject *resultobj;
19591 wxPyApp *arg1 = (wxPyApp *) 0 ;
19592 wxString *arg2 = 0 ;
e811c8ce 19593 bool temp2 = False ;
d14a1e28
RD
19594 PyObject * obj0 = 0 ;
19595 PyObject * obj1 = 0 ;
19596 char *kwnames[] = {
19597 (char *) "self",(char *) "name", NULL
19598 };
19599
19600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19603 {
19604 arg2 = wxString_in_helper(obj1);
19605 if (arg2 == NULL) SWIG_fail;
e811c8ce 19606 temp2 = True;
d14a1e28
RD
19607 }
19608 {
19609 PyThreadState* __tstate = wxPyBeginAllowThreads();
19610 (arg1)->SetAppName((wxString const &)*arg2);
19611
19612 wxPyEndAllowThreads(__tstate);
19613 if (PyErr_Occurred()) SWIG_fail;
19614 }
19615 Py_INCREF(Py_None); resultobj = Py_None;
19616 {
19617 if (temp2)
19618 delete arg2;
19619 }
19620 return resultobj;
19621 fail:
19622 {
19623 if (temp2)
19624 delete arg2;
19625 }
19626 return NULL;
19627}
19628
19629
19630static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19631 PyObject *resultobj;
19632 wxPyApp *arg1 = (wxPyApp *) 0 ;
19633 wxString result;
19634 PyObject * obj0 = 0 ;
19635 char *kwnames[] = {
19636 (char *) "self", NULL
19637 };
19638
19639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 result = ((wxPyApp const *)arg1)->GetClassName();
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 {
19650#if wxUSE_UNICODE
19651 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19652#else
19653 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19654#endif
19655 }
19656 return resultobj;
19657 fail:
19658 return NULL;
19659}
19660
19661
19662static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19663 PyObject *resultobj;
19664 wxPyApp *arg1 = (wxPyApp *) 0 ;
19665 wxString *arg2 = 0 ;
e811c8ce 19666 bool temp2 = False ;
d14a1e28
RD
19667 PyObject * obj0 = 0 ;
19668 PyObject * obj1 = 0 ;
19669 char *kwnames[] = {
19670 (char *) "self",(char *) "name", NULL
19671 };
19672
19673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19676 {
19677 arg2 = wxString_in_helper(obj1);
19678 if (arg2 == NULL) SWIG_fail;
e811c8ce 19679 temp2 = True;
d14a1e28
RD
19680 }
19681 {
19682 PyThreadState* __tstate = wxPyBeginAllowThreads();
19683 (arg1)->SetClassName((wxString const &)*arg2);
19684
19685 wxPyEndAllowThreads(__tstate);
19686 if (PyErr_Occurred()) SWIG_fail;
19687 }
19688 Py_INCREF(Py_None); resultobj = Py_None;
19689 {
19690 if (temp2)
19691 delete arg2;
19692 }
19693 return resultobj;
19694 fail:
19695 {
19696 if (temp2)
19697 delete arg2;
19698 }
19699 return NULL;
19700}
19701
19702
19703static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19704 PyObject *resultobj;
19705 wxPyApp *arg1 = (wxPyApp *) 0 ;
19706 wxString *result;
19707 PyObject * obj0 = 0 ;
19708 char *kwnames[] = {
19709 (char *) "self", NULL
19710 };
19711
19712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19715 {
19716 PyThreadState* __tstate = wxPyBeginAllowThreads();
19717 {
19718 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
19719 result = (wxString *) &_result_ref;
19720 }
19721
19722 wxPyEndAllowThreads(__tstate);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
cc6dd355
RD
19725 {
19726#if wxUSE_UNICODE
19727 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19728#else
19729 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19730#endif
19731 }
d14a1e28
RD
19732 return resultobj;
19733 fail:
19734 return NULL;
19735}
19736
19737
19738static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19739 PyObject *resultobj;
19740 wxPyApp *arg1 = (wxPyApp *) 0 ;
19741 wxString *arg2 = 0 ;
e811c8ce 19742 bool temp2 = False ;
d14a1e28
RD
19743 PyObject * obj0 = 0 ;
19744 PyObject * obj1 = 0 ;
19745 char *kwnames[] = {
19746 (char *) "self",(char *) "name", NULL
19747 };
19748
19749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19752 {
19753 arg2 = wxString_in_helper(obj1);
19754 if (arg2 == NULL) SWIG_fail;
e811c8ce 19755 temp2 = True;
d14a1e28
RD
19756 }
19757 {
19758 PyThreadState* __tstate = wxPyBeginAllowThreads();
19759 (arg1)->SetVendorName((wxString const &)*arg2);
19760
19761 wxPyEndAllowThreads(__tstate);
19762 if (PyErr_Occurred()) SWIG_fail;
19763 }
19764 Py_INCREF(Py_None); resultobj = Py_None;
19765 {
19766 if (temp2)
19767 delete arg2;
19768 }
19769 return resultobj;
19770 fail:
19771 {
19772 if (temp2)
19773 delete arg2;
19774 }
19775 return NULL;
19776}
19777
19778
19779static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
19780 PyObject *resultobj;
19781 wxPyApp *arg1 = (wxPyApp *) 0 ;
19782 wxAppTraits *result;
19783 PyObject * obj0 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
15afbcd0
RD
19789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 result = (wxAppTraits *)(arg1)->GetTraits();
19794
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
15afbcd0 19798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
d14a1e28
RD
19799 return resultobj;
19800 fail:
19801 return NULL;
19802}
19803
19804
19805static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19806 PyObject *resultobj;
19807 wxPyApp *arg1 = (wxPyApp *) 0 ;
19808 PyObject * obj0 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
19814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19816 {
19817 PyThreadState* __tstate = wxPyBeginAllowThreads();
19818 (arg1)->ProcessPendingEvents();
19819
19820 wxPyEndAllowThreads(__tstate);
19821 if (PyErr_Occurred()) SWIG_fail;
19822 }
19823 Py_INCREF(Py_None); resultobj = Py_None;
19824 return resultobj;
19825 fail:
19826 return NULL;
19827}
19828
19829
19830static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
19831 PyObject *resultobj;
19832 wxPyApp *arg1 = (wxPyApp *) 0 ;
e811c8ce 19833 bool arg2 = (bool) False ;
d14a1e28
RD
19834 bool result;
19835 PyObject * obj0 = 0 ;
19836 PyObject * obj1 = 0 ;
19837 char *kwnames[] = {
19838 (char *) "self",(char *) "onlyIfNeeded", NULL
19839 };
19840
19841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19844 if (obj1) {
15afbcd0
RD
19845 arg2 = (bool) SWIG_AsBool(obj1);
19846 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19847 }
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
19850 result = (bool)(arg1)->Yield(arg2);
19851
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
4f89f6a3
RD
19855 {
19856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19857 }
d14a1e28
RD
19858 return resultobj;
19859 fail:
19860 return NULL;
19861}
19862
19863
19864static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj;
19866 wxPyApp *arg1 = (wxPyApp *) 0 ;
19867 PyObject * obj0 = 0 ;
19868 char *kwnames[] = {
19869 (char *) "self", NULL
19870 };
19871
19872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
19873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19875 {
19876 PyThreadState* __tstate = wxPyBeginAllowThreads();
19877 (arg1)->WakeUpIdle();
19878
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 Py_INCREF(Py_None); resultobj = Py_None;
19883 return resultobj;
19884 fail:
19885 return NULL;
19886}
19887
19888
19889static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19890 PyObject *resultobj;
19891 wxPyApp *arg1 = (wxPyApp *) 0 ;
19892 int result;
19893 PyObject * obj0 = 0 ;
19894 char *kwnames[] = {
19895 (char *) "self", NULL
19896 };
19897
19898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
19899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19901 {
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
19903 result = (int)(arg1)->MainLoop();
19904
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
15afbcd0 19908 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19909 return resultobj;
19910 fail:
19911 return NULL;
19912}
19913
19914
19915static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
19916 PyObject *resultobj;
19917 wxPyApp *arg1 = (wxPyApp *) 0 ;
19918 PyObject * obj0 = 0 ;
19919 char *kwnames[] = {
19920 (char *) "self", NULL
19921 };
19922
19923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
15afbcd0
RD
19924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19926 {
19927 PyThreadState* __tstate = wxPyBeginAllowThreads();
19928 (arg1)->Exit();
19929
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 Py_INCREF(Py_None); resultobj = Py_None;
19934 return resultobj;
19935 fail:
19936 return NULL;
19937}
19938
19939
19940static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19941 PyObject *resultobj;
19942 wxPyApp *arg1 = (wxPyApp *) 0 ;
19943 PyObject * obj0 = 0 ;
19944 char *kwnames[] = {
19945 (char *) "self", NULL
19946 };
19947
19948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
19949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19951 {
19952 PyThreadState* __tstate = wxPyBeginAllowThreads();
19953 (arg1)->ExitMainLoop();
19954
19955 wxPyEndAllowThreads(__tstate);
19956 if (PyErr_Occurred()) SWIG_fail;
19957 }
19958 Py_INCREF(Py_None); resultobj = Py_None;
19959 return resultobj;
19960 fail:
19961 return NULL;
19962}
19963
19964
19965static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
19966 PyObject *resultobj;
19967 wxPyApp *arg1 = (wxPyApp *) 0 ;
19968 bool result;
19969 PyObject * obj0 = 0 ;
19970 char *kwnames[] = {
19971 (char *) "self", NULL
19972 };
19973
19974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
15afbcd0
RD
19975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 result = (bool)(arg1)->Pending();
19980
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
4f89f6a3
RD
19984 {
19985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19986 }
d14a1e28
RD
19987 return resultobj;
19988 fail:
19989 return NULL;
19990}
19991
19992
19993static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
19994 PyObject *resultobj;
19995 wxPyApp *arg1 = (wxPyApp *) 0 ;
19996 bool result;
19997 PyObject * obj0 = 0 ;
19998 char *kwnames[] = {
19999 (char *) "self", NULL
20000 };
20001
20002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
20003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20005 {
20006 PyThreadState* __tstate = wxPyBeginAllowThreads();
20007 result = (bool)(arg1)->Dispatch();
20008
20009 wxPyEndAllowThreads(__tstate);
20010 if (PyErr_Occurred()) SWIG_fail;
20011 }
4f89f6a3
RD
20012 {
20013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20014 }
d14a1e28
RD
20015 return resultobj;
20016 fail:
20017 return NULL;
20018}
20019
20020
20021static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20022 PyObject *resultobj;
20023 wxPyApp *arg1 = (wxPyApp *) 0 ;
20024 bool result;
20025 PyObject * obj0 = 0 ;
20026 char *kwnames[] = {
20027 (char *) "self", NULL
20028 };
20029
20030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
20031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20033 {
20034 PyThreadState* __tstate = wxPyBeginAllowThreads();
20035 result = (bool)(arg1)->ProcessIdle();
20036
20037 wxPyEndAllowThreads(__tstate);
20038 if (PyErr_Occurred()) SWIG_fail;
20039 }
4f89f6a3
RD
20040 {
20041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20042 }
d14a1e28
RD
20043 return resultobj;
20044 fail:
20045 return NULL;
20046}
20047
20048
20049static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
20050 PyObject *resultobj;
20051 wxPyApp *arg1 = (wxPyApp *) 0 ;
20052 wxWindow *arg2 = (wxWindow *) 0 ;
20053 wxIdleEvent *arg3 = 0 ;
20054 bool result;
20055 PyObject * obj0 = 0 ;
20056 PyObject * obj1 = 0 ;
20057 PyObject * obj2 = 0 ;
20058 char *kwnames[] = {
20059 (char *) "self",(char *) "win",(char *) "event", NULL
20060 };
20061
20062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20067 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
20068 SWIG_POINTER_EXCEPTION | 0)) == -1)
20069 SWIG_fail;
d14a1e28 20070 if (arg3 == NULL) {
15afbcd0
RD
20071 PyErr_SetString(PyExc_TypeError,"null reference");
20072 SWIG_fail;
d14a1e28
RD
20073 }
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
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
d14a1e28
RD
20090static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
20091 PyObject *resultobj;
20092 wxPyApp *arg1 = (wxPyApp *) 0 ;
20093 bool result;
20094 PyObject * obj0 = 0 ;
20095 char *kwnames[] = {
20096 (char *) "self", NULL
20097 };
20098
20099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
20100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20102 {
20103 PyThreadState* __tstate = wxPyBeginAllowThreads();
20104 result = (bool)((wxPyApp const *)arg1)->IsActive();
20105
20106 wxPyEndAllowThreads(__tstate);
20107 if (PyErr_Occurred()) SWIG_fail;
20108 }
4f89f6a3
RD
20109 {
20110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20111 }
d14a1e28
RD
20112 return resultobj;
20113 fail:
20114 return NULL;
20115}
20116
20117
20118static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20119 PyObject *resultobj;
20120 wxPyApp *arg1 = (wxPyApp *) 0 ;
20121 wxWindow *arg2 = (wxWindow *) 0 ;
20122 PyObject * obj0 = 0 ;
20123 PyObject * obj1 = 0 ;
20124 char *kwnames[] = {
20125 (char *) "self",(char *) "win", NULL
20126 };
20127
20128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20133 {
20134 PyThreadState* __tstate = wxPyBeginAllowThreads();
20135 (arg1)->SetTopWindow(arg2);
20136
20137 wxPyEndAllowThreads(__tstate);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 Py_INCREF(Py_None); resultobj = Py_None;
20141 return resultobj;
20142 fail:
20143 return NULL;
20144}
20145
20146
20147static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20148 PyObject *resultobj;
20149 wxPyApp *arg1 = (wxPyApp *) 0 ;
20150 wxWindow *result;
20151 PyObject * obj0 = 0 ;
20152 char *kwnames[] = {
20153 (char *) "self", NULL
20154 };
20155
20156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
20157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
20162
20163 wxPyEndAllowThreads(__tstate);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
20166 {
412d302d 20167 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
20168 }
20169 return resultobj;
20170 fail:
20171 return NULL;
20172}
20173
20174
20175static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20176 PyObject *resultobj;
20177 wxPyApp *arg1 = (wxPyApp *) 0 ;
20178 bool arg2 ;
20179 PyObject * obj0 = 0 ;
20180 PyObject * obj1 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self",(char *) "flag", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20188 arg2 = (bool) SWIG_AsBool(obj1);
20189 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20190 {
20191 PyThreadState* __tstate = wxPyBeginAllowThreads();
20192 (arg1)->SetExitOnFrameDelete(arg2);
20193
20194 wxPyEndAllowThreads(__tstate);
20195 if (PyErr_Occurred()) SWIG_fail;
20196 }
20197 Py_INCREF(Py_None); resultobj = Py_None;
20198 return resultobj;
20199 fail:
20200 return NULL;
20201}
20202
20203
20204static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj;
20206 wxPyApp *arg1 = (wxPyApp *) 0 ;
20207 bool result;
20208 PyObject * obj0 = 0 ;
20209 char *kwnames[] = {
20210 (char *) "self", NULL
20211 };
20212
20213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
15afbcd0
RD
20214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20216 {
20217 PyThreadState* __tstate = wxPyBeginAllowThreads();
20218 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
20219
20220 wxPyEndAllowThreads(__tstate);
20221 if (PyErr_Occurred()) SWIG_fail;
20222 }
4f89f6a3
RD
20223 {
20224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20225 }
d14a1e28
RD
20226 return resultobj;
20227 fail:
20228 return NULL;
20229}
20230
20231
20232static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20233 PyObject *resultobj;
20234 wxPyApp *arg1 = (wxPyApp *) 0 ;
20235 bool arg2 ;
20236 PyObject * obj0 = 0 ;
20237 PyObject * obj1 = 0 ;
20238 char *kwnames[] = {
20239 (char *) "self",(char *) "flag", NULL
20240 };
20241
20242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20245 arg2 = (bool) SWIG_AsBool(obj1);
20246 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20247 {
20248 PyThreadState* __tstate = wxPyBeginAllowThreads();
20249 (arg1)->SetUseBestVisual(arg2);
20250
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
20254 Py_INCREF(Py_None); resultobj = Py_None;
20255 return resultobj;
20256 fail:
20257 return NULL;
20258}
20259
20260
20261static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20262 PyObject *resultobj;
20263 wxPyApp *arg1 = (wxPyApp *) 0 ;
20264 bool result;
20265 PyObject * obj0 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self", NULL
20268 };
20269
20270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
15afbcd0
RD
20271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20276
20277 wxPyEndAllowThreads(__tstate);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
4f89f6a3
RD
20280 {
20281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20282 }
d14a1e28
RD
20283 return resultobj;
20284 fail:
20285 return NULL;
20286}
20287
20288
20289static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20290 PyObject *resultobj;
20291 wxPyApp *arg1 = (wxPyApp *) 0 ;
20292 int arg2 ;
20293 PyObject * obj0 = 0 ;
994141e6 20294 PyObject * obj1 = 0 ;
d14a1e28
RD
20295 char *kwnames[] = {
20296 (char *) "self",(char *) "mode", NULL
20297 };
20298
994141e6 20299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20302 arg2 = (int) SWIG_AsInt(obj1);
20303 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20304 {
20305 PyThreadState* __tstate = wxPyBeginAllowThreads();
20306 (arg1)->SetPrintMode(arg2);
20307
20308 wxPyEndAllowThreads(__tstate);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 }
20311 Py_INCREF(Py_None); resultobj = Py_None;
20312 return resultobj;
20313 fail:
20314 return NULL;
20315}
20316
20317
20318static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20319 PyObject *resultobj;
20320 wxPyApp *arg1 = (wxPyApp *) 0 ;
20321 int result;
20322 PyObject * obj0 = 0 ;
20323 char *kwnames[] = {
20324 (char *) "self", NULL
20325 };
20326
20327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20330 {
20331 PyThreadState* __tstate = wxPyBeginAllowThreads();
20332 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20333
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
15afbcd0 20337 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20338 return resultobj;
20339 fail:
20340 return NULL;
20341}
20342
20343
6c3b4aae 20344static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20345 PyObject *resultobj;
20346 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20347 int arg2 ;
d14a1e28 20348 PyObject * obj0 = 0 ;
994141e6 20349 PyObject * obj1 = 0 ;
d14a1e28 20350 char *kwnames[] = {
6c3b4aae 20351 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
20352 };
20353
994141e6 20354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20357 arg2 = (int) SWIG_AsInt(obj1);
20358 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20359 {
20360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20361 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
20362
20363 wxPyEndAllowThreads(__tstate);
20364 if (PyErr_Occurred()) SWIG_fail;
20365 }
6c3b4aae 20366 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
20367 return resultobj;
20368 fail:
20369 return NULL;
20370}
20371
20372
6c3b4aae 20373static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20374 PyObject *resultobj;
20375 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20376 int result;
d14a1e28
RD
20377 PyObject * obj0 = 0 ;
20378 char *kwnames[] = {
6c3b4aae 20379 (char *) "self", NULL
d14a1e28
RD
20380 };
20381
6c3b4aae 20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20385 {
20386 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20387 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
20388
20389 wxPyEndAllowThreads(__tstate);
20390 if (PyErr_Occurred()) SWIG_fail;
20391 }
15afbcd0 20392 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20393 return resultobj;
20394 fail:
20395 return NULL;
20396}
20397
20398
20399static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20400 PyObject *resultobj;
20401 bool result;
20402 char *kwnames[] = {
20403 NULL
20404 };
20405
20406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20407 {
20408 PyThreadState* __tstate = wxPyBeginAllowThreads();
20409 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20410
20411 wxPyEndAllowThreads(__tstate);
20412 if (PyErr_Occurred()) SWIG_fail;
20413 }
4f89f6a3
RD
20414 {
20415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20416 }
d14a1e28
RD
20417 return resultobj;
20418 fail:
20419 return NULL;
20420}
20421
20422
20423static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20424 PyObject *resultobj;
20425 long result;
20426 char *kwnames[] = {
20427 NULL
20428 };
20429
20430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20431 {
20432 PyThreadState* __tstate = wxPyBeginAllowThreads();
20433 result = (long)wxPyApp::GetMacAboutMenuItemId();
20434
20435 wxPyEndAllowThreads(__tstate);
20436 if (PyErr_Occurred()) SWIG_fail;
20437 }
15afbcd0 20438 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20439 return resultobj;
20440 fail:
20441 return NULL;
20442}
20443
20444
20445static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20446 PyObject *resultobj;
20447 long result;
20448 char *kwnames[] = {
20449 NULL
20450 };
20451
20452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
20455 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
15afbcd0 20460 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20461 return resultobj;
20462 fail:
20463 return NULL;
20464}
20465
20466
20467static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20468 PyObject *resultobj;
20469 long result;
20470 char *kwnames[] = {
20471 NULL
20472 };
20473
20474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 result = (long)wxPyApp::GetMacExitMenuItemId();
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
15afbcd0 20482 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20483 return resultobj;
20484 fail:
20485 return NULL;
20486}
20487
20488
20489static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj;
20491 wxString result;
20492 char *kwnames[] = {
20493 NULL
20494 };
20495
20496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20497 {
20498 PyThreadState* __tstate = wxPyBeginAllowThreads();
20499 result = wxPyApp::GetMacHelpMenuTitleName();
20500
20501 wxPyEndAllowThreads(__tstate);
20502 if (PyErr_Occurred()) SWIG_fail;
20503 }
20504 {
20505#if wxUSE_UNICODE
20506 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20507#else
20508 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20509#endif
20510 }
20511 return resultobj;
20512 fail:
20513 return NULL;
20514}
20515
20516
20517static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj;
20519 bool arg1 ;
20520 PyObject * obj0 = 0 ;
20521 char *kwnames[] = {
20522 (char *) "val", NULL
20523 };
20524
20525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
15afbcd0
RD
20526 arg1 = (bool) SWIG_AsBool(obj0);
20527 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20528 {
20529 PyThreadState* __tstate = wxPyBeginAllowThreads();
20530 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20531
20532 wxPyEndAllowThreads(__tstate);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 }
20535 Py_INCREF(Py_None); resultobj = Py_None;
20536 return resultobj;
20537 fail:
20538 return NULL;
20539}
20540
20541
20542static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20543 PyObject *resultobj;
20544 long arg1 ;
994141e6 20545 PyObject * obj0 = 0 ;
d14a1e28
RD
20546 char *kwnames[] = {
20547 (char *) "val", NULL
20548 };
20549
994141e6 20550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20551 arg1 = (long) SWIG_AsLong(obj0);
20552 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20553 {
20554 PyThreadState* __tstate = wxPyBeginAllowThreads();
20555 wxPyApp::SetMacAboutMenuItemId(arg1);
20556
20557 wxPyEndAllowThreads(__tstate);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 }
20560 Py_INCREF(Py_None); resultobj = Py_None;
20561 return resultobj;
20562 fail:
20563 return NULL;
20564}
20565
20566
20567static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20568 PyObject *resultobj;
20569 long arg1 ;
994141e6 20570 PyObject * obj0 = 0 ;
d14a1e28
RD
20571 char *kwnames[] = {
20572 (char *) "val", NULL
20573 };
20574
994141e6 20575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20576 arg1 = (long) SWIG_AsLong(obj0);
20577 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 Py_INCREF(Py_None); resultobj = Py_None;
20586 return resultobj;
20587 fail:
20588 return NULL;
20589}
20590
20591
20592static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20593 PyObject *resultobj;
20594 long arg1 ;
994141e6 20595 PyObject * obj0 = 0 ;
d14a1e28
RD
20596 char *kwnames[] = {
20597 (char *) "val", NULL
20598 };
20599
994141e6 20600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20601 arg1 = (long) SWIG_AsLong(obj0);
20602 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20603 {
20604 PyThreadState* __tstate = wxPyBeginAllowThreads();
20605 wxPyApp::SetMacExitMenuItemId(arg1);
20606
20607 wxPyEndAllowThreads(__tstate);
20608 if (PyErr_Occurred()) SWIG_fail;
20609 }
20610 Py_INCREF(Py_None); resultobj = Py_None;
20611 return resultobj;
20612 fail:
20613 return NULL;
20614}
20615
20616
20617static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20618 PyObject *resultobj;
20619 wxString *arg1 = 0 ;
e811c8ce 20620 bool temp1 = False ;
d14a1e28
RD
20621 PyObject * obj0 = 0 ;
20622 char *kwnames[] = {
20623 (char *) "val", NULL
20624 };
20625
20626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20627 {
20628 arg1 = wxString_in_helper(obj0);
20629 if (arg1 == NULL) SWIG_fail;
e811c8ce 20630 temp1 = True;
d14a1e28
RD
20631 }
20632 {
20633 PyThreadState* __tstate = wxPyBeginAllowThreads();
20634 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20635
20636 wxPyEndAllowThreads(__tstate);
20637 if (PyErr_Occurred()) SWIG_fail;
20638 }
20639 Py_INCREF(Py_None); resultobj = Py_None;
20640 {
20641 if (temp1)
20642 delete arg1;
20643 }
20644 return resultobj;
20645 fail:
20646 {
20647 if (temp1)
20648 delete arg1;
20649 }
20650 return NULL;
20651}
20652
20653
20654static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20655 PyObject *resultobj;
20656 wxPyApp *arg1 = (wxPyApp *) 0 ;
20657 PyObject * obj0 = 0 ;
20658 char *kwnames[] = {
20659 (char *) "self", NULL
20660 };
20661
20662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
20663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20665 {
20666 PyThreadState* __tstate = wxPyBeginAllowThreads();
20667 (arg1)->_BootstrapApp();
20668
20669 wxPyEndAllowThreads(__tstate);
20670 if (PyErr_Occurred()) SWIG_fail;
20671 }
20672 Py_INCREF(Py_None); resultobj = Py_None;
20673 return resultobj;
20674 fail:
20675 return NULL;
20676}
20677
20678
20679static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
20680 PyObject *resultobj;
20681 int result;
20682 char *kwnames[] = {
20683 NULL
20684 };
20685
20686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
20687 {
20688 PyThreadState* __tstate = wxPyBeginAllowThreads();
20689 result = (int)PyApp_GetComCtl32Version();
20690
20691 wxPyEndAllowThreads(__tstate);
20692 if (PyErr_Occurred()) SWIG_fail;
20693 }
15afbcd0 20694 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20695 return resultobj;
20696 fail:
20697 return NULL;
20698}
20699
20700
20701static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
20702 PyObject *obj;
20703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20704 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
20705 Py_INCREF(obj);
20706 return Py_BuildValue((char *)"");
20707}
20708static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
20709 PyObject *resultobj;
20710 char *kwnames[] = {
20711 NULL
20712 };
20713
20714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
20715 {
20716 PyThreadState* __tstate = wxPyBeginAllowThreads();
20717 wxExit();
20718
20719 wxPyEndAllowThreads(__tstate);
20720 if (PyErr_Occurred()) SWIG_fail;
20721 }
20722 Py_INCREF(Py_None); resultobj = Py_None;
20723 return resultobj;
20724 fail:
20725 return NULL;
20726}
20727
20728
20729static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
20730 PyObject *resultobj;
20731 bool result;
20732 char *kwnames[] = {
20733 NULL
20734 };
20735
20736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
20737 {
20738 PyThreadState* __tstate = wxPyBeginAllowThreads();
20739 result = (bool)wxYield();
20740
20741 wxPyEndAllowThreads(__tstate);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
4f89f6a3
RD
20744 {
20745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20746 }
d14a1e28
RD
20747 return resultobj;
20748 fail:
20749 return NULL;
20750}
20751
20752
20753static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
20754 PyObject *resultobj;
20755 bool result;
20756 char *kwnames[] = {
20757 NULL
20758 };
20759
20760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
20761 {
20762 PyThreadState* __tstate = wxPyBeginAllowThreads();
20763 result = (bool)wxYieldIfNeeded();
20764
20765 wxPyEndAllowThreads(__tstate);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
4f89f6a3
RD
20768 {
20769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20770 }
d14a1e28
RD
20771 return resultobj;
20772 fail:
20773 return NULL;
20774}
20775
20776
20777static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
20778 PyObject *resultobj;
20779 wxWindow *arg1 = (wxWindow *) NULL ;
e811c8ce 20780 bool arg2 = (bool) False ;
d14a1e28
RD
20781 bool result;
20782 PyObject * obj0 = 0 ;
20783 PyObject * obj1 = 0 ;
20784 char *kwnames[] = {
20785 (char *) "win",(char *) "onlyIfNeeded", NULL
20786 };
20787
20788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20789 if (obj0) {
15afbcd0
RD
20790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20792 }
20793 if (obj1) {
15afbcd0
RD
20794 arg2 = (bool) SWIG_AsBool(obj1);
20795 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20796 }
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 result = (bool)wxSafeYield(arg1,arg2);
20800
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
4f89f6a3
RD
20804 {
20805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20806 }
d14a1e28
RD
20807 return resultobj;
20808 fail:
20809 return NULL;
20810}
20811
20812
20813static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20814 PyObject *resultobj;
20815 char *kwnames[] = {
20816 NULL
20817 };
20818
20819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20820 {
20821 PyThreadState* __tstate = wxPyBeginAllowThreads();
20822 wxWakeUpIdle();
20823
20824 wxPyEndAllowThreads(__tstate);
20825 if (PyErr_Occurred()) SWIG_fail;
20826 }
20827 Py_INCREF(Py_None); resultobj = Py_None;
20828 return resultobj;
20829 fail:
20830 return NULL;
20831}
20832
20833
20834static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20835 PyObject *resultobj;
20836 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20837 wxEvent *arg2 = 0 ;
20838 PyObject * obj0 = 0 ;
20839 PyObject * obj1 = 0 ;
20840 char *kwnames[] = {
20841 (char *) "dest",(char *) "event", NULL
20842 };
20843
20844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
20846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
20848 SWIG_POINTER_EXCEPTION | 0)) == -1)
20849 SWIG_fail;
d14a1e28 20850 if (arg2 == NULL) {
15afbcd0
RD
20851 PyErr_SetString(PyExc_TypeError,"null reference");
20852 SWIG_fail;
d14a1e28
RD
20853 }
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 wxPostEvent(arg1,*arg2);
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 Py_INCREF(Py_None); resultobj = Py_None;
20862 return resultobj;
20863 fail:
20864 return NULL;
20865}
20866
20867
20868static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
20869 PyObject *resultobj;
20870 char *kwnames[] = {
20871 NULL
20872 };
20873
20874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20875 {
20876 PyThreadState* __tstate = wxPyBeginAllowThreads();
20877 wxApp_CleanUp();
20878
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 Py_INCREF(Py_None); resultobj = Py_None;
20883 return resultobj;
20884 fail:
20885 return NULL;
20886}
20887
20888
20889static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20890 PyObject *resultobj;
20891 wxPyApp *result;
20892 char *kwnames[] = {
20893 NULL
20894 };
20895
20896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20897 {
20898 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 20899 result = (wxPyApp *)wxPyGetApp();
d14a1e28
RD
20900
20901 wxPyEndAllowThreads(__tstate);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 }
20904 {
412d302d 20905 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
20906 }
20907 return resultobj;
20908 fail:
20909 return NULL;
20910}
20911
20912
1e0c8722
RD
20913static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20914 PyObject *resultobj;
20915 int arg1 = (int) 0 ;
20916 int arg2 = (int) 0 ;
20917 int arg3 = (int) 0 ;
1e0c8722 20918 wxAcceleratorEntry *result;
994141e6
RD
20919 PyObject * obj0 = 0 ;
20920 PyObject * obj1 = 0 ;
20921 PyObject * obj2 = 0 ;
1e0c8722 20922 char *kwnames[] = {
66c033b4 20923 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
1e0c8722
RD
20924 };
20925
66c033b4 20926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 20927 if (obj0) {
15afbcd0
RD
20928 arg1 = (int) SWIG_AsInt(obj0);
20929 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
20930 }
20931 if (obj1) {
15afbcd0
RD
20932 arg2 = (int) SWIG_AsInt(obj1);
20933 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
20934 }
20935 if (obj2) {
15afbcd0
RD
20936 arg3 = (int) SWIG_AsInt(obj2);
20937 if (PyErr_Occurred()) SWIG_fail;
994141e6 20938 }
1e0c8722
RD
20939 {
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 20941 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3);
1e0c8722
RD
20942
20943 wxPyEndAllowThreads(__tstate);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 }
15afbcd0 20946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
1e0c8722
RD
20947 return resultobj;
20948 fail:
20949 return NULL;
20950}
20951
20952
20953static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20954 PyObject *resultobj;
20955 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20956 PyObject * obj0 = 0 ;
20957 char *kwnames[] = {
20958 (char *) "self", NULL
20959 };
20960
20961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
15afbcd0
RD
20962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20964 {
20965 PyThreadState* __tstate = wxPyBeginAllowThreads();
20966 delete arg1;
20967
20968 wxPyEndAllowThreads(__tstate);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 }
20971 Py_INCREF(Py_None); resultobj = Py_None;
20972 return resultobj;
20973 fail:
20974 return NULL;
20975}
20976
20977
20978static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
20979 PyObject *resultobj;
20980 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20981 int arg2 ;
20982 int arg3 ;
20983 int arg4 ;
1e0c8722 20984 PyObject * obj0 = 0 ;
994141e6
RD
20985 PyObject * obj1 = 0 ;
20986 PyObject * obj2 = 0 ;
20987 PyObject * obj3 = 0 ;
1e0c8722 20988 char *kwnames[] = {
66c033b4 20989 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
1e0c8722
RD
20990 };
20991
66c033b4 20992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
20993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20995 arg2 = (int) SWIG_AsInt(obj1);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 arg3 = (int) SWIG_AsInt(obj2);
20998 if (PyErr_Occurred()) SWIG_fail;
20999 arg4 = (int) SWIG_AsInt(obj3);
21000 if (PyErr_Occurred()) SWIG_fail;
1e0c8722
RD
21001 {
21002 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 21003 (arg1)->Set(arg2,arg3,arg4);
1e0c8722
RD
21004
21005 wxPyEndAllowThreads(__tstate);
21006 if (PyErr_Occurred()) SWIG_fail;
21007 }
21008 Py_INCREF(Py_None); resultobj = Py_None;
21009 return resultobj;
21010 fail:
21011 return NULL;
21012}
21013
21014
1e0c8722
RD
21015static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
21016 PyObject *resultobj;
21017 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21018 int result;
21019 PyObject * obj0 = 0 ;
21020 char *kwnames[] = {
21021 (char *) "self", NULL
21022 };
21023
21024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
21025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21027 {
21028 PyThreadState* __tstate = wxPyBeginAllowThreads();
21029 result = (int)(arg1)->GetFlags();
21030
21031 wxPyEndAllowThreads(__tstate);
21032 if (PyErr_Occurred()) SWIG_fail;
21033 }
15afbcd0 21034 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
21035 return resultobj;
21036 fail:
21037 return NULL;
21038}
21039
21040
21041static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
21042 PyObject *resultobj;
21043 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21044 int result;
21045 PyObject * obj0 = 0 ;
21046 char *kwnames[] = {
21047 (char *) "self", NULL
21048 };
21049
21050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
21051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21053 {
21054 PyThreadState* __tstate = wxPyBeginAllowThreads();
21055 result = (int)(arg1)->GetKeyCode();
21056
21057 wxPyEndAllowThreads(__tstate);
21058 if (PyErr_Occurred()) SWIG_fail;
21059 }
15afbcd0 21060 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
21061 return resultobj;
21062 fail:
21063 return NULL;
21064}
21065
21066
21067static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
21068 PyObject *resultobj;
21069 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21070 int result;
21071 PyObject * obj0 = 0 ;
21072 char *kwnames[] = {
21073 (char *) "self", NULL
21074 };
21075
21076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
21077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21079 {
21080 PyThreadState* __tstate = wxPyBeginAllowThreads();
21081 result = (int)(arg1)->GetCommand();
21082
21083 wxPyEndAllowThreads(__tstate);
21084 if (PyErr_Occurred()) SWIG_fail;
21085 }
15afbcd0 21086 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
21087 return resultobj;
21088 fail:
21089 return NULL;
21090}
21091
21092
21093static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
21094 PyObject *obj;
21095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21096 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
21097 Py_INCREF(obj);
21098 return Py_BuildValue((char *)"");
21099}
21100static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21101 PyObject *resultobj;
21102 int arg1 ;
21103 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
21104 wxAcceleratorTable *result;
21105 PyObject * obj0 = 0 ;
21106 char *kwnames[] = {
21107 (char *) "n", NULL
21108 };
21109
21110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
21111 {
21112 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
21113 if (arg2) arg1 = PyList_Size(obj0);
21114 else arg1 = 0;
21115 }
21116 {
21117 PyThreadState* __tstate = wxPyBeginAllowThreads();
21118 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
21119
21120 wxPyEndAllowThreads(__tstate);
21121 if (PyErr_Occurred()) SWIG_fail;
21122 }
15afbcd0 21123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
1e0c8722
RD
21124 {
21125 delete [] arg2;
21126 }
21127 return resultobj;
21128 fail:
21129 {
21130 delete [] arg2;
21131 }
21132 return NULL;
21133}
21134
21135
21136static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21137 PyObject *resultobj;
21138 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21139 PyObject * obj0 = 0 ;
21140 char *kwnames[] = {
21141 (char *) "self", NULL
21142 };
21143
21144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
21145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21147 {
21148 PyThreadState* __tstate = wxPyBeginAllowThreads();
21149 delete arg1;
21150
21151 wxPyEndAllowThreads(__tstate);
21152 if (PyErr_Occurred()) SWIG_fail;
21153 }
21154 Py_INCREF(Py_None); resultobj = Py_None;
21155 return resultobj;
21156 fail:
21157 return NULL;
21158}
21159
21160
21161static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21162 PyObject *resultobj;
21163 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21164 bool result;
21165 PyObject * obj0 = 0 ;
21166 char *kwnames[] = {
21167 (char *) "self", NULL
21168 };
21169
21170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
21171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21173 {
21174 PyThreadState* __tstate = wxPyBeginAllowThreads();
21175 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21176
21177 wxPyEndAllowThreads(__tstate);
21178 if (PyErr_Occurred()) SWIG_fail;
21179 }
4f89f6a3
RD
21180 {
21181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21182 }
1e0c8722
RD
21183 return resultobj;
21184 fail:
21185 return NULL;
21186}
21187
21188
21189static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
21190 PyObject *obj;
21191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21192 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21193 Py_INCREF(obj);
21194 return Py_BuildValue((char *)"");
21195}
21196static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
21197 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21198 return 1;
21199}
21200
21201
21202static PyObject *_wrap_NullAcceleratorTable_get() {
21203 PyObject *pyobj;
21204
15afbcd0 21205 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
1e0c8722
RD
21206 return pyobj;
21207}
21208
21209
21210static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
21211 PyObject *resultobj;
21212 wxString *arg1 = 0 ;
21213 wxAcceleratorEntry *result;
21214 bool temp1 = False ;
21215 PyObject * obj0 = 0 ;
21216 char *kwnames[] = {
21217 (char *) "label", NULL
21218 };
21219
21220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21221 {
21222 arg1 = wxString_in_helper(obj0);
21223 if (arg1 == NULL) SWIG_fail;
21224 temp1 = True;
21225 }
21226 {
21227 PyThreadState* __tstate = wxPyBeginAllowThreads();
21228 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21229
21230 wxPyEndAllowThreads(__tstate);
21231 if (PyErr_Occurred()) SWIG_fail;
21232 }
15afbcd0 21233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
1e0c8722
RD
21234 {
21235 if (temp1)
21236 delete arg1;
21237 }
21238 return resultobj;
21239 fail:
21240 {
21241 if (temp1)
21242 delete arg1;
21243 }
21244 return NULL;
21245}
21246
21247
e811c8ce
RD
21248static int _wrap_PanelNameStr_set(PyObject *_val) {
21249 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21250 return 1;
21251}
21252
21253
21254static PyObject *_wrap_PanelNameStr_get() {
21255 PyObject *pyobj;
21256
21257 {
21258#if wxUSE_UNICODE
21259 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21260#else
21261 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21262#endif
21263 }
21264 return pyobj;
21265}
21266
21267
74a57fcd
RD
21268static PyObject *_wrap_new_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21269 PyObject *resultobj;
21270 wxVisualAttributes *result;
21271 char *kwnames[] = {
21272 NULL
21273 };
21274
21275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
21276 {
21277 PyThreadState* __tstate = wxPyBeginAllowThreads();
21278 result = (wxVisualAttributes *)new_wxVisualAttributes();
21279
21280 wxPyEndAllowThreads(__tstate);
21281 if (PyErr_Occurred()) SWIG_fail;
21282 }
21283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
21284 return resultobj;
21285 fail:
21286 return NULL;
21287}
21288
21289
21290static PyObject *_wrap_delete_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21291 PyObject *resultobj;
21292 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21293 PyObject * obj0 = 0 ;
21294 char *kwnames[] = {
21295 (char *) "self", NULL
21296 };
21297
21298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
21299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21301 {
21302 PyThreadState* __tstate = wxPyBeginAllowThreads();
21303 delete_wxVisualAttributes(arg1);
21304
21305 wxPyEndAllowThreads(__tstate);
21306 if (PyErr_Occurred()) SWIG_fail;
21307 }
21308 Py_INCREF(Py_None); resultobj = Py_None;
21309 return resultobj;
21310 fail:
21311 return NULL;
21312}
21313
21314
21315static PyObject *_wrap_VisualAttributes_font_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21316 PyObject *resultobj;
21317 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21318 wxFont *arg2 = (wxFont *) 0 ;
21319 PyObject * obj0 = 0 ;
21320 PyObject * obj1 = 0 ;
21321 char *kwnames[] = {
21322 (char *) "self",(char *) "font", NULL
21323 };
21324
21325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
21326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21328 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
21329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21330 if (arg1) (arg1)->font = *arg2;
21331
21332 Py_INCREF(Py_None); resultobj = Py_None;
21333 return resultobj;
21334 fail:
21335 return NULL;
21336}
21337
21338
21339static PyObject *_wrap_VisualAttributes_font_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21340 PyObject *resultobj;
21341 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21342 wxFont *result;
21343 PyObject * obj0 = 0 ;
21344 char *kwnames[] = {
21345 (char *) "self", NULL
21346 };
21347
21348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
21349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21351 result = (wxFont *)& ((arg1)->font);
21352
21353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
21354 return resultobj;
21355 fail:
21356 return NULL;
21357}
21358
21359
21360static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21361 PyObject *resultobj;
21362 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21363 wxColour *arg2 = (wxColour *) 0 ;
21364 PyObject * obj0 = 0 ;
21365 PyObject * obj1 = 0 ;
21366 char *kwnames[] = {
21367 (char *) "self",(char *) "colFg", NULL
21368 };
21369
21370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
21371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21373 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21375 if (arg1) (arg1)->colFg = *arg2;
21376
21377 Py_INCREF(Py_None); resultobj = Py_None;
21378 return resultobj;
21379 fail:
21380 return NULL;
21381}
21382
21383
21384static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21385 PyObject *resultobj;
21386 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21387 wxColour *result;
21388 PyObject * obj0 = 0 ;
21389 char *kwnames[] = {
21390 (char *) "self", NULL
21391 };
21392
21393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
21394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21396 result = (wxColour *)& ((arg1)->colFg);
21397
21398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21399 return resultobj;
21400 fail:
21401 return NULL;
21402}
21403
21404
21405static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21406 PyObject *resultobj;
21407 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21408 wxColour *arg2 = (wxColour *) 0 ;
21409 PyObject * obj0 = 0 ;
21410 PyObject * obj1 = 0 ;
21411 char *kwnames[] = {
21412 (char *) "self",(char *) "colBg", NULL
21413 };
21414
21415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
21416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21420 if (arg1) (arg1)->colBg = *arg2;
21421
21422 Py_INCREF(Py_None); resultobj = Py_None;
21423 return resultobj;
21424 fail:
21425 return NULL;
21426}
21427
21428
21429static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21430 PyObject *resultobj;
21431 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21432 wxColour *result;
21433 PyObject * obj0 = 0 ;
21434 char *kwnames[] = {
21435 (char *) "self", NULL
21436 };
21437
21438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
21439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21441 result = (wxColour *)& ((arg1)->colBg);
21442
21443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21444 return resultobj;
21445 fail:
21446 return NULL;
21447}
21448
21449
21450static PyObject * VisualAttributes_swigregister(PyObject *self, PyObject *args) {
21451 PyObject *obj;
21452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21453 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
21454 Py_INCREF(obj);
21455 return Py_BuildValue((char *)"");
21456}
d14a1e28
RD
21457static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
21458 PyObject *resultobj;
21459 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 21460 int arg2 = (int) (int)-1 ;
d14a1e28
RD
21461 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21462 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21463 wxSize const &arg4_defvalue = wxDefaultSize ;
21464 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21465 long arg5 = (long) 0 ;
21466 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21467 wxString *arg6 = (wxString *) &arg6_defvalue ;
21468 wxWindow *result;
21469 wxPoint temp3 ;
21470 wxSize temp4 ;
e811c8ce 21471 bool temp6 = False ;
d14a1e28 21472 PyObject * obj0 = 0 ;
994141e6 21473 PyObject * obj1 = 0 ;
d14a1e28
RD
21474 PyObject * obj2 = 0 ;
21475 PyObject * obj3 = 0 ;
994141e6 21476 PyObject * obj4 = 0 ;
d14a1e28
RD
21477 PyObject * obj5 = 0 ;
21478 char *kwnames[] = {
21479 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21480 };
21481
74a57fcd 21482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
21483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
21485 if (obj1) {
21486 arg2 = (int const) SWIG_AsInt(obj1);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
d14a1e28
RD
21489 if (obj2) {
21490 {
21491 arg3 = &temp3;
21492 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21493 }
21494 }
21495 if (obj3) {
21496 {
21497 arg4 = &temp4;
21498 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21499 }
21500 }
994141e6 21501 if (obj4) {
15afbcd0
RD
21502 arg5 = (long) SWIG_AsLong(obj4);
21503 if (PyErr_Occurred()) SWIG_fail;
994141e6 21504 }
d14a1e28
RD
21505 if (obj5) {
21506 {
21507 arg6 = wxString_in_helper(obj5);
21508 if (arg6 == NULL) SWIG_fail;
e811c8ce 21509 temp6 = True;
d14a1e28
RD
21510 }
21511 }
21512 {
e3b71cb8 21513 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21514 PyThreadState* __tstate = wxPyBeginAllowThreads();
21515 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21516
21517 wxPyEndAllowThreads(__tstate);
110da5b0 21518 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21519 }
b0f7404b 21520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
d14a1e28
RD
21521 {
21522 if (temp6)
21523 delete arg6;
21524 }
21525 return resultobj;
21526 fail:
21527 {
21528 if (temp6)
21529 delete arg6;
21530 }
21531 return NULL;
21532}
21533
21534
21535static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21536 PyObject *resultobj;
21537 wxWindow *result;
21538 char *kwnames[] = {
21539 NULL
21540 };
21541
21542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
21543 {
e3b71cb8 21544 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21545 PyThreadState* __tstate = wxPyBeginAllowThreads();
21546 result = (wxWindow *)new wxWindow();
21547
21548 wxPyEndAllowThreads(__tstate);
110da5b0 21549 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21550 }
b0f7404b 21551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
d14a1e28
RD
21552 return resultobj;
21553 fail:
21554 return NULL;
21555}
21556
21557
21558static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21559 PyObject *resultobj;
21560 wxWindow *arg1 = (wxWindow *) 0 ;
21561 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 21562 int arg3 = (int) (int)-1 ;
d14a1e28
RD
21563 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21564 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21565 wxSize const &arg5_defvalue = wxDefaultSize ;
21566 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21567 long arg6 = (long) 0 ;
21568 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21569 wxString *arg7 = (wxString *) &arg7_defvalue ;
21570 bool result;
21571 wxPoint temp4 ;
21572 wxSize temp5 ;
e811c8ce 21573 bool temp7 = False ;
d14a1e28
RD
21574 PyObject * obj0 = 0 ;
21575 PyObject * obj1 = 0 ;
994141e6 21576 PyObject * obj2 = 0 ;
d14a1e28
RD
21577 PyObject * obj3 = 0 ;
21578 PyObject * obj4 = 0 ;
994141e6 21579 PyObject * obj5 = 0 ;
d14a1e28
RD
21580 PyObject * obj6 = 0 ;
21581 char *kwnames[] = {
21582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21583 };
21584
74a57fcd 21585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
21586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
21590 if (obj2) {
21591 arg3 = (int const) SWIG_AsInt(obj2);
21592 if (PyErr_Occurred()) SWIG_fail;
21593 }
d14a1e28
RD
21594 if (obj3) {
21595 {
21596 arg4 = &temp4;
21597 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21598 }
21599 }
21600 if (obj4) {
21601 {
21602 arg5 = &temp5;
21603 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21604 }
21605 }
994141e6 21606 if (obj5) {
15afbcd0
RD
21607 arg6 = (long) SWIG_AsLong(obj5);
21608 if (PyErr_Occurred()) SWIG_fail;
994141e6 21609 }
d14a1e28
RD
21610 if (obj6) {
21611 {
21612 arg7 = wxString_in_helper(obj6);
21613 if (arg7 == NULL) SWIG_fail;
e811c8ce 21614 temp7 = True;
d14a1e28
RD
21615 }
21616 }
21617 {
21618 PyThreadState* __tstate = wxPyBeginAllowThreads();
21619 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21620
21621 wxPyEndAllowThreads(__tstate);
21622 if (PyErr_Occurred()) SWIG_fail;
21623 }
4f89f6a3
RD
21624 {
21625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21626 }
d14a1e28
RD
21627 {
21628 if (temp7)
21629 delete arg7;
21630 }
21631 return resultobj;
21632 fail:
21633 {
21634 if (temp7)
21635 delete arg7;
21636 }
21637 return NULL;
21638}
21639
21640
21641static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
21642 PyObject *resultobj;
21643 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21644 bool arg2 = (bool) False ;
d14a1e28
RD
21645 bool result;
21646 PyObject * obj0 = 0 ;
21647 PyObject * obj1 = 0 ;
21648 char *kwnames[] = {
21649 (char *) "self",(char *) "force", NULL
21650 };
21651
21652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 21655 if (obj1) {
15afbcd0
RD
21656 arg2 = (bool) SWIG_AsBool(obj1);
21657 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21658 }
21659 {
21660 PyThreadState* __tstate = wxPyBeginAllowThreads();
21661 result = (bool)(arg1)->Close(arg2);
21662
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
4f89f6a3
RD
21666 {
21667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21668 }
d14a1e28
RD
21669 return resultobj;
21670 fail:
21671 return NULL;
21672}
21673
21674
21675static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj;
21677 wxWindow *arg1 = (wxWindow *) 0 ;
21678 bool result;
21679 PyObject * obj0 = 0 ;
21680 char *kwnames[] = {
21681 (char *) "self", NULL
21682 };
21683
21684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
21685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21687 {
21688 PyThreadState* __tstate = wxPyBeginAllowThreads();
21689 result = (bool)(arg1)->Destroy();
21690
21691 wxPyEndAllowThreads(__tstate);
21692 if (PyErr_Occurred()) SWIG_fail;
21693 }
4f89f6a3
RD
21694 {
21695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21696 }
d14a1e28
RD
21697 return resultobj;
21698 fail:
21699 return NULL;
21700}
21701
21702
21703static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21704 PyObject *resultobj;
21705 wxWindow *arg1 = (wxWindow *) 0 ;
21706 bool result;
21707 PyObject * obj0 = 0 ;
21708 char *kwnames[] = {
21709 (char *) "self", NULL
21710 };
21711
21712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
21713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21715 {
21716 PyThreadState* __tstate = wxPyBeginAllowThreads();
21717 result = (bool)(arg1)->DestroyChildren();
21718
21719 wxPyEndAllowThreads(__tstate);
21720 if (PyErr_Occurred()) SWIG_fail;
21721 }
4f89f6a3
RD
21722 {
21723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21724 }
d14a1e28
RD
21725 return resultobj;
21726 fail:
21727 return NULL;
21728}
21729
21730
21731static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
21732 PyObject *resultobj;
21733 wxWindow *arg1 = (wxWindow *) 0 ;
21734 bool result;
21735 PyObject * obj0 = 0 ;
21736 char *kwnames[] = {
21737 (char *) "self", NULL
21738 };
21739
21740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
15afbcd0
RD
21741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21743 {
21744 PyThreadState* __tstate = wxPyBeginAllowThreads();
21745 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
21746
21747 wxPyEndAllowThreads(__tstate);
21748 if (PyErr_Occurred()) SWIG_fail;
21749 }
4f89f6a3
RD
21750 {
21751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21752 }
d14a1e28
RD
21753 return resultobj;
21754 fail:
21755 return NULL;
21756}
21757
21758
21759static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21760 PyObject *resultobj;
21761 wxWindow *arg1 = (wxWindow *) 0 ;
21762 wxString *arg2 = 0 ;
e811c8ce 21763 bool temp2 = False ;
d14a1e28
RD
21764 PyObject * obj0 = 0 ;
21765 PyObject * obj1 = 0 ;
21766 char *kwnames[] = {
21767 (char *) "self",(char *) "title", NULL
21768 };
21769
21770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21773 {
21774 arg2 = wxString_in_helper(obj1);
21775 if (arg2 == NULL) SWIG_fail;
e811c8ce 21776 temp2 = True;
d14a1e28
RD
21777 }
21778 {
21779 PyThreadState* __tstate = wxPyBeginAllowThreads();
21780 (arg1)->SetTitle((wxString const &)*arg2);
21781
21782 wxPyEndAllowThreads(__tstate);
21783 if (PyErr_Occurred()) SWIG_fail;
21784 }
21785 Py_INCREF(Py_None); resultobj = Py_None;
21786 {
21787 if (temp2)
21788 delete arg2;
21789 }
21790 return resultobj;
21791 fail:
21792 {
21793 if (temp2)
21794 delete arg2;
21795 }
21796 return NULL;
21797}
21798
21799
21800static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21801 PyObject *resultobj;
21802 wxWindow *arg1 = (wxWindow *) 0 ;
21803 wxString result;
21804 PyObject * obj0 = 0 ;
21805 char *kwnames[] = {
21806 (char *) "self", NULL
21807 };
21808
21809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
21810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21812 {
21813 PyThreadState* __tstate = wxPyBeginAllowThreads();
21814 result = ((wxWindow const *)arg1)->GetTitle();
21815
21816 wxPyEndAllowThreads(__tstate);
21817 if (PyErr_Occurred()) SWIG_fail;
21818 }
21819 {
21820#if wxUSE_UNICODE
21821 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21822#else
21823 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21824#endif
21825 }
21826 return resultobj;
21827 fail:
21828 return NULL;
21829}
21830
21831
21832static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21833 PyObject *resultobj;
21834 wxWindow *arg1 = (wxWindow *) 0 ;
21835 wxString *arg2 = 0 ;
e811c8ce 21836 bool temp2 = False ;
d14a1e28
RD
21837 PyObject * obj0 = 0 ;
21838 PyObject * obj1 = 0 ;
21839 char *kwnames[] = {
21840 (char *) "self",(char *) "label", NULL
21841 };
21842
21843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21846 {
21847 arg2 = wxString_in_helper(obj1);
21848 if (arg2 == NULL) SWIG_fail;
e811c8ce 21849 temp2 = True;
d14a1e28
RD
21850 }
21851 {
21852 PyThreadState* __tstate = wxPyBeginAllowThreads();
21853 (arg1)->SetLabel((wxString const &)*arg2);
21854
21855 wxPyEndAllowThreads(__tstate);
21856 if (PyErr_Occurred()) SWIG_fail;
21857 }
21858 Py_INCREF(Py_None); resultobj = Py_None;
21859 {
21860 if (temp2)
21861 delete arg2;
21862 }
21863 return resultobj;
21864 fail:
21865 {
21866 if (temp2)
21867 delete arg2;
21868 }
21869 return NULL;
21870}
21871
21872
21873static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21874 PyObject *resultobj;
21875 wxWindow *arg1 = (wxWindow *) 0 ;
21876 wxString result;
21877 PyObject * obj0 = 0 ;
21878 char *kwnames[] = {
21879 (char *) "self", NULL
21880 };
21881
21882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
21883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21885 {
21886 PyThreadState* __tstate = wxPyBeginAllowThreads();
21887 result = ((wxWindow const *)arg1)->GetLabel();
21888
21889 wxPyEndAllowThreads(__tstate);
21890 if (PyErr_Occurred()) SWIG_fail;
21891 }
21892 {
21893#if wxUSE_UNICODE
21894 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21895#else
21896 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21897#endif
21898 }
21899 return resultobj;
21900 fail:
21901 return NULL;
21902}
21903
21904
21905static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21906 PyObject *resultobj;
21907 wxWindow *arg1 = (wxWindow *) 0 ;
21908 wxString *arg2 = 0 ;
e811c8ce 21909 bool temp2 = False ;
d14a1e28
RD
21910 PyObject * obj0 = 0 ;
21911 PyObject * obj1 = 0 ;
21912 char *kwnames[] = {
21913 (char *) "self",(char *) "name", NULL
21914 };
21915
21916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21919 {
21920 arg2 = wxString_in_helper(obj1);
21921 if (arg2 == NULL) SWIG_fail;
e811c8ce 21922 temp2 = True;
d14a1e28
RD
21923 }
21924 {
21925 PyThreadState* __tstate = wxPyBeginAllowThreads();
21926 (arg1)->SetName((wxString const &)*arg2);
21927
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 Py_INCREF(Py_None); resultobj = Py_None;
21932 {
21933 if (temp2)
21934 delete arg2;
21935 }
21936 return resultobj;
21937 fail:
21938 {
21939 if (temp2)
21940 delete arg2;
21941 }
21942 return NULL;
21943}
21944
21945
21946static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21947 PyObject *resultobj;
21948 wxWindow *arg1 = (wxWindow *) 0 ;
21949 wxString result;
21950 PyObject * obj0 = 0 ;
21951 char *kwnames[] = {
21952 (char *) "self", NULL
21953 };
21954
21955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
21956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21958 {
21959 PyThreadState* __tstate = wxPyBeginAllowThreads();
21960 result = ((wxWindow const *)arg1)->GetName();
21961
21962 wxPyEndAllowThreads(__tstate);
21963 if (PyErr_Occurred()) SWIG_fail;
21964 }
21965 {
21966#if wxUSE_UNICODE
21967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21968#else
21969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21970#endif
21971 }
21972 return resultobj;
21973 fail:
21974 return NULL;
21975}
21976
21977
4276dc52
RD
21978static PyObject *_wrap_Window_SetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21979 PyObject *resultobj;
21980 wxWindow *arg1 = (wxWindow *) 0 ;
21981 int arg2 ;
21982 PyObject * obj0 = 0 ;
21983 PyObject * obj1 = 0 ;
21984 char *kwnames[] = {
21985 (char *) "self",(char *) "variant", NULL
21986 };
21987
21988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
21989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21991 arg2 = (wxWindowVariant) SWIG_AsInt(obj1);
21992 if (PyErr_Occurred()) SWIG_fail;
21993 {
21994 PyThreadState* __tstate = wxPyBeginAllowThreads();
21995 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
21996
21997 wxPyEndAllowThreads(__tstate);
21998 if (PyErr_Occurred()) SWIG_fail;
21999 }
22000 Py_INCREF(Py_None); resultobj = Py_None;
22001 return resultobj;
22002 fail:
22003 return NULL;
22004}
22005
22006
22007static PyObject *_wrap_Window_GetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
22008 PyObject *resultobj;
22009 wxWindow *arg1 = (wxWindow *) 0 ;
22010 int result;
22011 PyObject * obj0 = 0 ;
22012 char *kwnames[] = {
22013 (char *) "self", NULL
22014 };
22015
22016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
22017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22019 {
22020 PyThreadState* __tstate = wxPyBeginAllowThreads();
22021 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
22022
22023 wxPyEndAllowThreads(__tstate);
22024 if (PyErr_Occurred()) SWIG_fail;
22025 }
22026 resultobj = SWIG_FromInt((int)result);
22027 return resultobj;
22028 fail:
22029 return NULL;
22030}
22031
22032
d14a1e28
RD
22033static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22034 PyObject *resultobj;
22035 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22036 int arg2 ;
d14a1e28 22037 PyObject * obj0 = 0 ;
994141e6 22038 PyObject * obj1 = 0 ;
d14a1e28
RD
22039 char *kwnames[] = {
22040 (char *) "self",(char *) "winid", NULL
22041 };
22042
994141e6 22043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22046 arg2 = (int) SWIG_AsInt(obj1);
22047 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22048 {
22049 PyThreadState* __tstate = wxPyBeginAllowThreads();
22050 (arg1)->SetId(arg2);
22051
22052 wxPyEndAllowThreads(__tstate);
22053 if (PyErr_Occurred()) SWIG_fail;
22054 }
22055 Py_INCREF(Py_None); resultobj = Py_None;
22056 return resultobj;
22057 fail:
22058 return NULL;
22059}
22060
22061
22062static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22063 PyObject *resultobj;
22064 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22065 int result;
d14a1e28
RD
22066 PyObject * obj0 = 0 ;
22067 char *kwnames[] = {
22068 (char *) "self", NULL
22069 };
22070
22071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
22072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22074 {
22075 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22076 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
22077
22078 wxPyEndAllowThreads(__tstate);
22079 if (PyErr_Occurred()) SWIG_fail;
22080 }
15afbcd0 22081 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22082 return resultobj;
22083 fail:
22084 return NULL;
22085}
22086
22087
22088static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22089 PyObject *resultobj;
22090 int result;
22091 char *kwnames[] = {
22092 NULL
22093 };
22094
22095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
22096 {
22097 PyThreadState* __tstate = wxPyBeginAllowThreads();
22098 result = (int)wxWindow::NewControlId();
22099
22100 wxPyEndAllowThreads(__tstate);
22101 if (PyErr_Occurred()) SWIG_fail;
22102 }
15afbcd0 22103 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22104 return resultobj;
22105 fail:
22106 return NULL;
22107}
22108
22109
22110static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22111 PyObject *resultobj;
22112 int arg1 ;
22113 int result;
994141e6 22114 PyObject * obj0 = 0 ;
d14a1e28
RD
22115 char *kwnames[] = {
22116 (char *) "winid", NULL
22117 };
22118
994141e6 22119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
15afbcd0
RD
22120 arg1 = (int) SWIG_AsInt(obj0);
22121 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22122 {
22123 PyThreadState* __tstate = wxPyBeginAllowThreads();
22124 result = (int)wxWindow::NextControlId(arg1);
22125
22126 wxPyEndAllowThreads(__tstate);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 }
15afbcd0 22129 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22130 return resultobj;
22131 fail:
22132 return NULL;
22133}
22134
22135
22136static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22137 PyObject *resultobj;
22138 int arg1 ;
22139 int result;
994141e6 22140 PyObject * obj0 = 0 ;
d14a1e28
RD
22141 char *kwnames[] = {
22142 (char *) "winid", NULL
22143 };
22144
994141e6 22145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
15afbcd0
RD
22146 arg1 = (int) SWIG_AsInt(obj0);
22147 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22148 {
22149 PyThreadState* __tstate = wxPyBeginAllowThreads();
22150 result = (int)wxWindow::PrevControlId(arg1);
22151
22152 wxPyEndAllowThreads(__tstate);
22153 if (PyErr_Occurred()) SWIG_fail;
22154 }
15afbcd0 22155 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22156 return resultobj;
22157 fail:
22158 return NULL;
22159}
22160
22161
22162static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22163 PyObject *resultobj;
22164 wxWindow *arg1 = (wxWindow *) 0 ;
22165 wxSize *arg2 = 0 ;
22166 wxSize temp2 ;
22167 PyObject * obj0 = 0 ;
22168 PyObject * obj1 = 0 ;
22169 char *kwnames[] = {
22170 (char *) "self",(char *) "size", NULL
22171 };
22172
22173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22176 {
22177 arg2 = &temp2;
22178 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22179 }
22180 {
22181 PyThreadState* __tstate = wxPyBeginAllowThreads();
22182 (arg1)->SetSize((wxSize const &)*arg2);
22183
22184 wxPyEndAllowThreads(__tstate);
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
22187 Py_INCREF(Py_None); resultobj = Py_None;
22188 return resultobj;
22189 fail:
22190 return NULL;
22191}
22192
22193
22194static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
22195 PyObject *resultobj;
22196 wxWindow *arg1 = (wxWindow *) 0 ;
22197 int arg2 ;
22198 int arg3 ;
22199 int arg4 ;
22200 int arg5 ;
22201 int arg6 = (int) wxSIZE_AUTO ;
22202 PyObject * obj0 = 0 ;
994141e6
RD
22203 PyObject * obj1 = 0 ;
22204 PyObject * obj2 = 0 ;
22205 PyObject * obj3 = 0 ;
22206 PyObject * obj4 = 0 ;
22207 PyObject * obj5 = 0 ;
d14a1e28
RD
22208 char *kwnames[] = {
22209 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22210 };
22211
994141e6 22212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
22213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22215 arg2 = (int) SWIG_AsInt(obj1);
22216 if (PyErr_Occurred()) SWIG_fail;
22217 arg3 = (int) SWIG_AsInt(obj2);
22218 if (PyErr_Occurred()) SWIG_fail;
22219 arg4 = (int) SWIG_AsInt(obj3);
22220 if (PyErr_Occurred()) SWIG_fail;
22221 arg5 = (int) SWIG_AsInt(obj4);
22222 if (PyErr_Occurred()) SWIG_fail;
994141e6 22223 if (obj5) {
15afbcd0
RD
22224 arg6 = (int) SWIG_AsInt(obj5);
22225 if (PyErr_Occurred()) SWIG_fail;
994141e6 22226 }
d14a1e28
RD
22227 {
22228 PyThreadState* __tstate = wxPyBeginAllowThreads();
22229 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
22230
22231 wxPyEndAllowThreads(__tstate);
22232 if (PyErr_Occurred()) SWIG_fail;
22233 }
22234 Py_INCREF(Py_None); resultobj = Py_None;
22235 return resultobj;
22236 fail:
22237 return NULL;
22238}
22239
22240
22241static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22242 PyObject *resultobj;
22243 wxWindow *arg1 = (wxWindow *) 0 ;
22244 wxRect *arg2 = 0 ;
22245 int arg3 = (int) wxSIZE_AUTO ;
22246 wxRect temp2 ;
22247 PyObject * obj0 = 0 ;
22248 PyObject * obj1 = 0 ;
994141e6 22249 PyObject * obj2 = 0 ;
d14a1e28
RD
22250 char *kwnames[] = {
22251 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22252 };
22253
994141e6 22254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22257 {
22258 arg2 = &temp2;
22259 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22260 }
994141e6 22261 if (obj2) {
15afbcd0
RD
22262 arg3 = (int) SWIG_AsInt(obj2);
22263 if (PyErr_Occurred()) SWIG_fail;
994141e6 22264 }
d14a1e28
RD
22265 {
22266 PyThreadState* __tstate = wxPyBeginAllowThreads();
22267 (arg1)->SetSize((wxRect const &)*arg2,arg3);
22268
22269 wxPyEndAllowThreads(__tstate);
22270 if (PyErr_Occurred()) SWIG_fail;
22271 }
22272 Py_INCREF(Py_None); resultobj = Py_None;
22273 return resultobj;
22274 fail:
22275 return NULL;
22276}
22277
22278
22279static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22280 PyObject *resultobj;
22281 wxWindow *arg1 = (wxWindow *) 0 ;
22282 int arg2 ;
22283 int arg3 ;
22284 PyObject * obj0 = 0 ;
994141e6
RD
22285 PyObject * obj1 = 0 ;
22286 PyObject * obj2 = 0 ;
d14a1e28
RD
22287 char *kwnames[] = {
22288 (char *) "self",(char *) "width",(char *) "height", NULL
22289 };
22290
994141e6 22291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22294 arg2 = (int) SWIG_AsInt(obj1);
22295 if (PyErr_Occurred()) SWIG_fail;
22296 arg3 = (int) SWIG_AsInt(obj2);
22297 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22298 {
22299 PyThreadState* __tstate = wxPyBeginAllowThreads();
22300 (arg1)->SetSize(arg2,arg3);
22301
22302 wxPyEndAllowThreads(__tstate);
22303 if (PyErr_Occurred()) SWIG_fail;
22304 }
22305 Py_INCREF(Py_None); resultobj = Py_None;
22306 return resultobj;
22307 fail:
22308 return NULL;
22309}
22310
22311
22312static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
22313 PyObject *resultobj;
22314 wxWindow *arg1 = (wxWindow *) 0 ;
22315 wxPoint *arg2 = 0 ;
22316 int arg3 = (int) wxSIZE_USE_EXISTING ;
22317 wxPoint temp2 ;
22318 PyObject * obj0 = 0 ;
22319 PyObject * obj1 = 0 ;
994141e6 22320 PyObject * obj2 = 0 ;
d14a1e28
RD
22321 char *kwnames[] = {
22322 (char *) "self",(char *) "pt",(char *) "flags", NULL
22323 };
22324
994141e6 22325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22328 {
22329 arg2 = &temp2;
22330 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22331 }
994141e6 22332 if (obj2) {
15afbcd0
RD
22333 arg3 = (int) SWIG_AsInt(obj2);
22334 if (PyErr_Occurred()) SWIG_fail;
994141e6 22335 }
d14a1e28
RD
22336 {
22337 PyThreadState* __tstate = wxPyBeginAllowThreads();
22338 (arg1)->Move((wxPoint const &)*arg2,arg3);
22339
22340 wxPyEndAllowThreads(__tstate);
22341 if (PyErr_Occurred()) SWIG_fail;
22342 }
22343 Py_INCREF(Py_None); resultobj = Py_None;
22344 return resultobj;
22345 fail:
22346 return NULL;
22347}
22348
22349
22350static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22351 PyObject *resultobj;
22352 wxWindow *arg1 = (wxWindow *) 0 ;
22353 int arg2 ;
22354 int arg3 ;
22355 int arg4 = (int) wxSIZE_USE_EXISTING ;
22356 PyObject * obj0 = 0 ;
994141e6
RD
22357 PyObject * obj1 = 0 ;
22358 PyObject * obj2 = 0 ;
22359 PyObject * obj3 = 0 ;
d14a1e28
RD
22360 char *kwnames[] = {
22361 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22362 };
22363
994141e6 22364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22367 arg2 = (int) SWIG_AsInt(obj1);
22368 if (PyErr_Occurred()) SWIG_fail;
22369 arg3 = (int) SWIG_AsInt(obj2);
22370 if (PyErr_Occurred()) SWIG_fail;
994141e6 22371 if (obj3) {
15afbcd0
RD
22372 arg4 = (int) SWIG_AsInt(obj3);
22373 if (PyErr_Occurred()) SWIG_fail;
994141e6 22374 }
d14a1e28
RD
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 (arg1)->Move(arg2,arg3,arg4);
22378
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 Py_INCREF(Py_None); resultobj = Py_None;
22383 return resultobj;
22384 fail:
22385 return NULL;
22386}
22387
22388
f8167d6e
RD
22389static PyObject *_wrap_Window_SetBestFittingSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22390 PyObject *resultobj;
22391 wxWindow *arg1 = (wxWindow *) 0 ;
22392 wxSize const &arg2_defvalue = wxDefaultSize ;
22393 wxSize *arg2 = (wxSize *) &arg2_defvalue ;
22394 wxSize temp2 ;
22395 PyObject * obj0 = 0 ;
22396 PyObject * obj1 = 0 ;
22397 char *kwnames[] = {
22398 (char *) "self",(char *) "size", NULL
22399 };
22400
22401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_SetBestFittingSize",kwnames,&obj0,&obj1)) goto fail;
22402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22404 if (obj1) {
22405 {
22406 arg2 = &temp2;
22407 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22408 }
22409 }
22410 {
22411 PyThreadState* __tstate = wxPyBeginAllowThreads();
22412 (arg1)->SetBestFittingSize((wxSize const &)*arg2);
22413
22414 wxPyEndAllowThreads(__tstate);
22415 if (PyErr_Occurred()) SWIG_fail;
22416 }
22417 Py_INCREF(Py_None); resultobj = Py_None;
22418 return resultobj;
22419 fail:
22420 return NULL;
22421}
22422
22423
d14a1e28
RD
22424static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
22425 PyObject *resultobj;
22426 wxWindow *arg1 = (wxWindow *) 0 ;
22427 PyObject * obj0 = 0 ;
22428 char *kwnames[] = {
22429 (char *) "self", NULL
22430 };
22431
22432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
15afbcd0
RD
22433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 (arg1)->Raise();
22438
22439 wxPyEndAllowThreads(__tstate);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
22442 Py_INCREF(Py_None); resultobj = Py_None;
22443 return resultobj;
22444 fail:
22445 return NULL;
22446}
22447
22448
22449static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
22450 PyObject *resultobj;
22451 wxWindow *arg1 = (wxWindow *) 0 ;
22452 PyObject * obj0 = 0 ;
22453 char *kwnames[] = {
22454 (char *) "self", NULL
22455 };
22456
22457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
15afbcd0
RD
22458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22460 {
22461 PyThreadState* __tstate = wxPyBeginAllowThreads();
22462 (arg1)->Lower();
22463
22464 wxPyEndAllowThreads(__tstate);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
22467 Py_INCREF(Py_None); resultobj = Py_None;
22468 return resultobj;
22469 fail:
22470 return NULL;
22471}
22472
22473
22474static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22475 PyObject *resultobj;
22476 wxWindow *arg1 = (wxWindow *) 0 ;
22477 wxSize *arg2 = 0 ;
22478 wxSize temp2 ;
22479 PyObject * obj0 = 0 ;
22480 PyObject * obj1 = 0 ;
22481 char *kwnames[] = {
22482 (char *) "self",(char *) "size", NULL
22483 };
22484
22485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22488 {
22489 arg2 = &temp2;
22490 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22491 }
22492 {
22493 PyThreadState* __tstate = wxPyBeginAllowThreads();
22494 (arg1)->SetClientSize((wxSize const &)*arg2);
22495
22496 wxPyEndAllowThreads(__tstate);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 }
22499 Py_INCREF(Py_None); resultobj = Py_None;
22500 return resultobj;
22501 fail:
22502 return NULL;
22503}
22504
22505
22506static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22507 PyObject *resultobj;
22508 wxWindow *arg1 = (wxWindow *) 0 ;
22509 int arg2 ;
22510 int arg3 ;
22511 PyObject * obj0 = 0 ;
994141e6
RD
22512 PyObject * obj1 = 0 ;
22513 PyObject * obj2 = 0 ;
d14a1e28
RD
22514 char *kwnames[] = {
22515 (char *) "self",(char *) "width",(char *) "height", NULL
22516 };
22517
994141e6 22518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22521 arg2 = (int) SWIG_AsInt(obj1);
22522 if (PyErr_Occurred()) SWIG_fail;
22523 arg3 = (int) SWIG_AsInt(obj2);
22524 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22525 {
22526 PyThreadState* __tstate = wxPyBeginAllowThreads();
22527 (arg1)->SetClientSize(arg2,arg3);
22528
22529 wxPyEndAllowThreads(__tstate);
22530 if (PyErr_Occurred()) SWIG_fail;
22531 }
22532 Py_INCREF(Py_None); resultobj = Py_None;
22533 return resultobj;
22534 fail:
22535 return NULL;
22536}
22537
22538
22539static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22540 PyObject *resultobj;
22541 wxWindow *arg1 = (wxWindow *) 0 ;
22542 wxRect *arg2 = 0 ;
22543 wxRect temp2 ;
22544 PyObject * obj0 = 0 ;
22545 PyObject * obj1 = 0 ;
22546 char *kwnames[] = {
22547 (char *) "self",(char *) "rect", NULL
22548 };
22549
22550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22553 {
22554 arg2 = &temp2;
22555 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22556 }
22557 {
22558 PyThreadState* __tstate = wxPyBeginAllowThreads();
22559 (arg1)->SetClientSize((wxRect const &)*arg2);
22560
22561 wxPyEndAllowThreads(__tstate);
22562 if (PyErr_Occurred()) SWIG_fail;
22563 }
22564 Py_INCREF(Py_None); resultobj = Py_None;
22565 return resultobj;
22566 fail:
22567 return NULL;
22568}
22569
22570
22571static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22572 PyObject *resultobj;
22573 wxWindow *arg1 = (wxWindow *) 0 ;
22574 wxPoint result;
22575 PyObject * obj0 = 0 ;
22576 char *kwnames[] = {
22577 (char *) "self", NULL
22578 };
22579
22580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
22581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22583 {
22584 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22585 result = (arg1)->GetPosition();
d14a1e28
RD
22586
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 {
22591 wxPoint * resultptr;
22592 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 22593 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22594 }
22595 return resultobj;
22596 fail:
22597 return NULL;
22598}
22599
22600
22601static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22602 PyObject *resultobj;
22603 wxWindow *arg1 = (wxWindow *) 0 ;
22604 int *arg2 = (int *) 0 ;
22605 int *arg3 = (int *) 0 ;
22606 int temp2 ;
22607 int temp3 ;
22608 PyObject * obj0 = 0 ;
22609 char *kwnames[] = {
22610 (char *) "self", NULL
22611 };
22612
22613 arg2 = &temp2;
22614 arg3 = &temp3;
22615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22618 {
22619 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22620 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
22621
22622 wxPyEndAllowThreads(__tstate);
22623 if (PyErr_Occurred()) SWIG_fail;
22624 }
22625 Py_INCREF(Py_None); resultobj = Py_None;
22626 {
22627 PyObject *o = PyInt_FromLong((long) (*arg2));
22628 resultobj = t_output_helper(resultobj,o);
22629 }
22630 {
22631 PyObject *o = PyInt_FromLong((long) (*arg3));
22632 resultobj = t_output_helper(resultobj,o);
22633 }
22634 return resultobj;
22635 fail:
22636 return NULL;
22637}
22638
22639
22640static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22641 PyObject *resultobj;
22642 wxWindow *arg1 = (wxWindow *) 0 ;
22643 wxSize result;
22644 PyObject * obj0 = 0 ;
22645 char *kwnames[] = {
22646 (char *) "self", NULL
22647 };
22648
22649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22652 {
22653 PyThreadState* __tstate = wxPyBeginAllowThreads();
22654 result = ((wxWindow const *)arg1)->GetSize();
22655
22656 wxPyEndAllowThreads(__tstate);
22657 if (PyErr_Occurred()) SWIG_fail;
22658 }
22659 {
22660 wxSize * resultptr;
22661 resultptr = new wxSize((wxSize &) result);
15afbcd0 22662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22663 }
22664 return resultobj;
22665 fail:
22666 return NULL;
22667}
22668
22669
22670static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22671 PyObject *resultobj;
22672 wxWindow *arg1 = (wxWindow *) 0 ;
22673 int *arg2 = (int *) 0 ;
22674 int *arg3 = (int *) 0 ;
22675 int temp2 ;
22676 int temp3 ;
22677 PyObject * obj0 = 0 ;
22678 char *kwnames[] = {
22679 (char *) "self", NULL
22680 };
22681
22682 arg2 = &temp2;
22683 arg3 = &temp3;
22684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22687 {
22688 PyThreadState* __tstate = wxPyBeginAllowThreads();
22689 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
22690
22691 wxPyEndAllowThreads(__tstate);
22692 if (PyErr_Occurred()) SWIG_fail;
22693 }
22694 Py_INCREF(Py_None); resultobj = Py_None;
22695 {
22696 PyObject *o = PyInt_FromLong((long) (*arg2));
22697 resultobj = t_output_helper(resultobj,o);
22698 }
22699 {
22700 PyObject *o = PyInt_FromLong((long) (*arg3));
22701 resultobj = t_output_helper(resultobj,o);
22702 }
22703 return resultobj;
22704 fail:
22705 return NULL;
22706}
22707
22708
22709static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22710 PyObject *resultobj;
22711 wxWindow *arg1 = (wxWindow *) 0 ;
22712 wxRect result;
22713 PyObject * obj0 = 0 ;
22714 char *kwnames[] = {
22715 (char *) "self", NULL
22716 };
22717
22718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
22719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22721 {
22722 PyThreadState* __tstate = wxPyBeginAllowThreads();
22723 result = ((wxWindow const *)arg1)->GetRect();
22724
22725 wxPyEndAllowThreads(__tstate);
22726 if (PyErr_Occurred()) SWIG_fail;
22727 }
22728 {
22729 wxRect * resultptr;
22730 resultptr = new wxRect((wxRect &) result);
15afbcd0 22731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22732 }
22733 return resultobj;
22734 fail:
22735 return NULL;
22736}
22737
22738
22739static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22740 PyObject *resultobj;
22741 wxWindow *arg1 = (wxWindow *) 0 ;
22742 wxSize result;
22743 PyObject * obj0 = 0 ;
22744 char *kwnames[] = {
22745 (char *) "self", NULL
22746 };
22747
22748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22751 {
22752 PyThreadState* __tstate = wxPyBeginAllowThreads();
22753 result = ((wxWindow const *)arg1)->GetClientSize();
22754
22755 wxPyEndAllowThreads(__tstate);
22756 if (PyErr_Occurred()) SWIG_fail;
22757 }
22758 {
22759 wxSize * resultptr;
22760 resultptr = new wxSize((wxSize &) result);
15afbcd0 22761 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22762 }
22763 return resultobj;
22764 fail:
22765 return NULL;
22766}
22767
22768
22769static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22770 PyObject *resultobj;
22771 wxWindow *arg1 = (wxWindow *) 0 ;
22772 int *arg2 = (int *) 0 ;
22773 int *arg3 = (int *) 0 ;
22774 int temp2 ;
22775 int temp3 ;
22776 PyObject * obj0 = 0 ;
22777 char *kwnames[] = {
22778 (char *) "self", NULL
22779 };
22780
22781 arg2 = &temp2;
22782 arg3 = &temp3;
22783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22786 {
22787 PyThreadState* __tstate = wxPyBeginAllowThreads();
22788 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
22789
22790 wxPyEndAllowThreads(__tstate);
22791 if (PyErr_Occurred()) SWIG_fail;
22792 }
22793 Py_INCREF(Py_None); resultobj = Py_None;
22794 {
22795 PyObject *o = PyInt_FromLong((long) (*arg2));
22796 resultobj = t_output_helper(resultobj,o);
22797 }
22798 {
22799 PyObject *o = PyInt_FromLong((long) (*arg3));
22800 resultobj = t_output_helper(resultobj,o);
22801 }
22802 return resultobj;
22803 fail:
22804 return NULL;
22805}
22806
22807
22808static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
22809 PyObject *resultobj;
22810 wxWindow *arg1 = (wxWindow *) 0 ;
22811 wxPoint result;
22812 PyObject * obj0 = 0 ;
22813 char *kwnames[] = {
22814 (char *) "self", NULL
22815 };
22816
22817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
22818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22820 {
22821 PyThreadState* __tstate = wxPyBeginAllowThreads();
22822 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
22823
22824 wxPyEndAllowThreads(__tstate);
22825 if (PyErr_Occurred()) SWIG_fail;
22826 }
22827 {
22828 wxPoint * resultptr;
22829 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 22830 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22831 }
22832 return resultobj;
22833 fail:
22834 return NULL;
22835}
22836
22837
22838static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22839 PyObject *resultobj;
22840 wxWindow *arg1 = (wxWindow *) 0 ;
22841 wxRect result;
22842 PyObject * obj0 = 0 ;
22843 char *kwnames[] = {
22844 (char *) "self", NULL
22845 };
22846
22847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
22848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22850 {
22851 PyThreadState* __tstate = wxPyBeginAllowThreads();
22852 result = ((wxWindow const *)arg1)->GetClientRect();
22853
22854 wxPyEndAllowThreads(__tstate);
22855 if (PyErr_Occurred()) SWIG_fail;
22856 }
22857 {
22858 wxRect * resultptr;
22859 resultptr = new wxRect((wxRect &) result);
15afbcd0 22860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22861 }
22862 return resultobj;
22863 fail:
22864 return NULL;
22865}
22866
22867
22868static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22869 PyObject *resultobj;
22870 wxWindow *arg1 = (wxWindow *) 0 ;
22871 wxSize result;
22872 PyObject * obj0 = 0 ;
22873 char *kwnames[] = {
22874 (char *) "self", NULL
22875 };
22876
22877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22880 {
22881 PyThreadState* __tstate = wxPyBeginAllowThreads();
22882 result = ((wxWindow const *)arg1)->GetBestSize();
22883
22884 wxPyEndAllowThreads(__tstate);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 }
22887 {
22888 wxSize * resultptr;
22889 resultptr = new wxSize((wxSize &) result);
15afbcd0 22890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22891 }
22892 return resultobj;
22893 fail:
22894 return NULL;
22895}
22896
22897
22898static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22899 PyObject *resultobj;
22900 wxWindow *arg1 = (wxWindow *) 0 ;
22901 int *arg2 = (int *) 0 ;
22902 int *arg3 = (int *) 0 ;
22903 int temp2 ;
22904 int temp3 ;
22905 PyObject * obj0 = 0 ;
22906 char *kwnames[] = {
22907 (char *) "self", NULL
22908 };
22909
22910 arg2 = &temp2;
22911 arg3 = &temp3;
22912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22915 {
22916 PyThreadState* __tstate = wxPyBeginAllowThreads();
22917 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
22918
22919 wxPyEndAllowThreads(__tstate);
22920 if (PyErr_Occurred()) SWIG_fail;
22921 }
22922 Py_INCREF(Py_None); resultobj = Py_None;
22923 {
22924 PyObject *o = PyInt_FromLong((long) (*arg2));
22925 resultobj = t_output_helper(resultobj,o);
22926 }
22927 {
22928 PyObject *o = PyInt_FromLong((long) (*arg3));
22929 resultobj = t_output_helper(resultobj,o);
22930 }
22931 return resultobj;
22932 fail:
22933 return NULL;
22934}
22935
22936
dfbb5885
RD
22937static PyObject *_wrap_Window_InvalidateBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22938 PyObject *resultobj;
22939 wxWindow *arg1 = (wxWindow *) 0 ;
22940 PyObject * obj0 = 0 ;
22941 char *kwnames[] = {
22942 (char *) "self", NULL
22943 };
22944
22945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InvalidateBestSize",kwnames,&obj0)) goto fail;
22946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 (arg1)->InvalidateBestSize();
22951
22952 wxPyEndAllowThreads(__tstate);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 }
22955 Py_INCREF(Py_None); resultobj = Py_None;
22956 return resultobj;
22957 fail:
22958 return NULL;
22959}
22960
22961
22962static PyObject *_wrap_Window_GetBestFittingSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22963 PyObject *resultobj;
22964 wxWindow *arg1 = (wxWindow *) 0 ;
22965 wxSize result;
22966 PyObject * obj0 = 0 ;
22967 char *kwnames[] = {
22968 (char *) "self", NULL
22969 };
22970
22971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestFittingSize",kwnames,&obj0)) goto fail;
22972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22974 {
22975 PyThreadState* __tstate = wxPyBeginAllowThreads();
22976 result = ((wxWindow const *)arg1)->GetBestFittingSize();
22977
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 {
22982 wxSize * resultptr;
22983 resultptr = new wxSize((wxSize &) result);
22984 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22985 }
22986 return resultobj;
22987 fail:
22988 return NULL;
22989}
22990
22991
d14a1e28
RD
22992static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22993 PyObject *resultobj;
22994 wxWindow *arg1 = (wxWindow *) 0 ;
22995 wxSize result;
22996 PyObject * obj0 = 0 ;
22997 char *kwnames[] = {
22998 (char *) "self", NULL
22999 };
23000
23001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23004 {
23005 PyThreadState* __tstate = wxPyBeginAllowThreads();
23006 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
23007
23008 wxPyEndAllowThreads(__tstate);
23009 if (PyErr_Occurred()) SWIG_fail;
23010 }
23011 {
23012 wxSize * resultptr;
23013 resultptr = new wxSize((wxSize &) result);
15afbcd0 23014 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23015 }
23016 return resultobj;
23017 fail:
23018 return NULL;
23019}
23020
23021
23022static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
23023 PyObject *resultobj;
23024 wxWindow *arg1 = (wxWindow *) 0 ;
23025 int arg2 = (int) wxBOTH ;
23026 PyObject * obj0 = 0 ;
994141e6 23027 PyObject * obj1 = 0 ;
d14a1e28
RD
23028 char *kwnames[] = {
23029 (char *) "self",(char *) "direction", NULL
23030 };
23031
994141e6 23032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23035 if (obj1) {
15afbcd0
RD
23036 arg2 = (int) SWIG_AsInt(obj1);
23037 if (PyErr_Occurred()) SWIG_fail;
994141e6 23038 }
d14a1e28
RD
23039 {
23040 PyThreadState* __tstate = wxPyBeginAllowThreads();
23041 (arg1)->Center(arg2);
23042
23043 wxPyEndAllowThreads(__tstate);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 }
23046 Py_INCREF(Py_None); resultobj = Py_None;
23047 return resultobj;
23048 fail:
23049 return NULL;
23050}
23051
23052
23053static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
23054 PyObject *resultobj;
23055 wxWindow *arg1 = (wxWindow *) 0 ;
23056 int arg2 = (int) wxBOTH ;
23057 PyObject * obj0 = 0 ;
994141e6 23058 PyObject * obj1 = 0 ;
d14a1e28
RD
23059 char *kwnames[] = {
23060 (char *) "self",(char *) "dir", NULL
23061 };
23062
994141e6 23063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23066 if (obj1) {
15afbcd0
RD
23067 arg2 = (int) SWIG_AsInt(obj1);
23068 if (PyErr_Occurred()) SWIG_fail;
994141e6 23069 }
d14a1e28
RD
23070 {
23071 PyThreadState* __tstate = wxPyBeginAllowThreads();
23072 (arg1)->CenterOnScreen(arg2);
23073
23074 wxPyEndAllowThreads(__tstate);
23075 if (PyErr_Occurred()) SWIG_fail;
23076 }
23077 Py_INCREF(Py_None); resultobj = Py_None;
23078 return resultobj;
23079 fail:
23080 return NULL;
23081}
23082
23083
23084static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
23085 PyObject *resultobj;
23086 wxWindow *arg1 = (wxWindow *) 0 ;
23087 int arg2 = (int) wxBOTH ;
23088 PyObject * obj0 = 0 ;
994141e6 23089 PyObject * obj1 = 0 ;
d14a1e28
RD
23090 char *kwnames[] = {
23091 (char *) "self",(char *) "dir", NULL
23092 };
23093
994141e6 23094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23097 if (obj1) {
15afbcd0
RD
23098 arg2 = (int) SWIG_AsInt(obj1);
23099 if (PyErr_Occurred()) SWIG_fail;
994141e6 23100 }
d14a1e28
RD
23101 {
23102 PyThreadState* __tstate = wxPyBeginAllowThreads();
23103 (arg1)->CenterOnParent(arg2);
23104
23105 wxPyEndAllowThreads(__tstate);
23106 if (PyErr_Occurred()) SWIG_fail;
23107 }
23108 Py_INCREF(Py_None); resultobj = Py_None;
23109 return resultobj;
23110 fail:
23111 return NULL;
23112}
23113
23114
23115static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
23116 PyObject *resultobj;
23117 wxWindow *arg1 = (wxWindow *) 0 ;
23118 PyObject * obj0 = 0 ;
23119 char *kwnames[] = {
23120 (char *) "self", NULL
23121 };
23122
23123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
15afbcd0
RD
23124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23126 {
23127 PyThreadState* __tstate = wxPyBeginAllowThreads();
23128 (arg1)->Fit();
23129
23130 wxPyEndAllowThreads(__tstate);
23131 if (PyErr_Occurred()) SWIG_fail;
23132 }
23133 Py_INCREF(Py_None); resultobj = Py_None;
23134 return resultobj;
23135 fail:
23136 return NULL;
23137}
23138
23139
23140static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
23141 PyObject *resultobj;
23142 wxWindow *arg1 = (wxWindow *) 0 ;
23143 PyObject * obj0 = 0 ;
23144 char *kwnames[] = {
23145 (char *) "self", NULL
23146 };
23147
23148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
15afbcd0
RD
23149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23151 {
23152 PyThreadState* __tstate = wxPyBeginAllowThreads();
23153 (arg1)->FitInside();
23154
23155 wxPyEndAllowThreads(__tstate);
23156 if (PyErr_Occurred()) SWIG_fail;
23157 }
23158 Py_INCREF(Py_None); resultobj = Py_None;
23159 return resultobj;
23160 fail:
23161 return NULL;
23162}
23163
23164
f16ab95d 23165static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23166 PyObject *resultobj;
23167 wxWindow *arg1 = (wxWindow *) 0 ;
23168 int arg2 ;
23169 int arg3 ;
23170 int arg4 = (int) -1 ;
23171 int arg5 = (int) -1 ;
23172 int arg6 = (int) -1 ;
23173 int arg7 = (int) -1 ;
23174 PyObject * obj0 = 0 ;
994141e6
RD
23175 PyObject * obj1 = 0 ;
23176 PyObject * obj2 = 0 ;
23177 PyObject * obj3 = 0 ;
23178 PyObject * obj4 = 0 ;
23179 PyObject * obj5 = 0 ;
23180 PyObject * obj6 = 0 ;
f16ab95d
RD
23181 char *kwnames[] = {
23182 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23183 };
d14a1e28 23184
f16ab95d 23185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
23186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23188 arg2 = (int) SWIG_AsInt(obj1);
23189 if (PyErr_Occurred()) SWIG_fail;
23190 arg3 = (int) SWIG_AsInt(obj2);
23191 if (PyErr_Occurred()) SWIG_fail;
994141e6 23192 if (obj3) {
15afbcd0
RD
23193 arg4 = (int) SWIG_AsInt(obj3);
23194 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23195 }
23196 if (obj4) {
15afbcd0
RD
23197 arg5 = (int) SWIG_AsInt(obj4);
23198 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23199 }
23200 if (obj5) {
15afbcd0
RD
23201 arg6 = (int) SWIG_AsInt(obj5);
23202 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23203 }
23204 if (obj6) {
15afbcd0
RD
23205 arg7 = (int) SWIG_AsInt(obj6);
23206 if (PyErr_Occurred()) SWIG_fail;
994141e6 23207 }
d14a1e28
RD
23208 {
23209 PyThreadState* __tstate = wxPyBeginAllowThreads();
23210 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
23211
23212 wxPyEndAllowThreads(__tstate);
23213 if (PyErr_Occurred()) SWIG_fail;
23214 }
23215 Py_INCREF(Py_None); resultobj = Py_None;
23216 return resultobj;
23217 fail:
23218 return NULL;
23219}
23220
23221
f16ab95d 23222static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23223 PyObject *resultobj;
23224 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
23225 wxSize *arg2 = 0 ;
23226 wxSize const &arg3_defvalue = wxDefaultSize ;
23227 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
f16ab95d
RD
23228 wxSize const &arg4_defvalue = wxDefaultSize ;
23229 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
908b74cd
RD
23230 wxSize temp2 ;
23231 wxSize temp3 ;
f16ab95d 23232 wxSize temp4 ;
d14a1e28 23233 PyObject * obj0 = 0 ;
994141e6
RD
23234 PyObject * obj1 = 0 ;
23235 PyObject * obj2 = 0 ;
f16ab95d
RD
23236 PyObject * obj3 = 0 ;
23237 char *kwnames[] = {
23238 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23239 };
d14a1e28 23240
f16ab95d 23241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
23242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
908b74cd
RD
23244 {
23245 arg2 = &temp2;
23246 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
994141e6 23247 }
908b74cd
RD
23248 if (obj2) {
23249 {
23250 arg3 = &temp3;
23251 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23252 }
994141e6 23253 }
f16ab95d
RD
23254 if (obj3) {
23255 {
23256 arg4 = &temp4;
23257 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23258 }
23259 }
d14a1e28
RD
23260 {
23261 PyThreadState* __tstate = wxPyBeginAllowThreads();
f16ab95d 23262 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
d14a1e28
RD
23263
23264 wxPyEndAllowThreads(__tstate);
23265 if (PyErr_Occurred()) SWIG_fail;
23266 }
23267 Py_INCREF(Py_None); resultobj = Py_None;
23268 return resultobj;
23269 fail:
23270 return NULL;
23271}
23272
23273
f16ab95d 23274static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
23275 PyObject *resultobj;
23276 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
23277 int arg2 ;
23278 int arg3 ;
23279 int arg4 = (int) -1 ;
23280 int arg5 = (int) -1 ;
74a57fcd
RD
23281 PyObject * obj0 = 0 ;
23282 PyObject * obj1 = 0 ;
23283 PyObject * obj2 = 0 ;
908b74cd
RD
23284 PyObject * obj3 = 0 ;
23285 PyObject * obj4 = 0 ;
f16ab95d
RD
23286 char *kwnames[] = {
23287 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23288 };
74a57fcd 23289
f16ab95d 23290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
74a57fcd
RD
23291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
908b74cd
RD
23293 arg2 = (int) SWIG_AsInt(obj1);
23294 if (PyErr_Occurred()) SWIG_fail;
23295 arg3 = (int) SWIG_AsInt(obj2);
23296 if (PyErr_Occurred()) SWIG_fail;
23297 if (obj3) {
23298 arg4 = (int) SWIG_AsInt(obj3);
23299 if (PyErr_Occurred()) SWIG_fail;
74a57fcd 23300 }
908b74cd
RD
23301 if (obj4) {
23302 arg5 = (int) SWIG_AsInt(obj4);
23303 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
23304 }
23305 {
23306 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23307 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
74a57fcd
RD
23308
23309 wxPyEndAllowThreads(__tstate);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 }
23312 Py_INCREF(Py_None); resultobj = Py_None;
23313 return resultobj;
23314 fail:
23315 return NULL;
23316}
23317
23318
f16ab95d
RD
23319static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *self, PyObject *args, PyObject *kwargs) {
23320 PyObject *resultobj;
23321 wxWindow *arg1 = (wxWindow *) 0 ;
23322 wxSize *arg2 = 0 ;
23323 wxSize const &arg3_defvalue = wxDefaultSize ;
23324 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23325 wxSize temp2 ;
23326 wxSize temp3 ;
23327 PyObject * obj0 = 0 ;
23328 PyObject * obj1 = 0 ;
23329 PyObject * obj2 = 0 ;
23330 char *kwnames[] = {
23331 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23332 };
74a57fcd 23333
f16ab95d
RD
23334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames,&obj0,&obj1,&obj2)) goto fail;
23335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23337 {
23338 arg2 = &temp2;
23339 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
74a57fcd 23340 }
f16ab95d 23341 if (obj2) {
74a57fcd 23342 {
f16ab95d
RD
23343 arg3 = &temp3;
23344 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
74a57fcd
RD
23345 }
23346 }
f16ab95d
RD
23347 {
23348 PyThreadState* __tstate = wxPyBeginAllowThreads();
23349 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
23350
23351 wxPyEndAllowThreads(__tstate);
23352 if (PyErr_Occurred()) SWIG_fail;
74a57fcd 23353 }
f16ab95d
RD
23354 Py_INCREF(Py_None); resultobj = Py_None;
23355 return resultobj;
23356 fail:
74a57fcd
RD
23357 return NULL;
23358}
23359
23360
908b74cd 23361static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23362 PyObject *resultobj;
23363 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23364 wxSize result;
d14a1e28
RD
23365 PyObject * obj0 = 0 ;
23366 char *kwnames[] = {
23367 (char *) "self", NULL
23368 };
23369
908b74cd 23370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23373 {
23374 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23375 result = ((wxWindow const *)arg1)->GetMaxSize();
d14a1e28
RD
23376
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
908b74cd
RD
23380 {
23381 wxSize * resultptr;
23382 resultptr = new wxSize((wxSize &) result);
23383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23384 }
d14a1e28
RD
23385 return resultobj;
23386 fail:
23387 return NULL;
23388}
23389
23390
908b74cd 23391static PyObject *_wrap_Window_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23392 PyObject *resultobj;
23393 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23394 wxSize result;
d14a1e28
RD
23395 PyObject * obj0 = 0 ;
23396 char *kwnames[] = {
23397 (char *) "self", NULL
23398 };
23399
908b74cd 23400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23405 result = ((wxWindow const *)arg1)->GetMinSize();
d14a1e28
RD
23406
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
908b74cd
RD
23410 {
23411 wxSize * resultptr;
23412 resultptr = new wxSize((wxSize &) result);
23413 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23414 }
d14a1e28
RD
23415 return resultobj;
23416 fail:
23417 return NULL;
23418}
23419
23420
908b74cd
RD
23421static PyObject *_wrap_Window_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23422 PyObject *resultobj;
23423 wxWindow *arg1 = (wxWindow *) 0 ;
23424 wxSize *arg2 = 0 ;
23425 wxSize temp2 ;
23426 PyObject * obj0 = 0 ;
23427 PyObject * obj1 = 0 ;
23428 char *kwnames[] = {
23429 (char *) "self",(char *) "minSize", NULL
23430 };
23431
23432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
23433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23435 {
23436 arg2 = &temp2;
23437 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23438 }
23439 {
23440 PyThreadState* __tstate = wxPyBeginAllowThreads();
23441 (arg1)->SetMinSize((wxSize const &)*arg2);
23442
23443 wxPyEndAllowThreads(__tstate);
23444 if (PyErr_Occurred()) SWIG_fail;
23445 }
23446 Py_INCREF(Py_None); resultobj = Py_None;
23447 return resultobj;
23448 fail:
23449 return NULL;
23450}
23451
23452
23453static PyObject *_wrap_Window_SetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23454 PyObject *resultobj;
23455 wxWindow *arg1 = (wxWindow *) 0 ;
23456 wxSize *arg2 = 0 ;
23457 wxSize temp2 ;
23458 PyObject * obj0 = 0 ;
23459 PyObject * obj1 = 0 ;
23460 char *kwnames[] = {
23461 (char *) "self",(char *) "maxSize", NULL
23462 };
23463
23464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMaxSize",kwnames,&obj0,&obj1)) goto fail;
23465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23467 {
23468 arg2 = &temp2;
23469 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23470 }
23471 {
23472 PyThreadState* __tstate = wxPyBeginAllowThreads();
23473 (arg1)->SetMaxSize((wxSize const &)*arg2);
23474
23475 wxPyEndAllowThreads(__tstate);
23476 if (PyErr_Occurred()) SWIG_fail;
23477 }
23478 Py_INCREF(Py_None); resultobj = Py_None;
23479 return resultobj;
23480 fail:
23481 return NULL;
23482}
23483
23484
23485static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23486 PyObject *resultobj;
23487 wxWindow *arg1 = (wxWindow *) 0 ;
23488 int result;
23489 PyObject * obj0 = 0 ;
23490 char *kwnames[] = {
23491 (char *) "self", NULL
23492 };
23493
908b74cd 23494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
23495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23497 {
23498 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23499 result = (int)((wxWindow const *)arg1)->GetMinWidth();
d14a1e28
RD
23500
23501 wxPyEndAllowThreads(__tstate);
23502 if (PyErr_Occurred()) SWIG_fail;
23503 }
15afbcd0 23504 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23505 return resultobj;
23506 fail:
23507 return NULL;
23508}
23509
23510
908b74cd 23511static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23512 PyObject *resultobj;
23513 wxWindow *arg1 = (wxWindow *) 0 ;
23514 int result;
23515 PyObject * obj0 = 0 ;
23516 char *kwnames[] = {
23517 (char *) "self", NULL
23518 };
23519
908b74cd 23520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
23521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23525 result = (int)((wxWindow const *)arg1)->GetMinHeight();
d14a1e28
RD
23526
23527 wxPyEndAllowThreads(__tstate);
23528 if (PyErr_Occurred()) SWIG_fail;
23529 }
15afbcd0 23530 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23531 return resultobj;
23532 fail:
23533 return NULL;
23534}
23535
23536
908b74cd 23537static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23538 PyObject *resultobj;
23539 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23540 int result;
d14a1e28
RD
23541 PyObject * obj0 = 0 ;
23542 char *kwnames[] = {
23543 (char *) "self", NULL
23544 };
23545
908b74cd 23546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
23547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23549 {
23550 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23551 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
d14a1e28
RD
23552
23553 wxPyEndAllowThreads(__tstate);
23554 if (PyErr_Occurred()) SWIG_fail;
23555 }
908b74cd 23556 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23557 return resultobj;
23558 fail:
23559 return NULL;
23560}
23561
23562
908b74cd 23563static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
23564 PyObject *resultobj;
23565 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23566 int result;
74a57fcd
RD
23567 PyObject * obj0 = 0 ;
23568 char *kwnames[] = {
23569 (char *) "self", NULL
23570 };
23571
908b74cd 23572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
74a57fcd
RD
23573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23575 {
23576 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23577 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
74a57fcd
RD
23578
23579 wxPyEndAllowThreads(__tstate);
23580 if (PyErr_Occurred()) SWIG_fail;
23581 }
908b74cd 23582 resultobj = SWIG_FromInt((int)result);
74a57fcd
RD
23583 return resultobj;
23584 fail:
23585 return NULL;
23586}
23587
23588
d14a1e28
RD
23589static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23590 PyObject *resultobj;
23591 wxWindow *arg1 = (wxWindow *) 0 ;
23592 wxSize *arg2 = 0 ;
23593 wxSize temp2 ;
23594 PyObject * obj0 = 0 ;
23595 PyObject * obj1 = 0 ;
23596 char *kwnames[] = {
23597 (char *) "self",(char *) "size", NULL
23598 };
23599
23600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23603 {
23604 arg2 = &temp2;
23605 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23606 }
23607 {
23608 PyThreadState* __tstate = wxPyBeginAllowThreads();
23609 (arg1)->SetVirtualSize((wxSize const &)*arg2);
23610
23611 wxPyEndAllowThreads(__tstate);
23612 if (PyErr_Occurred()) SWIG_fail;
23613 }
23614 Py_INCREF(Py_None); resultobj = Py_None;
23615 return resultobj;
23616 fail:
23617 return NULL;
23618}
23619
23620
23621static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
23622 PyObject *resultobj;
23623 wxWindow *arg1 = (wxWindow *) 0 ;
23624 int arg2 ;
23625 int arg3 ;
23626 PyObject * obj0 = 0 ;
994141e6
RD
23627 PyObject * obj1 = 0 ;
23628 PyObject * obj2 = 0 ;
d14a1e28
RD
23629 char *kwnames[] = {
23630 (char *) "self",(char *) "w",(char *) "h", NULL
23631 };
23632
994141e6 23633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23636 arg2 = (int) SWIG_AsInt(obj1);
23637 if (PyErr_Occurred()) SWIG_fail;
23638 arg3 = (int) SWIG_AsInt(obj2);
23639 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 (arg1)->SetVirtualSize(arg2,arg3);
23643
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 Py_INCREF(Py_None); resultobj = Py_None;
23648 return resultobj;
23649 fail:
23650 return NULL;
23651}
23652
23653
23654static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23655 PyObject *resultobj;
23656 wxWindow *arg1 = (wxWindow *) 0 ;
23657 wxSize result;
23658 PyObject * obj0 = 0 ;
23659 char *kwnames[] = {
23660 (char *) "self", NULL
23661 };
23662
23663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23666 {
23667 PyThreadState* __tstate = wxPyBeginAllowThreads();
23668 result = ((wxWindow const *)arg1)->GetVirtualSize();
23669
23670 wxPyEndAllowThreads(__tstate);
23671 if (PyErr_Occurred()) SWIG_fail;
23672 }
23673 {
23674 wxSize * resultptr;
23675 resultptr = new wxSize((wxSize &) result);
15afbcd0 23676 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23677 }
23678 return resultobj;
23679 fail:
23680 return NULL;
23681}
23682
23683
23684static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
23685 PyObject *resultobj;
23686 wxWindow *arg1 = (wxWindow *) 0 ;
23687 int *arg2 = (int *) 0 ;
23688 int *arg3 = (int *) 0 ;
23689 int temp2 ;
23690 int temp3 ;
23691 PyObject * obj0 = 0 ;
23692 char *kwnames[] = {
23693 (char *) "self", NULL
23694 };
23695
23696 arg2 = &temp2;
23697 arg3 = &temp3;
23698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
23699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
23704
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
23708 Py_INCREF(Py_None); resultobj = Py_None;
23709 {
23710 PyObject *o = PyInt_FromLong((long) (*arg2));
23711 resultobj = t_output_helper(resultobj,o);
23712 }
23713 {
23714 PyObject *o = PyInt_FromLong((long) (*arg3));
23715 resultobj = t_output_helper(resultobj,o);
23716 }
23717 return resultobj;
23718 fail:
23719 return NULL;
23720}
23721
23722
23723static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23724 PyObject *resultobj;
23725 wxWindow *arg1 = (wxWindow *) 0 ;
23726 wxSize result;
23727 PyObject * obj0 = 0 ;
23728 char *kwnames[] = {
23729 (char *) "self", NULL
23730 };
23731
23732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23735 {
23736 PyThreadState* __tstate = wxPyBeginAllowThreads();
23737 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
23738
23739 wxPyEndAllowThreads(__tstate);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 }
23742 {
23743 wxSize * resultptr;
23744 resultptr = new wxSize((wxSize &) result);
15afbcd0 23745 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23746 }
23747 return resultobj;
23748 fail:
23749 return NULL;
23750}
23751
23752
23753static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
23754 PyObject *resultobj;
23755 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23756 bool arg2 = (bool) True ;
d14a1e28
RD
23757 bool result;
23758 PyObject * obj0 = 0 ;
23759 PyObject * obj1 = 0 ;
23760 char *kwnames[] = {
23761 (char *) "self",(char *) "show", NULL
23762 };
23763
23764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23767 if (obj1) {
15afbcd0
RD
23768 arg2 = (bool) SWIG_AsBool(obj1);
23769 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23770 }
23771 {
23772 PyThreadState* __tstate = wxPyBeginAllowThreads();
23773 result = (bool)(arg1)->Show(arg2);
23774
23775 wxPyEndAllowThreads(__tstate);
23776 if (PyErr_Occurred()) SWIG_fail;
23777 }
4f89f6a3
RD
23778 {
23779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23780 }
d14a1e28
RD
23781 return resultobj;
23782 fail:
23783 return NULL;
23784}
23785
23786
23787static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
23788 PyObject *resultobj;
23789 wxWindow *arg1 = (wxWindow *) 0 ;
23790 bool result;
23791 PyObject * obj0 = 0 ;
23792 char *kwnames[] = {
23793 (char *) "self", NULL
23794 };
23795
23796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
23797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23799 {
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 result = (bool)(arg1)->Hide();
23802
23803 wxPyEndAllowThreads(__tstate);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
4f89f6a3
RD
23806 {
23807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23808 }
d14a1e28
RD
23809 return resultobj;
23810 fail:
23811 return NULL;
23812}
23813
23814
23815static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
23816 PyObject *resultobj;
23817 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23818 bool arg2 = (bool) True ;
d14a1e28
RD
23819 bool result;
23820 PyObject * obj0 = 0 ;
23821 PyObject * obj1 = 0 ;
23822 char *kwnames[] = {
23823 (char *) "self",(char *) "enable", NULL
23824 };
23825
23826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23829 if (obj1) {
15afbcd0
RD
23830 arg2 = (bool) SWIG_AsBool(obj1);
23831 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23832 }
23833 {
23834 PyThreadState* __tstate = wxPyBeginAllowThreads();
23835 result = (bool)(arg1)->Enable(arg2);
23836
23837 wxPyEndAllowThreads(__tstate);
23838 if (PyErr_Occurred()) SWIG_fail;
23839 }
4f89f6a3
RD
23840 {
23841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23842 }
d14a1e28
RD
23843 return resultobj;
23844 fail:
23845 return NULL;
23846}
23847
23848
23849static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
23850 PyObject *resultobj;
23851 wxWindow *arg1 = (wxWindow *) 0 ;
23852 bool result;
23853 PyObject * obj0 = 0 ;
23854 char *kwnames[] = {
23855 (char *) "self", NULL
23856 };
23857
23858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
15afbcd0
RD
23859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23861 {
23862 PyThreadState* __tstate = wxPyBeginAllowThreads();
23863 result = (bool)(arg1)->Disable();
23864
23865 wxPyEndAllowThreads(__tstate);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
4f89f6a3
RD
23868 {
23869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23870 }
d14a1e28
RD
23871 return resultobj;
23872 fail:
23873 return NULL;
23874}
23875
23876
23877static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
23878 PyObject *resultobj;
23879 wxWindow *arg1 = (wxWindow *) 0 ;
23880 bool result;
23881 PyObject * obj0 = 0 ;
23882 char *kwnames[] = {
23883 (char *) "self", NULL
23884 };
23885
23886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
23887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23889 {
23890 PyThreadState* __tstate = wxPyBeginAllowThreads();
23891 result = (bool)((wxWindow const *)arg1)->IsShown();
23892
23893 wxPyEndAllowThreads(__tstate);
23894 if (PyErr_Occurred()) SWIG_fail;
23895 }
4f89f6a3
RD
23896 {
23897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23898 }
d14a1e28
RD
23899 return resultobj;
23900 fail:
23901 return NULL;
23902}
23903
23904
23905static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
23906 PyObject *resultobj;
23907 wxWindow *arg1 = (wxWindow *) 0 ;
23908 bool result;
23909 PyObject * obj0 = 0 ;
23910 char *kwnames[] = {
23911 (char *) "self", NULL
23912 };
23913
23914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
23915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23917 {
23918 PyThreadState* __tstate = wxPyBeginAllowThreads();
23919 result = (bool)((wxWindow const *)arg1)->IsEnabled();
23920
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
4f89f6a3
RD
23924 {
23925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23926 }
d14a1e28
RD
23927 return resultobj;
23928 fail:
23929 return NULL;
23930}
23931
23932
23933static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23934 PyObject *resultobj;
23935 wxWindow *arg1 = (wxWindow *) 0 ;
23936 long arg2 ;
23937 PyObject * obj0 = 0 ;
994141e6 23938 PyObject * obj1 = 0 ;
d14a1e28
RD
23939 char *kwnames[] = {
23940 (char *) "self",(char *) "style", NULL
23941 };
23942
994141e6 23943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23946 arg2 = (long) SWIG_AsLong(obj1);
23947 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23948 {
23949 PyThreadState* __tstate = wxPyBeginAllowThreads();
23950 (arg1)->SetWindowStyleFlag(arg2);
23951
23952 wxPyEndAllowThreads(__tstate);
23953 if (PyErr_Occurred()) SWIG_fail;
23954 }
23955 Py_INCREF(Py_None); resultobj = Py_None;
23956 return resultobj;
23957 fail:
23958 return NULL;
23959}
23960
23961
23962static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23963 PyObject *resultobj;
23964 wxWindow *arg1 = (wxWindow *) 0 ;
23965 long result;
23966 PyObject * obj0 = 0 ;
23967 char *kwnames[] = {
23968 (char *) "self", NULL
23969 };
23970
23971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
23972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23974 {
23975 PyThreadState* __tstate = wxPyBeginAllowThreads();
23976 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
23977
23978 wxPyEndAllowThreads(__tstate);
23979 if (PyErr_Occurred()) SWIG_fail;
23980 }
15afbcd0 23981 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23982 return resultobj;
23983 fail:
23984 return NULL;
23985}
23986
23987
23988static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23989 PyObject *resultobj;
23990 wxWindow *arg1 = (wxWindow *) 0 ;
23991 int arg2 ;
23992 bool result;
23993 PyObject * obj0 = 0 ;
994141e6 23994 PyObject * obj1 = 0 ;
d14a1e28
RD
23995 char *kwnames[] = {
23996 (char *) "self",(char *) "flag", NULL
23997 };
23998
994141e6 23999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24002 arg2 = (int) SWIG_AsInt(obj1);
24003 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24004 {
24005 PyThreadState* __tstate = wxPyBeginAllowThreads();
24006 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
24007
24008 wxPyEndAllowThreads(__tstate);
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
4f89f6a3
RD
24011 {
24012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24013 }
d14a1e28
RD
24014 return resultobj;
24015 fail:
24016 return NULL;
24017}
24018
24019
24020static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
24021 PyObject *resultobj;
24022 wxWindow *arg1 = (wxWindow *) 0 ;
24023 bool result;
24024 PyObject * obj0 = 0 ;
24025 char *kwnames[] = {
24026 (char *) "self", NULL
24027 };
24028
24029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
15afbcd0
RD
24030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 result = (bool)((wxWindow const *)arg1)->IsRetained();
24035
24036 wxPyEndAllowThreads(__tstate);
24037 if (PyErr_Occurred()) SWIG_fail;
24038 }
4f89f6a3
RD
24039 {
24040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24041 }
d14a1e28
RD
24042 return resultobj;
24043 fail:
24044 return NULL;
24045}
24046
24047
24048static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
24049 PyObject *resultobj;
24050 wxWindow *arg1 = (wxWindow *) 0 ;
24051 long arg2 ;
24052 PyObject * obj0 = 0 ;
994141e6 24053 PyObject * obj1 = 0 ;
d14a1e28
RD
24054 char *kwnames[] = {
24055 (char *) "self",(char *) "exStyle", NULL
24056 };
24057
994141e6 24058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24061 arg2 = (long) SWIG_AsLong(obj1);
24062 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24063 {
24064 PyThreadState* __tstate = wxPyBeginAllowThreads();
24065 (arg1)->SetExtraStyle(arg2);
24066
24067 wxPyEndAllowThreads(__tstate);
24068 if (PyErr_Occurred()) SWIG_fail;
24069 }
24070 Py_INCREF(Py_None); resultobj = Py_None;
24071 return resultobj;
24072 fail:
24073 return NULL;
24074}
24075
24076
24077static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
24078 PyObject *resultobj;
24079 wxWindow *arg1 = (wxWindow *) 0 ;
24080 long result;
24081 PyObject * obj0 = 0 ;
24082 char *kwnames[] = {
24083 (char *) "self", NULL
24084 };
24085
24086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
24087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24089 {
24090 PyThreadState* __tstate = wxPyBeginAllowThreads();
24091 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
24092
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
15afbcd0 24096 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
24097 return resultobj;
24098 fail:
24099 return NULL;
24100}
24101
24102
24103static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
24104 PyObject *resultobj;
24105 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24106 bool arg2 = (bool) True ;
d14a1e28
RD
24107 PyObject * obj0 = 0 ;
24108 PyObject * obj1 = 0 ;
24109 char *kwnames[] = {
24110 (char *) "self",(char *) "modal", NULL
24111 };
24112
24113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24116 if (obj1) {
15afbcd0
RD
24117 arg2 = (bool) SWIG_AsBool(obj1);
24118 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24119 }
24120 {
24121 PyThreadState* __tstate = wxPyBeginAllowThreads();
24122 (arg1)->MakeModal(arg2);
24123
24124 wxPyEndAllowThreads(__tstate);
24125 if (PyErr_Occurred()) SWIG_fail;
24126 }
24127 Py_INCREF(Py_None); resultobj = Py_None;
24128 return resultobj;
24129 fail:
24130 return NULL;
24131}
24132
24133
24134static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24135 PyObject *resultobj;
24136 wxWindow *arg1 = (wxWindow *) 0 ;
24137 bool arg2 ;
24138 PyObject * obj0 = 0 ;
24139 PyObject * obj1 = 0 ;
24140 char *kwnames[] = {
24141 (char *) "self",(char *) "enableTheme", NULL
24142 };
24143
24144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24147 arg2 = (bool) SWIG_AsBool(obj1);
24148 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24149 {
24150 PyThreadState* __tstate = wxPyBeginAllowThreads();
24151 (arg1)->SetThemeEnabled(arg2);
24152
24153 wxPyEndAllowThreads(__tstate);
24154 if (PyErr_Occurred()) SWIG_fail;
24155 }
24156 Py_INCREF(Py_None); resultobj = Py_None;
24157 return resultobj;
24158 fail:
24159 return NULL;
24160}
24161
24162
24163static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24164 PyObject *resultobj;
24165 wxWindow *arg1 = (wxWindow *) 0 ;
24166 bool result;
24167 PyObject * obj0 = 0 ;
24168 char *kwnames[] = {
24169 (char *) "self", NULL
24170 };
24171
24172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
24173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24175 {
24176 PyThreadState* __tstate = wxPyBeginAllowThreads();
24177 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
24178
24179 wxPyEndAllowThreads(__tstate);
24180 if (PyErr_Occurred()) SWIG_fail;
24181 }
4f89f6a3
RD
24182 {
24183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24184 }
d14a1e28
RD
24185 return resultobj;
24186 fail:
24187 return NULL;
24188}
24189
24190
d14a1e28
RD
24191static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24192 PyObject *resultobj;
24193 wxWindow *arg1 = (wxWindow *) 0 ;
24194 PyObject * obj0 = 0 ;
24195 char *kwnames[] = {
24196 (char *) "self", NULL
24197 };
24198
24199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
24200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24202 {
24203 PyThreadState* __tstate = wxPyBeginAllowThreads();
24204 (arg1)->SetFocus();
24205
24206 wxPyEndAllowThreads(__tstate);
24207 if (PyErr_Occurred()) SWIG_fail;
24208 }
24209 Py_INCREF(Py_None); resultobj = Py_None;
24210 return resultobj;
24211 fail:
24212 return NULL;
24213}
24214
24215
24216static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
24217 PyObject *resultobj;
24218 wxWindow *arg1 = (wxWindow *) 0 ;
24219 PyObject * obj0 = 0 ;
24220 char *kwnames[] = {
24221 (char *) "self", NULL
24222 };
24223
24224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
15afbcd0
RD
24225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24227 {
24228 PyThreadState* __tstate = wxPyBeginAllowThreads();
24229 (arg1)->SetFocusFromKbd();
24230
24231 wxPyEndAllowThreads(__tstate);
24232 if (PyErr_Occurred()) SWIG_fail;
24233 }
24234 Py_INCREF(Py_None); resultobj = Py_None;
24235 return resultobj;
24236 fail:
24237 return NULL;
24238}
24239
24240
24241static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24242 PyObject *resultobj;
24243 wxWindow *result;
24244 char *kwnames[] = {
24245 NULL
24246 };
24247
24248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
24249 {
e3b71cb8 24250 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24251 PyThreadState* __tstate = wxPyBeginAllowThreads();
24252 result = (wxWindow *)wxWindow::FindFocus();
24253
24254 wxPyEndAllowThreads(__tstate);
110da5b0 24255 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24256 }
24257 {
412d302d 24258 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24259 }
24260 return resultobj;
24261 fail:
24262 return NULL;
24263}
24264
24265
24266static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24267 PyObject *resultobj;
24268 wxWindow *arg1 = (wxWindow *) 0 ;
24269 bool result;
24270 PyObject * obj0 = 0 ;
24271 char *kwnames[] = {
24272 (char *) "self", NULL
24273 };
24274
24275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
24276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24278 {
24279 PyThreadState* __tstate = wxPyBeginAllowThreads();
24280 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
24281
24282 wxPyEndAllowThreads(__tstate);
24283 if (PyErr_Occurred()) SWIG_fail;
24284 }
4f89f6a3
RD
24285 {
24286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24287 }
d14a1e28
RD
24288 return resultobj;
24289 fail:
24290 return NULL;
24291}
24292
24293
24294static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24295 PyObject *resultobj;
24296 wxWindow *arg1 = (wxWindow *) 0 ;
24297 bool result;
24298 PyObject * obj0 = 0 ;
24299 char *kwnames[] = {
24300 (char *) "self", NULL
24301 };
24302
24303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
24304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24306 {
24307 PyThreadState* __tstate = wxPyBeginAllowThreads();
24308 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
24309
24310 wxPyEndAllowThreads(__tstate);
24311 if (PyErr_Occurred()) SWIG_fail;
24312 }
4f89f6a3
RD
24313 {
24314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24315 }
d14a1e28
RD
24316 return resultobj;
24317 fail:
24318 return NULL;
24319}
24320
24321
24322static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24323 PyObject *resultobj;
24324 wxWindow *arg1 = (wxWindow *) 0 ;
24325 wxWindow *result;
24326 PyObject * obj0 = 0 ;
24327 char *kwnames[] = {
24328 (char *) "self", NULL
24329 };
24330
24331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
24332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24334 {
24335 PyThreadState* __tstate = wxPyBeginAllowThreads();
24336 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
24337
24338 wxPyEndAllowThreads(__tstate);
24339 if (PyErr_Occurred()) SWIG_fail;
24340 }
24341 {
412d302d 24342 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24343 }
24344 return resultobj;
24345 fail:
24346 return NULL;
24347}
24348
24349
24350static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24351 PyObject *resultobj;
24352 wxWindow *arg1 = (wxWindow *) 0 ;
24353 wxWindow *arg2 = (wxWindow *) 0 ;
24354 wxWindow *result;
24355 PyObject * obj0 = 0 ;
24356 PyObject * obj1 = 0 ;
24357 char *kwnames[] = {
24358 (char *) "self",(char *) "child", NULL
24359 };
24360
24361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24364 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24366 {
24367 PyThreadState* __tstate = wxPyBeginAllowThreads();
24368 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
24369
24370 wxPyEndAllowThreads(__tstate);
24371 if (PyErr_Occurred()) SWIG_fail;
24372 }
24373 {
412d302d 24374 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24375 }
24376 return resultobj;
24377 fail:
24378 return NULL;
24379}
24380
24381
24382static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24383 PyObject *resultobj;
24384 wxWindow *arg1 = (wxWindow *) 0 ;
24385 wxWindow *arg2 = (wxWindow *) 0 ;
24386 PyObject * obj0 = 0 ;
24387 PyObject * obj1 = 0 ;
24388 char *kwnames[] = {
24389 (char *) "self",(char *) "win", NULL
24390 };
24391
24392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24397 {
24398 PyThreadState* __tstate = wxPyBeginAllowThreads();
24399 (arg1)->SetTmpDefaultItem(arg2);
24400
24401 wxPyEndAllowThreads(__tstate);
24402 if (PyErr_Occurred()) SWIG_fail;
24403 }
24404 Py_INCREF(Py_None); resultobj = Py_None;
24405 return resultobj;
24406 fail:
24407 return NULL;
24408}
24409
24410
908b74cd
RD
24411static PyObject *_wrap_Window_Navigate(PyObject *self, PyObject *args, PyObject *kwargs) {
24412 PyObject *resultobj;
24413 wxWindow *arg1 = (wxWindow *) 0 ;
24414 int arg2 = (int) wxNavigationKeyEvent::IsForward ;
24415 bool result;
24416 PyObject * obj0 = 0 ;
24417 PyObject * obj1 = 0 ;
24418 char *kwnames[] = {
24419 (char *) "self",(char *) "flags", NULL
24420 };
24421
24422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Navigate",kwnames,&obj0,&obj1)) goto fail;
24423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24425 if (obj1) {
24426 arg2 = (int) SWIG_AsInt(obj1);
24427 if (PyErr_Occurred()) SWIG_fail;
24428 }
24429 {
24430 PyThreadState* __tstate = wxPyBeginAllowThreads();
24431 result = (bool)(arg1)->Navigate(arg2);
24432
24433 wxPyEndAllowThreads(__tstate);
24434 if (PyErr_Occurred()) SWIG_fail;
24435 }
24436 {
24437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24438 }
24439 return resultobj;
24440 fail:
24441 return NULL;
24442}
24443
24444
7f98d120
RD
24445static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *self, PyObject *args, PyObject *kwargs) {
24446 PyObject *resultobj;
24447 wxWindow *arg1 = (wxWindow *) 0 ;
24448 wxWindow *arg2 = (wxWindow *) 0 ;
24449 PyObject * obj0 = 0 ;
24450 PyObject * obj1 = 0 ;
24451 char *kwnames[] = {
24452 (char *) "self",(char *) "win", NULL
24453 };
24454
24455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveAfterInTabOrder",kwnames,&obj0,&obj1)) goto fail;
24456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24458 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24460 {
24461 PyThreadState* __tstate = wxPyBeginAllowThreads();
24462 (arg1)->MoveAfterInTabOrder(arg2);
24463
24464 wxPyEndAllowThreads(__tstate);
24465 if (PyErr_Occurred()) SWIG_fail;
24466 }
24467 Py_INCREF(Py_None); resultobj = Py_None;
24468 return resultobj;
24469 fail:
24470 return NULL;
24471}
24472
24473
24474static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *self, PyObject *args, PyObject *kwargs) {
24475 PyObject *resultobj;
24476 wxWindow *arg1 = (wxWindow *) 0 ;
24477 wxWindow *arg2 = (wxWindow *) 0 ;
24478 PyObject * obj0 = 0 ;
24479 PyObject * obj1 = 0 ;
24480 char *kwnames[] = {
24481 (char *) "self",(char *) "win", NULL
24482 };
24483
24484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames,&obj0,&obj1)) goto fail;
24485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24487 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24489 {
24490 PyThreadState* __tstate = wxPyBeginAllowThreads();
24491 (arg1)->MoveBeforeInTabOrder(arg2);
24492
24493 wxPyEndAllowThreads(__tstate);
24494 if (PyErr_Occurred()) SWIG_fail;
24495 }
24496 Py_INCREF(Py_None); resultobj = Py_None;
24497 return resultobj;
24498 fail:
24499 return NULL;
24500}
24501
24502
d14a1e28
RD
24503static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24504 PyObject *resultobj;
24505 wxWindow *arg1 = (wxWindow *) 0 ;
24506 PyObject *result;
24507 PyObject * obj0 = 0 ;
24508 char *kwnames[] = {
24509 (char *) "self", NULL
24510 };
24511
24512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
24513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24515 {
24516 PyThreadState* __tstate = wxPyBeginAllowThreads();
24517 result = (PyObject *)wxWindow_GetChildren(arg1);
24518
24519 wxPyEndAllowThreads(__tstate);
24520 if (PyErr_Occurred()) SWIG_fail;
24521 }
24522 resultobj = result;
24523 return resultobj;
24524 fail:
24525 return NULL;
24526}
24527
24528
24529static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24530 PyObject *resultobj;
24531 wxWindow *arg1 = (wxWindow *) 0 ;
24532 wxWindow *result;
24533 PyObject * obj0 = 0 ;
24534 char *kwnames[] = {
24535 (char *) "self", NULL
24536 };
24537
24538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
24539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24541 {
24542 PyThreadState* __tstate = wxPyBeginAllowThreads();
24543 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
24544
24545 wxPyEndAllowThreads(__tstate);
24546 if (PyErr_Occurred()) SWIG_fail;
24547 }
24548 {
412d302d 24549 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24550 }
24551 return resultobj;
24552 fail:
24553 return NULL;
24554}
24555
24556
24557static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24558 PyObject *resultobj;
24559 wxWindow *arg1 = (wxWindow *) 0 ;
24560 wxWindow *result;
24561 PyObject * obj0 = 0 ;
24562 char *kwnames[] = {
24563 (char *) "self", NULL
24564 };
24565
24566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
24567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24569 {
24570 PyThreadState* __tstate = wxPyBeginAllowThreads();
24571 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
24572
24573 wxPyEndAllowThreads(__tstate);
24574 if (PyErr_Occurred()) SWIG_fail;
24575 }
24576 {
412d302d 24577 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24578 }
24579 return resultobj;
24580 fail:
24581 return NULL;
24582}
24583
24584
24585static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
24586 PyObject *resultobj;
24587 wxWindow *arg1 = (wxWindow *) 0 ;
24588 bool result;
24589 PyObject * obj0 = 0 ;
24590 char *kwnames[] = {
24591 (char *) "self", NULL
24592 };
24593
24594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
15afbcd0
RD
24595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24597 {
24598 PyThreadState* __tstate = wxPyBeginAllowThreads();
24599 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
24600
24601 wxPyEndAllowThreads(__tstate);
24602 if (PyErr_Occurred()) SWIG_fail;
24603 }
4f89f6a3
RD
24604 {
24605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24606 }
d14a1e28
RD
24607 return resultobj;
24608 fail:
24609 return NULL;
24610}
24611
24612
24613static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
24614 PyObject *resultobj;
24615 wxWindow *arg1 = (wxWindow *) 0 ;
24616 wxWindow *arg2 = (wxWindow *) 0 ;
24617 bool result;
24618 PyObject * obj0 = 0 ;
24619 PyObject * obj1 = 0 ;
24620 char *kwnames[] = {
24621 (char *) "self",(char *) "newParent", NULL
24622 };
24623
24624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24629 {
24630 PyThreadState* __tstate = wxPyBeginAllowThreads();
24631 result = (bool)(arg1)->Reparent(arg2);
24632
24633 wxPyEndAllowThreads(__tstate);
24634 if (PyErr_Occurred()) SWIG_fail;
24635 }
4f89f6a3
RD
24636 {
24637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24638 }
d14a1e28
RD
24639 return resultobj;
24640 fail:
24641 return NULL;
24642}
24643
24644
24645static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24646 PyObject *resultobj;
24647 wxWindow *arg1 = (wxWindow *) 0 ;
24648 wxWindow *arg2 = (wxWindow *) 0 ;
24649 PyObject * obj0 = 0 ;
24650 PyObject * obj1 = 0 ;
24651 char *kwnames[] = {
24652 (char *) "self",(char *) "child", NULL
24653 };
24654
24655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24660 {
24661 PyThreadState* __tstate = wxPyBeginAllowThreads();
24662 (arg1)->AddChild(arg2);
24663
24664 wxPyEndAllowThreads(__tstate);
24665 if (PyErr_Occurred()) SWIG_fail;
24666 }
24667 Py_INCREF(Py_None); resultobj = Py_None;
24668 return resultobj;
24669 fail:
24670 return NULL;
24671}
24672
24673
24674static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24675 PyObject *resultobj;
24676 wxWindow *arg1 = (wxWindow *) 0 ;
24677 wxWindow *arg2 = (wxWindow *) 0 ;
24678 PyObject * obj0 = 0 ;
24679 PyObject * obj1 = 0 ;
24680 char *kwnames[] = {
24681 (char *) "self",(char *) "child", NULL
24682 };
24683
24684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24689 {
24690 PyThreadState* __tstate = wxPyBeginAllowThreads();
24691 (arg1)->RemoveChild(arg2);
24692
24693 wxPyEndAllowThreads(__tstate);
24694 if (PyErr_Occurred()) SWIG_fail;
24695 }
24696 Py_INCREF(Py_None); resultobj = Py_None;
24697 return resultobj;
24698 fail:
24699 return NULL;
24700}
24701
24702
24703static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24704 PyObject *resultobj;
24705 wxWindow *arg1 = (wxWindow *) 0 ;
24706 long arg2 ;
24707 wxWindow *result;
24708 PyObject * obj0 = 0 ;
994141e6 24709 PyObject * obj1 = 0 ;
d14a1e28
RD
24710 char *kwnames[] = {
24711 (char *) "self",(char *) "winid", NULL
24712 };
24713
994141e6 24714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",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 arg2 = (long) SWIG_AsLong(obj1);
24718 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24719 {
24720 PyThreadState* __tstate = wxPyBeginAllowThreads();
24721 result = (wxWindow *)(arg1)->FindWindow(arg2);
24722
24723 wxPyEndAllowThreads(__tstate);
24724 if (PyErr_Occurred()) SWIG_fail;
24725 }
24726 {
412d302d 24727 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24728 }
24729 return resultobj;
24730 fail:
24731 return NULL;
24732}
24733
24734
24735static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24736 PyObject *resultobj;
24737 wxWindow *arg1 = (wxWindow *) 0 ;
24738 wxString *arg2 = 0 ;
24739 wxWindow *result;
e811c8ce 24740 bool temp2 = False ;
d14a1e28
RD
24741 PyObject * obj0 = 0 ;
24742 PyObject * obj1 = 0 ;
24743 char *kwnames[] = {
24744 (char *) "self",(char *) "name", NULL
24745 };
24746
24747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) 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 arg2 = wxString_in_helper(obj1);
24752 if (arg2 == NULL) SWIG_fail;
e811c8ce 24753 temp2 = True;
d14a1e28
RD
24754 }
24755 {
24756 PyThreadState* __tstate = wxPyBeginAllowThreads();
24757 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
24758
24759 wxPyEndAllowThreads(__tstate);
24760 if (PyErr_Occurred()) SWIG_fail;
24761 }
24762 {
412d302d 24763 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24764 }
24765 {
24766 if (temp2)
24767 delete arg2;
24768 }
24769 return resultobj;
24770 fail:
24771 {
24772 if (temp2)
24773 delete arg2;
24774 }
24775 return NULL;
24776}
24777
24778
24779static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24780 PyObject *resultobj;
24781 wxWindow *arg1 = (wxWindow *) 0 ;
24782 wxEvtHandler *result;
24783 PyObject * obj0 = 0 ;
24784 char *kwnames[] = {
24785 (char *) "self", NULL
24786 };
24787
24788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
24789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24791 {
24792 PyThreadState* __tstate = wxPyBeginAllowThreads();
24793 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
24794
24795 wxPyEndAllowThreads(__tstate);
24796 if (PyErr_Occurred()) SWIG_fail;
24797 }
24798 {
412d302d 24799 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24800 }
24801 return resultobj;
24802 fail:
24803 return NULL;
24804}
24805
24806
24807static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24808 PyObject *resultobj;
24809 wxWindow *arg1 = (wxWindow *) 0 ;
24810 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24811 PyObject * obj0 = 0 ;
24812 PyObject * obj1 = 0 ;
24813 char *kwnames[] = {
24814 (char *) "self",(char *) "handler", NULL
24815 };
24816
24817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24822 {
24823 PyThreadState* __tstate = wxPyBeginAllowThreads();
24824 (arg1)->SetEventHandler(arg2);
24825
24826 wxPyEndAllowThreads(__tstate);
24827 if (PyErr_Occurred()) SWIG_fail;
24828 }
24829 Py_INCREF(Py_None); resultobj = Py_None;
24830 return resultobj;
24831 fail:
24832 return NULL;
24833}
24834
24835
24836static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24837 PyObject *resultobj;
24838 wxWindow *arg1 = (wxWindow *) 0 ;
24839 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24840 PyObject * obj0 = 0 ;
24841 PyObject * obj1 = 0 ;
24842 char *kwnames[] = {
24843 (char *) "self",(char *) "handler", NULL
24844 };
24845
24846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24851 {
24852 PyThreadState* __tstate = wxPyBeginAllowThreads();
24853 (arg1)->PushEventHandler(arg2);
24854
24855 wxPyEndAllowThreads(__tstate);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
24858 Py_INCREF(Py_None); resultobj = Py_None;
24859 return resultobj;
24860 fail:
24861 return NULL;
24862}
24863
24864
24865static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24866 PyObject *resultobj;
24867 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24868 bool arg2 = (bool) False ;
d14a1e28
RD
24869 wxEvtHandler *result;
24870 PyObject * obj0 = 0 ;
24871 PyObject * obj1 = 0 ;
24872 char *kwnames[] = {
24873 (char *) "self",(char *) "deleteHandler", NULL
24874 };
24875
24876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24879 if (obj1) {
15afbcd0
RD
24880 arg2 = (bool) SWIG_AsBool(obj1);
24881 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24882 }
24883 {
24884 PyThreadState* __tstate = wxPyBeginAllowThreads();
24885 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
24886
24887 wxPyEndAllowThreads(__tstate);
24888 if (PyErr_Occurred()) SWIG_fail;
24889 }
24890 {
412d302d 24891 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24892 }
24893 return resultobj;
24894 fail:
24895 return NULL;
24896}
24897
24898
24899static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24900 PyObject *resultobj;
24901 wxWindow *arg1 = (wxWindow *) 0 ;
24902 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24903 bool result;
24904 PyObject * obj0 = 0 ;
24905 PyObject * obj1 = 0 ;
24906 char *kwnames[] = {
24907 (char *) "self",(char *) "handler", NULL
24908 };
24909
24910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24913 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24915 {
24916 PyThreadState* __tstate = wxPyBeginAllowThreads();
24917 result = (bool)(arg1)->RemoveEventHandler(arg2);
24918
24919 wxPyEndAllowThreads(__tstate);
24920 if (PyErr_Occurred()) SWIG_fail;
24921 }
4f89f6a3
RD
24922 {
24923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24924 }
d14a1e28
RD
24925 return resultobj;
24926 fail:
24927 return NULL;
24928}
24929
24930
24931static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24932 PyObject *resultobj;
24933 wxWindow *arg1 = (wxWindow *) 0 ;
24934 wxValidator *arg2 = 0 ;
24935 PyObject * obj0 = 0 ;
24936 PyObject * obj1 = 0 ;
24937 char *kwnames[] = {
24938 (char *) "self",(char *) "validator", NULL
24939 };
24940
24941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
24945 SWIG_POINTER_EXCEPTION | 0)) == -1)
24946 SWIG_fail;
d14a1e28 24947 if (arg2 == NULL) {
15afbcd0
RD
24948 PyErr_SetString(PyExc_TypeError,"null reference");
24949 SWIG_fail;
d14a1e28
RD
24950 }
24951 {
24952 PyThreadState* __tstate = wxPyBeginAllowThreads();
24953 (arg1)->SetValidator((wxValidator const &)*arg2);
24954
24955 wxPyEndAllowThreads(__tstate);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 }
24958 Py_INCREF(Py_None); resultobj = Py_None;
24959 return resultobj;
24960 fail:
24961 return NULL;
24962}
24963
24964
24965static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24966 PyObject *resultobj;
24967 wxWindow *arg1 = (wxWindow *) 0 ;
24968 wxValidator *result;
24969 PyObject * obj0 = 0 ;
24970 char *kwnames[] = {
24971 (char *) "self", NULL
24972 };
24973
24974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
15afbcd0
RD
24975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24977 {
24978 PyThreadState* __tstate = wxPyBeginAllowThreads();
24979 result = (wxValidator *)(arg1)->GetValidator();
24980
24981 wxPyEndAllowThreads(__tstate);
24982 if (PyErr_Occurred()) SWIG_fail;
24983 }
24984 {
412d302d 24985 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24986 }
24987 return resultobj;
24988 fail:
24989 return NULL;
24990}
24991
24992
74a57fcd
RD
24993static PyObject *_wrap_Window_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24994 PyObject *resultobj;
24995 wxWindow *arg1 = (wxWindow *) 0 ;
24996 bool result;
24997 PyObject * obj0 = 0 ;
24998 char *kwnames[] = {
24999 (char *) "self", NULL
25000 };
25001
25002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
25003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25005 {
25006 PyThreadState* __tstate = wxPyBeginAllowThreads();
25007 result = (bool)(arg1)->Validate();
25008
25009 wxPyEndAllowThreads(__tstate);
25010 if (PyErr_Occurred()) SWIG_fail;
25011 }
25012 {
25013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25014 }
25015 return resultobj;
25016 fail:
25017 return NULL;
25018}
25019
25020
25021static PyObject *_wrap_Window_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25022 PyObject *resultobj;
25023 wxWindow *arg1 = (wxWindow *) 0 ;
25024 bool result;
25025 PyObject * obj0 = 0 ;
25026 char *kwnames[] = {
25027 (char *) "self", NULL
25028 };
25029
25030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
25031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25033 {
25034 PyThreadState* __tstate = wxPyBeginAllowThreads();
25035 result = (bool)(arg1)->TransferDataToWindow();
25036
25037 wxPyEndAllowThreads(__tstate);
25038 if (PyErr_Occurred()) SWIG_fail;
25039 }
25040 {
25041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25042 }
25043 return resultobj;
25044 fail:
25045 return NULL;
25046}
25047
25048
25049static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25050 PyObject *resultobj;
25051 wxWindow *arg1 = (wxWindow *) 0 ;
25052 bool result;
25053 PyObject * obj0 = 0 ;
25054 char *kwnames[] = {
25055 (char *) "self", NULL
25056 };
25057
25058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
25059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25061 {
25062 PyThreadState* __tstate = wxPyBeginAllowThreads();
25063 result = (bool)(arg1)->TransferDataFromWindow();
25064
25065 wxPyEndAllowThreads(__tstate);
25066 if (PyErr_Occurred()) SWIG_fail;
25067 }
25068 {
25069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25070 }
25071 return resultobj;
25072 fail:
25073 return NULL;
25074}
25075
25076
25077static PyObject *_wrap_Window_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25078 PyObject *resultobj;
25079 wxWindow *arg1 = (wxWindow *) 0 ;
25080 PyObject * obj0 = 0 ;
25081 char *kwnames[] = {
25082 (char *) "self", NULL
25083 };
25084
25085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
25086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25088 {
25089 PyThreadState* __tstate = wxPyBeginAllowThreads();
25090 (arg1)->InitDialog();
25091
25092 wxPyEndAllowThreads(__tstate);
25093 if (PyErr_Occurred()) SWIG_fail;
25094 }
25095 Py_INCREF(Py_None); resultobj = Py_None;
25096 return resultobj;
25097 fail:
25098 return NULL;
25099}
25100
25101
d14a1e28
RD
25102static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
25103 PyObject *resultobj;
25104 wxWindow *arg1 = (wxWindow *) 0 ;
25105 wxAcceleratorTable *arg2 = 0 ;
25106 PyObject * obj0 = 0 ;
25107 PyObject * obj1 = 0 ;
25108 char *kwnames[] = {
25109 (char *) "self",(char *) "accel", NULL
25110 };
25111
25112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
25116 SWIG_POINTER_EXCEPTION | 0)) == -1)
25117 SWIG_fail;
d14a1e28 25118 if (arg2 == NULL) {
15afbcd0
RD
25119 PyErr_SetString(PyExc_TypeError,"null reference");
25120 SWIG_fail;
d14a1e28
RD
25121 }
25122 {
25123 PyThreadState* __tstate = wxPyBeginAllowThreads();
25124 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
25125
25126 wxPyEndAllowThreads(__tstate);
25127 if (PyErr_Occurred()) SWIG_fail;
25128 }
25129 Py_INCREF(Py_None); resultobj = Py_None;
25130 return resultobj;
25131 fail:
25132 return NULL;
25133}
25134
25135
25136static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
25137 PyObject *resultobj;
25138 wxWindow *arg1 = (wxWindow *) 0 ;
25139 wxAcceleratorTable *result;
25140 PyObject * obj0 = 0 ;
25141 char *kwnames[] = {
25142 (char *) "self", NULL
25143 };
25144
25145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
25146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25148 {
25149 PyThreadState* __tstate = wxPyBeginAllowThreads();
25150 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
25151
25152 wxPyEndAllowThreads(__tstate);
25153 if (PyErr_Occurred()) SWIG_fail;
25154 }
15afbcd0 25155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
d14a1e28
RD
25156 return resultobj;
25157 fail:
25158 return NULL;
25159}
25160
25161
25162static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
25163 PyObject *resultobj;
25164 wxWindow *arg1 = (wxWindow *) 0 ;
25165 int arg2 ;
25166 int arg3 ;
25167 int arg4 ;
25168 bool result;
25169 PyObject * obj0 = 0 ;
994141e6
RD
25170 PyObject * obj1 = 0 ;
25171 PyObject * obj2 = 0 ;
25172 PyObject * obj3 = 0 ;
d14a1e28
RD
25173 char *kwnames[] = {
25174 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25175 };
25176
994141e6 25177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
25178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25180 arg2 = (int) SWIG_AsInt(obj1);
25181 if (PyErr_Occurred()) SWIG_fail;
25182 arg3 = (int) SWIG_AsInt(obj2);
25183 if (PyErr_Occurred()) SWIG_fail;
25184 arg4 = (int) SWIG_AsInt(obj3);
25185 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25186 {
25187 PyThreadState* __tstate = wxPyBeginAllowThreads();
25188 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
25189
25190 wxPyEndAllowThreads(__tstate);
25191 if (PyErr_Occurred()) SWIG_fail;
25192 }
4f89f6a3
RD
25193 {
25194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25195 }
d14a1e28
RD
25196 return resultobj;
25197 fail:
25198 return NULL;
25199}
25200
25201
25202static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
25203 PyObject *resultobj;
25204 wxWindow *arg1 = (wxWindow *) 0 ;
25205 int arg2 ;
25206 bool result;
25207 PyObject * obj0 = 0 ;
994141e6 25208 PyObject * obj1 = 0 ;
d14a1e28
RD
25209 char *kwnames[] = {
25210 (char *) "self",(char *) "hotkeyId", NULL
25211 };
25212
994141e6 25213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25216 arg2 = (int) SWIG_AsInt(obj1);
25217 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25218 {
25219 PyThreadState* __tstate = wxPyBeginAllowThreads();
25220 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
25221
25222 wxPyEndAllowThreads(__tstate);
25223 if (PyErr_Occurred()) SWIG_fail;
25224 }
4f89f6a3
RD
25225 {
25226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25227 }
d14a1e28
RD
25228 return resultobj;
25229 fail:
25230 return NULL;
25231}
25232
25233
25234static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25235 PyObject *resultobj;
25236 wxWindow *arg1 = (wxWindow *) 0 ;
25237 wxPoint *arg2 = 0 ;
25238 wxPoint result;
25239 wxPoint temp2 ;
25240 PyObject * obj0 = 0 ;
25241 PyObject * obj1 = 0 ;
25242 char *kwnames[] = {
25243 (char *) "self",(char *) "pt", NULL
25244 };
25245
25246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25249 {
25250 arg2 = &temp2;
25251 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25252 }
25253 {
25254 PyThreadState* __tstate = wxPyBeginAllowThreads();
25255 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25256
25257 wxPyEndAllowThreads(__tstate);
25258 if (PyErr_Occurred()) SWIG_fail;
25259 }
25260 {
25261 wxPoint * resultptr;
25262 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25264 }
25265 return resultobj;
25266 fail:
25267 return NULL;
25268}
25269
25270
25271static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25272 PyObject *resultobj;
25273 wxWindow *arg1 = (wxWindow *) 0 ;
25274 wxSize *arg2 = 0 ;
25275 wxSize result;
25276 wxSize temp2 ;
25277 PyObject * obj0 = 0 ;
25278 PyObject * obj1 = 0 ;
25279 char *kwnames[] = {
25280 (char *) "self",(char *) "sz", NULL
25281 };
25282
25283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25286 {
25287 arg2 = &temp2;
25288 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25289 }
25290 {
25291 PyThreadState* __tstate = wxPyBeginAllowThreads();
25292 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25293
25294 wxPyEndAllowThreads(__tstate);
25295 if (PyErr_Occurred()) SWIG_fail;
25296 }
25297 {
25298 wxSize * resultptr;
25299 resultptr = new wxSize((wxSize &) result);
15afbcd0 25300 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25301 }
25302 return resultobj;
25303 fail:
25304 return NULL;
25305}
25306
25307
25308static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
25309 PyObject *resultobj;
25310 wxWindow *arg1 = (wxWindow *) 0 ;
25311 wxPoint *arg2 = 0 ;
25312 wxPoint result;
25313 wxPoint temp2 ;
25314 PyObject * obj0 = 0 ;
25315 PyObject * obj1 = 0 ;
25316 char *kwnames[] = {
25317 (char *) "self",(char *) "pt", NULL
25318 };
25319
25320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25323 {
25324 arg2 = &temp2;
25325 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25326 }
25327 {
25328 PyThreadState* __tstate = wxPyBeginAllowThreads();
25329 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25330
25331 wxPyEndAllowThreads(__tstate);
25332 if (PyErr_Occurred()) SWIG_fail;
25333 }
25334 {
25335 wxPoint * resultptr;
25336 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25338 }
25339 return resultobj;
25340 fail:
25341 return NULL;
25342}
25343
25344
25345static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
25346 PyObject *resultobj;
25347 wxWindow *arg1 = (wxWindow *) 0 ;
25348 wxSize *arg2 = 0 ;
25349 wxSize result;
25350 wxSize temp2 ;
25351 PyObject * obj0 = 0 ;
25352 PyObject * obj1 = 0 ;
25353 char *kwnames[] = {
25354 (char *) "self",(char *) "sz", NULL
25355 };
25356
25357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25360 {
25361 arg2 = &temp2;
25362 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25363 }
25364 {
25365 PyThreadState* __tstate = wxPyBeginAllowThreads();
25366 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25367
25368 wxPyEndAllowThreads(__tstate);
25369 if (PyErr_Occurred()) SWIG_fail;
25370 }
25371 {
25372 wxSize * resultptr;
25373 resultptr = new wxSize((wxSize &) result);
15afbcd0 25374 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25375 }
25376 return resultobj;
25377 fail:
25378 return NULL;
25379}
25380
25381
25382static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25383 PyObject *resultobj;
25384 wxWindow *arg1 = (wxWindow *) 0 ;
25385 wxPoint *arg2 = 0 ;
25386 wxPoint result;
25387 wxPoint temp2 ;
25388 PyObject * obj0 = 0 ;
25389 PyObject * obj1 = 0 ;
25390 char *kwnames[] = {
25391 (char *) "self",(char *) "pt", NULL
25392 };
25393
25394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25397 {
25398 arg2 = &temp2;
25399 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25400 }
25401 {
25402 PyThreadState* __tstate = wxPyBeginAllowThreads();
25403 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
25404
25405 wxPyEndAllowThreads(__tstate);
25406 if (PyErr_Occurred()) SWIG_fail;
25407 }
25408 {
25409 wxPoint * resultptr;
25410 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25411 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25412 }
25413 return resultobj;
25414 fail:
25415 return NULL;
25416}
25417
25418
25419static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25420 PyObject *resultobj;
25421 wxWindow *arg1 = (wxWindow *) 0 ;
25422 wxSize *arg2 = 0 ;
25423 wxSize result;
25424 wxSize temp2 ;
25425 PyObject * obj0 = 0 ;
25426 PyObject * obj1 = 0 ;
25427 char *kwnames[] = {
25428 (char *) "self",(char *) "sz", NULL
25429 };
25430
25431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25434 {
25435 arg2 = &temp2;
25436 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25437 }
25438 {
25439 PyThreadState* __tstate = wxPyBeginAllowThreads();
25440 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
25441
25442 wxPyEndAllowThreads(__tstate);
25443 if (PyErr_Occurred()) SWIG_fail;
25444 }
25445 {
25446 wxSize * resultptr;
25447 resultptr = new wxSize((wxSize &) result);
15afbcd0 25448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25449 }
25450 return resultobj;
25451 fail:
25452 return NULL;
25453}
25454
25455
25456static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
25457 PyObject *resultobj;
25458 wxWindow *arg1 = (wxWindow *) 0 ;
25459 int arg2 ;
25460 int arg3 ;
25461 PyObject * obj0 = 0 ;
994141e6
RD
25462 PyObject * obj1 = 0 ;
25463 PyObject * obj2 = 0 ;
d14a1e28
RD
25464 char *kwnames[] = {
25465 (char *) "self",(char *) "x",(char *) "y", NULL
25466 };
25467
994141e6 25468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25471 arg2 = (int) SWIG_AsInt(obj1);
25472 if (PyErr_Occurred()) SWIG_fail;
25473 arg3 = (int) SWIG_AsInt(obj2);
25474 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25475 {
25476 PyThreadState* __tstate = wxPyBeginAllowThreads();
25477 (arg1)->WarpPointer(arg2,arg3);
25478
25479 wxPyEndAllowThreads(__tstate);
25480 if (PyErr_Occurred()) SWIG_fail;
25481 }
25482 Py_INCREF(Py_None); resultobj = Py_None;
25483 return resultobj;
25484 fail:
25485 return NULL;
25486}
25487
25488
25489static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25490 PyObject *resultobj;
25491 wxWindow *arg1 = (wxWindow *) 0 ;
25492 PyObject * obj0 = 0 ;
25493 char *kwnames[] = {
25494 (char *) "self", NULL
25495 };
25496
25497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
25498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25500 {
25501 PyThreadState* __tstate = wxPyBeginAllowThreads();
25502 (arg1)->CaptureMouse();
25503
25504 wxPyEndAllowThreads(__tstate);
25505 if (PyErr_Occurred()) SWIG_fail;
25506 }
25507 Py_INCREF(Py_None); resultobj = Py_None;
25508 return resultobj;
25509 fail:
25510 return NULL;
25511}
25512
25513
25514static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25515 PyObject *resultobj;
25516 wxWindow *arg1 = (wxWindow *) 0 ;
25517 PyObject * obj0 = 0 ;
25518 char *kwnames[] = {
25519 (char *) "self", NULL
25520 };
25521
25522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
25523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25525 {
25526 PyThreadState* __tstate = wxPyBeginAllowThreads();
25527 (arg1)->ReleaseMouse();
25528
25529 wxPyEndAllowThreads(__tstate);
25530 if (PyErr_Occurred()) SWIG_fail;
25531 }
25532 Py_INCREF(Py_None); resultobj = Py_None;
25533 return resultobj;
25534 fail:
25535 return NULL;
25536}
25537
25538
25539static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25540 PyObject *resultobj;
25541 wxWindow *result;
25542 char *kwnames[] = {
25543 NULL
25544 };
25545
25546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
25547 {
e3b71cb8 25548 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25549 PyThreadState* __tstate = wxPyBeginAllowThreads();
25550 result = (wxWindow *)wxWindow::GetCapture();
25551
25552 wxPyEndAllowThreads(__tstate);
110da5b0 25553 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25554 }
25555 {
412d302d 25556 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25557 }
25558 return resultobj;
25559 fail:
25560 return NULL;
25561}
25562
25563
25564static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25565 PyObject *resultobj;
25566 wxWindow *arg1 = (wxWindow *) 0 ;
25567 bool result;
25568 PyObject * obj0 = 0 ;
25569 char *kwnames[] = {
25570 (char *) "self", NULL
25571 };
25572
25573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
15afbcd0
RD
25574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25576 {
25577 PyThreadState* __tstate = wxPyBeginAllowThreads();
25578 result = (bool)((wxWindow const *)arg1)->HasCapture();
25579
25580 wxPyEndAllowThreads(__tstate);
25581 if (PyErr_Occurred()) SWIG_fail;
25582 }
4f89f6a3
RD
25583 {
25584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25585 }
d14a1e28
RD
25586 return resultobj;
25587 fail:
25588 return NULL;
25589}
25590
25591
25592static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
25593 PyObject *resultobj;
25594 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 25595 bool arg2 = (bool) True ;
d14a1e28
RD
25596 wxRect *arg3 = (wxRect *) NULL ;
25597 PyObject * obj0 = 0 ;
25598 PyObject * obj1 = 0 ;
25599 PyObject * obj2 = 0 ;
25600 char *kwnames[] = {
25601 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25602 };
25603
25604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 25607 if (obj1) {
15afbcd0
RD
25608 arg2 = (bool) SWIG_AsBool(obj1);
25609 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25610 }
25611 if (obj2) {
15afbcd0
RD
25612 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
25613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25614 }
25615 {
25616 PyThreadState* __tstate = wxPyBeginAllowThreads();
25617 (arg1)->Refresh(arg2,(wxRect const *)arg3);
25618
25619 wxPyEndAllowThreads(__tstate);
25620 if (PyErr_Occurred()) SWIG_fail;
25621 }
25622 Py_INCREF(Py_None); resultobj = Py_None;
25623 return resultobj;
25624 fail:
25625 return NULL;
25626}
25627
25628
25629static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25630 PyObject *resultobj;
25631 wxWindow *arg1 = (wxWindow *) 0 ;
25632 wxRect *arg2 = 0 ;
25633 wxRect temp2 ;
25634 PyObject * obj0 = 0 ;
25635 PyObject * obj1 = 0 ;
25636 char *kwnames[] = {
25637 (char *) "self",(char *) "rect", NULL
25638 };
25639
25640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25643 {
25644 arg2 = &temp2;
25645 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25646 }
25647 {
25648 PyThreadState* __tstate = wxPyBeginAllowThreads();
25649 (arg1)->RefreshRect((wxRect const &)*arg2);
25650
25651 wxPyEndAllowThreads(__tstate);
25652 if (PyErr_Occurred()) SWIG_fail;
25653 }
25654 Py_INCREF(Py_None); resultobj = Py_None;
25655 return resultobj;
25656 fail:
25657 return NULL;
25658}
25659
25660
25661static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
25662 PyObject *resultobj;
25663 wxWindow *arg1 = (wxWindow *) 0 ;
25664 PyObject * obj0 = 0 ;
25665 char *kwnames[] = {
25666 (char *) "self", NULL
25667 };
25668
25669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
15afbcd0
RD
25670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25672 {
25673 PyThreadState* __tstate = wxPyBeginAllowThreads();
25674 (arg1)->Update();
25675
25676 wxPyEndAllowThreads(__tstate);
25677 if (PyErr_Occurred()) SWIG_fail;
25678 }
25679 Py_INCREF(Py_None); resultobj = Py_None;
25680 return resultobj;
25681 fail:
25682 return NULL;
25683}
25684
25685
25686static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
25687 PyObject *resultobj;
25688 wxWindow *arg1 = (wxWindow *) 0 ;
25689 PyObject * obj0 = 0 ;
25690 char *kwnames[] = {
25691 (char *) "self", NULL
25692 };
25693
25694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
25695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25697 {
25698 PyThreadState* __tstate = wxPyBeginAllowThreads();
25699 (arg1)->ClearBackground();
25700
25701 wxPyEndAllowThreads(__tstate);
25702 if (PyErr_Occurred()) SWIG_fail;
25703 }
25704 Py_INCREF(Py_None); resultobj = Py_None;
25705 return resultobj;
25706 fail:
25707 return NULL;
25708}
25709
25710
25711static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
25712 PyObject *resultobj;
25713 wxWindow *arg1 = (wxWindow *) 0 ;
25714 PyObject * obj0 = 0 ;
25715 char *kwnames[] = {
25716 (char *) "self", NULL
25717 };
25718
25719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
15afbcd0
RD
25720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25722 {
25723 PyThreadState* __tstate = wxPyBeginAllowThreads();
25724 (arg1)->Freeze();
25725
25726 wxPyEndAllowThreads(__tstate);
25727 if (PyErr_Occurred()) SWIG_fail;
25728 }
25729 Py_INCREF(Py_None); resultobj = Py_None;
25730 return resultobj;
25731 fail:
25732 return NULL;
25733}
25734
25735
25736static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
25737 PyObject *resultobj;
25738 wxWindow *arg1 = (wxWindow *) 0 ;
25739 PyObject * obj0 = 0 ;
25740 char *kwnames[] = {
25741 (char *) "self", NULL
25742 };
25743
25744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
15afbcd0
RD
25745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25747 {
25748 PyThreadState* __tstate = wxPyBeginAllowThreads();
25749 (arg1)->Thaw();
25750
25751 wxPyEndAllowThreads(__tstate);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 }
25754 Py_INCREF(Py_None); resultobj = Py_None;
25755 return resultobj;
25756 fail:
25757 return NULL;
25758}
25759
25760
25761static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
25762 PyObject *resultobj;
25763 wxWindow *arg1 = (wxWindow *) 0 ;
25764 wxDC *arg2 = 0 ;
25765 PyObject * obj0 = 0 ;
25766 PyObject * obj1 = 0 ;
25767 char *kwnames[] = {
25768 (char *) "self",(char *) "dc", NULL
25769 };
25770
25771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25774 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25775 SWIG_POINTER_EXCEPTION | 0)) == -1)
25776 SWIG_fail;
d14a1e28 25777 if (arg2 == NULL) {
15afbcd0
RD
25778 PyErr_SetString(PyExc_TypeError,"null reference");
25779 SWIG_fail;
d14a1e28
RD
25780 }
25781 {
25782 PyThreadState* __tstate = wxPyBeginAllowThreads();
25783 (arg1)->PrepareDC(*arg2);
25784
25785 wxPyEndAllowThreads(__tstate);
25786 if (PyErr_Occurred()) SWIG_fail;
25787 }
25788 Py_INCREF(Py_None); resultobj = Py_None;
25789 return resultobj;
25790 fail:
25791 return NULL;
25792}
25793
25794
25795static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25796 PyObject *resultobj;
25797 wxWindow *arg1 = (wxWindow *) 0 ;
25798 wxRegion *result;
25799 PyObject * obj0 = 0 ;
25800 char *kwnames[] = {
25801 (char *) "self", NULL
25802 };
25803
25804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
15afbcd0
RD
25805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25807 {
25808 PyThreadState* __tstate = wxPyBeginAllowThreads();
25809 {
25810 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
25811 result = (wxRegion *) &_result_ref;
25812 }
25813
25814 wxPyEndAllowThreads(__tstate);
25815 if (PyErr_Occurred()) SWIG_fail;
25816 }
15afbcd0 25817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
d14a1e28
RD
25818 return resultobj;
25819 fail:
25820 return NULL;
25821}
25822
25823
25824static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25825 PyObject *resultobj;
25826 wxWindow *arg1 = (wxWindow *) 0 ;
25827 wxRect result;
25828 PyObject * obj0 = 0 ;
25829 char *kwnames[] = {
25830 (char *) "self", NULL
25831 };
25832
25833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
25834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25836 {
25837 PyThreadState* __tstate = wxPyBeginAllowThreads();
25838 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
25839
25840 wxPyEndAllowThreads(__tstate);
25841 if (PyErr_Occurred()) SWIG_fail;
25842 }
25843 {
25844 wxRect * resultptr;
25845 resultptr = new wxRect((wxRect &) result);
15afbcd0 25846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
25847 }
25848 return resultobj;
25849 fail:
25850 return NULL;
25851}
25852
25853
25854static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
25855 PyObject *resultobj;
25856 wxWindow *arg1 = (wxWindow *) 0 ;
25857 int arg2 ;
25858 int arg3 ;
25859 int arg4 = (int) 1 ;
25860 int arg5 = (int) 1 ;
25861 bool result;
25862 PyObject * obj0 = 0 ;
994141e6
RD
25863 PyObject * obj1 = 0 ;
25864 PyObject * obj2 = 0 ;
25865 PyObject * obj3 = 0 ;
25866 PyObject * obj4 = 0 ;
d14a1e28
RD
25867 char *kwnames[] = {
25868 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25869 };
25870
994141e6 25871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
25872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25874 arg2 = (int) SWIG_AsInt(obj1);
25875 if (PyErr_Occurred()) SWIG_fail;
25876 arg3 = (int) SWIG_AsInt(obj2);
25877 if (PyErr_Occurred()) SWIG_fail;
994141e6 25878 if (obj3) {
15afbcd0
RD
25879 arg4 = (int) SWIG_AsInt(obj3);
25880 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
25881 }
25882 if (obj4) {
15afbcd0
RD
25883 arg5 = (int) SWIG_AsInt(obj4);
25884 if (PyErr_Occurred()) SWIG_fail;
994141e6 25885 }
d14a1e28
RD
25886 {
25887 PyThreadState* __tstate = wxPyBeginAllowThreads();
25888 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
25889
25890 wxPyEndAllowThreads(__tstate);
25891 if (PyErr_Occurred()) SWIG_fail;
25892 }
4f89f6a3
RD
25893 {
25894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25895 }
d14a1e28
RD
25896 return resultobj;
25897 fail:
25898 return NULL;
25899}
25900
25901
25902static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
25903 PyObject *resultobj;
25904 wxWindow *arg1 = (wxWindow *) 0 ;
25905 wxPoint *arg2 = 0 ;
25906 bool result;
25907 wxPoint temp2 ;
25908 PyObject * obj0 = 0 ;
25909 PyObject * obj1 = 0 ;
25910 char *kwnames[] = {
25911 (char *) "self",(char *) "pt", NULL
25912 };
25913
25914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25917 {
25918 arg2 = &temp2;
25919 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25920 }
25921 {
25922 PyThreadState* __tstate = wxPyBeginAllowThreads();
25923 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
25924
25925 wxPyEndAllowThreads(__tstate);
25926 if (PyErr_Occurred()) SWIG_fail;
25927 }
4f89f6a3
RD
25928 {
25929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25930 }
d14a1e28
RD
25931 return resultobj;
25932 fail:
25933 return NULL;
25934}
25935
25936
4276dc52 25937static PyObject *_wrap_Window_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25938 PyObject *resultobj;
25939 wxWindow *arg1 = (wxWindow *) 0 ;
25940 wxRect *arg2 = 0 ;
25941 bool result;
25942 wxRect temp2 ;
25943 PyObject * obj0 = 0 ;
25944 PyObject * obj1 = 0 ;
25945 char *kwnames[] = {
25946 (char *) "self",(char *) "rect", NULL
25947 };
25948
4276dc52 25949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
25954 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25955 }
25956 {
25957 PyThreadState* __tstate = wxPyBeginAllowThreads();
25958 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
25959
25960 wxPyEndAllowThreads(__tstate);
25961 if (PyErr_Occurred()) SWIG_fail;
25962 }
4f89f6a3
RD
25963 {
25964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25965 }
d14a1e28
RD
25966 return resultobj;
25967 fail:
25968 return NULL;
25969}
25970
25971
74a57fcd
RD
25972static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
25973 PyObject *resultobj;
25974 wxWindow *arg1 = (wxWindow *) 0 ;
25975 wxVisualAttributes result;
25976 PyObject * obj0 = 0 ;
25977 char *kwnames[] = {
25978 (char *) "self", NULL
25979 };
25980
25981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
25982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25984 {
25985 PyThreadState* __tstate = wxPyBeginAllowThreads();
25986 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
25987
25988 wxPyEndAllowThreads(__tstate);
25989 if (PyErr_Occurred()) SWIG_fail;
25990 }
25991 {
25992 wxVisualAttributes * resultptr;
25993 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
25994 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
25995 }
25996 return resultobj;
25997 fail:
25998 return NULL;
25999}
26000
26001
26002static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
26003 PyObject *resultobj;
26004 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
26005 wxVisualAttributes result;
26006 PyObject * obj0 = 0 ;
26007 char *kwnames[] = {
26008 (char *) "variant", NULL
26009 };
26010
26011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26012 if (obj0) {
26013 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
26014 if (PyErr_Occurred()) SWIG_fail;
26015 }
26016 {
e3b71cb8 26017 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
26018 PyThreadState* __tstate = wxPyBeginAllowThreads();
26019 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
26020
26021 wxPyEndAllowThreads(__tstate);
110da5b0 26022 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
26023 }
26024 {
26025 wxVisualAttributes * resultptr;
26026 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26027 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26028 }
26029 return resultobj;
26030 fail:
26031 return NULL;
26032}
26033
26034
d14a1e28
RD
26035static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26036 PyObject *resultobj;
26037 wxWindow *arg1 = (wxWindow *) 0 ;
26038 wxColour *arg2 = 0 ;
26039 bool result;
26040 wxColour temp2 ;
26041 PyObject * obj0 = 0 ;
26042 PyObject * obj1 = 0 ;
26043 char *kwnames[] = {
26044 (char *) "self",(char *) "colour", NULL
26045 };
26046
26047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26050 {
26051 arg2 = &temp2;
26052 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26053 }
26054 {
26055 PyThreadState* __tstate = wxPyBeginAllowThreads();
26056 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
26057
26058 wxPyEndAllowThreads(__tstate);
26059 if (PyErr_Occurred()) SWIG_fail;
26060 }
4f89f6a3
RD
26061 {
26062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26063 }
d14a1e28
RD
26064 return resultobj;
26065 fail:
26066 return NULL;
26067}
26068
26069
412d302d 26070static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
b2df227b
RD
26071 PyObject *resultobj;
26072 wxWindow *arg1 = (wxWindow *) 0 ;
26073 wxColour *arg2 = 0 ;
26074 wxColour temp2 ;
26075 PyObject * obj0 = 0 ;
26076 PyObject * obj1 = 0 ;
26077 char *kwnames[] = {
26078 (char *) "self",(char *) "colour", NULL
26079 };
26080
412d302d 26081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
26082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26084 {
26085 arg2 = &temp2;
26086 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26087 }
26088 {
26089 PyThreadState* __tstate = wxPyBeginAllowThreads();
412d302d 26090 (arg1)->SetOwnBackgroundColour((wxColour const &)*arg2);
b2df227b
RD
26091
26092 wxPyEndAllowThreads(__tstate);
26093 if (PyErr_Occurred()) SWIG_fail;
26094 }
26095 Py_INCREF(Py_None); resultobj = Py_None;
26096 return resultobj;
26097 fail:
26098 return NULL;
26099}
26100
26101
d14a1e28
RD
26102static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26103 PyObject *resultobj;
26104 wxWindow *arg1 = (wxWindow *) 0 ;
26105 wxColour *arg2 = 0 ;
26106 bool result;
26107 wxColour temp2 ;
26108 PyObject * obj0 = 0 ;
26109 PyObject * obj1 = 0 ;
26110 char *kwnames[] = {
26111 (char *) "self",(char *) "colour", NULL
26112 };
26113
26114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26117 {
26118 arg2 = &temp2;
26119 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26120 }
26121 {
26122 PyThreadState* __tstate = wxPyBeginAllowThreads();
26123 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
26124
26125 wxPyEndAllowThreads(__tstate);
26126 if (PyErr_Occurred()) SWIG_fail;
26127 }
4f89f6a3
RD
26128 {
26129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26130 }
d14a1e28
RD
26131 return resultobj;
26132 fail:
26133 return NULL;
26134}
26135
26136
fa47d7a7 26137static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
b2df227b
RD
26138 PyObject *resultobj;
26139 wxWindow *arg1 = (wxWindow *) 0 ;
26140 wxColour *arg2 = 0 ;
26141 wxColour temp2 ;
26142 PyObject * obj0 = 0 ;
26143 PyObject * obj1 = 0 ;
26144 char *kwnames[] = {
26145 (char *) "self",(char *) "colour", NULL
26146 };
26147
fa47d7a7 26148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnForegroundColour",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
26149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26151 {
26152 arg2 = &temp2;
26153 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26154 }
26155 {
26156 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 26157 (arg1)->SetOwnForegroundColour((wxColour const &)*arg2);
b2df227b
RD
26158
26159 wxPyEndAllowThreads(__tstate);
26160 if (PyErr_Occurred()) SWIG_fail;
26161 }
26162 Py_INCREF(Py_None); resultobj = Py_None;
26163 return resultobj;
26164 fail:
26165 return NULL;
26166}
26167
26168
d14a1e28
RD
26169static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26170 PyObject *resultobj;
26171 wxWindow *arg1 = (wxWindow *) 0 ;
26172 wxColour result;
26173 PyObject * obj0 = 0 ;
26174 char *kwnames[] = {
26175 (char *) "self", NULL
26176 };
26177
26178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
26179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 result = ((wxWindow const *)arg1)->GetBackgroundColour();
26184
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 {
26189 wxColour * resultptr;
26190 resultptr = new wxColour((wxColour &) result);
15afbcd0 26191 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26192 }
26193 return resultobj;
26194 fail:
26195 return NULL;
26196}
26197
26198
26199static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26200 PyObject *resultobj;
26201 wxWindow *arg1 = (wxWindow *) 0 ;
26202 wxColour result;
26203 PyObject * obj0 = 0 ;
26204 char *kwnames[] = {
26205 (char *) "self", NULL
26206 };
26207
26208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
26209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26211 {
26212 PyThreadState* __tstate = wxPyBeginAllowThreads();
26213 result = ((wxWindow const *)arg1)->GetForegroundColour();
26214
26215 wxPyEndAllowThreads(__tstate);
26216 if (PyErr_Occurred()) SWIG_fail;
26217 }
26218 {
26219 wxColour * resultptr;
26220 resultptr = new wxColour((wxColour &) result);
15afbcd0 26221 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26222 }
26223 return resultobj;
26224 fail:
26225 return NULL;
26226}
26227
26228
26229static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26230 PyObject *resultobj;
26231 wxWindow *arg1 = (wxWindow *) 0 ;
26232 wxCursor *arg2 = 0 ;
26233 bool result;
26234 PyObject * obj0 = 0 ;
26235 PyObject * obj1 = 0 ;
26236 char *kwnames[] = {
26237 (char *) "self",(char *) "cursor", NULL
26238 };
26239
26240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26243 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
26244 SWIG_POINTER_EXCEPTION | 0)) == -1)
26245 SWIG_fail;
d14a1e28 26246 if (arg2 == NULL) {
15afbcd0
RD
26247 PyErr_SetString(PyExc_TypeError,"null reference");
26248 SWIG_fail;
d14a1e28
RD
26249 }
26250 {
26251 PyThreadState* __tstate = wxPyBeginAllowThreads();
26252 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
26253
26254 wxPyEndAllowThreads(__tstate);
26255 if (PyErr_Occurred()) SWIG_fail;
26256 }
4f89f6a3
RD
26257 {
26258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26259 }
d14a1e28
RD
26260 return resultobj;
26261 fail:
26262 return NULL;
26263}
26264
26265
26266static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26267 PyObject *resultobj;
26268 wxWindow *arg1 = (wxWindow *) 0 ;
dfbb5885 26269 wxCursor result;
d14a1e28
RD
26270 PyObject * obj0 = 0 ;
26271 char *kwnames[] = {
26272 (char *) "self", NULL
26273 };
26274
26275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
26276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26278 {
26279 PyThreadState* __tstate = wxPyBeginAllowThreads();
dfbb5885 26280 result = (arg1)->GetCursor();
d14a1e28
RD
26281
26282 wxPyEndAllowThreads(__tstate);
26283 if (PyErr_Occurred()) SWIG_fail;
26284 }
4276dc52 26285 {
dfbb5885
RD
26286 wxCursor * resultptr;
26287 resultptr = new wxCursor((wxCursor &) result);
26288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
4276dc52 26289 }
d14a1e28
RD
26290 return resultobj;
26291 fail:
26292 return NULL;
26293}
26294
26295
26296static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26297 PyObject *resultobj;
26298 wxWindow *arg1 = (wxWindow *) 0 ;
26299 wxFont *arg2 = 0 ;
26300 bool result;
26301 PyObject * obj0 = 0 ;
26302 PyObject * obj1 = 0 ;
26303 char *kwnames[] = {
26304 (char *) "self",(char *) "font", NULL
26305 };
26306
26307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26311 SWIG_POINTER_EXCEPTION | 0)) == -1)
26312 SWIG_fail;
d14a1e28 26313 if (arg2 == NULL) {
15afbcd0
RD
26314 PyErr_SetString(PyExc_TypeError,"null reference");
26315 SWIG_fail;
d14a1e28
RD
26316 }
26317 {
26318 PyThreadState* __tstate = wxPyBeginAllowThreads();
26319 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
26320
26321 wxPyEndAllowThreads(__tstate);
26322 if (PyErr_Occurred()) SWIG_fail;
26323 }
4f89f6a3
RD
26324 {
26325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26326 }
d14a1e28
RD
26327 return resultobj;
26328 fail:
26329 return NULL;
26330}
26331
26332
fa47d7a7 26333static PyObject *_wrap_Window_SetOwnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
b2df227b
RD
26334 PyObject *resultobj;
26335 wxWindow *arg1 = (wxWindow *) 0 ;
26336 wxFont *arg2 = 0 ;
26337 PyObject * obj0 = 0 ;
26338 PyObject * obj1 = 0 ;
26339 char *kwnames[] = {
26340 (char *) "self",(char *) "font", NULL
26341 };
26342
fa47d7a7 26343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnFont",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
26344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26347 SWIG_POINTER_EXCEPTION | 0)) == -1)
26348 SWIG_fail;
26349 if (arg2 == NULL) {
26350 PyErr_SetString(PyExc_TypeError,"null reference");
26351 SWIG_fail;
26352 }
26353 {
26354 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 26355 (arg1)->SetOwnFont((wxFont const &)*arg2);
b2df227b
RD
26356
26357 wxPyEndAllowThreads(__tstate);
26358 if (PyErr_Occurred()) SWIG_fail;
26359 }
26360 Py_INCREF(Py_None); resultobj = Py_None;
26361 return resultobj;
26362 fail:
26363 return NULL;
26364}
26365
26366
d14a1e28
RD
26367static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26368 PyObject *resultobj;
26369 wxWindow *arg1 = (wxWindow *) 0 ;
dfbb5885 26370 wxFont result;
d14a1e28
RD
26371 PyObject * obj0 = 0 ;
26372 char *kwnames[] = {
26373 (char *) "self", NULL
26374 };
26375
26376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
26377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26379 {
26380 PyThreadState* __tstate = wxPyBeginAllowThreads();
dfbb5885 26381 result = (arg1)->GetFont();
d14a1e28
RD
26382
26383 wxPyEndAllowThreads(__tstate);
26384 if (PyErr_Occurred()) SWIG_fail;
26385 }
4276dc52 26386 {
dfbb5885
RD
26387 wxFont * resultptr;
26388 resultptr = new wxFont((wxFont &) result);
26389 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
4276dc52 26390 }
d14a1e28
RD
26391 return resultobj;
26392 fail:
26393 return NULL;
26394}
26395
26396
26397static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26398 PyObject *resultobj;
26399 wxWindow *arg1 = (wxWindow *) 0 ;
26400 wxCaret *arg2 = (wxCaret *) 0 ;
26401 PyObject * obj0 = 0 ;
26402 PyObject * obj1 = 0 ;
26403 char *kwnames[] = {
26404 (char *) "self",(char *) "caret", NULL
26405 };
26406
26407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
26411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26412 {
26413 PyThreadState* __tstate = wxPyBeginAllowThreads();
26414 (arg1)->SetCaret(arg2);
26415
26416 wxPyEndAllowThreads(__tstate);
26417 if (PyErr_Occurred()) SWIG_fail;
26418 }
26419 Py_INCREF(Py_None); resultobj = Py_None;
26420 return resultobj;
26421 fail:
26422 return NULL;
26423}
26424
26425
26426static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26427 PyObject *resultobj;
26428 wxWindow *arg1 = (wxWindow *) 0 ;
26429 wxCaret *result;
26430 PyObject * obj0 = 0 ;
26431 char *kwnames[] = {
26432 (char *) "self", NULL
26433 };
26434
26435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
15afbcd0
RD
26436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26438 {
26439 PyThreadState* __tstate = wxPyBeginAllowThreads();
26440 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
26441
26442 wxPyEndAllowThreads(__tstate);
26443 if (PyErr_Occurred()) SWIG_fail;
26444 }
15afbcd0 26445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
d14a1e28
RD
26446 return resultobj;
26447 fail:
26448 return NULL;
26449}
26450
26451
26452static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
26453 PyObject *resultobj;
26454 wxWindow *arg1 = (wxWindow *) 0 ;
26455 int result;
26456 PyObject * obj0 = 0 ;
26457 char *kwnames[] = {
26458 (char *) "self", NULL
26459 };
26460
26461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
26462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26464 {
26465 PyThreadState* __tstate = wxPyBeginAllowThreads();
26466 result = (int)((wxWindow const *)arg1)->GetCharHeight();
26467
26468 wxPyEndAllowThreads(__tstate);
26469 if (PyErr_Occurred()) SWIG_fail;
26470 }
15afbcd0 26471 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26472 return resultobj;
26473 fail:
26474 return NULL;
26475}
26476
26477
26478static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
26479 PyObject *resultobj;
26480 wxWindow *arg1 = (wxWindow *) 0 ;
26481 int result;
26482 PyObject * obj0 = 0 ;
26483 char *kwnames[] = {
26484 (char *) "self", NULL
26485 };
26486
26487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
26488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26490 {
26491 PyThreadState* __tstate = wxPyBeginAllowThreads();
26492 result = (int)((wxWindow const *)arg1)->GetCharWidth();
26493
26494 wxPyEndAllowThreads(__tstate);
26495 if (PyErr_Occurred()) SWIG_fail;
26496 }
15afbcd0 26497 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26498 return resultobj;
26499 fail:
26500 return NULL;
26501}
26502
26503
26504static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26505 PyObject *resultobj;
26506 wxWindow *arg1 = (wxWindow *) 0 ;
26507 wxString *arg2 = 0 ;
26508 int *arg3 = (int *) 0 ;
26509 int *arg4 = (int *) 0 ;
e811c8ce 26510 bool temp2 = False ;
d14a1e28
RD
26511 int temp3 ;
26512 int temp4 ;
26513 PyObject * obj0 = 0 ;
26514 PyObject * obj1 = 0 ;
26515 char *kwnames[] = {
26516 (char *) "self",(char *) "string", NULL
26517 };
26518
26519 arg3 = &temp3;
26520 arg4 = &temp4;
26521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26524 {
26525 arg2 = wxString_in_helper(obj1);
26526 if (arg2 == NULL) SWIG_fail;
e811c8ce 26527 temp2 = True;
d14a1e28
RD
26528 }
26529 {
26530 PyThreadState* __tstate = wxPyBeginAllowThreads();
26531 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
26532
26533 wxPyEndAllowThreads(__tstate);
26534 if (PyErr_Occurred()) SWIG_fail;
26535 }
26536 Py_INCREF(Py_None); resultobj = Py_None;
26537 {
26538 PyObject *o = PyInt_FromLong((long) (*arg3));
26539 resultobj = t_output_helper(resultobj,o);
26540 }
26541 {
26542 PyObject *o = PyInt_FromLong((long) (*arg4));
26543 resultobj = t_output_helper(resultobj,o);
26544 }
26545 {
26546 if (temp2)
26547 delete arg2;
26548 }
26549 return resultobj;
26550 fail:
26551 {
26552 if (temp2)
26553 delete arg2;
26554 }
26555 return NULL;
26556}
26557
26558
26559static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26560 PyObject *resultobj;
26561 wxWindow *arg1 = (wxWindow *) 0 ;
26562 wxString *arg2 = 0 ;
26563 int *arg3 = (int *) 0 ;
26564 int *arg4 = (int *) 0 ;
26565 int *arg5 = (int *) 0 ;
26566 int *arg6 = (int *) 0 ;
26567 wxFont *arg7 = (wxFont *) NULL ;
e811c8ce 26568 bool temp2 = False ;
d14a1e28
RD
26569 int temp3 ;
26570 int temp4 ;
26571 int temp5 ;
26572 int temp6 ;
26573 PyObject * obj0 = 0 ;
26574 PyObject * obj1 = 0 ;
26575 PyObject * obj2 = 0 ;
26576 char *kwnames[] = {
26577 (char *) "self",(char *) "string",(char *) "font", NULL
26578 };
26579
26580 arg3 = &temp3;
26581 arg4 = &temp4;
26582 arg5 = &temp5;
26583 arg6 = &temp6;
26584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26587 {
26588 arg2 = wxString_in_helper(obj1);
26589 if (arg2 == NULL) SWIG_fail;
e811c8ce 26590 temp2 = True;
d14a1e28
RD
26591 }
26592 if (obj2) {
15afbcd0
RD
26593 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
26594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26595 }
26596 {
26597 PyThreadState* __tstate = wxPyBeginAllowThreads();
26598 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
26599
26600 wxPyEndAllowThreads(__tstate);
26601 if (PyErr_Occurred()) SWIG_fail;
26602 }
26603 Py_INCREF(Py_None); resultobj = Py_None;
26604 {
26605 PyObject *o = PyInt_FromLong((long) (*arg3));
26606 resultobj = t_output_helper(resultobj,o);
26607 }
26608 {
26609 PyObject *o = PyInt_FromLong((long) (*arg4));
26610 resultobj = t_output_helper(resultobj,o);
26611 }
26612 {
26613 PyObject *o = PyInt_FromLong((long) (*arg5));
26614 resultobj = t_output_helper(resultobj,o);
26615 }
26616 {
26617 PyObject *o = PyInt_FromLong((long) (*arg6));
26618 resultobj = t_output_helper(resultobj,o);
26619 }
26620 {
26621 if (temp2)
26622 delete arg2;
26623 }
26624 return resultobj;
26625 fail:
26626 {
26627 if (temp2)
26628 delete arg2;
26629 }
26630 return NULL;
26631}
26632
26633
26634static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26635 PyObject *resultobj;
26636 wxWindow *arg1 = (wxWindow *) 0 ;
26637 int *arg2 = (int *) 0 ;
26638 int *arg3 = (int *) 0 ;
26639 int temp2 ;
26640 int temp3 ;
26641 PyObject * obj0 = 0 ;
26642 PyObject * obj1 = 0 ;
26643 PyObject * obj2 = 0 ;
26644 char *kwnames[] = {
26645 (char *) "self",(char *) "x",(char *) "y", NULL
26646 };
26647
26648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26651 {
26652 temp2 = PyInt_AsLong(obj1);
26653 if (PyErr_Occurred()) SWIG_fail;
26654 arg2 = &temp2;
26655 }
26656 {
26657 temp3 = PyInt_AsLong(obj2);
26658 if (PyErr_Occurred()) SWIG_fail;
26659 arg3 = &temp3;
26660 }
26661 {
26662 PyThreadState* __tstate = wxPyBeginAllowThreads();
26663 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
26664
26665 wxPyEndAllowThreads(__tstate);
26666 if (PyErr_Occurred()) SWIG_fail;
26667 }
26668 Py_INCREF(Py_None); resultobj = Py_None;
26669 {
26670 PyObject *o = PyInt_FromLong((long) (*arg2));
26671 resultobj = t_output_helper(resultobj,o);
26672 }
26673 {
26674 PyObject *o = PyInt_FromLong((long) (*arg3));
26675 resultobj = t_output_helper(resultobj,o);
26676 }
26677 return resultobj;
26678 fail:
26679 return NULL;
26680}
26681
26682
26683static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26684 PyObject *resultobj;
26685 wxWindow *arg1 = (wxWindow *) 0 ;
26686 int *arg2 = (int *) 0 ;
26687 int *arg3 = (int *) 0 ;
26688 int temp2 ;
26689 int temp3 ;
26690 PyObject * obj0 = 0 ;
26691 PyObject * obj1 = 0 ;
26692 PyObject * obj2 = 0 ;
26693 char *kwnames[] = {
26694 (char *) "self",(char *) "x",(char *) "y", NULL
26695 };
26696
26697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26700 {
26701 temp2 = PyInt_AsLong(obj1);
26702 if (PyErr_Occurred()) SWIG_fail;
26703 arg2 = &temp2;
26704 }
26705 {
26706 temp3 = PyInt_AsLong(obj2);
26707 if (PyErr_Occurred()) SWIG_fail;
26708 arg3 = &temp3;
26709 }
26710 {
26711 PyThreadState* __tstate = wxPyBeginAllowThreads();
26712 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
26713
26714 wxPyEndAllowThreads(__tstate);
26715 if (PyErr_Occurred()) SWIG_fail;
26716 }
26717 Py_INCREF(Py_None); resultobj = Py_None;
26718 {
26719 PyObject *o = PyInt_FromLong((long) (*arg2));
26720 resultobj = t_output_helper(resultobj,o);
26721 }
26722 {
26723 PyObject *o = PyInt_FromLong((long) (*arg3));
26724 resultobj = t_output_helper(resultobj,o);
26725 }
26726 return resultobj;
26727 fail:
26728 return NULL;
26729}
26730
26731
26732static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
26733 PyObject *resultobj;
26734 wxWindow *arg1 = (wxWindow *) 0 ;
26735 wxPoint *arg2 = 0 ;
26736 wxPoint result;
26737 wxPoint temp2 ;
26738 PyObject * obj0 = 0 ;
26739 PyObject * obj1 = 0 ;
26740 char *kwnames[] = {
26741 (char *) "self",(char *) "pt", NULL
26742 };
26743
26744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26747 {
26748 arg2 = &temp2;
26749 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26750 }
26751 {
26752 PyThreadState* __tstate = wxPyBeginAllowThreads();
26753 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
26754
26755 wxPyEndAllowThreads(__tstate);
26756 if (PyErr_Occurred()) SWIG_fail;
26757 }
26758 {
26759 wxPoint * resultptr;
26760 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 26761 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26762 }
26763 return resultobj;
26764 fail:
26765 return NULL;
26766}
26767
26768
26769static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
26770 PyObject *resultobj;
26771 wxWindow *arg1 = (wxWindow *) 0 ;
26772 wxPoint *arg2 = 0 ;
26773 wxPoint result;
26774 wxPoint temp2 ;
26775 PyObject * obj0 = 0 ;
26776 PyObject * obj1 = 0 ;
26777 char *kwnames[] = {
26778 (char *) "self",(char *) "pt", NULL
26779 };
26780
26781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26784 {
26785 arg2 = &temp2;
26786 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26787 }
26788 {
26789 PyThreadState* __tstate = wxPyBeginAllowThreads();
26790 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
26791
26792 wxPyEndAllowThreads(__tstate);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
26795 {
26796 wxPoint * resultptr;
26797 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 26798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26799 }
26800 return resultobj;
26801 fail:
26802 return NULL;
26803}
26804
26805
26806static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26807 PyObject *resultobj;
26808 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce
RD
26809 int arg2 ;
26810 int arg3 ;
d14a1e28
RD
26811 int result;
26812 PyObject * obj0 = 0 ;
994141e6
RD
26813 PyObject * obj1 = 0 ;
26814 PyObject * obj2 = 0 ;
d14a1e28
RD
26815 char *kwnames[] = {
26816 (char *) "self",(char *) "x",(char *) "y", NULL
26817 };
26818
994141e6 26819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26822 arg2 = (int) SWIG_AsInt(obj1);
26823 if (PyErr_Occurred()) SWIG_fail;
26824 arg3 = (int) SWIG_AsInt(obj2);
26825 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26826 {
26827 PyThreadState* __tstate = wxPyBeginAllowThreads();
26828 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
26829
26830 wxPyEndAllowThreads(__tstate);
26831 if (PyErr_Occurred()) SWIG_fail;
26832 }
15afbcd0 26833 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26834 return resultobj;
26835 fail:
26836 return NULL;
26837}
26838
26839
26840static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26841 PyObject *resultobj;
26842 wxWindow *arg1 = (wxWindow *) 0 ;
26843 wxPoint *arg2 = 0 ;
26844 int result;
26845 wxPoint temp2 ;
26846 PyObject * obj0 = 0 ;
26847 PyObject * obj1 = 0 ;
26848 char *kwnames[] = {
26849 (char *) "self",(char *) "pt", NULL
26850 };
26851
26852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26855 {
26856 arg2 = &temp2;
26857 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26858 }
26859 {
26860 PyThreadState* __tstate = wxPyBeginAllowThreads();
26861 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
26862
26863 wxPyEndAllowThreads(__tstate);
26864 if (PyErr_Occurred()) SWIG_fail;
26865 }
15afbcd0 26866 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26867 return resultobj;
26868 fail:
26869 return NULL;
26870}
26871
26872
15afbcd0 26873static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
26874 PyObject *resultobj;
26875 wxWindow *arg1 = (wxWindow *) 0 ;
26876 long arg2 ;
26877 int result;
26878 PyObject * obj0 = 0 ;
994141e6 26879 PyObject * obj1 = 0 ;
d14a1e28 26880
15afbcd0
RD
26881 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
26882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26884 arg2 = (long) SWIG_AsLong(obj1);
26885 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26886 {
26887 PyThreadState* __tstate = wxPyBeginAllowThreads();
26888 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
26889
26890 wxPyEndAllowThreads(__tstate);
26891 if (PyErr_Occurred()) SWIG_fail;
26892 }
15afbcd0 26893 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26894 return resultobj;
26895 fail:
26896 return NULL;
26897}
26898
26899
15afbcd0 26900static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
26901 PyObject *resultobj;
26902 wxWindow *arg1 = (wxWindow *) 0 ;
26903 int result;
26904 PyObject * obj0 = 0 ;
d14a1e28 26905
15afbcd0
RD
26906 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
26907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26909 {
26910 PyThreadState* __tstate = wxPyBeginAllowThreads();
26911 result = (int)((wxWindow const *)arg1)->GetBorder();
26912
26913 wxPyEndAllowThreads(__tstate);
26914 if (PyErr_Occurred()) SWIG_fail;
26915 }
15afbcd0 26916 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26917 return resultobj;
26918 fail:
26919 return NULL;
26920}
26921
26922
15afbcd0
RD
26923static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
26924 int argc;
26925 PyObject *argv[3];
26926 int ii;
26927
26928 argc = PyObject_Length(args);
26929 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26930 argv[ii] = PyTuple_GetItem(args,ii);
26931 }
26932 if (argc == 1) {
26933 int _v;
26934 {
26935 void *ptr;
26936 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26937 _v = 0;
26938 PyErr_Clear();
26939 } else {
26940 _v = 1;
26941 }
26942 }
26943 if (_v) {
26944 return _wrap_Window_GetBorder__SWIG_1(self,args);
26945 }
26946 }
26947 if (argc == 2) {
26948 int _v;
26949 {
26950 void *ptr;
26951 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26952 _v = 0;
26953 PyErr_Clear();
26954 } else {
26955 _v = 1;
26956 }
26957 }
26958 if (_v) {
26959 _v = SWIG_CheckLong(argv[1]);
26960 if (_v) {
26961 return _wrap_Window_GetBorder__SWIG_0(self,args);
26962 }
26963 }
26964 }
26965
26966 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
26967 return NULL;
26968}
26969
26970
d14a1e28
RD
26971static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26972 PyObject *resultobj;
26973 wxWindow *arg1 = (wxWindow *) 0 ;
26974 long arg2 = (long) wxUPDATE_UI_NONE ;
26975 PyObject * obj0 = 0 ;
994141e6 26976 PyObject * obj1 = 0 ;
d14a1e28
RD
26977 char *kwnames[] = {
26978 (char *) "self",(char *) "flags", NULL
26979 };
26980
994141e6 26981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 26984 if (obj1) {
15afbcd0
RD
26985 arg2 = (long) SWIG_AsLong(obj1);
26986 if (PyErr_Occurred()) SWIG_fail;
994141e6 26987 }
d14a1e28
RD
26988 {
26989 PyThreadState* __tstate = wxPyBeginAllowThreads();
26990 (arg1)->UpdateWindowUI(arg2);
26991
26992 wxPyEndAllowThreads(__tstate);
26993 if (PyErr_Occurred()) SWIG_fail;
26994 }
26995 Py_INCREF(Py_None); resultobj = Py_None;
26996 return resultobj;
26997 fail:
26998 return NULL;
26999}
27000
27001
27002static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
27003 PyObject *resultobj;
27004 wxWindow *arg1 = (wxWindow *) 0 ;
27005 wxMenu *arg2 = (wxMenu *) 0 ;
b0503257
RD
27006 int arg3 = (int) -1 ;
27007 int arg4 = (int) -1 ;
d14a1e28
RD
27008 bool result;
27009 PyObject * obj0 = 0 ;
27010 PyObject * obj1 = 0 ;
994141e6
RD
27011 PyObject * obj2 = 0 ;
27012 PyObject * obj3 = 0 ;
d14a1e28
RD
27013 char *kwnames[] = {
27014 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27015 };
27016
b0503257 27017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
27021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b0503257
RD
27022 if (obj2) {
27023 arg3 = (int) SWIG_AsInt(obj2);
27024 if (PyErr_Occurred()) SWIG_fail;
27025 }
27026 if (obj3) {
27027 arg4 = (int) SWIG_AsInt(obj3);
27028 if (PyErr_Occurred()) SWIG_fail;
27029 }
d14a1e28
RD
27030 {
27031 PyThreadState* __tstate = wxPyBeginAllowThreads();
27032 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
27033
27034 wxPyEndAllowThreads(__tstate);
27035 if (PyErr_Occurred()) SWIG_fail;
27036 }
4f89f6a3
RD
27037 {
27038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27039 }
d14a1e28
RD
27040 return resultobj;
27041 fail:
27042 return NULL;
27043}
27044
27045
27046static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27047 PyObject *resultobj;
27048 wxWindow *arg1 = (wxWindow *) 0 ;
27049 wxMenu *arg2 = (wxMenu *) 0 ;
b0503257
RD
27050 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27051 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
d14a1e28
RD
27052 bool result;
27053 wxPoint temp3 ;
27054 PyObject * obj0 = 0 ;
27055 PyObject * obj1 = 0 ;
27056 PyObject * obj2 = 0 ;
27057 char *kwnames[] = {
27058 (char *) "self",(char *) "menu",(char *) "pos", NULL
27059 };
27060
b0503257 27061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27064 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
27065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b0503257
RD
27066 if (obj2) {
27067 {
27068 arg3 = &temp3;
27069 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27070 }
d14a1e28
RD
27071 }
27072 {
27073 PyThreadState* __tstate = wxPyBeginAllowThreads();
27074 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
27075
27076 wxPyEndAllowThreads(__tstate);
27077 if (PyErr_Occurred()) SWIG_fail;
27078 }
4f89f6a3
RD
27079 {
27080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27081 }
d14a1e28
RD
27082 return resultobj;
27083 fail:
27084 return NULL;
27085}
27086
27087
27088static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
27089 PyObject *resultobj;
27090 wxWindow *arg1 = (wxWindow *) 0 ;
27091 long result;
27092 PyObject * obj0 = 0 ;
27093 char *kwnames[] = {
27094 (char *) "self", NULL
27095 };
27096
27097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
15afbcd0
RD
27098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27100 {
27101 PyThreadState* __tstate = wxPyBeginAllowThreads();
27102 result = (long)wxWindow_GetHandle(arg1);
27103
27104 wxPyEndAllowThreads(__tstate);
27105 if (PyErr_Occurred()) SWIG_fail;
27106 }
15afbcd0 27107 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
27108 return resultobj;
27109 fail:
27110 return NULL;
27111}
27112
27113
27114static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
27115 PyObject *resultobj;
27116 wxWindow *arg1 = (wxWindow *) 0 ;
27117 int arg2 ;
27118 bool result;
27119 PyObject * obj0 = 0 ;
994141e6 27120 PyObject * obj1 = 0 ;
d14a1e28
RD
27121 char *kwnames[] = {
27122 (char *) "self",(char *) "orient", NULL
27123 };
27124
994141e6 27125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27128 arg2 = (int) SWIG_AsInt(obj1);
27129 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27130 {
27131 PyThreadState* __tstate = wxPyBeginAllowThreads();
27132 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
27133
27134 wxPyEndAllowThreads(__tstate);
27135 if (PyErr_Occurred()) SWIG_fail;
27136 }
4f89f6a3
RD
27137 {
27138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27139 }
d14a1e28
RD
27140 return resultobj;
27141 fail:
27142 return NULL;
27143}
27144
27145
27146static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
27147 PyObject *resultobj;
27148 wxWindow *arg1 = (wxWindow *) 0 ;
27149 int arg2 ;
27150 int arg3 ;
27151 int arg4 ;
27152 int arg5 ;
e811c8ce 27153 bool arg6 = (bool) True ;
d14a1e28 27154 PyObject * obj0 = 0 ;
994141e6
RD
27155 PyObject * obj1 = 0 ;
27156 PyObject * obj2 = 0 ;
27157 PyObject * obj3 = 0 ;
27158 PyObject * obj4 = 0 ;
d14a1e28
RD
27159 PyObject * obj5 = 0 ;
27160 char *kwnames[] = {
41e2b43e 27161 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
d14a1e28
RD
27162 };
27163
994141e6 27164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
27165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27167 arg2 = (int) SWIG_AsInt(obj1);
27168 if (PyErr_Occurred()) SWIG_fail;
27169 arg3 = (int) SWIG_AsInt(obj2);
27170 if (PyErr_Occurred()) SWIG_fail;
27171 arg4 = (int) SWIG_AsInt(obj3);
27172 if (PyErr_Occurred()) SWIG_fail;
27173 arg5 = (int) SWIG_AsInt(obj4);
27174 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27175 if (obj5) {
15afbcd0
RD
27176 arg6 = (bool) SWIG_AsBool(obj5);
27177 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27178 }
27179 {
27180 PyThreadState* __tstate = wxPyBeginAllowThreads();
27181 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
27182
27183 wxPyEndAllowThreads(__tstate);
27184 if (PyErr_Occurred()) SWIG_fail;
27185 }
27186 Py_INCREF(Py_None); resultobj = Py_None;
27187 return resultobj;
27188 fail:
27189 return NULL;
27190}
27191
27192
27193static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27194 PyObject *resultobj;
27195 wxWindow *arg1 = (wxWindow *) 0 ;
27196 int arg2 ;
27197 int arg3 ;
e811c8ce 27198 bool arg4 = (bool) True ;
d14a1e28 27199 PyObject * obj0 = 0 ;
994141e6
RD
27200 PyObject * obj1 = 0 ;
27201 PyObject * obj2 = 0 ;
d14a1e28
RD
27202 PyObject * obj3 = 0 ;
27203 char *kwnames[] = {
15afbcd0 27204 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
d14a1e28
RD
27205 };
27206
994141e6 27207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27210 arg2 = (int) SWIG_AsInt(obj1);
27211 if (PyErr_Occurred()) SWIG_fail;
27212 arg3 = (int) SWIG_AsInt(obj2);
27213 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27214 if (obj3) {
15afbcd0
RD
27215 arg4 = (bool) SWIG_AsBool(obj3);
27216 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27217 }
27218 {
27219 PyThreadState* __tstate = wxPyBeginAllowThreads();
27220 (arg1)->SetScrollPos(arg2,arg3,arg4);
27221
27222 wxPyEndAllowThreads(__tstate);
27223 if (PyErr_Occurred()) SWIG_fail;
27224 }
27225 Py_INCREF(Py_None); resultobj = Py_None;
27226 return resultobj;
27227 fail:
27228 return NULL;
27229}
27230
27231
27232static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27233 PyObject *resultobj;
27234 wxWindow *arg1 = (wxWindow *) 0 ;
27235 int arg2 ;
27236 int result;
27237 PyObject * obj0 = 0 ;
994141e6 27238 PyObject * obj1 = 0 ;
d14a1e28 27239 char *kwnames[] = {
15afbcd0 27240 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27241 };
27242
994141e6 27243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27246 arg2 = (int) SWIG_AsInt(obj1);
27247 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27248 {
27249 PyThreadState* __tstate = wxPyBeginAllowThreads();
27250 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
27251
27252 wxPyEndAllowThreads(__tstate);
27253 if (PyErr_Occurred()) SWIG_fail;
27254 }
15afbcd0 27255 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27256 return resultobj;
27257 fail:
27258 return NULL;
27259}
27260
27261
27262static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
27263 PyObject *resultobj;
27264 wxWindow *arg1 = (wxWindow *) 0 ;
27265 int arg2 ;
27266 int result;
27267 PyObject * obj0 = 0 ;
994141e6 27268 PyObject * obj1 = 0 ;
d14a1e28 27269 char *kwnames[] = {
15afbcd0 27270 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27271 };
27272
994141e6 27273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27276 arg2 = (int) SWIG_AsInt(obj1);
27277 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27278 {
27279 PyThreadState* __tstate = wxPyBeginAllowThreads();
27280 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
27281
27282 wxPyEndAllowThreads(__tstate);
27283 if (PyErr_Occurred()) SWIG_fail;
27284 }
15afbcd0 27285 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27286 return resultobj;
27287 fail:
27288 return NULL;
27289}
27290
27291
27292static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
27293 PyObject *resultobj;
27294 wxWindow *arg1 = (wxWindow *) 0 ;
27295 int arg2 ;
27296 int result;
27297 PyObject * obj0 = 0 ;
994141e6 27298 PyObject * obj1 = 0 ;
d14a1e28 27299 char *kwnames[] = {
15afbcd0 27300 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27301 };
27302
994141e6 27303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27306 arg2 = (int) SWIG_AsInt(obj1);
27307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27308 {
27309 PyThreadState* __tstate = wxPyBeginAllowThreads();
27310 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
27311
27312 wxPyEndAllowThreads(__tstate);
27313 if (PyErr_Occurred()) SWIG_fail;
27314 }
15afbcd0 27315 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27316 return resultobj;
27317 fail:
27318 return NULL;
27319}
27320
27321
27322static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27323 PyObject *resultobj;
27324 wxWindow *arg1 = (wxWindow *) 0 ;
27325 int arg2 ;
27326 int arg3 ;
27327 wxRect *arg4 = (wxRect *) NULL ;
27328 PyObject * obj0 = 0 ;
994141e6
RD
27329 PyObject * obj1 = 0 ;
27330 PyObject * obj2 = 0 ;
d14a1e28
RD
27331 PyObject * obj3 = 0 ;
27332 char *kwnames[] = {
27333 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27334 };
27335
994141e6 27336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27339 arg2 = (int) SWIG_AsInt(obj1);
27340 if (PyErr_Occurred()) SWIG_fail;
27341 arg3 = (int) SWIG_AsInt(obj2);
27342 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27343 if (obj3) {
15afbcd0
RD
27344 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
27345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27346 }
27347 {
27348 PyThreadState* __tstate = wxPyBeginAllowThreads();
27349 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
27350
27351 wxPyEndAllowThreads(__tstate);
27352 if (PyErr_Occurred()) SWIG_fail;
27353 }
27354 Py_INCREF(Py_None); resultobj = Py_None;
27355 return resultobj;
27356 fail:
27357 return NULL;
27358}
27359
27360
27361static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
27362 PyObject *resultobj;
27363 wxWindow *arg1 = (wxWindow *) 0 ;
27364 int arg2 ;
27365 bool result;
27366 PyObject * obj0 = 0 ;
994141e6 27367 PyObject * obj1 = 0 ;
d14a1e28
RD
27368 char *kwnames[] = {
27369 (char *) "self",(char *) "lines", NULL
27370 };
27371
994141e6 27372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27375 arg2 = (int) SWIG_AsInt(obj1);
27376 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27377 {
27378 PyThreadState* __tstate = wxPyBeginAllowThreads();
27379 result = (bool)(arg1)->ScrollLines(arg2);
27380
27381 wxPyEndAllowThreads(__tstate);
27382 if (PyErr_Occurred()) SWIG_fail;
27383 }
4f89f6a3
RD
27384 {
27385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27386 }
d14a1e28
RD
27387 return resultobj;
27388 fail:
27389 return NULL;
27390}
27391
27392
27393static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
27394 PyObject *resultobj;
27395 wxWindow *arg1 = (wxWindow *) 0 ;
27396 int arg2 ;
27397 bool result;
27398 PyObject * obj0 = 0 ;
994141e6 27399 PyObject * obj1 = 0 ;
d14a1e28
RD
27400 char *kwnames[] = {
27401 (char *) "self",(char *) "pages", NULL
27402 };
27403
994141e6 27404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27407 arg2 = (int) SWIG_AsInt(obj1);
27408 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27409 {
27410 PyThreadState* __tstate = wxPyBeginAllowThreads();
27411 result = (bool)(arg1)->ScrollPages(arg2);
27412
27413 wxPyEndAllowThreads(__tstate);
27414 if (PyErr_Occurred()) SWIG_fail;
27415 }
4f89f6a3
RD
27416 {
27417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27418 }
d14a1e28
RD
27419 return resultobj;
27420 fail:
27421 return NULL;
27422}
27423
27424
27425static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27426 PyObject *resultobj;
27427 wxWindow *arg1 = (wxWindow *) 0 ;
27428 bool result;
27429 PyObject * obj0 = 0 ;
27430 char *kwnames[] = {
27431 (char *) "self", NULL
27432 };
27433
27434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
27435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27437 {
27438 PyThreadState* __tstate = wxPyBeginAllowThreads();
27439 result = (bool)(arg1)->LineUp();
27440
27441 wxPyEndAllowThreads(__tstate);
27442 if (PyErr_Occurred()) SWIG_fail;
27443 }
4f89f6a3
RD
27444 {
27445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27446 }
d14a1e28
RD
27447 return resultobj;
27448 fail:
27449 return NULL;
27450}
27451
27452
27453static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27454 PyObject *resultobj;
27455 wxWindow *arg1 = (wxWindow *) 0 ;
27456 bool result;
27457 PyObject * obj0 = 0 ;
27458 char *kwnames[] = {
27459 (char *) "self", NULL
27460 };
27461
27462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
27463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27465 {
27466 PyThreadState* __tstate = wxPyBeginAllowThreads();
27467 result = (bool)(arg1)->LineDown();
27468
27469 wxPyEndAllowThreads(__tstate);
27470 if (PyErr_Occurred()) SWIG_fail;
27471 }
4f89f6a3
RD
27472 {
27473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27474 }
d14a1e28
RD
27475 return resultobj;
27476 fail:
27477 return NULL;
27478}
27479
27480
27481static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27482 PyObject *resultobj;
27483 wxWindow *arg1 = (wxWindow *) 0 ;
27484 bool result;
27485 PyObject * obj0 = 0 ;
27486 char *kwnames[] = {
27487 (char *) "self", NULL
27488 };
27489
27490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
27491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27493 {
27494 PyThreadState* __tstate = wxPyBeginAllowThreads();
27495 result = (bool)(arg1)->PageUp();
27496
27497 wxPyEndAllowThreads(__tstate);
27498 if (PyErr_Occurred()) SWIG_fail;
27499 }
4f89f6a3
RD
27500 {
27501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27502 }
d14a1e28
RD
27503 return resultobj;
27504 fail:
27505 return NULL;
27506}
27507
27508
27509static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27510 PyObject *resultobj;
27511 wxWindow *arg1 = (wxWindow *) 0 ;
27512 bool result;
27513 PyObject * obj0 = 0 ;
27514 char *kwnames[] = {
27515 (char *) "self", NULL
27516 };
27517
27518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
27519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27521 {
27522 PyThreadState* __tstate = wxPyBeginAllowThreads();
27523 result = (bool)(arg1)->PageDown();
27524
27525 wxPyEndAllowThreads(__tstate);
27526 if (PyErr_Occurred()) SWIG_fail;
27527 }
4f89f6a3
RD
27528 {
27529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27530 }
d14a1e28
RD
27531 return resultobj;
27532 fail:
27533 return NULL;
27534}
27535
27536
27537static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27538 PyObject *resultobj;
27539 wxWindow *arg1 = (wxWindow *) 0 ;
27540 wxString *arg2 = 0 ;
e811c8ce 27541 bool temp2 = False ;
d14a1e28
RD
27542 PyObject * obj0 = 0 ;
27543 PyObject * obj1 = 0 ;
27544 char *kwnames[] = {
27545 (char *) "self",(char *) "text", NULL
27546 };
27547
27548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27551 {
27552 arg2 = wxString_in_helper(obj1);
27553 if (arg2 == NULL) SWIG_fail;
e811c8ce 27554 temp2 = True;
d14a1e28
RD
27555 }
27556 {
27557 PyThreadState* __tstate = wxPyBeginAllowThreads();
27558 (arg1)->SetHelpText((wxString const &)*arg2);
27559
27560 wxPyEndAllowThreads(__tstate);
27561 if (PyErr_Occurred()) SWIG_fail;
27562 }
27563 Py_INCREF(Py_None); resultobj = Py_None;
27564 {
27565 if (temp2)
27566 delete arg2;
27567 }
27568 return resultobj;
27569 fail:
27570 {
27571 if (temp2)
27572 delete arg2;
27573 }
27574 return NULL;
27575}
27576
27577
27578static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
27579 PyObject *resultobj;
27580 wxWindow *arg1 = (wxWindow *) 0 ;
27581 wxString *arg2 = 0 ;
e811c8ce 27582 bool temp2 = False ;
d14a1e28
RD
27583 PyObject * obj0 = 0 ;
27584 PyObject * obj1 = 0 ;
27585 char *kwnames[] = {
27586 (char *) "self",(char *) "text", NULL
27587 };
27588
27589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27592 {
27593 arg2 = wxString_in_helper(obj1);
27594 if (arg2 == NULL) SWIG_fail;
e811c8ce 27595 temp2 = True;
d14a1e28
RD
27596 }
27597 {
27598 PyThreadState* __tstate = wxPyBeginAllowThreads();
27599 (arg1)->SetHelpTextForId((wxString const &)*arg2);
27600
27601 wxPyEndAllowThreads(__tstate);
27602 if (PyErr_Occurred()) SWIG_fail;
27603 }
27604 Py_INCREF(Py_None); resultobj = Py_None;
27605 {
27606 if (temp2)
27607 delete arg2;
27608 }
27609 return resultobj;
27610 fail:
27611 {
27612 if (temp2)
27613 delete arg2;
27614 }
27615 return NULL;
27616}
27617
27618
27619static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27620 PyObject *resultobj;
27621 wxWindow *arg1 = (wxWindow *) 0 ;
27622 wxString result;
27623 PyObject * obj0 = 0 ;
27624 char *kwnames[] = {
27625 (char *) "self", NULL
27626 };
27627
27628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
15afbcd0
RD
27629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27631 {
27632 PyThreadState* __tstate = wxPyBeginAllowThreads();
27633 result = ((wxWindow const *)arg1)->GetHelpText();
27634
27635 wxPyEndAllowThreads(__tstate);
27636 if (PyErr_Occurred()) SWIG_fail;
27637 }
27638 {
27639#if wxUSE_UNICODE
27640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27641#else
27642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27643#endif
27644 }
27645 return resultobj;
27646 fail:
27647 return NULL;
27648}
27649
27650
27651static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
27652 PyObject *resultobj;
27653 wxWindow *arg1 = (wxWindow *) 0 ;
27654 wxString *arg2 = 0 ;
e811c8ce 27655 bool temp2 = False ;
d14a1e28
RD
27656 PyObject * obj0 = 0 ;
27657 PyObject * obj1 = 0 ;
27658 char *kwnames[] = {
27659 (char *) "self",(char *) "tip", NULL
27660 };
27661
27662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27665 {
27666 arg2 = wxString_in_helper(obj1);
27667 if (arg2 == NULL) SWIG_fail;
e811c8ce 27668 temp2 = True;
d14a1e28
RD
27669 }
27670 {
27671 PyThreadState* __tstate = wxPyBeginAllowThreads();
27672 (arg1)->SetToolTip((wxString const &)*arg2);
27673
27674 wxPyEndAllowThreads(__tstate);
27675 if (PyErr_Occurred()) SWIG_fail;
27676 }
27677 Py_INCREF(Py_None); resultobj = Py_None;
27678 {
27679 if (temp2)
27680 delete arg2;
27681 }
27682 return resultobj;
27683 fail:
27684 {
27685 if (temp2)
27686 delete arg2;
27687 }
27688 return NULL;
27689}
27690
27691
27692static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27693 PyObject *resultobj;
27694 wxWindow *arg1 = (wxWindow *) 0 ;
27695 wxToolTip *arg2 = (wxToolTip *) 0 ;
27696 PyObject * obj0 = 0 ;
27697 PyObject * obj1 = 0 ;
27698 char *kwnames[] = {
27699 (char *) "self",(char *) "tip", NULL
27700 };
27701
27702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27705 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
27706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27707 {
27708 PyThreadState* __tstate = wxPyBeginAllowThreads();
27709 (arg1)->SetToolTip(arg2);
27710
27711 wxPyEndAllowThreads(__tstate);
27712 if (PyErr_Occurred()) SWIG_fail;
27713 }
27714 Py_INCREF(Py_None); resultobj = Py_None;
27715 return resultobj;
27716 fail:
27717 return NULL;
27718}
27719
27720
27721static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27722 PyObject *resultobj;
27723 wxWindow *arg1 = (wxWindow *) 0 ;
27724 wxToolTip *result;
27725 PyObject * obj0 = 0 ;
27726 char *kwnames[] = {
27727 (char *) "self", NULL
27728 };
27729
27730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
15afbcd0
RD
27731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27733 {
27734 PyThreadState* __tstate = wxPyBeginAllowThreads();
27735 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
27736
27737 wxPyEndAllowThreads(__tstate);
27738 if (PyErr_Occurred()) SWIG_fail;
27739 }
27740 {
412d302d 27741 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
27742 }
27743 return resultobj;
27744 fail:
27745 return NULL;
27746}
27747
27748
27749static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27750 PyObject *resultobj;
27751 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 27752 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
27753 PyObject * obj0 = 0 ;
27754 PyObject * obj1 = 0 ;
27755 char *kwnames[] = {
27756 (char *) "self",(char *) "dropTarget", NULL
27757 };
27758
27759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) 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_wxPyDropTarget,
27763 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
27764 {
27765 PyThreadState* __tstate = wxPyBeginAllowThreads();
27766 (arg1)->SetDropTarget(arg2);
27767
27768 wxPyEndAllowThreads(__tstate);
27769 if (PyErr_Occurred()) SWIG_fail;
27770 }
27771 Py_INCREF(Py_None); resultobj = Py_None;
27772 return resultobj;
27773 fail:
27774 return NULL;
27775}
27776
27777
27778static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27779 PyObject *resultobj;
27780 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 27781 wxPyDropTarget *result;
d14a1e28
RD
27782 PyObject * obj0 = 0 ;
27783 char *kwnames[] = {
27784 (char *) "self", NULL
27785 };
27786
27787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
27788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27790 {
27791 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 27792 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
27793
27794 wxPyEndAllowThreads(__tstate);
27795 if (PyErr_Occurred()) SWIG_fail;
27796 }
15afbcd0 27797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
27798 return resultobj;
27799 fail:
27800 return NULL;
27801}
27802
27803
27804static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27805 PyObject *resultobj;
27806 wxWindow *arg1 = (wxWindow *) 0 ;
27807 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
27808 PyObject * obj0 = 0 ;
27809 PyObject * obj1 = 0 ;
27810 char *kwnames[] = {
27811 (char *) "self",(char *) "constraints", NULL
27812 };
27813
27814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27817 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
27818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27819 {
27820 PyThreadState* __tstate = wxPyBeginAllowThreads();
27821 (arg1)->SetConstraints(arg2);
27822
27823 wxPyEndAllowThreads(__tstate);
27824 if (PyErr_Occurred()) SWIG_fail;
27825 }
27826 Py_INCREF(Py_None); resultobj = Py_None;
27827 return resultobj;
27828 fail:
27829 return NULL;
27830}
27831
27832
27833static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27834 PyObject *resultobj;
27835 wxWindow *arg1 = (wxWindow *) 0 ;
27836 wxLayoutConstraints *result;
27837 PyObject * obj0 = 0 ;
27838 char *kwnames[] = {
27839 (char *) "self", NULL
27840 };
27841
27842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
15afbcd0
RD
27843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27845 {
27846 PyThreadState* __tstate = wxPyBeginAllowThreads();
27847 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
27848
27849 wxPyEndAllowThreads(__tstate);
27850 if (PyErr_Occurred()) SWIG_fail;
27851 }
15afbcd0 27852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
d14a1e28
RD
27853 return resultobj;
27854 fail:
27855 return NULL;
27856}
27857
27858
27859static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27860 PyObject *resultobj;
27861 wxWindow *arg1 = (wxWindow *) 0 ;
27862 bool arg2 ;
27863 PyObject * obj0 = 0 ;
27864 PyObject * obj1 = 0 ;
27865 char *kwnames[] = {
27866 (char *) "self",(char *) "autoLayout", NULL
27867 };
27868
27869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27872 arg2 = (bool) SWIG_AsBool(obj1);
27873 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27874 {
27875 PyThreadState* __tstate = wxPyBeginAllowThreads();
27876 (arg1)->SetAutoLayout(arg2);
27877
27878 wxPyEndAllowThreads(__tstate);
27879 if (PyErr_Occurred()) SWIG_fail;
27880 }
27881 Py_INCREF(Py_None); resultobj = Py_None;
27882 return resultobj;
27883 fail:
27884 return NULL;
27885}
27886
27887
27888static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27889 PyObject *resultobj;
27890 wxWindow *arg1 = (wxWindow *) 0 ;
27891 bool result;
27892 PyObject * obj0 = 0 ;
27893 char *kwnames[] = {
27894 (char *) "self", NULL
27895 };
27896
27897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
15afbcd0
RD
27898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27900 {
27901 PyThreadState* __tstate = wxPyBeginAllowThreads();
27902 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
27903
27904 wxPyEndAllowThreads(__tstate);
27905 if (PyErr_Occurred()) SWIG_fail;
27906 }
4f89f6a3
RD
27907 {
27908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27909 }
d14a1e28
RD
27910 return resultobj;
27911 fail:
27912 return NULL;
27913}
27914
27915
27916static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
27917 PyObject *resultobj;
27918 wxWindow *arg1 = (wxWindow *) 0 ;
27919 bool result;
27920 PyObject * obj0 = 0 ;
27921 char *kwnames[] = {
27922 (char *) "self", NULL
27923 };
27924
27925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
27926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27928 {
27929 PyThreadState* __tstate = wxPyBeginAllowThreads();
27930 result = (bool)(arg1)->Layout();
27931
27932 wxPyEndAllowThreads(__tstate);
27933 if (PyErr_Occurred()) SWIG_fail;
27934 }
4f89f6a3
RD
27935 {
27936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27937 }
d14a1e28
RD
27938 return resultobj;
27939 fail:
27940 return NULL;
27941}
27942
27943
27944static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27945 PyObject *resultobj;
27946 wxWindow *arg1 = (wxWindow *) 0 ;
27947 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 27948 bool arg3 = (bool) True ;
d14a1e28
RD
27949 PyObject * obj0 = 0 ;
27950 PyObject * obj1 = 0 ;
27951 PyObject * obj2 = 0 ;
27952 char *kwnames[] = {
27953 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27954 };
27955
27956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27961 if (obj2) {
15afbcd0
RD
27962 arg3 = (bool) SWIG_AsBool(obj2);
27963 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27964 }
27965 {
27966 PyThreadState* __tstate = wxPyBeginAllowThreads();
27967 (arg1)->SetSizer(arg2,arg3);
27968
27969 wxPyEndAllowThreads(__tstate);
27970 if (PyErr_Occurred()) SWIG_fail;
27971 }
27972 Py_INCREF(Py_None); resultobj = Py_None;
27973 return resultobj;
27974 fail:
27975 return NULL;
27976}
27977
27978
27979static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
27980 PyObject *resultobj;
27981 wxWindow *arg1 = (wxWindow *) 0 ;
27982 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 27983 bool arg3 = (bool) True ;
d14a1e28
RD
27984 PyObject * obj0 = 0 ;
27985 PyObject * obj1 = 0 ;
27986 PyObject * obj2 = 0 ;
27987 char *kwnames[] = {
27988 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27989 };
27990
27991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27994 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27996 if (obj2) {
15afbcd0
RD
27997 arg3 = (bool) SWIG_AsBool(obj2);
27998 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27999 }
28000 {
28001 PyThreadState* __tstate = wxPyBeginAllowThreads();
28002 (arg1)->SetSizerAndFit(arg2,arg3);
28003
28004 wxPyEndAllowThreads(__tstate);
28005 if (PyErr_Occurred()) SWIG_fail;
28006 }
28007 Py_INCREF(Py_None); resultobj = Py_None;
28008 return resultobj;
28009 fail:
28010 return NULL;
28011}
28012
28013
28014static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28015 PyObject *resultobj;
28016 wxWindow *arg1 = (wxWindow *) 0 ;
28017 wxSizer *result;
28018 PyObject * obj0 = 0 ;
28019 char *kwnames[] = {
28020 (char *) "self", NULL
28021 };
28022
28023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
28024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28026 {
28027 PyThreadState* __tstate = wxPyBeginAllowThreads();
28028 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
28029
28030 wxPyEndAllowThreads(__tstate);
28031 if (PyErr_Occurred()) SWIG_fail;
28032 }
28033 {
412d302d 28034 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
28035 }
28036 return resultobj;
28037 fail:
28038 return NULL;
28039}
28040
28041
28042static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28043 PyObject *resultobj;
28044 wxWindow *arg1 = (wxWindow *) 0 ;
28045 wxSizer *arg2 = (wxSizer *) 0 ;
28046 PyObject * obj0 = 0 ;
28047 PyObject * obj1 = 0 ;
28048 char *kwnames[] = {
28049 (char *) "self",(char *) "sizer", NULL
28050 };
28051
28052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28055 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28057 {
28058 PyThreadState* __tstate = wxPyBeginAllowThreads();
28059 (arg1)->SetContainingSizer(arg2);
28060
28061 wxPyEndAllowThreads(__tstate);
28062 if (PyErr_Occurred()) SWIG_fail;
28063 }
28064 Py_INCREF(Py_None); resultobj = Py_None;
28065 return resultobj;
28066 fail:
28067 return NULL;
28068}
28069
28070
28071static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28072 PyObject *resultobj;
28073 wxWindow *arg1 = (wxWindow *) 0 ;
28074 wxSizer *result;
28075 PyObject * obj0 = 0 ;
28076 char *kwnames[] = {
28077 (char *) "self", NULL
28078 };
28079
28080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
28081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28083 {
28084 PyThreadState* __tstate = wxPyBeginAllowThreads();
28085 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
28086
28087 wxPyEndAllowThreads(__tstate);
28088 if (PyErr_Occurred()) SWIG_fail;
28089 }
28090 {
412d302d 28091 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
28092 }
28093 return resultobj;
28094 fail:
28095 return NULL;
28096}
28097
28098
a95a7133
RD
28099static PyObject *_wrap_Window_InheritAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
28100 PyObject *resultobj;
28101 wxWindow *arg1 = (wxWindow *) 0 ;
28102 PyObject * obj0 = 0 ;
28103 char *kwnames[] = {
28104 (char *) "self", NULL
28105 };
28106
28107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail;
28108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28110 {
28111 PyThreadState* __tstate = wxPyBeginAllowThreads();
28112 (arg1)->InheritAttributes();
28113
28114 wxPyEndAllowThreads(__tstate);
28115 if (PyErr_Occurred()) SWIG_fail;
28116 }
28117 Py_INCREF(Py_None); resultobj = Py_None;
28118 return resultobj;
28119 fail:
28120 return NULL;
28121}
28122
28123
28124static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
28125 PyObject *resultobj;
28126 wxWindow *arg1 = (wxWindow *) 0 ;
28127 bool result;
28128 PyObject * obj0 = 0 ;
28129 char *kwnames[] = {
28130 (char *) "self", NULL
28131 };
28132
28133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
28134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28136 {
28137 PyThreadState* __tstate = wxPyBeginAllowThreads();
28138 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
28139
28140 wxPyEndAllowThreads(__tstate);
28141 if (PyErr_Occurred()) SWIG_fail;
28142 }
28143 {
28144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28145 }
28146 return resultobj;
28147 fail:
28148 return NULL;
28149}
28150
28151
d14a1e28
RD
28152static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
28153 PyObject *obj;
28154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28155 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
28156 Py_INCREF(obj);
28157 return Py_BuildValue((char *)"");
28158}
28159static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
28160 PyObject *resultobj;
28161 long arg1 ;
28162 wxWindow *arg2 = (wxWindow *) NULL ;
28163 wxWindow *result;
994141e6 28164 PyObject * obj0 = 0 ;
d14a1e28
RD
28165 PyObject * obj1 = 0 ;
28166 char *kwnames[] = {
28167 (char *) "id",(char *) "parent", NULL
28168 };
28169
994141e6 28170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28171 arg1 = (long) SWIG_AsLong(obj0);
28172 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28173 if (obj1) {
15afbcd0
RD
28174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28176 }
28177 {
e3b71cb8 28178 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28179 PyThreadState* __tstate = wxPyBeginAllowThreads();
28180 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
28181
28182 wxPyEndAllowThreads(__tstate);
110da5b0 28183 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28184 }
28185 {
412d302d 28186 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28187 }
28188 return resultobj;
28189 fail:
28190 return NULL;
28191}
28192
28193
28194static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
28195 PyObject *resultobj;
28196 wxString *arg1 = 0 ;
28197 wxWindow *arg2 = (wxWindow *) NULL ;
28198 wxWindow *result;
e811c8ce 28199 bool temp1 = False ;
d14a1e28
RD
28200 PyObject * obj0 = 0 ;
28201 PyObject * obj1 = 0 ;
28202 char *kwnames[] = {
28203 (char *) "name",(char *) "parent", NULL
28204 };
28205
28206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
28207 {
28208 arg1 = wxString_in_helper(obj0);
28209 if (arg1 == NULL) SWIG_fail;
e811c8ce 28210 temp1 = True;
d14a1e28
RD
28211 }
28212 if (obj1) {
15afbcd0
RD
28213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28215 }
28216 {
e3b71cb8 28217 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28218 PyThreadState* __tstate = wxPyBeginAllowThreads();
28219 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
28220
28221 wxPyEndAllowThreads(__tstate);
110da5b0 28222 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28223 }
28224 {
412d302d 28225 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28226 }
28227 {
28228 if (temp1)
28229 delete arg1;
28230 }
28231 return resultobj;
28232 fail:
28233 {
28234 if (temp1)
28235 delete arg1;
28236 }
28237 return NULL;
28238}
28239
28240
28241static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28242 PyObject *resultobj;
28243 wxString *arg1 = 0 ;
28244 wxWindow *arg2 = (wxWindow *) NULL ;
28245 wxWindow *result;
e811c8ce 28246 bool temp1 = False ;
d14a1e28
RD
28247 PyObject * obj0 = 0 ;
28248 PyObject * obj1 = 0 ;
28249 char *kwnames[] = {
28250 (char *) "label",(char *) "parent", NULL
28251 };
28252
28253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
28254 {
28255 arg1 = wxString_in_helper(obj0);
28256 if (arg1 == NULL) SWIG_fail;
e811c8ce 28257 temp1 = True;
d14a1e28
RD
28258 }
28259 if (obj1) {
15afbcd0
RD
28260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28262 }
28263 {
e3b71cb8 28264 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28265 PyThreadState* __tstate = wxPyBeginAllowThreads();
28266 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
28267
28268 wxPyEndAllowThreads(__tstate);
110da5b0 28269 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28270 }
28271 {
412d302d 28272 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28273 }
28274 {
28275 if (temp1)
28276 delete arg1;
28277 }
28278 return resultobj;
28279 fail:
28280 {
28281 if (temp1)
28282 delete arg1;
28283 }
28284 return NULL;
28285}
28286
28287
28288static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
28289 PyObject *resultobj;
4276dc52
RD
28290 wxWindow *arg1 = (wxWindow *) 0 ;
28291 unsigned long arg2 ;
d14a1e28
RD
28292 wxWindow *result;
28293 PyObject * obj0 = 0 ;
4276dc52 28294 PyObject * obj1 = 0 ;
d14a1e28 28295 char *kwnames[] = {
4276dc52 28296 (char *) "parent",(char *) "_hWnd", NULL
d14a1e28
RD
28297 };
28298
4276dc52
RD
28299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
28300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28302 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
15afbcd0 28303 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28304 {
28305 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 28306 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
d14a1e28
RD
28307
28308 wxPyEndAllowThreads(__tstate);
28309 if (PyErr_Occurred()) SWIG_fail;
28310 }
28311 {
412d302d 28312 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28313 }
28314 return resultobj;
28315 fail:
28316 return NULL;
28317}
28318
28319
28320static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
28321 PyObject *resultobj;
28322 wxValidator *result;
28323 char *kwnames[] = {
28324 NULL
28325 };
28326
28327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
28328 {
28329 PyThreadState* __tstate = wxPyBeginAllowThreads();
28330 result = (wxValidator *)new wxValidator();
28331
28332 wxPyEndAllowThreads(__tstate);
28333 if (PyErr_Occurred()) SWIG_fail;
28334 }
b0f7404b 28335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxValidator, 1);
d14a1e28
RD
28336 return resultobj;
28337 fail:
28338 return NULL;
28339}
28340
28341
28342static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
28343 PyObject *resultobj;
28344 wxValidator *arg1 = (wxValidator *) 0 ;
28345 wxValidator *result;
28346 PyObject * obj0 = 0 ;
28347 char *kwnames[] = {
28348 (char *) "self", NULL
28349 };
28350
28351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
28352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28354 {
28355 PyThreadState* __tstate = wxPyBeginAllowThreads();
28356 result = (wxValidator *)(arg1)->Clone();
28357
28358 wxPyEndAllowThreads(__tstate);
28359 if (PyErr_Occurred()) SWIG_fail;
28360 }
28361 {
412d302d 28362 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28363 }
28364 return resultobj;
28365 fail:
28366 return NULL;
28367}
28368
28369
28370static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28371 PyObject *resultobj;
28372 wxValidator *arg1 = (wxValidator *) 0 ;
28373 wxWindow *arg2 = (wxWindow *) 0 ;
28374 bool result;
28375 PyObject * obj0 = 0 ;
28376 PyObject * obj1 = 0 ;
28377 char *kwnames[] = {
28378 (char *) "self",(char *) "parent", NULL
28379 };
28380
28381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28386 {
28387 PyThreadState* __tstate = wxPyBeginAllowThreads();
28388 result = (bool)(arg1)->Validate(arg2);
28389
28390 wxPyEndAllowThreads(__tstate);
28391 if (PyErr_Occurred()) SWIG_fail;
28392 }
4f89f6a3
RD
28393 {
28394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28395 }
d14a1e28
RD
28396 return resultobj;
28397 fail:
28398 return NULL;
28399}
28400
28401
28402static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28403 PyObject *resultobj;
28404 wxValidator *arg1 = (wxValidator *) 0 ;
28405 bool result;
28406 PyObject * obj0 = 0 ;
28407 char *kwnames[] = {
28408 (char *) "self", NULL
28409 };
28410
28411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28414 {
28415 PyThreadState* __tstate = wxPyBeginAllowThreads();
28416 result = (bool)(arg1)->TransferToWindow();
28417
28418 wxPyEndAllowThreads(__tstate);
28419 if (PyErr_Occurred()) SWIG_fail;
28420 }
4f89f6a3
RD
28421 {
28422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28423 }
d14a1e28
RD
28424 return resultobj;
28425 fail:
28426 return NULL;
28427}
28428
28429
28430static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28431 PyObject *resultobj;
28432 wxValidator *arg1 = (wxValidator *) 0 ;
28433 bool result;
28434 PyObject * obj0 = 0 ;
28435 char *kwnames[] = {
28436 (char *) "self", NULL
28437 };
28438
28439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28442 {
28443 PyThreadState* __tstate = wxPyBeginAllowThreads();
28444 result = (bool)(arg1)->TransferFromWindow();
28445
28446 wxPyEndAllowThreads(__tstate);
28447 if (PyErr_Occurred()) SWIG_fail;
28448 }
4f89f6a3
RD
28449 {
28450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28451 }
d14a1e28
RD
28452 return resultobj;
28453 fail:
28454 return NULL;
28455}
28456
28457
28458static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28459 PyObject *resultobj;
28460 wxValidator *arg1 = (wxValidator *) 0 ;
28461 wxWindow *result;
28462 PyObject * obj0 = 0 ;
28463 char *kwnames[] = {
28464 (char *) "self", NULL
28465 };
28466
28467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28470 {
28471 PyThreadState* __tstate = wxPyBeginAllowThreads();
28472 result = (wxWindow *)(arg1)->GetWindow();
28473
28474 wxPyEndAllowThreads(__tstate);
28475 if (PyErr_Occurred()) SWIG_fail;
28476 }
28477 {
412d302d 28478 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28479 }
28480 return resultobj;
28481 fail:
28482 return NULL;
28483}
28484
28485
28486static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28487 PyObject *resultobj;
28488 wxValidator *arg1 = (wxValidator *) 0 ;
28489 wxWindow *arg2 = (wxWindow *) 0 ;
28490 PyObject * obj0 = 0 ;
28491 PyObject * obj1 = 0 ;
28492 char *kwnames[] = {
28493 (char *) "self",(char *) "window", NULL
28494 };
28495
28496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28499 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28501 {
28502 PyThreadState* __tstate = wxPyBeginAllowThreads();
28503 (arg1)->SetWindow(arg2);
28504
28505 wxPyEndAllowThreads(__tstate);
28506 if (PyErr_Occurred()) SWIG_fail;
28507 }
28508 Py_INCREF(Py_None); resultobj = Py_None;
28509 return resultobj;
28510 fail:
28511 return NULL;
28512}
28513
28514
28515static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
28516 PyObject *resultobj;
28517 bool result;
28518 char *kwnames[] = {
28519 NULL
28520 };
28521
28522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
28523 {
28524 PyThreadState* __tstate = wxPyBeginAllowThreads();
28525 result = (bool)wxValidator::IsSilent();
28526
28527 wxPyEndAllowThreads(__tstate);
28528 if (PyErr_Occurred()) SWIG_fail;
28529 }
4f89f6a3
RD
28530 {
28531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28532 }
d14a1e28
RD
28533 return resultobj;
28534 fail:
28535 return NULL;
28536}
28537
28538
28539static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
28540 PyObject *resultobj;
e811c8ce 28541 int arg1 = (int) True ;
994141e6 28542 PyObject * obj0 = 0 ;
d14a1e28
RD
28543 char *kwnames[] = {
28544 (char *) "doIt", NULL
28545 };
28546
994141e6
RD
28547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
28548 if (obj0) {
15afbcd0
RD
28549 arg1 = (int) SWIG_AsInt(obj0);
28550 if (PyErr_Occurred()) SWIG_fail;
994141e6 28551 }
d14a1e28
RD
28552 {
28553 PyThreadState* __tstate = wxPyBeginAllowThreads();
28554 wxValidator::SetBellOnError(arg1);
28555
28556 wxPyEndAllowThreads(__tstate);
28557 if (PyErr_Occurred()) SWIG_fail;
28558 }
28559 Py_INCREF(Py_None); resultobj = Py_None;
28560 return resultobj;
28561 fail:
28562 return NULL;
28563}
28564
28565
28566static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
28567 PyObject *obj;
28568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28569 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
28570 Py_INCREF(obj);
28571 return Py_BuildValue((char *)"");
28572}
28573static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
28574 PyObject *resultobj;
28575 wxPyValidator *result;
28576 char *kwnames[] = {
28577 NULL
28578 };
28579
28580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
28581 {
28582 PyThreadState* __tstate = wxPyBeginAllowThreads();
28583 result = (wxPyValidator *)new wxPyValidator();
28584
28585 wxPyEndAllowThreads(__tstate);
28586 if (PyErr_Occurred()) SWIG_fail;
28587 }
15afbcd0 28588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
d14a1e28
RD
28589 return resultobj;
28590 fail:
28591 return NULL;
28592}
28593
28594
28595static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28596 PyObject *resultobj;
28597 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
28598 PyObject *arg2 = (PyObject *) 0 ;
28599 PyObject *arg3 = (PyObject *) 0 ;
e811c8ce 28600 int arg4 = (int) True ;
d14a1e28
RD
28601 PyObject * obj0 = 0 ;
28602 PyObject * obj1 = 0 ;
28603 PyObject * obj2 = 0 ;
994141e6 28604 PyObject * obj3 = 0 ;
d14a1e28
RD
28605 char *kwnames[] = {
28606 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28607 };
28608
994141e6 28609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
28611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28612 arg2 = obj1;
28613 arg3 = obj2;
994141e6 28614 if (obj3) {
15afbcd0
RD
28615 arg4 = (int) SWIG_AsInt(obj3);
28616 if (PyErr_Occurred()) SWIG_fail;
994141e6 28617 }
d14a1e28
RD
28618 {
28619 PyThreadState* __tstate = wxPyBeginAllowThreads();
28620 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28621
28622 wxPyEndAllowThreads(__tstate);
28623 if (PyErr_Occurred()) SWIG_fail;
28624 }
28625 Py_INCREF(Py_None); resultobj = Py_None;
28626 return resultobj;
28627 fail:
28628 return NULL;
28629}
28630
28631
28632static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
28633 PyObject *obj;
28634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28635 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
28636 Py_INCREF(obj);
28637 return Py_BuildValue((char *)"");
28638}
28639static int _wrap_DefaultValidator_set(PyObject *_val) {
28640 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
28641 return 1;
28642}
28643
28644
28645static PyObject *_wrap_DefaultValidator_get() {
28646 PyObject *pyobj;
28647
15afbcd0 28648 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
d14a1e28
RD
28649 return pyobj;
28650}
28651
28652
28653static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
28654 PyObject *resultobj;
28655 wxString const &arg1_defvalue = wxPyEmptyString ;
28656 wxString *arg1 = (wxString *) &arg1_defvalue ;
28657 long arg2 = (long) 0 ;
28658 wxMenu *result;
e811c8ce 28659 bool temp1 = False ;
d14a1e28 28660 PyObject * obj0 = 0 ;
994141e6 28661 PyObject * obj1 = 0 ;
d14a1e28
RD
28662 char *kwnames[] = {
28663 (char *) "title",(char *) "style", NULL
28664 };
28665
994141e6 28666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
28667 if (obj0) {
28668 {
28669 arg1 = wxString_in_helper(obj0);
28670 if (arg1 == NULL) SWIG_fail;
e811c8ce 28671 temp1 = True;
d14a1e28
RD
28672 }
28673 }
994141e6 28674 if (obj1) {
15afbcd0
RD
28675 arg2 = (long) SWIG_AsLong(obj1);
28676 if (PyErr_Occurred()) SWIG_fail;
994141e6 28677 }
d14a1e28 28678 {
e3b71cb8 28679 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28680 PyThreadState* __tstate = wxPyBeginAllowThreads();
28681 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
28682
28683 wxPyEndAllowThreads(__tstate);
110da5b0 28684 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28685 }
b0f7404b 28686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenu, 1);
d14a1e28
RD
28687 {
28688 if (temp1)
28689 delete arg1;
28690 }
28691 return resultobj;
28692 fail:
28693 {
28694 if (temp1)
28695 delete arg1;
28696 }
28697 return NULL;
28698}
28699
28700
28701static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28702 PyObject *resultobj;
28703 wxMenu *arg1 = (wxMenu *) 0 ;
28704 int arg2 ;
28705 wxString *arg3 = 0 ;
28706 wxString const &arg4_defvalue = wxPyEmptyString ;
28707 wxString *arg4 = (wxString *) &arg4_defvalue ;
28708 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 28709 wxMenuItem *result;
e811c8ce
RD
28710 bool temp3 = False ;
28711 bool temp4 = False ;
d14a1e28 28712 PyObject * obj0 = 0 ;
994141e6 28713 PyObject * obj1 = 0 ;
d14a1e28
RD
28714 PyObject * obj2 = 0 ;
28715 PyObject * obj3 = 0 ;
994141e6 28716 PyObject * obj4 = 0 ;
d14a1e28 28717 char *kwnames[] = {
242b7b46 28718 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
28719 };
28720
994141e6 28721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28724 arg2 = (int) SWIG_AsInt(obj1);
28725 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28726 {
28727 arg3 = wxString_in_helper(obj2);
28728 if (arg3 == NULL) SWIG_fail;
e811c8ce 28729 temp3 = True;
d14a1e28
RD
28730 }
28731 if (obj3) {
28732 {
28733 arg4 = wxString_in_helper(obj3);
28734 if (arg4 == NULL) SWIG_fail;
e811c8ce 28735 temp4 = True;
d14a1e28
RD
28736 }
28737 }
994141e6 28738 if (obj4) {
15afbcd0
RD
28739 arg5 = (wxItemKind) SWIG_AsInt(obj4);
28740 if (PyErr_Occurred()) SWIG_fail;
994141e6 28741 }
d14a1e28
RD
28742 {
28743 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28744 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
28745
28746 wxPyEndAllowThreads(__tstate);
28747 if (PyErr_Occurred()) SWIG_fail;
28748 }
a41e16b6 28749 {
412d302d 28750 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 28751 }
d14a1e28
RD
28752 {
28753 if (temp3)
28754 delete arg3;
28755 }
28756 {
28757 if (temp4)
28758 delete arg4;
28759 }
28760 return resultobj;
28761 fail:
28762 {
28763 if (temp3)
28764 delete arg3;
28765 }
28766 {
28767 if (temp4)
28768 delete arg4;
28769 }
28770 return NULL;
28771}
28772
28773
28774static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28775 PyObject *resultobj;
28776 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 28777 wxMenuItem *result;
d14a1e28
RD
28778 PyObject * obj0 = 0 ;
28779 char *kwnames[] = {
28780 (char *) "self", NULL
28781 };
28782
28783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
28784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28786 {
28787 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28788 result = (wxMenuItem *)(arg1)->AppendSeparator();
d14a1e28
RD
28789
28790 wxPyEndAllowThreads(__tstate);
28791 if (PyErr_Occurred()) SWIG_fail;
28792 }
a41e16b6 28793 {
412d302d 28794 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 28795 }
d14a1e28
RD
28796 return resultobj;
28797 fail:
28798 return NULL;
28799}
28800
28801
28802static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28803 PyObject *resultobj;
28804 wxMenu *arg1 = (wxMenu *) 0 ;
28805 int arg2 ;
28806 wxString *arg3 = 0 ;
28807 wxString const &arg4_defvalue = wxPyEmptyString ;
28808 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 28809 wxMenuItem *result;
e811c8ce
RD
28810 bool temp3 = False ;
28811 bool temp4 = False ;
d14a1e28 28812 PyObject * obj0 = 0 ;
994141e6 28813 PyObject * obj1 = 0 ;
d14a1e28
RD
28814 PyObject * obj2 = 0 ;
28815 PyObject * obj3 = 0 ;
28816 char *kwnames[] = {
242b7b46 28817 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28818 };
28819
994141e6 28820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28823 arg2 = (int) SWIG_AsInt(obj1);
28824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28825 {
28826 arg3 = wxString_in_helper(obj2);
28827 if (arg3 == NULL) SWIG_fail;
e811c8ce 28828 temp3 = True;
d14a1e28
RD
28829 }
28830 if (obj3) {
28831 {
28832 arg4 = wxString_in_helper(obj3);
28833 if (arg4 == NULL) SWIG_fail;
e811c8ce 28834 temp4 = True;
d14a1e28
RD
28835 }
28836 }
28837 {
28838 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28839 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28840
28841 wxPyEndAllowThreads(__tstate);
28842 if (PyErr_Occurred()) SWIG_fail;
28843 }
a41e16b6 28844 {
412d302d 28845 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 28846 }
d14a1e28
RD
28847 {
28848 if (temp3)
28849 delete arg3;
28850 }
28851 {
28852 if (temp4)
28853 delete arg4;
28854 }
28855 return resultobj;
28856 fail:
28857 {
28858 if (temp3)
28859 delete arg3;
28860 }
28861 {
28862 if (temp4)
28863 delete arg4;
28864 }
28865 return NULL;
28866}
28867
28868
28869static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28870 PyObject *resultobj;
28871 wxMenu *arg1 = (wxMenu *) 0 ;
28872 int arg2 ;
28873 wxString *arg3 = 0 ;
28874 wxString const &arg4_defvalue = wxPyEmptyString ;
28875 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 28876 wxMenuItem *result;
e811c8ce
RD
28877 bool temp3 = False ;
28878 bool temp4 = False ;
d14a1e28 28879 PyObject * obj0 = 0 ;
994141e6 28880 PyObject * obj1 = 0 ;
d14a1e28
RD
28881 PyObject * obj2 = 0 ;
28882 PyObject * obj3 = 0 ;
28883 char *kwnames[] = {
242b7b46 28884 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28885 };
28886
994141e6 28887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28890 arg2 = (int) SWIG_AsInt(obj1);
28891 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28892 {
28893 arg3 = wxString_in_helper(obj2);
28894 if (arg3 == NULL) SWIG_fail;
e811c8ce 28895 temp3 = True;
d14a1e28
RD
28896 }
28897 if (obj3) {
28898 {
28899 arg4 = wxString_in_helper(obj3);
28900 if (arg4 == NULL) SWIG_fail;
e811c8ce 28901 temp4 = True;
d14a1e28
RD
28902 }
28903 }
28904 {
28905 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28906 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28907
28908 wxPyEndAllowThreads(__tstate);
28909 if (PyErr_Occurred()) SWIG_fail;
28910 }
a41e16b6 28911 {
412d302d 28912 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 28913 }
d14a1e28
RD
28914 {
28915 if (temp3)
28916 delete arg3;
28917 }
28918 {
28919 if (temp4)
28920 delete arg4;
28921 }
28922 return resultobj;
28923 fail:
28924 {
28925 if (temp3)
28926 delete arg3;
28927 }
28928 {
28929 if (temp4)
28930 delete arg4;
28931 }
28932 return NULL;
28933}
28934
28935
28936static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28937 PyObject *resultobj;
28938 wxMenu *arg1 = (wxMenu *) 0 ;
28939 int arg2 ;
28940 wxString *arg3 = 0 ;
28941 wxMenu *arg4 = (wxMenu *) 0 ;
28942 wxString const &arg5_defvalue = wxPyEmptyString ;
28943 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 28944 wxMenuItem *result;
e811c8ce
RD
28945 bool temp3 = False ;
28946 bool temp5 = False ;
d14a1e28 28947 PyObject * obj0 = 0 ;
994141e6 28948 PyObject * obj1 = 0 ;
d14a1e28
RD
28949 PyObject * obj2 = 0 ;
28950 PyObject * obj3 = 0 ;
28951 PyObject * obj4 = 0 ;
28952 char *kwnames[] = {
242b7b46 28953 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
28954 };
28955
994141e6 28956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28959 arg2 = (int) SWIG_AsInt(obj1);
28960 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28961 {
28962 arg3 = wxString_in_helper(obj2);
28963 if (arg3 == NULL) SWIG_fail;
e811c8ce 28964 temp3 = True;
d14a1e28 28965 }
15afbcd0
RD
28966 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
28967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28968 if (obj4) {
28969 {
28970 arg5 = wxString_in_helper(obj4);
28971 if (arg5 == NULL) SWIG_fail;
e811c8ce 28972 temp5 = True;
d14a1e28
RD
28973 }
28974 }
28975 {
28976 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28977 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
28978
28979 wxPyEndAllowThreads(__tstate);
28980 if (PyErr_Occurred()) SWIG_fail;
28981 }
a41e16b6 28982 {
412d302d 28983 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 28984 }
d14a1e28
RD
28985 {
28986 if (temp3)
28987 delete arg3;
28988 }
28989 {
28990 if (temp5)
28991 delete arg5;
28992 }
28993 return resultobj;
28994 fail:
28995 {
28996 if (temp3)
28997 delete arg3;
28998 }
28999 {
29000 if (temp5)
29001 delete arg5;
29002 }
29003 return NULL;
29004}
29005
29006
29007static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29008 PyObject *resultobj;
29009 wxMenu *arg1 = (wxMenu *) 0 ;
29010 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 29011 wxMenuItem *result;
d14a1e28
RD
29012 PyObject * obj0 = 0 ;
29013 PyObject * obj1 = 0 ;
29014 char *kwnames[] = {
29015 (char *) "self",(char *) "item", NULL
29016 };
29017
29018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29023 {
29024 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29025 result = (wxMenuItem *)(arg1)->Append(arg2);
d14a1e28
RD
29026
29027 wxPyEndAllowThreads(__tstate);
29028 if (PyErr_Occurred()) SWIG_fail;
29029 }
a41e16b6 29030 {
412d302d 29031 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29032 }
d14a1e28
RD
29033 return resultobj;
29034 fail:
29035 return NULL;
29036}
29037
29038
29039static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
29040 PyObject *resultobj;
29041 wxMenu *arg1 = (wxMenu *) 0 ;
29042 PyObject * obj0 = 0 ;
29043 char *kwnames[] = {
29044 (char *) "self", NULL
29045 };
29046
29047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
15afbcd0
RD
29048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29050 {
29051 PyThreadState* __tstate = wxPyBeginAllowThreads();
29052 (arg1)->Break();
29053
29054 wxPyEndAllowThreads(__tstate);
29055 if (PyErr_Occurred()) SWIG_fail;
29056 }
29057 Py_INCREF(Py_None); resultobj = Py_None;
29058 return resultobj;
29059 fail:
29060 return NULL;
29061}
29062
29063
29064static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29065 PyObject *resultobj;
29066 wxMenu *arg1 = (wxMenu *) 0 ;
29067 size_t arg2 ;
29068 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
a41e16b6 29069 wxMenuItem *result;
d14a1e28
RD
29070 PyObject * obj0 = 0 ;
29071 PyObject * obj1 = 0 ;
29072 PyObject * obj2 = 0 ;
29073 char *kwnames[] = {
29074 (char *) "self",(char *) "pos",(char *) "item", NULL
29075 };
29076
29077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29080 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29081 if (PyErr_Occurred()) SWIG_fail;
29082 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
29083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29084 {
29085 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29086 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
29087
29088 wxPyEndAllowThreads(__tstate);
29089 if (PyErr_Occurred()) SWIG_fail;
29090 }
a41e16b6 29091 {
412d302d 29092 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29093 }
d14a1e28
RD
29094 return resultobj;
29095 fail:
29096 return NULL;
29097}
29098
29099
29100static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29101 PyObject *resultobj;
29102 wxMenu *arg1 = (wxMenu *) 0 ;
29103 size_t arg2 ;
29104 int arg3 ;
29105 wxString *arg4 = 0 ;
29106 wxString const &arg5_defvalue = wxPyEmptyString ;
29107 wxString *arg5 = (wxString *) &arg5_defvalue ;
29108 int arg6 = (int) wxITEM_NORMAL ;
a41e16b6 29109 wxMenuItem *result;
e811c8ce
RD
29110 bool temp4 = False ;
29111 bool temp5 = False ;
d14a1e28
RD
29112 PyObject * obj0 = 0 ;
29113 PyObject * obj1 = 0 ;
994141e6 29114 PyObject * obj2 = 0 ;
d14a1e28
RD
29115 PyObject * obj3 = 0 ;
29116 PyObject * obj4 = 0 ;
994141e6 29117 PyObject * obj5 = 0 ;
d14a1e28 29118 char *kwnames[] = {
242b7b46 29119 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29120 };
29121
994141e6 29122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
29123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29125 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29126 if (PyErr_Occurred()) SWIG_fail;
29127 arg3 = (int) SWIG_AsInt(obj2);
29128 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29129 {
29130 arg4 = wxString_in_helper(obj3);
29131 if (arg4 == NULL) SWIG_fail;
e811c8ce 29132 temp4 = True;
d14a1e28
RD
29133 }
29134 if (obj4) {
29135 {
29136 arg5 = wxString_in_helper(obj4);
29137 if (arg5 == NULL) SWIG_fail;
e811c8ce 29138 temp5 = True;
d14a1e28
RD
29139 }
29140 }
994141e6 29141 if (obj5) {
15afbcd0
RD
29142 arg6 = (wxItemKind) SWIG_AsInt(obj5);
29143 if (PyErr_Occurred()) SWIG_fail;
994141e6 29144 }
d14a1e28
RD
29145 {
29146 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29147 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
d14a1e28
RD
29148
29149 wxPyEndAllowThreads(__tstate);
29150 if (PyErr_Occurred()) SWIG_fail;
29151 }
a41e16b6 29152 {
412d302d 29153 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29154 }
d14a1e28
RD
29155 {
29156 if (temp4)
29157 delete arg4;
29158 }
29159 {
29160 if (temp5)
29161 delete arg5;
29162 }
29163 return resultobj;
29164 fail:
29165 {
29166 if (temp4)
29167 delete arg4;
29168 }
29169 {
29170 if (temp5)
29171 delete arg5;
29172 }
29173 return NULL;
29174}
29175
29176
29177static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29178 PyObject *resultobj;
29179 wxMenu *arg1 = (wxMenu *) 0 ;
29180 size_t arg2 ;
a41e16b6 29181 wxMenuItem *result;
d14a1e28
RD
29182 PyObject * obj0 = 0 ;
29183 PyObject * obj1 = 0 ;
29184 char *kwnames[] = {
29185 (char *) "self",(char *) "pos", NULL
29186 };
29187
29188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29191 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29192 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29193 {
29194 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29195 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
d14a1e28
RD
29196
29197 wxPyEndAllowThreads(__tstate);
29198 if (PyErr_Occurred()) SWIG_fail;
29199 }
a41e16b6 29200 {
412d302d 29201 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29202 }
d14a1e28
RD
29203 return resultobj;
29204 fail:
29205 return NULL;
29206}
29207
29208
29209static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29210 PyObject *resultobj;
29211 wxMenu *arg1 = (wxMenu *) 0 ;
29212 size_t arg2 ;
29213 int arg3 ;
29214 wxString *arg4 = 0 ;
29215 wxString const &arg5_defvalue = wxPyEmptyString ;
29216 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29217 wxMenuItem *result;
e811c8ce
RD
29218 bool temp4 = False ;
29219 bool temp5 = False ;
d14a1e28
RD
29220 PyObject * obj0 = 0 ;
29221 PyObject * obj1 = 0 ;
994141e6 29222 PyObject * obj2 = 0 ;
d14a1e28
RD
29223 PyObject * obj3 = 0 ;
29224 PyObject * obj4 = 0 ;
29225 char *kwnames[] = {
242b7b46 29226 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29227 };
29228
994141e6 29229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29232 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29233 if (PyErr_Occurred()) SWIG_fail;
29234 arg3 = (int) SWIG_AsInt(obj2);
29235 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29236 {
29237 arg4 = wxString_in_helper(obj3);
29238 if (arg4 == NULL) SWIG_fail;
e811c8ce 29239 temp4 = True;
d14a1e28
RD
29240 }
29241 if (obj4) {
29242 {
29243 arg5 = wxString_in_helper(obj4);
29244 if (arg5 == NULL) SWIG_fail;
e811c8ce 29245 temp5 = True;
d14a1e28
RD
29246 }
29247 }
29248 {
29249 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29250 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29251
29252 wxPyEndAllowThreads(__tstate);
29253 if (PyErr_Occurred()) SWIG_fail;
29254 }
a41e16b6 29255 {
412d302d 29256 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29257 }
d14a1e28
RD
29258 {
29259 if (temp4)
29260 delete arg4;
29261 }
29262 {
29263 if (temp5)
29264 delete arg5;
29265 }
29266 return resultobj;
29267 fail:
29268 {
29269 if (temp4)
29270 delete arg4;
29271 }
29272 {
29273 if (temp5)
29274 delete arg5;
29275 }
29276 return NULL;
29277}
29278
29279
29280static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29281 PyObject *resultobj;
29282 wxMenu *arg1 = (wxMenu *) 0 ;
29283 size_t arg2 ;
29284 int arg3 ;
29285 wxString *arg4 = 0 ;
29286 wxString const &arg5_defvalue = wxPyEmptyString ;
29287 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29288 wxMenuItem *result;
e811c8ce
RD
29289 bool temp4 = False ;
29290 bool temp5 = False ;
d14a1e28
RD
29291 PyObject * obj0 = 0 ;
29292 PyObject * obj1 = 0 ;
994141e6 29293 PyObject * obj2 = 0 ;
d14a1e28
RD
29294 PyObject * obj3 = 0 ;
29295 PyObject * obj4 = 0 ;
29296 char *kwnames[] = {
242b7b46 29297 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29298 };
29299
994141e6 29300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29303 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29304 if (PyErr_Occurred()) SWIG_fail;
29305 arg3 = (int) SWIG_AsInt(obj2);
29306 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29307 {
29308 arg4 = wxString_in_helper(obj3);
29309 if (arg4 == NULL) SWIG_fail;
e811c8ce 29310 temp4 = True;
d14a1e28
RD
29311 }
29312 if (obj4) {
29313 {
29314 arg5 = wxString_in_helper(obj4);
29315 if (arg5 == NULL) SWIG_fail;
e811c8ce 29316 temp5 = True;
d14a1e28
RD
29317 }
29318 }
29319 {
29320 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29321 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29322
29323 wxPyEndAllowThreads(__tstate);
29324 if (PyErr_Occurred()) SWIG_fail;
29325 }
a41e16b6 29326 {
412d302d 29327 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29328 }
d14a1e28
RD
29329 {
29330 if (temp4)
29331 delete arg4;
29332 }
29333 {
29334 if (temp5)
29335 delete arg5;
29336 }
29337 return resultobj;
29338 fail:
29339 {
29340 if (temp4)
29341 delete arg4;
29342 }
29343 {
29344 if (temp5)
29345 delete arg5;
29346 }
29347 return NULL;
29348}
29349
29350
29351static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29352 PyObject *resultobj;
29353 wxMenu *arg1 = (wxMenu *) 0 ;
29354 size_t arg2 ;
29355 int arg3 ;
29356 wxString *arg4 = 0 ;
29357 wxMenu *arg5 = (wxMenu *) 0 ;
29358 wxString const &arg6_defvalue = wxPyEmptyString ;
29359 wxString *arg6 = (wxString *) &arg6_defvalue ;
a41e16b6 29360 wxMenuItem *result;
e811c8ce
RD
29361 bool temp4 = False ;
29362 bool temp6 = False ;
d14a1e28
RD
29363 PyObject * obj0 = 0 ;
29364 PyObject * obj1 = 0 ;
994141e6 29365 PyObject * obj2 = 0 ;
d14a1e28
RD
29366 PyObject * obj3 = 0 ;
29367 PyObject * obj4 = 0 ;
29368 PyObject * obj5 = 0 ;
29369 char *kwnames[] = {
242b7b46 29370 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29371 };
29372
994141e6 29373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
29374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29376 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29377 if (PyErr_Occurred()) SWIG_fail;
29378 arg3 = (int) SWIG_AsInt(obj2);
29379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29380 {
29381 arg4 = wxString_in_helper(obj3);
29382 if (arg4 == NULL) SWIG_fail;
e811c8ce 29383 temp4 = True;
d14a1e28 29384 }
15afbcd0
RD
29385 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
29386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29387 if (obj5) {
29388 {
29389 arg6 = wxString_in_helper(obj5);
29390 if (arg6 == NULL) SWIG_fail;
e811c8ce 29391 temp6 = True;
d14a1e28
RD
29392 }
29393 }
29394 {
29395 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29396 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
29397
29398 wxPyEndAllowThreads(__tstate);
29399 if (PyErr_Occurred()) SWIG_fail;
29400 }
a41e16b6 29401 {
412d302d 29402 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29403 }
d14a1e28
RD
29404 {
29405 if (temp4)
29406 delete arg4;
29407 }
29408 {
29409 if (temp6)
29410 delete arg6;
29411 }
29412 return resultobj;
29413 fail:
29414 {
29415 if (temp4)
29416 delete arg4;
29417 }
29418 {
29419 if (temp6)
29420 delete arg6;
29421 }
29422 return NULL;
29423}
29424
29425
29426static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29427 PyObject *resultobj;
29428 wxMenu *arg1 = (wxMenu *) 0 ;
29429 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 29430 wxMenuItem *result;
d14a1e28
RD
29431 PyObject * obj0 = 0 ;
29432 PyObject * obj1 = 0 ;
29433 char *kwnames[] = {
29434 (char *) "self",(char *) "item", NULL
29435 };
29436
29437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29440 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29442 {
29443 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29444 result = (wxMenuItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
29445
29446 wxPyEndAllowThreads(__tstate);
29447 if (PyErr_Occurred()) SWIG_fail;
29448 }
a41e16b6 29449 {
412d302d 29450 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29451 }
d14a1e28
RD
29452 return resultobj;
29453 fail:
29454 return NULL;
29455}
29456
29457
29458static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
29459 PyObject *resultobj;
29460 wxMenu *arg1 = (wxMenu *) 0 ;
29461 int arg2 ;
29462 wxString *arg3 = 0 ;
29463 wxString const &arg4_defvalue = wxPyEmptyString ;
29464 wxString *arg4 = (wxString *) &arg4_defvalue ;
29465 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 29466 wxMenuItem *result;
e811c8ce
RD
29467 bool temp3 = False ;
29468 bool temp4 = False ;
d14a1e28 29469 PyObject * obj0 = 0 ;
994141e6 29470 PyObject * obj1 = 0 ;
d14a1e28
RD
29471 PyObject * obj2 = 0 ;
29472 PyObject * obj3 = 0 ;
994141e6 29473 PyObject * obj4 = 0 ;
d14a1e28 29474 char *kwnames[] = {
242b7b46 29475 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29476 };
29477
994141e6 29478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29481 arg2 = (int) SWIG_AsInt(obj1);
29482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29483 {
29484 arg3 = wxString_in_helper(obj2);
29485 if (arg3 == NULL) SWIG_fail;
e811c8ce 29486 temp3 = True;
d14a1e28
RD
29487 }
29488 if (obj3) {
29489 {
29490 arg4 = wxString_in_helper(obj3);
29491 if (arg4 == NULL) SWIG_fail;
e811c8ce 29492 temp4 = True;
d14a1e28
RD
29493 }
29494 }
994141e6 29495 if (obj4) {
15afbcd0
RD
29496 arg5 = (wxItemKind) SWIG_AsInt(obj4);
29497 if (PyErr_Occurred()) SWIG_fail;
994141e6 29498 }
d14a1e28
RD
29499 {
29500 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29501 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
29502
29503 wxPyEndAllowThreads(__tstate);
29504 if (PyErr_Occurred()) SWIG_fail;
29505 }
a41e16b6 29506 {
412d302d 29507 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29508 }
d14a1e28
RD
29509 {
29510 if (temp3)
29511 delete arg3;
29512 }
29513 {
29514 if (temp4)
29515 delete arg4;
29516 }
29517 return resultobj;
29518 fail:
29519 {
29520 if (temp3)
29521 delete arg3;
29522 }
29523 {
29524 if (temp4)
29525 delete arg4;
29526 }
29527 return NULL;
29528}
29529
29530
29531static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29532 PyObject *resultobj;
29533 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 29534 wxMenuItem *result;
d14a1e28
RD
29535 PyObject * obj0 = 0 ;
29536 char *kwnames[] = {
29537 (char *) "self", NULL
29538 };
29539
29540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
29541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29543 {
29544 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29545 result = (wxMenuItem *)(arg1)->PrependSeparator();
d14a1e28
RD
29546
29547 wxPyEndAllowThreads(__tstate);
29548 if (PyErr_Occurred()) SWIG_fail;
29549 }
a41e16b6 29550 {
412d302d 29551 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29552 }
d14a1e28
RD
29553 return resultobj;
29554 fail:
29555 return NULL;
29556}
29557
29558
29559static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29560 PyObject *resultobj;
29561 wxMenu *arg1 = (wxMenu *) 0 ;
29562 int arg2 ;
29563 wxString *arg3 = 0 ;
29564 wxString const &arg4_defvalue = wxPyEmptyString ;
29565 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 29566 wxMenuItem *result;
e811c8ce
RD
29567 bool temp3 = False ;
29568 bool temp4 = False ;
d14a1e28 29569 PyObject * obj0 = 0 ;
994141e6 29570 PyObject * obj1 = 0 ;
d14a1e28
RD
29571 PyObject * obj2 = 0 ;
29572 PyObject * obj3 = 0 ;
29573 char *kwnames[] = {
242b7b46 29574 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29575 };
29576
994141e6 29577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29580 arg2 = (int) SWIG_AsInt(obj1);
29581 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29582 {
29583 arg3 = wxString_in_helper(obj2);
29584 if (arg3 == NULL) SWIG_fail;
e811c8ce 29585 temp3 = True;
d14a1e28
RD
29586 }
29587 if (obj3) {
29588 {
29589 arg4 = wxString_in_helper(obj3);
29590 if (arg4 == NULL) SWIG_fail;
e811c8ce 29591 temp4 = True;
d14a1e28
RD
29592 }
29593 }
29594 {
29595 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29596 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29597
29598 wxPyEndAllowThreads(__tstate);
29599 if (PyErr_Occurred()) SWIG_fail;
29600 }
a41e16b6 29601 {
412d302d 29602 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29603 }
d14a1e28
RD
29604 {
29605 if (temp3)
29606 delete arg3;
29607 }
29608 {
29609 if (temp4)
29610 delete arg4;
29611 }
29612 return resultobj;
29613 fail:
29614 {
29615 if (temp3)
29616 delete arg3;
29617 }
29618 {
29619 if (temp4)
29620 delete arg4;
29621 }
29622 return NULL;
29623}
29624
29625
29626static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29627 PyObject *resultobj;
29628 wxMenu *arg1 = (wxMenu *) 0 ;
29629 int arg2 ;
29630 wxString *arg3 = 0 ;
29631 wxString const &arg4_defvalue = wxPyEmptyString ;
29632 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 29633 wxMenuItem *result;
e811c8ce
RD
29634 bool temp3 = False ;
29635 bool temp4 = False ;
d14a1e28 29636 PyObject * obj0 = 0 ;
994141e6 29637 PyObject * obj1 = 0 ;
d14a1e28
RD
29638 PyObject * obj2 = 0 ;
29639 PyObject * obj3 = 0 ;
29640 char *kwnames[] = {
242b7b46 29641 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29642 };
29643
994141e6 29644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29647 arg2 = (int) SWIG_AsInt(obj1);
29648 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29649 {
29650 arg3 = wxString_in_helper(obj2);
29651 if (arg3 == NULL) SWIG_fail;
e811c8ce 29652 temp3 = True;
d14a1e28
RD
29653 }
29654 if (obj3) {
29655 {
29656 arg4 = wxString_in_helper(obj3);
29657 if (arg4 == NULL) SWIG_fail;
e811c8ce 29658 temp4 = True;
d14a1e28
RD
29659 }
29660 }
29661 {
29662 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29663 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29664
29665 wxPyEndAllowThreads(__tstate);
29666 if (PyErr_Occurred()) SWIG_fail;
29667 }
a41e16b6 29668 {
412d302d 29669 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29670 }
d14a1e28
RD
29671 {
29672 if (temp3)
29673 delete arg3;
29674 }
29675 {
29676 if (temp4)
29677 delete arg4;
29678 }
29679 return resultobj;
29680 fail:
29681 {
29682 if (temp3)
29683 delete arg3;
29684 }
29685 {
29686 if (temp4)
29687 delete arg4;
29688 }
29689 return NULL;
29690}
29691
29692
29693static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29694 PyObject *resultobj;
29695 wxMenu *arg1 = (wxMenu *) 0 ;
29696 int arg2 ;
29697 wxString *arg3 = 0 ;
29698 wxMenu *arg4 = (wxMenu *) 0 ;
29699 wxString const &arg5_defvalue = wxPyEmptyString ;
29700 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29701 wxMenuItem *result;
e811c8ce
RD
29702 bool temp3 = False ;
29703 bool temp5 = False ;
d14a1e28 29704 PyObject * obj0 = 0 ;
994141e6 29705 PyObject * obj1 = 0 ;
d14a1e28
RD
29706 PyObject * obj2 = 0 ;
29707 PyObject * obj3 = 0 ;
29708 PyObject * obj4 = 0 ;
29709 char *kwnames[] = {
242b7b46 29710 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29711 };
29712
994141e6 29713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29716 arg2 = (int) SWIG_AsInt(obj1);
29717 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29718 {
29719 arg3 = wxString_in_helper(obj2);
29720 if (arg3 == NULL) SWIG_fail;
e811c8ce 29721 temp3 = True;
d14a1e28 29722 }
15afbcd0
RD
29723 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29725 if (obj4) {
29726 {
29727 arg5 = wxString_in_helper(obj4);
29728 if (arg5 == NULL) SWIG_fail;
e811c8ce 29729 temp5 = True;
d14a1e28
RD
29730 }
29731 }
29732 {
29733 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29734 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
29735
29736 wxPyEndAllowThreads(__tstate);
29737 if (PyErr_Occurred()) SWIG_fail;
29738 }
a41e16b6 29739 {
412d302d 29740 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29741 }
d14a1e28
RD
29742 {
29743 if (temp3)
29744 delete arg3;
29745 }
29746 {
29747 if (temp5)
29748 delete arg5;
29749 }
29750 return resultobj;
29751 fail:
29752 {
29753 if (temp3)
29754 delete arg3;
29755 }
29756 {
29757 if (temp5)
29758 delete arg5;
29759 }
29760 return NULL;
29761}
29762
29763
29764static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
29765 PyObject *resultobj;
29766 wxMenu *arg1 = (wxMenu *) 0 ;
29767 int arg2 ;
29768 wxMenuItem *result;
29769 PyObject * obj0 = 0 ;
994141e6 29770 PyObject * obj1 = 0 ;
d14a1e28 29771 char *kwnames[] = {
242b7b46 29772 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29773 };
29774
994141e6 29775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29778 arg2 = (int) SWIG_AsInt(obj1);
29779 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29780 {
29781 PyThreadState* __tstate = wxPyBeginAllowThreads();
29782 result = (wxMenuItem *)(arg1)->Remove(arg2);
29783
29784 wxPyEndAllowThreads(__tstate);
29785 if (PyErr_Occurred()) SWIG_fail;
29786 }
29787 {
412d302d 29788 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29789 }
29790 return resultobj;
29791 fail:
29792 return NULL;
29793}
29794
29795
29796static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29797 PyObject *resultobj;
29798 wxMenu *arg1 = (wxMenu *) 0 ;
29799 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29800 wxMenuItem *result;
29801 PyObject * obj0 = 0 ;
29802 PyObject * obj1 = 0 ;
29803 char *kwnames[] = {
29804 (char *) "self",(char *) "item", NULL
29805 };
29806
29807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29812 {
29813 PyThreadState* __tstate = wxPyBeginAllowThreads();
29814 result = (wxMenuItem *)(arg1)->Remove(arg2);
29815
29816 wxPyEndAllowThreads(__tstate);
29817 if (PyErr_Occurred()) SWIG_fail;
29818 }
29819 {
412d302d 29820 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29821 }
29822 return resultobj;
29823 fail:
29824 return NULL;
29825}
29826
29827
29828static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
29829 PyObject *resultobj;
29830 wxMenu *arg1 = (wxMenu *) 0 ;
29831 int arg2 ;
29832 bool result;
29833 PyObject * obj0 = 0 ;
994141e6 29834 PyObject * obj1 = 0 ;
d14a1e28 29835 char *kwnames[] = {
242b7b46 29836 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29837 };
29838
994141e6 29839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29842 arg2 = (int) SWIG_AsInt(obj1);
29843 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29844 {
29845 PyThreadState* __tstate = wxPyBeginAllowThreads();
29846 result = (bool)(arg1)->Delete(arg2);
29847
29848 wxPyEndAllowThreads(__tstate);
29849 if (PyErr_Occurred()) SWIG_fail;
29850 }
4f89f6a3
RD
29851 {
29852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29853 }
d14a1e28
RD
29854 return resultobj;
29855 fail:
29856 return NULL;
29857}
29858
29859
29860static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29861 PyObject *resultobj;
29862 wxMenu *arg1 = (wxMenu *) 0 ;
29863 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29864 bool result;
29865 PyObject * obj0 = 0 ;
29866 PyObject * obj1 = 0 ;
29867 char *kwnames[] = {
29868 (char *) "self",(char *) "item", NULL
29869 };
29870
29871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29874 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29876 {
29877 PyThreadState* __tstate = wxPyBeginAllowThreads();
29878 result = (bool)(arg1)->Delete(arg2);
29879
29880 wxPyEndAllowThreads(__tstate);
29881 if (PyErr_Occurred()) SWIG_fail;
29882 }
4f89f6a3
RD
29883 {
29884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29885 }
d14a1e28
RD
29886 return resultobj;
29887 fail:
29888 return NULL;
29889}
29890
29891
29892static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29893 PyObject *resultobj;
29894 wxMenu *arg1 = (wxMenu *) 0 ;
29895 PyObject * obj0 = 0 ;
29896 char *kwnames[] = {
29897 (char *) "self", NULL
29898 };
29899
29900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
29901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29903 {
29904 PyThreadState* __tstate = wxPyBeginAllowThreads();
29905 wxMenu_Destroy(arg1);
29906
29907 wxPyEndAllowThreads(__tstate);
29908 if (PyErr_Occurred()) SWIG_fail;
29909 }
29910 Py_INCREF(Py_None); resultobj = Py_None;
29911 return resultobj;
29912 fail:
29913 return NULL;
29914}
29915
29916
29917static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
29918 PyObject *resultobj;
29919 wxMenu *arg1 = (wxMenu *) 0 ;
29920 int arg2 ;
29921 bool result;
29922 PyObject * obj0 = 0 ;
994141e6 29923 PyObject * obj1 = 0 ;
d14a1e28 29924 char *kwnames[] = {
242b7b46 29925 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29926 };
29927
994141e6 29928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29931 arg2 = (int) SWIG_AsInt(obj1);
29932 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29933 {
29934 PyThreadState* __tstate = wxPyBeginAllowThreads();
29935 result = (bool)(arg1)->Destroy(arg2);
29936
29937 wxPyEndAllowThreads(__tstate);
29938 if (PyErr_Occurred()) SWIG_fail;
29939 }
4f89f6a3
RD
29940 {
29941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29942 }
d14a1e28
RD
29943 return resultobj;
29944 fail:
29945 return NULL;
29946}
29947
29948
29949static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29950 PyObject *resultobj;
29951 wxMenu *arg1 = (wxMenu *) 0 ;
29952 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29953 bool result;
29954 PyObject * obj0 = 0 ;
29955 PyObject * obj1 = 0 ;
29956 char *kwnames[] = {
29957 (char *) "self",(char *) "item", NULL
29958 };
29959
29960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29965 {
29966 PyThreadState* __tstate = wxPyBeginAllowThreads();
29967 result = (bool)(arg1)->Destroy(arg2);
29968
29969 wxPyEndAllowThreads(__tstate);
29970 if (PyErr_Occurred()) SWIG_fail;
29971 }
4f89f6a3
RD
29972 {
29973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29974 }
d14a1e28
RD
29975 return resultobj;
29976 fail:
29977 return NULL;
29978}
29979
29980
29981static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
29982 PyObject *resultobj;
29983 wxMenu *arg1 = (wxMenu *) 0 ;
29984 size_t result;
29985 PyObject * obj0 = 0 ;
29986 char *kwnames[] = {
29987 (char *) "self", NULL
29988 };
29989
29990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
29991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29993 {
29994 PyThreadState* __tstate = wxPyBeginAllowThreads();
29995 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
29996
29997 wxPyEndAllowThreads(__tstate);
29998 if (PyErr_Occurred()) SWIG_fail;
29999 }
15afbcd0 30000 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
30001 return resultobj;
30002 fail:
30003 return NULL;
30004}
30005
30006
30007static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
30008 PyObject *resultobj;
30009 wxMenu *arg1 = (wxMenu *) 0 ;
30010 PyObject *result;
30011 PyObject * obj0 = 0 ;
30012 char *kwnames[] = {
30013 (char *) "self", NULL
30014 };
30015
30016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
30017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30019 {
30020 PyThreadState* __tstate = wxPyBeginAllowThreads();
30021 result = (PyObject *)wxMenu_GetMenuItems(arg1);
30022
30023 wxPyEndAllowThreads(__tstate);
30024 if (PyErr_Occurred()) SWIG_fail;
30025 }
30026 resultobj = result;
30027 return resultobj;
30028 fail:
30029 return NULL;
30030}
30031
30032
30033static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30034 PyObject *resultobj;
30035 wxMenu *arg1 = (wxMenu *) 0 ;
30036 wxString *arg2 = 0 ;
30037 int result;
e811c8ce 30038 bool temp2 = False ;
d14a1e28
RD
30039 PyObject * obj0 = 0 ;
30040 PyObject * obj1 = 0 ;
30041 char *kwnames[] = {
30042 (char *) "self",(char *) "item", NULL
30043 };
30044
30045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30048 {
30049 arg2 = wxString_in_helper(obj1);
30050 if (arg2 == NULL) SWIG_fail;
e811c8ce 30051 temp2 = True;
d14a1e28
RD
30052 }
30053 {
30054 PyThreadState* __tstate = wxPyBeginAllowThreads();
30055 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
30056
30057 wxPyEndAllowThreads(__tstate);
30058 if (PyErr_Occurred()) SWIG_fail;
30059 }
15afbcd0 30060 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
30061 {
30062 if (temp2)
30063 delete arg2;
30064 }
30065 return resultobj;
30066 fail:
30067 {
30068 if (temp2)
30069 delete arg2;
30070 }
30071 return NULL;
30072}
30073
30074
30075static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
30076 PyObject *resultobj;
30077 wxMenu *arg1 = (wxMenu *) 0 ;
30078 int arg2 ;
30079 wxMenuItem *result;
30080 PyObject * obj0 = 0 ;
994141e6 30081 PyObject * obj1 = 0 ;
d14a1e28 30082 char *kwnames[] = {
242b7b46 30083 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30084 };
30085
994141e6 30086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30089 arg2 = (int) SWIG_AsInt(obj1);
30090 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30091 {
30092 PyThreadState* __tstate = wxPyBeginAllowThreads();
30093 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
30094
30095 wxPyEndAllowThreads(__tstate);
30096 if (PyErr_Occurred()) SWIG_fail;
30097 }
30098 {
412d302d 30099 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30100 }
30101 return resultobj;
30102 fail:
30103 return NULL;
30104}
30105
30106
30107static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30108 PyObject *resultobj;
30109 wxMenu *arg1 = (wxMenu *) 0 ;
30110 size_t arg2 ;
30111 wxMenuItem *result;
30112 PyObject * obj0 = 0 ;
30113 PyObject * obj1 = 0 ;
30114 char *kwnames[] = {
30115 (char *) "self",(char *) "position", NULL
30116 };
30117
30118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30121 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30122 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30123 {
30124 PyThreadState* __tstate = wxPyBeginAllowThreads();
30125 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
30126
30127 wxPyEndAllowThreads(__tstate);
30128 if (PyErr_Occurred()) SWIG_fail;
30129 }
30130 {
412d302d 30131 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30132 }
30133 return resultobj;
30134 fail:
30135 return NULL;
30136}
30137
30138
30139static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
30140 PyObject *resultobj;
30141 wxMenu *arg1 = (wxMenu *) 0 ;
30142 int arg2 ;
30143 bool arg3 ;
30144 PyObject * obj0 = 0 ;
994141e6 30145 PyObject * obj1 = 0 ;
d14a1e28
RD
30146 PyObject * obj2 = 0 ;
30147 char *kwnames[] = {
242b7b46 30148 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
30149 };
30150
994141e6 30151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30154 arg2 = (int) SWIG_AsInt(obj1);
30155 if (PyErr_Occurred()) SWIG_fail;
30156 arg3 = (bool) SWIG_AsBool(obj2);
30157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30158 {
30159 PyThreadState* __tstate = wxPyBeginAllowThreads();
30160 (arg1)->Enable(arg2,arg3);
30161
30162 wxPyEndAllowThreads(__tstate);
30163 if (PyErr_Occurred()) SWIG_fail;
30164 }
30165 Py_INCREF(Py_None); resultobj = Py_None;
30166 return resultobj;
30167 fail:
30168 return NULL;
30169}
30170
30171
30172static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
30173 PyObject *resultobj;
30174 wxMenu *arg1 = (wxMenu *) 0 ;
30175 int arg2 ;
30176 bool result;
30177 PyObject * obj0 = 0 ;
994141e6 30178 PyObject * obj1 = 0 ;
d14a1e28 30179 char *kwnames[] = {
242b7b46 30180 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30181 };
30182
994141e6 30183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30186 arg2 = (int) SWIG_AsInt(obj1);
30187 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30188 {
30189 PyThreadState* __tstate = wxPyBeginAllowThreads();
30190 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
30191
30192 wxPyEndAllowThreads(__tstate);
30193 if (PyErr_Occurred()) SWIG_fail;
30194 }
4f89f6a3
RD
30195 {
30196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30197 }
d14a1e28
RD
30198 return resultobj;
30199 fail:
30200 return NULL;
30201}
30202
30203
30204static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
30205 PyObject *resultobj;
30206 wxMenu *arg1 = (wxMenu *) 0 ;
30207 int arg2 ;
30208 bool arg3 ;
30209 PyObject * obj0 = 0 ;
994141e6 30210 PyObject * obj1 = 0 ;
d14a1e28
RD
30211 PyObject * obj2 = 0 ;
30212 char *kwnames[] = {
242b7b46 30213 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
30214 };
30215
994141e6 30216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30219 arg2 = (int) SWIG_AsInt(obj1);
30220 if (PyErr_Occurred()) SWIG_fail;
30221 arg3 = (bool) SWIG_AsBool(obj2);
30222 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30223 {
30224 PyThreadState* __tstate = wxPyBeginAllowThreads();
30225 (arg1)->Check(arg2,arg3);
30226
30227 wxPyEndAllowThreads(__tstate);
30228 if (PyErr_Occurred()) SWIG_fail;
30229 }
30230 Py_INCREF(Py_None); resultobj = Py_None;
30231 return resultobj;
30232 fail:
30233 return NULL;
30234}
30235
30236
30237static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
30238 PyObject *resultobj;
30239 wxMenu *arg1 = (wxMenu *) 0 ;
30240 int arg2 ;
30241 bool result;
30242 PyObject * obj0 = 0 ;
994141e6 30243 PyObject * obj1 = 0 ;
d14a1e28 30244 char *kwnames[] = {
242b7b46 30245 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30246 };
30247
994141e6 30248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30251 arg2 = (int) SWIG_AsInt(obj1);
30252 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30253 {
30254 PyThreadState* __tstate = wxPyBeginAllowThreads();
30255 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
30256
30257 wxPyEndAllowThreads(__tstate);
30258 if (PyErr_Occurred()) SWIG_fail;
30259 }
4f89f6a3
RD
30260 {
30261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30262 }
d14a1e28
RD
30263 return resultobj;
30264 fail:
30265 return NULL;
30266}
30267
30268
30269static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30270 PyObject *resultobj;
30271 wxMenu *arg1 = (wxMenu *) 0 ;
30272 int arg2 ;
30273 wxString *arg3 = 0 ;
e811c8ce 30274 bool temp3 = False ;
d14a1e28 30275 PyObject * obj0 = 0 ;
994141e6 30276 PyObject * obj1 = 0 ;
d14a1e28
RD
30277 PyObject * obj2 = 0 ;
30278 char *kwnames[] = {
242b7b46 30279 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
30280 };
30281
994141e6 30282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30285 arg2 = (int) SWIG_AsInt(obj1);
30286 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30287 {
30288 arg3 = wxString_in_helper(obj2);
30289 if (arg3 == NULL) SWIG_fail;
e811c8ce 30290 temp3 = True;
d14a1e28
RD
30291 }
30292 {
30293 PyThreadState* __tstate = wxPyBeginAllowThreads();
30294 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
30295
30296 wxPyEndAllowThreads(__tstate);
30297 if (PyErr_Occurred()) SWIG_fail;
30298 }
30299 Py_INCREF(Py_None); resultobj = Py_None;
30300 {
30301 if (temp3)
30302 delete arg3;
30303 }
30304 return resultobj;
30305 fail:
30306 {
30307 if (temp3)
30308 delete arg3;
30309 }
30310 return NULL;
30311}
30312
30313
30314static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30315 PyObject *resultobj;
30316 wxMenu *arg1 = (wxMenu *) 0 ;
30317 int arg2 ;
30318 wxString result;
30319 PyObject * obj0 = 0 ;
994141e6 30320 PyObject * obj1 = 0 ;
d14a1e28 30321 char *kwnames[] = {
242b7b46 30322 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30323 };
30324
994141e6 30325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30328 arg2 = (int) SWIG_AsInt(obj1);
30329 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30330 {
30331 PyThreadState* __tstate = wxPyBeginAllowThreads();
30332 result = ((wxMenu const *)arg1)->GetLabel(arg2);
30333
30334 wxPyEndAllowThreads(__tstate);
30335 if (PyErr_Occurred()) SWIG_fail;
30336 }
30337 {
30338#if wxUSE_UNICODE
30339 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30340#else
30341 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30342#endif
30343 }
30344 return resultobj;
30345 fail:
30346 return NULL;
30347}
30348
30349
30350static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30351 PyObject *resultobj;
30352 wxMenu *arg1 = (wxMenu *) 0 ;
30353 int arg2 ;
30354 wxString *arg3 = 0 ;
e811c8ce 30355 bool temp3 = False ;
d14a1e28 30356 PyObject * obj0 = 0 ;
994141e6 30357 PyObject * obj1 = 0 ;
d14a1e28
RD
30358 PyObject * obj2 = 0 ;
30359 char *kwnames[] = {
242b7b46 30360 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
30361 };
30362
994141e6 30363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30366 arg2 = (int) SWIG_AsInt(obj1);
30367 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30368 {
30369 arg3 = wxString_in_helper(obj2);
30370 if (arg3 == NULL) SWIG_fail;
e811c8ce 30371 temp3 = True;
d14a1e28
RD
30372 }
30373 {
30374 PyThreadState* __tstate = wxPyBeginAllowThreads();
30375 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
30376
30377 wxPyEndAllowThreads(__tstate);
30378 if (PyErr_Occurred()) SWIG_fail;
30379 }
30380 Py_INCREF(Py_None); resultobj = Py_None;
30381 {
30382 if (temp3)
30383 delete arg3;
30384 }
30385 return resultobj;
30386 fail:
30387 {
30388 if (temp3)
30389 delete arg3;
30390 }
30391 return NULL;
30392}
30393
30394
30395static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30396 PyObject *resultobj;
30397 wxMenu *arg1 = (wxMenu *) 0 ;
30398 int arg2 ;
30399 wxString result;
30400 PyObject * obj0 = 0 ;
994141e6 30401 PyObject * obj1 = 0 ;
d14a1e28 30402 char *kwnames[] = {
242b7b46 30403 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30404 };
30405
994141e6 30406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30409 arg2 = (int) SWIG_AsInt(obj1);
30410 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30411 {
30412 PyThreadState* __tstate = wxPyBeginAllowThreads();
30413 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
30414
30415 wxPyEndAllowThreads(__tstate);
30416 if (PyErr_Occurred()) SWIG_fail;
30417 }
30418 {
30419#if wxUSE_UNICODE
30420 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30421#else
30422 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30423#endif
30424 }
30425 return resultobj;
30426 fail:
30427 return NULL;
30428}
30429
30430
30431static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30432 PyObject *resultobj;
30433 wxMenu *arg1 = (wxMenu *) 0 ;
30434 wxString *arg2 = 0 ;
e811c8ce 30435 bool temp2 = False ;
d14a1e28
RD
30436 PyObject * obj0 = 0 ;
30437 PyObject * obj1 = 0 ;
30438 char *kwnames[] = {
30439 (char *) "self",(char *) "title", NULL
30440 };
30441
30442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30445 {
30446 arg2 = wxString_in_helper(obj1);
30447 if (arg2 == NULL) SWIG_fail;
e811c8ce 30448 temp2 = True;
d14a1e28
RD
30449 }
30450 {
30451 PyThreadState* __tstate = wxPyBeginAllowThreads();
30452 (arg1)->SetTitle((wxString const &)*arg2);
30453
30454 wxPyEndAllowThreads(__tstate);
30455 if (PyErr_Occurred()) SWIG_fail;
30456 }
30457 Py_INCREF(Py_None); resultobj = Py_None;
30458 {
30459 if (temp2)
30460 delete arg2;
30461 }
30462 return resultobj;
30463 fail:
30464 {
30465 if (temp2)
30466 delete arg2;
30467 }
30468 return NULL;
30469}
30470
30471
30472static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30473 PyObject *resultobj;
30474 wxMenu *arg1 = (wxMenu *) 0 ;
30475 wxString result;
30476 PyObject * obj0 = 0 ;
30477 char *kwnames[] = {
30478 (char *) "self", NULL
30479 };
30480
30481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
30482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30484 {
30485 PyThreadState* __tstate = wxPyBeginAllowThreads();
30486 result = ((wxMenu const *)arg1)->GetTitle();
30487
30488 wxPyEndAllowThreads(__tstate);
30489 if (PyErr_Occurred()) SWIG_fail;
30490 }
30491 {
30492#if wxUSE_UNICODE
30493 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30494#else
30495 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30496#endif
30497 }
30498 return resultobj;
30499 fail:
30500 return NULL;
30501}
30502
30503
30504static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30505 PyObject *resultobj;
30506 wxMenu *arg1 = (wxMenu *) 0 ;
30507 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
30508 PyObject * obj0 = 0 ;
30509 PyObject * obj1 = 0 ;
30510 char *kwnames[] = {
30511 (char *) "self",(char *) "handler", NULL
30512 };
30513
30514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30517 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30519 {
30520 PyThreadState* __tstate = wxPyBeginAllowThreads();
30521 (arg1)->SetEventHandler(arg2);
30522
30523 wxPyEndAllowThreads(__tstate);
30524 if (PyErr_Occurred()) SWIG_fail;
30525 }
30526 Py_INCREF(Py_None); resultobj = Py_None;
30527 return resultobj;
30528 fail:
30529 return NULL;
30530}
30531
30532
30533static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30534 PyObject *resultobj;
30535 wxMenu *arg1 = (wxMenu *) 0 ;
30536 wxEvtHandler *result;
30537 PyObject * obj0 = 0 ;
30538 char *kwnames[] = {
30539 (char *) "self", NULL
30540 };
30541
30542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
30543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30545 {
30546 PyThreadState* __tstate = wxPyBeginAllowThreads();
30547 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
30548
30549 wxPyEndAllowThreads(__tstate);
30550 if (PyErr_Occurred()) SWIG_fail;
30551 }
30552 {
412d302d 30553 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30554 }
30555 return resultobj;
30556 fail:
30557 return NULL;
30558}
30559
30560
30561static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30562 PyObject *resultobj;
30563 wxMenu *arg1 = (wxMenu *) 0 ;
30564 wxWindow *arg2 = (wxWindow *) 0 ;
30565 PyObject * obj0 = 0 ;
30566 PyObject * obj1 = 0 ;
30567 char *kwnames[] = {
30568 (char *) "self",(char *) "win", NULL
30569 };
30570
30571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30574 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30576 {
30577 PyThreadState* __tstate = wxPyBeginAllowThreads();
30578 (arg1)->SetInvokingWindow(arg2);
30579
30580 wxPyEndAllowThreads(__tstate);
30581 if (PyErr_Occurred()) SWIG_fail;
30582 }
30583 Py_INCREF(Py_None); resultobj = Py_None;
30584 return resultobj;
30585 fail:
30586 return NULL;
30587}
30588
30589
30590static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30591 PyObject *resultobj;
30592 wxMenu *arg1 = (wxMenu *) 0 ;
30593 wxWindow *result;
30594 PyObject * obj0 = 0 ;
30595 char *kwnames[] = {
30596 (char *) "self", NULL
30597 };
30598
30599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
30600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30602 {
30603 PyThreadState* __tstate = wxPyBeginAllowThreads();
30604 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
30605
30606 wxPyEndAllowThreads(__tstate);
30607 if (PyErr_Occurred()) SWIG_fail;
30608 }
30609 {
412d302d 30610 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30611 }
30612 return resultobj;
30613 fail:
30614 return NULL;
30615}
30616
30617
30618static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
30619 PyObject *resultobj;
30620 wxMenu *arg1 = (wxMenu *) 0 ;
30621 long result;
30622 PyObject * obj0 = 0 ;
30623 char *kwnames[] = {
30624 (char *) "self", NULL
30625 };
30626
30627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
30628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30630 {
30631 PyThreadState* __tstate = wxPyBeginAllowThreads();
30632 result = (long)((wxMenu const *)arg1)->GetStyle();
30633
30634 wxPyEndAllowThreads(__tstate);
30635 if (PyErr_Occurred()) SWIG_fail;
30636 }
15afbcd0 30637 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
30638 return resultobj;
30639 fail:
30640 return NULL;
30641}
30642
30643
30644static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
30645 PyObject *resultobj;
30646 wxMenu *arg1 = (wxMenu *) 0 ;
30647 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
30648 PyObject * obj0 = 0 ;
30649 PyObject * obj1 = 0 ;
30650 char *kwnames[] = {
30651 (char *) "self",(char *) "source", NULL
30652 };
30653
30654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30657 if (obj1) {
15afbcd0
RD
30658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30660 }
30661 {
30662 PyThreadState* __tstate = wxPyBeginAllowThreads();
30663 (arg1)->UpdateUI(arg2);
30664
30665 wxPyEndAllowThreads(__tstate);
30666 if (PyErr_Occurred()) SWIG_fail;
30667 }
30668 Py_INCREF(Py_None); resultobj = Py_None;
30669 return resultobj;
30670 fail:
30671 return NULL;
30672}
30673
30674
30675static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30676 PyObject *resultobj;
30677 wxMenu *arg1 = (wxMenu *) 0 ;
30678 wxMenuBar *result;
30679 PyObject * obj0 = 0 ;
30680 char *kwnames[] = {
30681 (char *) "self", NULL
30682 };
30683
30684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
30685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30687 {
30688 PyThreadState* __tstate = wxPyBeginAllowThreads();
30689 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
30690
30691 wxPyEndAllowThreads(__tstate);
30692 if (PyErr_Occurred()) SWIG_fail;
30693 }
30694 {
412d302d 30695 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30696 }
30697 return resultobj;
30698 fail:
30699 return NULL;
30700}
30701
30702
30703static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
30704 PyObject *resultobj;
30705 wxMenu *arg1 = (wxMenu *) 0 ;
30706 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
30707 PyObject * obj0 = 0 ;
30708 PyObject * obj1 = 0 ;
30709 char *kwnames[] = {
30710 (char *) "self",(char *) "menubar", NULL
30711 };
30712
30713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30716 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
30717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30718 {
30719 PyThreadState* __tstate = wxPyBeginAllowThreads();
30720 (arg1)->Attach(arg2);
30721
30722 wxPyEndAllowThreads(__tstate);
30723 if (PyErr_Occurred()) SWIG_fail;
30724 }
30725 Py_INCREF(Py_None); resultobj = Py_None;
30726 return resultobj;
30727 fail:
30728 return NULL;
30729}
30730
30731
30732static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
30733 PyObject *resultobj;
30734 wxMenu *arg1 = (wxMenu *) 0 ;
30735 PyObject * obj0 = 0 ;
30736 char *kwnames[] = {
30737 (char *) "self", NULL
30738 };
30739
30740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
30741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30743 {
30744 PyThreadState* __tstate = wxPyBeginAllowThreads();
30745 (arg1)->Detach();
30746
30747 wxPyEndAllowThreads(__tstate);
30748 if (PyErr_Occurred()) SWIG_fail;
30749 }
30750 Py_INCREF(Py_None); resultobj = Py_None;
30751 return resultobj;
30752 fail:
30753 return NULL;
30754}
30755
30756
30757static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
30758 PyObject *resultobj;
30759 wxMenu *arg1 = (wxMenu *) 0 ;
30760 bool result;
30761 PyObject * obj0 = 0 ;
30762 char *kwnames[] = {
30763 (char *) "self", NULL
30764 };
30765
30766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
30767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30769 {
30770 PyThreadState* __tstate = wxPyBeginAllowThreads();
30771 result = (bool)((wxMenu const *)arg1)->IsAttached();
30772
30773 wxPyEndAllowThreads(__tstate);
30774 if (PyErr_Occurred()) SWIG_fail;
30775 }
4f89f6a3
RD
30776 {
30777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30778 }
d14a1e28
RD
30779 return resultobj;
30780 fail:
30781 return NULL;
30782}
30783
30784
30785static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30786 PyObject *resultobj;
30787 wxMenu *arg1 = (wxMenu *) 0 ;
30788 wxMenu *arg2 = (wxMenu *) 0 ;
30789 PyObject * obj0 = 0 ;
30790 PyObject * obj1 = 0 ;
30791 char *kwnames[] = {
30792 (char *) "self",(char *) "parent", NULL
30793 };
30794
30795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30800 {
30801 PyThreadState* __tstate = wxPyBeginAllowThreads();
30802 (arg1)->SetParent(arg2);
30803
30804 wxPyEndAllowThreads(__tstate);
30805 if (PyErr_Occurred()) SWIG_fail;
30806 }
30807 Py_INCREF(Py_None); resultobj = Py_None;
30808 return resultobj;
30809 fail:
30810 return NULL;
30811}
30812
30813
30814static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30815 PyObject *resultobj;
30816 wxMenu *arg1 = (wxMenu *) 0 ;
30817 wxMenu *result;
30818 PyObject * obj0 = 0 ;
30819 char *kwnames[] = {
30820 (char *) "self", NULL
30821 };
30822
30823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
30824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30826 {
30827 PyThreadState* __tstate = wxPyBeginAllowThreads();
30828 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
30829
30830 wxPyEndAllowThreads(__tstate);
30831 if (PyErr_Occurred()) SWIG_fail;
30832 }
30833 {
412d302d 30834 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30835 }
30836 return resultobj;
30837 fail:
30838 return NULL;
30839}
30840
30841
30842static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
30843 PyObject *obj;
30844 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30845 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
30846 Py_INCREF(obj);
30847 return Py_BuildValue((char *)"");
30848}
30849static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30850 PyObject *resultobj;
30851 long arg1 = (long) 0 ;
30852 wxMenuBar *result;
994141e6 30853 PyObject * obj0 = 0 ;
d14a1e28
RD
30854 char *kwnames[] = {
30855 (char *) "style", NULL
30856 };
30857
994141e6
RD
30858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
30859 if (obj0) {
15afbcd0
RD
30860 arg1 = (long) SWIG_AsLong(obj0);
30861 if (PyErr_Occurred()) SWIG_fail;
994141e6 30862 }
d14a1e28 30863 {
e3b71cb8 30864 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
30865 PyThreadState* __tstate = wxPyBeginAllowThreads();
30866 result = (wxMenuBar *)new wxMenuBar(arg1);
30867
30868 wxPyEndAllowThreads(__tstate);
110da5b0 30869 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 30870 }
b0f7404b 30871 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuBar, 1);
d14a1e28
RD
30872 return resultobj;
30873 fail:
30874 return NULL;
30875}
30876
30877
30878static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
30879 PyObject *resultobj;
30880 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30881 wxMenu *arg2 = (wxMenu *) 0 ;
30882 wxString *arg3 = 0 ;
30883 bool result;
e811c8ce 30884 bool temp3 = False ;
d14a1e28
RD
30885 PyObject * obj0 = 0 ;
30886 PyObject * obj1 = 0 ;
30887 PyObject * obj2 = 0 ;
30888 char *kwnames[] = {
30889 (char *) "self",(char *) "menu",(char *) "title", NULL
30890 };
30891
30892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30897 {
30898 arg3 = wxString_in_helper(obj2);
30899 if (arg3 == NULL) SWIG_fail;
e811c8ce 30900 temp3 = True;
d14a1e28
RD
30901 }
30902 {
30903 PyThreadState* __tstate = wxPyBeginAllowThreads();
30904 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
30905
30906 wxPyEndAllowThreads(__tstate);
30907 if (PyErr_Occurred()) SWIG_fail;
30908 }
4f89f6a3
RD
30909 {
30910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30911 }
d14a1e28
RD
30912 {
30913 if (temp3)
30914 delete arg3;
30915 }
30916 return resultobj;
30917 fail:
30918 {
30919 if (temp3)
30920 delete arg3;
30921 }
30922 return NULL;
30923}
30924
30925
30926static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
30927 PyObject *resultobj;
30928 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30929 size_t arg2 ;
30930 wxMenu *arg3 = (wxMenu *) 0 ;
30931 wxString *arg4 = 0 ;
30932 bool result;
e811c8ce 30933 bool temp4 = False ;
d14a1e28
RD
30934 PyObject * obj0 = 0 ;
30935 PyObject * obj1 = 0 ;
30936 PyObject * obj2 = 0 ;
30937 PyObject * obj3 = 0 ;
30938 char *kwnames[] = {
30939 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30940 };
30941
30942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
30943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30945 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30946 if (PyErr_Occurred()) SWIG_fail;
30947 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
30948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30949 {
30950 arg4 = wxString_in_helper(obj3);
30951 if (arg4 == NULL) SWIG_fail;
e811c8ce 30952 temp4 = True;
d14a1e28
RD
30953 }
30954 {
30955 PyThreadState* __tstate = wxPyBeginAllowThreads();
30956 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
30957
30958 wxPyEndAllowThreads(__tstate);
30959 if (PyErr_Occurred()) SWIG_fail;
30960 }
4f89f6a3
RD
30961 {
30962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30963 }
d14a1e28
RD
30964 {
30965 if (temp4)
30966 delete arg4;
30967 }
30968 return resultobj;
30969 fail:
30970 {
30971 if (temp4)
30972 delete arg4;
30973 }
30974 return NULL;
30975}
30976
30977
30978static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
30979 PyObject *resultobj;
30980 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30981 size_t result;
30982 PyObject * obj0 = 0 ;
30983 char *kwnames[] = {
30984 (char *) "self", NULL
30985 };
30986
30987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
30988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30990 {
30991 PyThreadState* __tstate = wxPyBeginAllowThreads();
30992 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
30993
30994 wxPyEndAllowThreads(__tstate);
30995 if (PyErr_Occurred()) SWIG_fail;
30996 }
15afbcd0 30997 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
30998 return resultobj;
30999 fail:
31000 return NULL;
31001}
31002
31003
31004static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31005 PyObject *resultobj;
31006 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31007 size_t arg2 ;
31008 wxMenu *result;
31009 PyObject * obj0 = 0 ;
31010 PyObject * obj1 = 0 ;
31011 char *kwnames[] = {
31012 (char *) "self",(char *) "pos", NULL
31013 };
31014
31015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31018 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31019 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31020 {
31021 PyThreadState* __tstate = wxPyBeginAllowThreads();
31022 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
31023
31024 wxPyEndAllowThreads(__tstate);
31025 if (PyErr_Occurred()) SWIG_fail;
31026 }
31027 {
412d302d 31028 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31029 }
31030 return resultobj;
31031 fail:
31032 return NULL;
31033}
31034
31035
31036static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
31037 PyObject *resultobj;
31038 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31039 size_t arg2 ;
31040 wxMenu *arg3 = (wxMenu *) 0 ;
31041 wxString *arg4 = 0 ;
31042 wxMenu *result;
e811c8ce 31043 bool temp4 = False ;
d14a1e28
RD
31044 PyObject * obj0 = 0 ;
31045 PyObject * obj1 = 0 ;
31046 PyObject * obj2 = 0 ;
31047 PyObject * obj3 = 0 ;
31048 char *kwnames[] = {
31049 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31050 };
31051
31052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
31053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31055 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31056 if (PyErr_Occurred()) SWIG_fail;
31057 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
31058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31059 {
31060 arg4 = wxString_in_helper(obj3);
31061 if (arg4 == NULL) SWIG_fail;
e811c8ce 31062 temp4 = True;
d14a1e28
RD
31063 }
31064 {
31065 PyThreadState* __tstate = wxPyBeginAllowThreads();
31066 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
31067
31068 wxPyEndAllowThreads(__tstate);
31069 if (PyErr_Occurred()) SWIG_fail;
31070 }
31071 {
412d302d 31072 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31073 }
31074 {
31075 if (temp4)
31076 delete arg4;
31077 }
31078 return resultobj;
31079 fail:
31080 {
31081 if (temp4)
31082 delete arg4;
31083 }
31084 return NULL;
31085}
31086
31087
31088static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
31089 PyObject *resultobj;
31090 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31091 size_t arg2 ;
31092 wxMenu *result;
31093 PyObject * obj0 = 0 ;
31094 PyObject * obj1 = 0 ;
31095 char *kwnames[] = {
31096 (char *) "self",(char *) "pos", NULL
31097 };
31098
31099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31102 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31103 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31104 {
31105 PyThreadState* __tstate = wxPyBeginAllowThreads();
31106 result = (wxMenu *)(arg1)->Remove(arg2);
31107
31108 wxPyEndAllowThreads(__tstate);
31109 if (PyErr_Occurred()) SWIG_fail;
31110 }
31111 {
412d302d 31112 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31113 }
31114 return resultobj;
31115 fail:
31116 return NULL;
31117}
31118
31119
31120static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31121 PyObject *resultobj;
31122 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31123 size_t arg2 ;
31124 bool arg3 ;
31125 PyObject * obj0 = 0 ;
31126 PyObject * obj1 = 0 ;
31127 PyObject * obj2 = 0 ;
31128 char *kwnames[] = {
31129 (char *) "self",(char *) "pos",(char *) "enable", NULL
31130 };
31131
31132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31135 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31136 if (PyErr_Occurred()) SWIG_fail;
31137 arg3 = (bool) SWIG_AsBool(obj2);
31138 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31139 {
31140 PyThreadState* __tstate = wxPyBeginAllowThreads();
31141 (arg1)->EnableTop(arg2,arg3);
31142
31143 wxPyEndAllowThreads(__tstate);
31144 if (PyErr_Occurred()) SWIG_fail;
31145 }
31146 Py_INCREF(Py_None); resultobj = Py_None;
31147 return resultobj;
31148 fail:
31149 return NULL;
31150}
31151
31152
31153static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31154 PyObject *resultobj;
31155 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31156 size_t arg2 ;
31157 bool result;
31158 PyObject * obj0 = 0 ;
31159 PyObject * obj1 = 0 ;
31160 char *kwnames[] = {
31161 (char *) "self",(char *) "pos", NULL
31162 };
31163
31164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31167 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31169 {
31170 PyThreadState* __tstate = wxPyBeginAllowThreads();
31171 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
31172
31173 wxPyEndAllowThreads(__tstate);
31174 if (PyErr_Occurred()) SWIG_fail;
31175 }
4f89f6a3
RD
31176 {
31177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31178 }
d14a1e28
RD
31179 return resultobj;
31180 fail:
31181 return NULL;
31182}
31183
31184
31185static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31186 PyObject *resultobj;
31187 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31188 size_t arg2 ;
31189 wxString *arg3 = 0 ;
e811c8ce 31190 bool temp3 = False ;
d14a1e28
RD
31191 PyObject * obj0 = 0 ;
31192 PyObject * obj1 = 0 ;
31193 PyObject * obj2 = 0 ;
31194 char *kwnames[] = {
31195 (char *) "self",(char *) "pos",(char *) "label", NULL
31196 };
31197
31198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31201 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31202 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31203 {
31204 arg3 = wxString_in_helper(obj2);
31205 if (arg3 == NULL) SWIG_fail;
e811c8ce 31206 temp3 = True;
d14a1e28
RD
31207 }
31208 {
31209 PyThreadState* __tstate = wxPyBeginAllowThreads();
31210 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
31211
31212 wxPyEndAllowThreads(__tstate);
31213 if (PyErr_Occurred()) SWIG_fail;
31214 }
31215 Py_INCREF(Py_None); resultobj = Py_None;
31216 {
31217 if (temp3)
31218 delete arg3;
31219 }
31220 return resultobj;
31221 fail:
31222 {
31223 if (temp3)
31224 delete arg3;
31225 }
31226 return NULL;
31227}
31228
31229
31230static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31231 PyObject *resultobj;
31232 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31233 size_t arg2 ;
31234 wxString result;
31235 PyObject * obj0 = 0 ;
31236 PyObject * obj1 = 0 ;
31237 char *kwnames[] = {
31238 (char *) "self",(char *) "pos", NULL
31239 };
31240
31241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31244 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31245 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31246 {
31247 PyThreadState* __tstate = wxPyBeginAllowThreads();
31248 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
31249
31250 wxPyEndAllowThreads(__tstate);
31251 if (PyErr_Occurred()) SWIG_fail;
31252 }
31253 {
31254#if wxUSE_UNICODE
31255 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31256#else
31257 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31258#endif
31259 }
31260 return resultobj;
31261 fail:
31262 return NULL;
31263}
31264
31265
31266static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31267 PyObject *resultobj;
31268 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31269 wxString *arg2 = 0 ;
31270 wxString *arg3 = 0 ;
31271 int result;
e811c8ce
RD
31272 bool temp2 = False ;
31273 bool temp3 = False ;
d14a1e28
RD
31274 PyObject * obj0 = 0 ;
31275 PyObject * obj1 = 0 ;
31276 PyObject * obj2 = 0 ;
31277 char *kwnames[] = {
31278 (char *) "self",(char *) "menu",(char *) "item", NULL
31279 };
31280
31281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31284 {
31285 arg2 = wxString_in_helper(obj1);
31286 if (arg2 == NULL) SWIG_fail;
e811c8ce 31287 temp2 = True;
d14a1e28
RD
31288 }
31289 {
31290 arg3 = wxString_in_helper(obj2);
31291 if (arg3 == NULL) SWIG_fail;
e811c8ce 31292 temp3 = True;
d14a1e28
RD
31293 }
31294 {
31295 PyThreadState* __tstate = wxPyBeginAllowThreads();
31296 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
31297
31298 wxPyEndAllowThreads(__tstate);
31299 if (PyErr_Occurred()) SWIG_fail;
31300 }
15afbcd0 31301 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31302 {
31303 if (temp2)
31304 delete arg2;
31305 }
31306 {
31307 if (temp3)
31308 delete arg3;
31309 }
31310 return resultobj;
31311 fail:
31312 {
31313 if (temp2)
31314 delete arg2;
31315 }
31316 {
31317 if (temp3)
31318 delete arg3;
31319 }
31320 return NULL;
31321}
31322
31323
31324static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
31325 PyObject *resultobj;
31326 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31327 int arg2 ;
31328 wxMenuItem *result;
31329 PyObject * obj0 = 0 ;
994141e6 31330 PyObject * obj1 = 0 ;
d14a1e28 31331 char *kwnames[] = {
242b7b46 31332 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31333 };
31334
994141e6 31335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31338 arg2 = (int) SWIG_AsInt(obj1);
31339 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31340 {
31341 PyThreadState* __tstate = wxPyBeginAllowThreads();
31342 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
31343
31344 wxPyEndAllowThreads(__tstate);
31345 if (PyErr_Occurred()) SWIG_fail;
31346 }
31347 {
412d302d 31348 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31349 }
31350 return resultobj;
31351 fail:
31352 return NULL;
31353}
31354
31355
31356static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31357 PyObject *resultobj;
31358 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31359 wxString *arg2 = 0 ;
31360 int result;
e811c8ce 31361 bool temp2 = False ;
d14a1e28
RD
31362 PyObject * obj0 = 0 ;
31363 PyObject * obj1 = 0 ;
31364 char *kwnames[] = {
31365 (char *) "self",(char *) "title", NULL
31366 };
31367
31368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31371 {
31372 arg2 = wxString_in_helper(obj1);
31373 if (arg2 == NULL) SWIG_fail;
e811c8ce 31374 temp2 = True;
d14a1e28
RD
31375 }
31376 {
31377 PyThreadState* __tstate = wxPyBeginAllowThreads();
31378 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
31379
31380 wxPyEndAllowThreads(__tstate);
31381 if (PyErr_Occurred()) SWIG_fail;
31382 }
15afbcd0 31383 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31384 {
31385 if (temp2)
31386 delete arg2;
31387 }
31388 return resultobj;
31389 fail:
31390 {
31391 if (temp2)
31392 delete arg2;
31393 }
31394 return NULL;
31395}
31396
31397
31398static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
31399 PyObject *resultobj;
31400 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31401 int arg2 ;
31402 bool arg3 ;
31403 PyObject * obj0 = 0 ;
994141e6 31404 PyObject * obj1 = 0 ;
d14a1e28
RD
31405 PyObject * obj2 = 0 ;
31406 char *kwnames[] = {
242b7b46 31407 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
31408 };
31409
994141e6 31410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31413 arg2 = (int) SWIG_AsInt(obj1);
31414 if (PyErr_Occurred()) SWIG_fail;
31415 arg3 = (bool) SWIG_AsBool(obj2);
31416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31417 {
31418 PyThreadState* __tstate = wxPyBeginAllowThreads();
31419 (arg1)->Enable(arg2,arg3);
31420
31421 wxPyEndAllowThreads(__tstate);
31422 if (PyErr_Occurred()) SWIG_fail;
31423 }
31424 Py_INCREF(Py_None); resultobj = Py_None;
31425 return resultobj;
31426 fail:
31427 return NULL;
31428}
31429
31430
31431static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
31432 PyObject *resultobj;
31433 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31434 int arg2 ;
31435 bool arg3 ;
31436 PyObject * obj0 = 0 ;
994141e6 31437 PyObject * obj1 = 0 ;
d14a1e28
RD
31438 PyObject * obj2 = 0 ;
31439 char *kwnames[] = {
242b7b46 31440 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
31441 };
31442
994141e6 31443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31446 arg2 = (int) SWIG_AsInt(obj1);
31447 if (PyErr_Occurred()) SWIG_fail;
31448 arg3 = (bool) SWIG_AsBool(obj2);
31449 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31450 {
31451 PyThreadState* __tstate = wxPyBeginAllowThreads();
31452 (arg1)->Check(arg2,arg3);
31453
31454 wxPyEndAllowThreads(__tstate);
31455 if (PyErr_Occurred()) SWIG_fail;
31456 }
31457 Py_INCREF(Py_None); resultobj = Py_None;
31458 return resultobj;
31459 fail:
31460 return NULL;
31461}
31462
31463
31464static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
31465 PyObject *resultobj;
31466 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31467 int arg2 ;
31468 bool result;
31469 PyObject * obj0 = 0 ;
994141e6 31470 PyObject * obj1 = 0 ;
d14a1e28 31471 char *kwnames[] = {
242b7b46 31472 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31473 };
31474
994141e6 31475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31478 arg2 = (int) SWIG_AsInt(obj1);
31479 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31480 {
31481 PyThreadState* __tstate = wxPyBeginAllowThreads();
31482 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
31483
31484 wxPyEndAllowThreads(__tstate);
31485 if (PyErr_Occurred()) SWIG_fail;
31486 }
4f89f6a3
RD
31487 {
31488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31489 }
d14a1e28
RD
31490 return resultobj;
31491 fail:
31492 return NULL;
31493}
31494
31495
31496static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
31497 PyObject *resultobj;
31498 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31499 int arg2 ;
31500 bool result;
31501 PyObject * obj0 = 0 ;
994141e6 31502 PyObject * obj1 = 0 ;
d14a1e28 31503 char *kwnames[] = {
242b7b46 31504 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31505 };
31506
994141e6 31507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31510 arg2 = (int) SWIG_AsInt(obj1);
31511 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31512 {
31513 PyThreadState* __tstate = wxPyBeginAllowThreads();
31514 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
31515
31516 wxPyEndAllowThreads(__tstate);
31517 if (PyErr_Occurred()) SWIG_fail;
31518 }
4f89f6a3
RD
31519 {
31520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31521 }
d14a1e28
RD
31522 return resultobj;
31523 fail:
31524 return NULL;
31525}
31526
31527
31528static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31529 PyObject *resultobj;
31530 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31531 int arg2 ;
31532 wxString *arg3 = 0 ;
e811c8ce 31533 bool temp3 = False ;
d14a1e28 31534 PyObject * obj0 = 0 ;
994141e6 31535 PyObject * obj1 = 0 ;
d14a1e28
RD
31536 PyObject * obj2 = 0 ;
31537 char *kwnames[] = {
242b7b46 31538 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
31539 };
31540
994141e6 31541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31544 arg2 = (int) SWIG_AsInt(obj1);
31545 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31546 {
31547 arg3 = wxString_in_helper(obj2);
31548 if (arg3 == NULL) SWIG_fail;
e811c8ce 31549 temp3 = True;
d14a1e28
RD
31550 }
31551 {
31552 PyThreadState* __tstate = wxPyBeginAllowThreads();
31553 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
31554
31555 wxPyEndAllowThreads(__tstate);
31556 if (PyErr_Occurred()) SWIG_fail;
31557 }
31558 Py_INCREF(Py_None); resultobj = Py_None;
31559 {
31560 if (temp3)
31561 delete arg3;
31562 }
31563 return resultobj;
31564 fail:
31565 {
31566 if (temp3)
31567 delete arg3;
31568 }
31569 return NULL;
31570}
31571
31572
31573static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31574 PyObject *resultobj;
31575 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31576 int arg2 ;
31577 wxString result;
31578 PyObject * obj0 = 0 ;
994141e6 31579 PyObject * obj1 = 0 ;
d14a1e28 31580 char *kwnames[] = {
242b7b46 31581 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31582 };
31583
994141e6 31584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31587 arg2 = (int) SWIG_AsInt(obj1);
31588 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31589 {
31590 PyThreadState* __tstate = wxPyBeginAllowThreads();
31591 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
31592
31593 wxPyEndAllowThreads(__tstate);
31594 if (PyErr_Occurred()) SWIG_fail;
31595 }
31596 {
31597#if wxUSE_UNICODE
31598 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31599#else
31600 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31601#endif
31602 }
31603 return resultobj;
31604 fail:
31605 return NULL;
31606}
31607
31608
31609static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31610 PyObject *resultobj;
31611 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31612 int arg2 ;
31613 wxString *arg3 = 0 ;
e811c8ce 31614 bool temp3 = False ;
d14a1e28 31615 PyObject * obj0 = 0 ;
994141e6 31616 PyObject * obj1 = 0 ;
d14a1e28
RD
31617 PyObject * obj2 = 0 ;
31618 char *kwnames[] = {
242b7b46 31619 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
31620 };
31621
994141e6 31622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31625 arg2 = (int) SWIG_AsInt(obj1);
31626 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31627 {
31628 arg3 = wxString_in_helper(obj2);
31629 if (arg3 == NULL) SWIG_fail;
e811c8ce 31630 temp3 = True;
d14a1e28
RD
31631 }
31632 {
31633 PyThreadState* __tstate = wxPyBeginAllowThreads();
31634 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
31635
31636 wxPyEndAllowThreads(__tstate);
31637 if (PyErr_Occurred()) SWIG_fail;
31638 }
31639 Py_INCREF(Py_None); resultobj = Py_None;
31640 {
31641 if (temp3)
31642 delete arg3;
31643 }
31644 return resultobj;
31645 fail:
31646 {
31647 if (temp3)
31648 delete arg3;
31649 }
31650 return NULL;
31651}
31652
31653
31654static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31655 PyObject *resultobj;
31656 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31657 int arg2 ;
31658 wxString result;
31659 PyObject * obj0 = 0 ;
994141e6 31660 PyObject * obj1 = 0 ;
d14a1e28 31661 char *kwnames[] = {
242b7b46 31662 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31663 };
31664
994141e6 31665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31668 arg2 = (int) SWIG_AsInt(obj1);
31669 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31670 {
31671 PyThreadState* __tstate = wxPyBeginAllowThreads();
31672 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
31673
31674 wxPyEndAllowThreads(__tstate);
31675 if (PyErr_Occurred()) SWIG_fail;
31676 }
31677 {
31678#if wxUSE_UNICODE
31679 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31680#else
31681 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31682#endif
31683 }
31684 return resultobj;
31685 fail:
31686 return NULL;
31687}
31688
31689
31690static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
31691 PyObject *resultobj;
31692 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31693 wxFrame *result;
31694 PyObject * obj0 = 0 ;
31695 char *kwnames[] = {
31696 (char *) "self", NULL
31697 };
31698
31699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
15afbcd0
RD
31700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31702 {
31703 PyThreadState* __tstate = wxPyBeginAllowThreads();
31704 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
31705
31706 wxPyEndAllowThreads(__tstate);
31707 if (PyErr_Occurred()) SWIG_fail;
31708 }
31709 {
412d302d 31710 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31711 }
31712 return resultobj;
31713 fail:
31714 return NULL;
31715}
31716
31717
31718static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
31719 PyObject *resultobj;
31720 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31721 bool result;
31722 PyObject * obj0 = 0 ;
31723 char *kwnames[] = {
31724 (char *) "self", NULL
31725 };
31726
31727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
31728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31730 {
31731 PyThreadState* __tstate = wxPyBeginAllowThreads();
31732 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
31733
31734 wxPyEndAllowThreads(__tstate);
31735 if (PyErr_Occurred()) SWIG_fail;
31736 }
4f89f6a3
RD
31737 {
31738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31739 }
d14a1e28
RD
31740 return resultobj;
31741 fail:
31742 return NULL;
31743}
31744
31745
31746static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
31747 PyObject *resultobj;
31748 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31749 wxFrame *arg2 = (wxFrame *) 0 ;
31750 PyObject * obj0 = 0 ;
31751 PyObject * obj1 = 0 ;
31752 char *kwnames[] = {
31753 (char *) "self",(char *) "frame", NULL
31754 };
31755
31756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
31760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31761 {
31762 PyThreadState* __tstate = wxPyBeginAllowThreads();
31763 (arg1)->Attach(arg2);
31764
31765 wxPyEndAllowThreads(__tstate);
31766 if (PyErr_Occurred()) SWIG_fail;
31767 }
31768 Py_INCREF(Py_None); resultobj = Py_None;
31769 return resultobj;
31770 fail:
31771 return NULL;
31772}
31773
31774
31775static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
31776 PyObject *resultobj;
31777 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31778 PyObject * obj0 = 0 ;
31779 char *kwnames[] = {
31780 (char *) "self", NULL
31781 };
31782
31783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
31784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31786 {
31787 PyThreadState* __tstate = wxPyBeginAllowThreads();
31788 (arg1)->Detach();
31789
31790 wxPyEndAllowThreads(__tstate);
31791 if (PyErr_Occurred()) SWIG_fail;
31792 }
31793 Py_INCREF(Py_None); resultobj = Py_None;
31794 return resultobj;
31795 fail:
31796 return NULL;
31797}
31798
31799
31800static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
31801 PyObject *obj;
31802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31803 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
31804 Py_INCREF(obj);
31805 return Py_BuildValue((char *)"");
31806}
31807static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31808 PyObject *resultobj;
31809 wxMenu *arg1 = (wxMenu *) NULL ;
a95a7133 31810 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
31811 wxString const &arg3_defvalue = wxPyEmptyString ;
31812 wxString *arg3 = (wxString *) &arg3_defvalue ;
31813 wxString const &arg4_defvalue = wxPyEmptyString ;
31814 wxString *arg4 = (wxString *) &arg4_defvalue ;
31815 int arg5 = (int) wxITEM_NORMAL ;
31816 wxMenu *arg6 = (wxMenu *) NULL ;
31817 wxMenuItem *result;
e811c8ce
RD
31818 bool temp3 = False ;
31819 bool temp4 = False ;
d14a1e28 31820 PyObject * obj0 = 0 ;
994141e6 31821 PyObject * obj1 = 0 ;
d14a1e28
RD
31822 PyObject * obj2 = 0 ;
31823 PyObject * obj3 = 0 ;
994141e6 31824 PyObject * obj4 = 0 ;
d14a1e28
RD
31825 PyObject * obj5 = 0 ;
31826 char *kwnames[] = {
31827 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31828 };
31829
994141e6 31830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 31831 if (obj0) {
15afbcd0
RD
31832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 31834 }
994141e6 31835 if (obj1) {
15afbcd0
RD
31836 arg2 = (int) SWIG_AsInt(obj1);
31837 if (PyErr_Occurred()) SWIG_fail;
994141e6 31838 }
d14a1e28
RD
31839 if (obj2) {
31840 {
31841 arg3 = wxString_in_helper(obj2);
31842 if (arg3 == NULL) SWIG_fail;
e811c8ce 31843 temp3 = True;
d14a1e28
RD
31844 }
31845 }
31846 if (obj3) {
31847 {
31848 arg4 = wxString_in_helper(obj3);
31849 if (arg4 == NULL) SWIG_fail;
e811c8ce 31850 temp4 = True;
d14a1e28
RD
31851 }
31852 }
994141e6 31853 if (obj4) {
15afbcd0
RD
31854 arg5 = (wxItemKind) SWIG_AsInt(obj4);
31855 if (PyErr_Occurred()) SWIG_fail;
994141e6 31856 }
d14a1e28 31857 if (obj5) {
15afbcd0
RD
31858 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
31859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31860 }
31861 {
31862 PyThreadState* __tstate = wxPyBeginAllowThreads();
31863 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
31864
31865 wxPyEndAllowThreads(__tstate);
31866 if (PyErr_Occurred()) SWIG_fail;
31867 }
31868 {
412d302d 31869 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
31870 }
31871 {
31872 if (temp3)
31873 delete arg3;
31874 }
31875 {
31876 if (temp4)
31877 delete arg4;
31878 }
31879 return resultobj;
31880 fail:
31881 {
31882 if (temp3)
31883 delete arg3;
31884 }
31885 {
31886 if (temp4)
31887 delete arg4;
31888 }
31889 return NULL;
31890}
31891
31892
31893static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31894 PyObject *resultobj;
31895 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31896 wxMenu *result;
31897 PyObject * obj0 = 0 ;
31898 char *kwnames[] = {
31899 (char *) "self", NULL
31900 };
31901
31902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
31903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31905 {
31906 PyThreadState* __tstate = wxPyBeginAllowThreads();
31907 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
31908
31909 wxPyEndAllowThreads(__tstate);
31910 if (PyErr_Occurred()) SWIG_fail;
31911 }
31912 {
412d302d 31913 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31914 }
31915 return resultobj;
31916 fail:
31917 return NULL;
31918}
31919
31920
31921static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31922 PyObject *resultobj;
31923 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31924 wxMenu *arg2 = (wxMenu *) 0 ;
31925 PyObject * obj0 = 0 ;
31926 PyObject * obj1 = 0 ;
31927 char *kwnames[] = {
31928 (char *) "self",(char *) "menu", NULL
31929 };
31930
31931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31936 {
31937 PyThreadState* __tstate = wxPyBeginAllowThreads();
31938 (arg1)->SetMenu(arg2);
31939
31940 wxPyEndAllowThreads(__tstate);
31941 if (PyErr_Occurred()) SWIG_fail;
31942 }
31943 Py_INCREF(Py_None); resultobj = Py_None;
31944 return resultobj;
31945 fail:
31946 return NULL;
31947}
31948
31949
31950static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
31951 PyObject *resultobj;
31952 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31953 int arg2 ;
31954 PyObject * obj0 = 0 ;
994141e6 31955 PyObject * obj1 = 0 ;
d14a1e28 31956 char *kwnames[] = {
242b7b46 31957 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31958 };
31959
994141e6 31960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31963 arg2 = (int) SWIG_AsInt(obj1);
31964 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31965 {
31966 PyThreadState* __tstate = wxPyBeginAllowThreads();
31967 (arg1)->SetId(arg2);
31968
31969 wxPyEndAllowThreads(__tstate);
31970 if (PyErr_Occurred()) SWIG_fail;
31971 }
31972 Py_INCREF(Py_None); resultobj = Py_None;
31973 return resultobj;
31974 fail:
31975 return NULL;
31976}
31977
31978
31979static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
31980 PyObject *resultobj;
31981 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31982 int result;
31983 PyObject * obj0 = 0 ;
31984 char *kwnames[] = {
31985 (char *) "self", NULL
31986 };
31987
31988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
31989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31991 {
31992 PyThreadState* __tstate = wxPyBeginAllowThreads();
31993 result = (int)((wxMenuItem const *)arg1)->GetId();
31994
31995 wxPyEndAllowThreads(__tstate);
31996 if (PyErr_Occurred()) SWIG_fail;
31997 }
15afbcd0 31998 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31999 return resultobj;
32000 fail:
32001 return NULL;
32002}
32003
32004
32005static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
32006 PyObject *resultobj;
32007 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32008 bool result;
32009 PyObject * obj0 = 0 ;
32010 char *kwnames[] = {
32011 (char *) "self", NULL
32012 };
32013
32014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
32015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32017 {
32018 PyThreadState* __tstate = wxPyBeginAllowThreads();
32019 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
32020
32021 wxPyEndAllowThreads(__tstate);
32022 if (PyErr_Occurred()) SWIG_fail;
32023 }
4f89f6a3
RD
32024 {
32025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32026 }
d14a1e28
RD
32027 return resultobj;
32028 fail:
32029 return NULL;
32030}
32031
32032
32033static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
32034 PyObject *resultobj;
32035 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32036 wxString *arg2 = 0 ;
e811c8ce 32037 bool temp2 = False ;
d14a1e28
RD
32038 PyObject * obj0 = 0 ;
32039 PyObject * obj1 = 0 ;
32040 char *kwnames[] = {
32041 (char *) "self",(char *) "str", NULL
32042 };
32043
32044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32047 {
32048 arg2 = wxString_in_helper(obj1);
32049 if (arg2 == NULL) SWIG_fail;
e811c8ce 32050 temp2 = True;
d14a1e28
RD
32051 }
32052 {
32053 PyThreadState* __tstate = wxPyBeginAllowThreads();
32054 (arg1)->SetText((wxString const &)*arg2);
32055
32056 wxPyEndAllowThreads(__tstate);
32057 if (PyErr_Occurred()) SWIG_fail;
32058 }
32059 Py_INCREF(Py_None); resultobj = Py_None;
32060 {
32061 if (temp2)
32062 delete arg2;
32063 }
32064 return resultobj;
32065 fail:
32066 {
32067 if (temp2)
32068 delete arg2;
32069 }
32070 return NULL;
32071}
32072
32073
32074static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
32075 PyObject *resultobj;
32076 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32077 wxString result;
32078 PyObject * obj0 = 0 ;
32079 char *kwnames[] = {
32080 (char *) "self", NULL
32081 };
32082
32083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
32084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32086 {
32087 PyThreadState* __tstate = wxPyBeginAllowThreads();
32088 result = ((wxMenuItem const *)arg1)->GetLabel();
32089
32090 wxPyEndAllowThreads(__tstate);
32091 if (PyErr_Occurred()) SWIG_fail;
32092 }
32093 {
32094#if wxUSE_UNICODE
32095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32096#else
32097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32098#endif
32099 }
32100 return resultobj;
32101 fail:
32102 return NULL;
32103}
32104
32105
32106static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
32107 PyObject *resultobj;
32108 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32109 wxString *result;
32110 PyObject * obj0 = 0 ;
32111 char *kwnames[] = {
32112 (char *) "self", NULL
32113 };
32114
32115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
32116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32118 {
32119 PyThreadState* __tstate = wxPyBeginAllowThreads();
32120 {
32121 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
32122 result = (wxString *) &_result_ref;
32123 }
32124
32125 wxPyEndAllowThreads(__tstate);
32126 if (PyErr_Occurred()) SWIG_fail;
32127 }
cc6dd355
RD
32128 {
32129#if wxUSE_UNICODE
32130 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32131#else
32132 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32133#endif
32134 }
d14a1e28
RD
32135 return resultobj;
32136 fail:
32137 return NULL;
32138}
32139
32140
32141static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
32142 PyObject *resultobj;
32143 wxString *arg1 = 0 ;
32144 wxString result;
e811c8ce 32145 bool temp1 = False ;
d14a1e28
RD
32146 PyObject * obj0 = 0 ;
32147 char *kwnames[] = {
32148 (char *) "text", NULL
32149 };
32150
32151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
32152 {
32153 arg1 = wxString_in_helper(obj0);
32154 if (arg1 == NULL) SWIG_fail;
e811c8ce 32155 temp1 = True;
d14a1e28
RD
32156 }
32157 {
32158 PyThreadState* __tstate = wxPyBeginAllowThreads();
32159 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
32160
32161 wxPyEndAllowThreads(__tstate);
32162 if (PyErr_Occurred()) SWIG_fail;
32163 }
32164 {
32165#if wxUSE_UNICODE
32166 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32167#else
32168 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32169#endif
32170 }
32171 {
32172 if (temp1)
32173 delete arg1;
32174 }
32175 return resultobj;
32176 fail:
32177 {
32178 if (temp1)
32179 delete arg1;
32180 }
32181 return NULL;
32182}
32183
32184
32185static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
32186 PyObject *resultobj;
32187 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32188 int result;
32189 PyObject * obj0 = 0 ;
32190 char *kwnames[] = {
32191 (char *) "self", NULL
32192 };
32193
32194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
15afbcd0
RD
32195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32197 {
32198 PyThreadState* __tstate = wxPyBeginAllowThreads();
32199 result = (int)((wxMenuItem const *)arg1)->GetKind();
32200
32201 wxPyEndAllowThreads(__tstate);
32202 if (PyErr_Occurred()) SWIG_fail;
32203 }
15afbcd0 32204 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32205 return resultobj;
32206 fail:
32207 return NULL;
32208}
32209
32210
a95a7133
RD
32211static PyObject *_wrap_MenuItem_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
32212 PyObject *resultobj;
32213 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32214 int arg2 ;
32215 PyObject * obj0 = 0 ;
32216 PyObject * obj1 = 0 ;
32217 char *kwnames[] = {
32218 (char *) "self",(char *) "kind", NULL
32219 };
32220
32221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail;
32222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32224 arg2 = (wxItemKind) SWIG_AsInt(obj1);
32225 if (PyErr_Occurred()) SWIG_fail;
32226 {
32227 PyThreadState* __tstate = wxPyBeginAllowThreads();
32228 (arg1)->SetKind((wxItemKind )arg2);
32229
32230 wxPyEndAllowThreads(__tstate);
32231 if (PyErr_Occurred()) SWIG_fail;
32232 }
32233 Py_INCREF(Py_None); resultobj = Py_None;
32234 return resultobj;
32235 fail:
32236 return NULL;
32237}
32238
32239
d14a1e28
RD
32240static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32241 PyObject *resultobj;
32242 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32243 bool arg2 ;
32244 PyObject * obj0 = 0 ;
32245 PyObject * obj1 = 0 ;
32246 char *kwnames[] = {
32247 (char *) "self",(char *) "checkable", NULL
32248 };
32249
32250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32253 arg2 = (bool) SWIG_AsBool(obj1);
32254 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32255 {
32256 PyThreadState* __tstate = wxPyBeginAllowThreads();
32257 (arg1)->SetCheckable(arg2);
32258
32259 wxPyEndAllowThreads(__tstate);
32260 if (PyErr_Occurred()) SWIG_fail;
32261 }
32262 Py_INCREF(Py_None); resultobj = Py_None;
32263 return resultobj;
32264 fail:
32265 return NULL;
32266}
32267
32268
32269static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32270 PyObject *resultobj;
32271 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32272 bool result;
32273 PyObject * obj0 = 0 ;
32274 char *kwnames[] = {
32275 (char *) "self", NULL
32276 };
32277
32278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
15afbcd0
RD
32279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32281 {
32282 PyThreadState* __tstate = wxPyBeginAllowThreads();
32283 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
32284
32285 wxPyEndAllowThreads(__tstate);
32286 if (PyErr_Occurred()) SWIG_fail;
32287 }
4f89f6a3
RD
32288 {
32289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32290 }
d14a1e28
RD
32291 return resultobj;
32292 fail:
32293 return NULL;
32294}
32295
32296
32297static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32298 PyObject *resultobj;
32299 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32300 bool result;
32301 PyObject * obj0 = 0 ;
32302 char *kwnames[] = {
32303 (char *) "self", NULL
32304 };
32305
32306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
32307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32309 {
32310 PyThreadState* __tstate = wxPyBeginAllowThreads();
32311 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
32312
32313 wxPyEndAllowThreads(__tstate);
32314 if (PyErr_Occurred()) SWIG_fail;
32315 }
4f89f6a3
RD
32316 {
32317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32318 }
d14a1e28
RD
32319 return resultobj;
32320 fail:
32321 return NULL;
32322}
32323
32324
32325static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32326 PyObject *resultobj;
32327 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32328 wxMenu *arg2 = (wxMenu *) 0 ;
32329 PyObject * obj0 = 0 ;
32330 PyObject * obj1 = 0 ;
32331 char *kwnames[] = {
32332 (char *) "self",(char *) "menu", NULL
32333 };
32334
32335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32338 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32340 {
32341 PyThreadState* __tstate = wxPyBeginAllowThreads();
32342 (arg1)->SetSubMenu(arg2);
32343
32344 wxPyEndAllowThreads(__tstate);
32345 if (PyErr_Occurred()) SWIG_fail;
32346 }
32347 Py_INCREF(Py_None); resultobj = Py_None;
32348 return resultobj;
32349 fail:
32350 return NULL;
32351}
32352
32353
32354static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32355 PyObject *resultobj;
32356 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32357 wxMenu *result;
32358 PyObject * obj0 = 0 ;
32359 char *kwnames[] = {
32360 (char *) "self", NULL
32361 };
32362
32363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
32364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32366 {
32367 PyThreadState* __tstate = wxPyBeginAllowThreads();
32368 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
32369
32370 wxPyEndAllowThreads(__tstate);
32371 if (PyErr_Occurred()) SWIG_fail;
32372 }
32373 {
412d302d 32374 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
32375 }
32376 return resultobj;
32377 fail:
32378 return NULL;
32379}
32380
32381
32382static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
32383 PyObject *resultobj;
32384 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 32385 bool arg2 = (bool) True ;
d14a1e28
RD
32386 PyObject * obj0 = 0 ;
32387 PyObject * obj1 = 0 ;
32388 char *kwnames[] = {
32389 (char *) "self",(char *) "enable", NULL
32390 };
32391
32392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32395 if (obj1) {
15afbcd0
RD
32396 arg2 = (bool) SWIG_AsBool(obj1);
32397 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32398 }
32399 {
32400 PyThreadState* __tstate = wxPyBeginAllowThreads();
32401 (arg1)->Enable(arg2);
32402
32403 wxPyEndAllowThreads(__tstate);
32404 if (PyErr_Occurred()) SWIG_fail;
32405 }
32406 Py_INCREF(Py_None); resultobj = Py_None;
32407 return resultobj;
32408 fail:
32409 return NULL;
32410}
32411
32412
32413static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
32414 PyObject *resultobj;
32415 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32416 bool result;
32417 PyObject * obj0 = 0 ;
32418 char *kwnames[] = {
32419 (char *) "self", NULL
32420 };
32421
32422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
32423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32425 {
32426 PyThreadState* __tstate = wxPyBeginAllowThreads();
32427 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
32428
32429 wxPyEndAllowThreads(__tstate);
32430 if (PyErr_Occurred()) SWIG_fail;
32431 }
4f89f6a3
RD
32432 {
32433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32434 }
d14a1e28
RD
32435 return resultobj;
32436 fail:
32437 return NULL;
32438}
32439
32440
32441static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
32442 PyObject *resultobj;
32443 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 32444 bool arg2 = (bool) True ;
d14a1e28
RD
32445 PyObject * obj0 = 0 ;
32446 PyObject * obj1 = 0 ;
32447 char *kwnames[] = {
32448 (char *) "self",(char *) "check", NULL
32449 };
32450
32451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32454 if (obj1) {
15afbcd0
RD
32455 arg2 = (bool) SWIG_AsBool(obj1);
32456 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32457 }
32458 {
32459 PyThreadState* __tstate = wxPyBeginAllowThreads();
32460 (arg1)->Check(arg2);
32461
32462 wxPyEndAllowThreads(__tstate);
32463 if (PyErr_Occurred()) SWIG_fail;
32464 }
32465 Py_INCREF(Py_None); resultobj = Py_None;
32466 return resultobj;
32467 fail:
32468 return NULL;
32469}
32470
32471
32472static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
32473 PyObject *resultobj;
32474 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32475 bool result;
32476 PyObject * obj0 = 0 ;
32477 char *kwnames[] = {
32478 (char *) "self", NULL
32479 };
32480
32481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
32482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32484 {
32485 PyThreadState* __tstate = wxPyBeginAllowThreads();
32486 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
32487
32488 wxPyEndAllowThreads(__tstate);
32489 if (PyErr_Occurred()) SWIG_fail;
32490 }
4f89f6a3
RD
32491 {
32492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32493 }
d14a1e28
RD
32494 return resultobj;
32495 fail:
32496 return NULL;
32497}
32498
32499
32500static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
32501 PyObject *resultobj;
32502 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32503 PyObject * obj0 = 0 ;
32504 char *kwnames[] = {
32505 (char *) "self", NULL
32506 };
32507
32508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
15afbcd0
RD
32509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32511 {
32512 PyThreadState* __tstate = wxPyBeginAllowThreads();
32513 (arg1)->Toggle();
32514
32515 wxPyEndAllowThreads(__tstate);
32516 if (PyErr_Occurred()) SWIG_fail;
32517 }
32518 Py_INCREF(Py_None); resultobj = Py_None;
32519 return resultobj;
32520 fail:
32521 return NULL;
32522}
32523
32524
32525static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32526 PyObject *resultobj;
32527 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32528 wxString *arg2 = 0 ;
e811c8ce 32529 bool temp2 = False ;
d14a1e28
RD
32530 PyObject * obj0 = 0 ;
32531 PyObject * obj1 = 0 ;
32532 char *kwnames[] = {
32533 (char *) "self",(char *) "str", NULL
32534 };
32535
32536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32539 {
32540 arg2 = wxString_in_helper(obj1);
32541 if (arg2 == NULL) SWIG_fail;
e811c8ce 32542 temp2 = True;
d14a1e28
RD
32543 }
32544 {
32545 PyThreadState* __tstate = wxPyBeginAllowThreads();
32546 (arg1)->SetHelp((wxString const &)*arg2);
32547
32548 wxPyEndAllowThreads(__tstate);
32549 if (PyErr_Occurred()) SWIG_fail;
32550 }
32551 Py_INCREF(Py_None); resultobj = Py_None;
32552 {
32553 if (temp2)
32554 delete arg2;
32555 }
32556 return resultobj;
32557 fail:
32558 {
32559 if (temp2)
32560 delete arg2;
32561 }
32562 return NULL;
32563}
32564
32565
32566static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32567 PyObject *resultobj;
32568 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32569 wxString *result;
32570 PyObject * obj0 = 0 ;
32571 char *kwnames[] = {
32572 (char *) "self", NULL
32573 };
32574
32575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
32576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32578 {
32579 PyThreadState* __tstate = wxPyBeginAllowThreads();
32580 {
32581 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
32582 result = (wxString *) &_result_ref;
32583 }
32584
32585 wxPyEndAllowThreads(__tstate);
32586 if (PyErr_Occurred()) SWIG_fail;
32587 }
cc6dd355
RD
32588 {
32589#if wxUSE_UNICODE
32590 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32591#else
32592 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32593#endif
32594 }
d14a1e28
RD
32595 return resultobj;
32596 fail:
32597 return NULL;
32598}
32599
32600
32601static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32602 PyObject *resultobj;
32603 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32604 wxAcceleratorEntry *result;
32605 PyObject * obj0 = 0 ;
32606 char *kwnames[] = {
32607 (char *) "self", NULL
32608 };
32609
32610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
15afbcd0
RD
32611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32613 {
32614 PyThreadState* __tstate = wxPyBeginAllowThreads();
32615 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
32616
32617 wxPyEndAllowThreads(__tstate);
32618 if (PyErr_Occurred()) SWIG_fail;
32619 }
15afbcd0 32620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
d14a1e28
RD
32621 return resultobj;
32622 fail:
32623 return NULL;
32624}
32625
32626
32627static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32628 PyObject *resultobj;
32629 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32630 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
32631 PyObject * obj0 = 0 ;
32632 PyObject * obj1 = 0 ;
32633 char *kwnames[] = {
32634 (char *) "self",(char *) "accel", NULL
32635 };
32636
32637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
32641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32642 {
32643 PyThreadState* __tstate = wxPyBeginAllowThreads();
32644 (arg1)->SetAccel(arg2);
32645
32646 wxPyEndAllowThreads(__tstate);
32647 if (PyErr_Occurred()) SWIG_fail;
32648 }
32649 Py_INCREF(Py_None); resultobj = Py_None;
32650 return resultobj;
32651 fail:
32652 return NULL;
32653}
32654
32655
32656static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
32657 PyObject *resultobj;
32658 int result;
32659 char *kwnames[] = {
32660 NULL
32661 };
32662
32663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
32664 {
32665 PyThreadState* __tstate = wxPyBeginAllowThreads();
32666 result = (int)MenuItem_GetDefaultMarginWidth();
32667
32668 wxPyEndAllowThreads(__tstate);
32669 if (PyErr_Occurred()) SWIG_fail;
32670 }
15afbcd0 32671 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32672 return resultobj;
32673 fail:
32674 return NULL;
32675}
32676
32677
32678static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32679 PyObject *resultobj;
32680 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32681 wxBitmap *arg2 = 0 ;
32682 PyObject * obj0 = 0 ;
32683 PyObject * obj1 = 0 ;
32684 char *kwnames[] = {
32685 (char *) "self",(char *) "bitmap", NULL
32686 };
32687
32688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32691 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
32692 SWIG_POINTER_EXCEPTION | 0)) == -1)
32693 SWIG_fail;
d14a1e28 32694 if (arg2 == NULL) {
15afbcd0
RD
32695 PyErr_SetString(PyExc_TypeError,"null reference");
32696 SWIG_fail;
d14a1e28
RD
32697 }
32698 {
32699 PyThreadState* __tstate = wxPyBeginAllowThreads();
32700 (arg1)->SetBitmap((wxBitmap const &)*arg2);
32701
32702 wxPyEndAllowThreads(__tstate);
32703 if (PyErr_Occurred()) SWIG_fail;
32704 }
32705 Py_INCREF(Py_None); resultobj = Py_None;
32706 return resultobj;
32707 fail:
32708 return NULL;
32709}
32710
32711
32712static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32713 PyObject *resultobj;
32714 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32715 wxBitmap *result;
32716 PyObject * obj0 = 0 ;
32717 char *kwnames[] = {
32718 (char *) "self", NULL
32719 };
32720
32721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
32722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32724 {
32725 PyThreadState* __tstate = wxPyBeginAllowThreads();
32726 {
32727 wxBitmap const &_result_ref = (arg1)->GetBitmap();
32728 result = (wxBitmap *) &_result_ref;
32729 }
32730
32731 wxPyEndAllowThreads(__tstate);
32732 if (PyErr_Occurred()) SWIG_fail;
32733 }
4276dc52
RD
32734 {
32735 wxBitmap* resultptr = new wxBitmap(*result);
32736 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
32737 }
d14a1e28
RD
32738 return resultobj;
32739 fail:
32740 return NULL;
32741}
32742
32743
32744static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
32745 PyObject *obj;
32746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32747 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
32748 Py_INCREF(obj);
32749 return Py_BuildValue((char *)"");
32750}
b2dc1044
RD
32751static int _wrap_ControlNameStr_set(PyObject *_val) {
32752 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
32753 return 1;
32754}
32755
32756
32757static PyObject *_wrap_ControlNameStr_get() {
32758 PyObject *pyobj;
32759
32760 {
32761#if wxUSE_UNICODE
32762 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32763#else
32764 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32765#endif
32766 }
32767 return pyobj;
32768}
32769
32770
d14a1e28
RD
32771static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
32772 PyObject *resultobj;
32773 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 32774 int arg2 = (int) -1 ;
d14a1e28
RD
32775 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32776 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32777 wxSize const &arg4_defvalue = wxDefaultSize ;
32778 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32779 long arg5 = (long) 0 ;
32780 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32781 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32782 wxString const &arg7_defvalue = wxPyControlNameStr ;
32783 wxString *arg7 = (wxString *) &arg7_defvalue ;
32784 wxControl *result;
32785 wxPoint temp3 ;
32786 wxSize temp4 ;
e811c8ce 32787 bool temp7 = False ;
d14a1e28 32788 PyObject * obj0 = 0 ;
994141e6 32789 PyObject * obj1 = 0 ;
d14a1e28
RD
32790 PyObject * obj2 = 0 ;
32791 PyObject * obj3 = 0 ;
994141e6 32792 PyObject * obj4 = 0 ;
d14a1e28
RD
32793 PyObject * obj5 = 0 ;
32794 PyObject * obj6 = 0 ;
32795 char *kwnames[] = {
32796 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32797 };
32798
248ed943 32799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
32800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
32801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
32802 if (obj1) {
32803 arg2 = (int) SWIG_AsInt(obj1);
32804 if (PyErr_Occurred()) SWIG_fail;
32805 }
d14a1e28
RD
32806 if (obj2) {
32807 {
32808 arg3 = &temp3;
32809 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32810 }
32811 }
32812 if (obj3) {
32813 {
32814 arg4 = &temp4;
32815 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32816 }
32817 }
994141e6 32818 if (obj4) {
15afbcd0
RD
32819 arg5 = (long) SWIG_AsLong(obj4);
32820 if (PyErr_Occurred()) SWIG_fail;
994141e6 32821 }
d14a1e28 32822 if (obj5) {
15afbcd0
RD
32823 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
32824 SWIG_POINTER_EXCEPTION | 0)) == -1)
32825 SWIG_fail;
d14a1e28 32826 if (arg6 == NULL) {
15afbcd0
RD
32827 PyErr_SetString(PyExc_TypeError,"null reference");
32828 SWIG_fail;
d14a1e28
RD
32829 }
32830 }
32831 if (obj6) {
32832 {
32833 arg7 = wxString_in_helper(obj6);
32834 if (arg7 == NULL) SWIG_fail;
e811c8ce 32835 temp7 = True;
d14a1e28
RD
32836 }
32837 }
32838 {
e3b71cb8 32839 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
32840 PyThreadState* __tstate = wxPyBeginAllowThreads();
32841 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32842
32843 wxPyEndAllowThreads(__tstate);
110da5b0 32844 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 32845 }
b0f7404b 32846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
d14a1e28
RD
32847 {
32848 if (temp7)
32849 delete arg7;
32850 }
32851 return resultobj;
32852 fail:
32853 {
32854 if (temp7)
32855 delete arg7;
32856 }
32857 return NULL;
32858}
32859
32860
32861static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
32862 PyObject *resultobj;
32863 wxControl *result;
32864 char *kwnames[] = {
32865 NULL
32866 };
32867
32868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
32869 {
e3b71cb8 32870 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
32871 PyThreadState* __tstate = wxPyBeginAllowThreads();
32872 result = (wxControl *)new wxControl();
32873
32874 wxPyEndAllowThreads(__tstate);
110da5b0 32875 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 32876 }
b0f7404b 32877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
d14a1e28
RD
32878 return resultobj;
32879 fail:
32880 return NULL;
32881}
32882
32883
32884static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
32885 PyObject *resultobj;
32886 wxControl *arg1 = (wxControl *) 0 ;
32887 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 32888 int arg3 = (int) -1 ;
d14a1e28
RD
32889 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32890 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32891 wxSize const &arg5_defvalue = wxDefaultSize ;
32892 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32893 long arg6 = (long) 0 ;
32894 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32895 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32896 wxString const &arg8_defvalue = wxPyControlNameStr ;
32897 wxString *arg8 = (wxString *) &arg8_defvalue ;
32898 bool result;
32899 wxPoint temp4 ;
32900 wxSize temp5 ;
e811c8ce 32901 bool temp8 = False ;
d14a1e28
RD
32902 PyObject * obj0 = 0 ;
32903 PyObject * obj1 = 0 ;
994141e6 32904 PyObject * obj2 = 0 ;
d14a1e28
RD
32905 PyObject * obj3 = 0 ;
32906 PyObject * obj4 = 0 ;
994141e6 32907 PyObject * obj5 = 0 ;
d14a1e28
RD
32908 PyObject * obj6 = 0 ;
32909 PyObject * obj7 = 0 ;
32910 char *kwnames[] = {
32911 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32912 };
32913
248ed943 32914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
32915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32917 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
32918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
32919 if (obj2) {
32920 arg3 = (int) SWIG_AsInt(obj2);
32921 if (PyErr_Occurred()) SWIG_fail;
32922 }
d14a1e28
RD
32923 if (obj3) {
32924 {
32925 arg4 = &temp4;
32926 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32927 }
32928 }
32929 if (obj4) {
32930 {
32931 arg5 = &temp5;
32932 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32933 }
32934 }
994141e6 32935 if (obj5) {
15afbcd0
RD
32936 arg6 = (long) SWIG_AsLong(obj5);
32937 if (PyErr_Occurred()) SWIG_fail;
994141e6 32938 }
d14a1e28 32939 if (obj6) {
15afbcd0
RD
32940 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
32941 SWIG_POINTER_EXCEPTION | 0)) == -1)
32942 SWIG_fail;
d14a1e28 32943 if (arg7 == NULL) {
15afbcd0
RD
32944 PyErr_SetString(PyExc_TypeError,"null reference");
32945 SWIG_fail;
d14a1e28
RD
32946 }
32947 }
32948 if (obj7) {
32949 {
32950 arg8 = wxString_in_helper(obj7);
32951 if (arg8 == NULL) SWIG_fail;
e811c8ce 32952 temp8 = True;
d14a1e28
RD
32953 }
32954 }
32955 {
32956 PyThreadState* __tstate = wxPyBeginAllowThreads();
32957 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32958
32959 wxPyEndAllowThreads(__tstate);
32960 if (PyErr_Occurred()) SWIG_fail;
32961 }
4f89f6a3
RD
32962 {
32963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32964 }
d14a1e28
RD
32965 {
32966 if (temp8)
32967 delete arg8;
32968 }
32969 return resultobj;
32970 fail:
32971 {
32972 if (temp8)
32973 delete arg8;
32974 }
32975 return NULL;
32976}
32977
32978
32979static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
32980 PyObject *resultobj;
32981 wxControl *arg1 = (wxControl *) 0 ;
32982 wxCommandEvent *arg2 = 0 ;
32983 PyObject * obj0 = 0 ;
32984 PyObject * obj1 = 0 ;
32985 char *kwnames[] = {
32986 (char *) "self",(char *) "event", NULL
32987 };
32988
32989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
32993 SWIG_POINTER_EXCEPTION | 0)) == -1)
32994 SWIG_fail;
d14a1e28 32995 if (arg2 == NULL) {
15afbcd0
RD
32996 PyErr_SetString(PyExc_TypeError,"null reference");
32997 SWIG_fail;
d14a1e28
RD
32998 }
32999 {
33000 PyThreadState* __tstate = wxPyBeginAllowThreads();
33001 (arg1)->Command(*arg2);
33002
33003 wxPyEndAllowThreads(__tstate);
33004 if (PyErr_Occurred()) SWIG_fail;
33005 }
33006 Py_INCREF(Py_None); resultobj = Py_None;
33007 return resultobj;
33008 fail:
33009 return NULL;
33010}
33011
33012
33013static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
33014 PyObject *resultobj;
33015 wxControl *arg1 = (wxControl *) 0 ;
33016 wxString result;
33017 PyObject * obj0 = 0 ;
33018 char *kwnames[] = {
33019 (char *) "self", NULL
33020 };
33021
33022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
33023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33025 {
33026 PyThreadState* __tstate = wxPyBeginAllowThreads();
33027 result = (arg1)->GetLabel();
33028
33029 wxPyEndAllowThreads(__tstate);
33030 if (PyErr_Occurred()) SWIG_fail;
33031 }
33032 {
33033#if wxUSE_UNICODE
33034 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33035#else
33036 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33037#endif
33038 }
33039 return resultobj;
33040 fail:
33041 return NULL;
33042}
33043
33044
33045static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
33046 PyObject *resultobj;
33047 wxControl *arg1 = (wxControl *) 0 ;
33048 wxString *arg2 = 0 ;
e811c8ce 33049 bool temp2 = False ;
d14a1e28
RD
33050 PyObject * obj0 = 0 ;
33051 PyObject * obj1 = 0 ;
33052 char *kwnames[] = {
33053 (char *) "self",(char *) "label", NULL
33054 };
33055
33056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33059 {
33060 arg2 = wxString_in_helper(obj1);
33061 if (arg2 == NULL) SWIG_fail;
e811c8ce 33062 temp2 = True;
d14a1e28
RD
33063 }
33064 {
33065 PyThreadState* __tstate = wxPyBeginAllowThreads();
33066 (arg1)->SetLabel((wxString const &)*arg2);
33067
33068 wxPyEndAllowThreads(__tstate);
33069 if (PyErr_Occurred()) SWIG_fail;
33070 }
33071 Py_INCREF(Py_None); resultobj = Py_None;
33072 {
33073 if (temp2)
33074 delete arg2;
33075 }
33076 return resultobj;
33077 fail:
33078 {
33079 if (temp2)
33080 delete arg2;
33081 }
33082 return NULL;
33083}
33084
33085
74a57fcd
RD
33086static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
33087 PyObject *resultobj;
33088 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
33089 wxVisualAttributes result;
33090 PyObject * obj0 = 0 ;
33091 char *kwnames[] = {
33092 (char *) "variant", NULL
33093 };
33094
33095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
33096 if (obj0) {
33097 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
33098 if (PyErr_Occurred()) SWIG_fail;
33099 }
33100 {
110da5b0 33101 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
33102 PyThreadState* __tstate = wxPyBeginAllowThreads();
33103 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
33104
33105 wxPyEndAllowThreads(__tstate);
dfbb5885 33106 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
33107 }
33108 {
33109 wxVisualAttributes * resultptr;
33110 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
33111 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33112 }
33113 return resultobj;
33114 fail:
33115 return NULL;
33116}
33117
33118
d14a1e28
RD
33119static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
33120 PyObject *obj;
33121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33122 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
33123 Py_INCREF(obj);
33124 return Py_BuildValue((char *)"");
33125}
33126static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
33127 PyObject *resultobj;
33128 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33129 wxString *arg2 = 0 ;
33130 PyObject *arg3 = (PyObject *) NULL ;
33131 int result;
e811c8ce 33132 bool temp2 = False ;
d14a1e28
RD
33133 PyObject * obj0 = 0 ;
33134 PyObject * obj1 = 0 ;
33135 PyObject * obj2 = 0 ;
33136 char *kwnames[] = {
33137 (char *) "self",(char *) "item",(char *) "clientData", NULL
33138 };
33139
33140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33143 {
33144 arg2 = wxString_in_helper(obj1);
33145 if (arg2 == NULL) SWIG_fail;
e811c8ce 33146 temp2 = True;
d14a1e28
RD
33147 }
33148 if (obj2) {
33149 arg3 = obj2;
33150 }
33151 {
33152 PyThreadState* __tstate = wxPyBeginAllowThreads();
33153 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
33154
33155 wxPyEndAllowThreads(__tstate);
33156 if (PyErr_Occurred()) SWIG_fail;
33157 }
15afbcd0 33158 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33159 {
33160 if (temp2)
33161 delete arg2;
33162 }
33163 return resultobj;
33164 fail:
33165 {
33166 if (temp2)
33167 delete arg2;
33168 }
33169 return NULL;
33170}
33171
33172
33173static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
33174 PyObject *resultobj;
33175 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33176 wxArrayString *arg2 = 0 ;
3adfb63b 33177 bool temp2 = False ;
d14a1e28
RD
33178 PyObject * obj0 = 0 ;
33179 PyObject * obj1 = 0 ;
33180 char *kwnames[] = {
33181 (char *) "self",(char *) "strings", NULL
33182 };
33183
33184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33187 {
33188 if (! PySequence_Check(obj1)) {
33189 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
33190 SWIG_fail;
33191 }
33192 arg2 = new wxArrayString;
3adfb63b 33193 temp2 = True;
d14a1e28
RD
33194 int i, len=PySequence_Length(obj1);
33195 for (i=0; i<len; i++) {
33196 PyObject* item = PySequence_GetItem(obj1, i);
33197#if wxUSE_UNICODE
33198 PyObject* str = PyObject_Unicode(item);
33199#else
33200 PyObject* str = PyObject_Str(item);
33201#endif
74a57fcd 33202 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33203 arg2->Add(Py2wxString(str));
33204 Py_DECREF(item);
33205 Py_DECREF(str);
33206 }
33207 }
33208 {
33209 PyThreadState* __tstate = wxPyBeginAllowThreads();
33210 (arg1)->Append((wxArrayString const &)*arg2);
33211
33212 wxPyEndAllowThreads(__tstate);
33213 if (PyErr_Occurred()) SWIG_fail;
33214 }
33215 Py_INCREF(Py_None); resultobj = Py_None;
33216 {
3adfb63b 33217 if (temp2) delete arg2;
d14a1e28
RD
33218 }
33219 return resultobj;
33220 fail:
33221 {
3adfb63b 33222 if (temp2) delete arg2;
d14a1e28
RD
33223 }
33224 return NULL;
33225}
33226
33227
33228static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
33229 PyObject *resultobj;
33230 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33231 wxString *arg2 = 0 ;
33232 int arg3 ;
33233 PyObject *arg4 = (PyObject *) NULL ;
33234 int result;
e811c8ce 33235 bool temp2 = False ;
d14a1e28
RD
33236 PyObject * obj0 = 0 ;
33237 PyObject * obj1 = 0 ;
994141e6 33238 PyObject * obj2 = 0 ;
d14a1e28
RD
33239 PyObject * obj3 = 0 ;
33240 char *kwnames[] = {
33241 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33242 };
33243
994141e6 33244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
33245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33247 {
33248 arg2 = wxString_in_helper(obj1);
33249 if (arg2 == NULL) SWIG_fail;
e811c8ce 33250 temp2 = True;
d14a1e28 33251 }
15afbcd0
RD
33252 arg3 = (int) SWIG_AsInt(obj2);
33253 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33254 if (obj3) {
33255 arg4 = obj3;
33256 }
33257 {
33258 PyThreadState* __tstate = wxPyBeginAllowThreads();
33259 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
33260
33261 wxPyEndAllowThreads(__tstate);
33262 if (PyErr_Occurred()) SWIG_fail;
33263 }
15afbcd0 33264 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33265 {
33266 if (temp2)
33267 delete arg2;
33268 }
33269 return resultobj;
33270 fail:
33271 {
33272 if (temp2)
33273 delete arg2;
33274 }
33275 return NULL;
33276}
33277
33278
33279static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
33280 PyObject *resultobj;
33281 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33282 PyObject * obj0 = 0 ;
33283 char *kwnames[] = {
33284 (char *) "self", NULL
33285 };
33286
33287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
33288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33290 {
33291 PyThreadState* __tstate = wxPyBeginAllowThreads();
33292 (arg1)->Clear();
33293
33294 wxPyEndAllowThreads(__tstate);
33295 if (PyErr_Occurred()) SWIG_fail;
33296 }
33297 Py_INCREF(Py_None); resultobj = Py_None;
33298 return resultobj;
33299 fail:
33300 return NULL;
33301}
33302
33303
33304static PyObject *_wrap_ItemContainer_Delete(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_Delete",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)->Delete(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_GetCount(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_GetCount",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)->GetCount();
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_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
33360 PyObject *resultobj;
33361 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33362 bool result;
33363 PyObject * obj0 = 0 ;
33364 char *kwnames[] = {
33365 (char *) "self", NULL
33366 };
33367
33368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",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 = (bool)((wxItemContainer const *)arg1)->IsEmpty();
33374
33375 wxPyEndAllowThreads(__tstate);
33376 if (PyErr_Occurred()) SWIG_fail;
33377 }
4f89f6a3
RD
33378 {
33379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33380 }
d14a1e28
RD
33381 return resultobj;
33382 fail:
33383 return NULL;
33384}
33385
33386
33387static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33388 PyObject *resultobj;
33389 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33390 int arg2 ;
33391 wxString result;
33392 PyObject * obj0 = 0 ;
994141e6 33393 PyObject * obj1 = 0 ;
d14a1e28
RD
33394 char *kwnames[] = {
33395 (char *) "self",(char *) "n", NULL
33396 };
33397
994141e6 33398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33401 arg2 = (int) SWIG_AsInt(obj1);
33402 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33403 {
33404 PyThreadState* __tstate = wxPyBeginAllowThreads();
33405 result = ((wxItemContainer const *)arg1)->GetString(arg2);
33406
33407 wxPyEndAllowThreads(__tstate);
33408 if (PyErr_Occurred()) SWIG_fail;
33409 }
33410 {
33411#if wxUSE_UNICODE
33412 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33413#else
33414 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33415#endif
33416 }
33417 return resultobj;
33418 fail:
33419 return NULL;
33420}
33421
33422
33423static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
33424 PyObject *resultobj;
33425 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33426 wxArrayString result;
33427 PyObject * obj0 = 0 ;
33428 char *kwnames[] = {
33429 (char *) "self", NULL
33430 };
33431
33432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
15afbcd0
RD
33433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33435 {
33436 PyThreadState* __tstate = wxPyBeginAllowThreads();
33437 result = ((wxItemContainer const *)arg1)->GetStrings();
33438
33439 wxPyEndAllowThreads(__tstate);
33440 if (PyErr_Occurred()) SWIG_fail;
33441 }
33442 {
33443 resultobj = wxArrayString2PyList_helper(result);
33444 }
33445 return resultobj;
33446 fail:
33447 return NULL;
33448}
33449
33450
33451static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33452 PyObject *resultobj;
33453 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33454 int arg2 ;
33455 wxString *arg3 = 0 ;
e811c8ce 33456 bool temp3 = False ;
d14a1e28 33457 PyObject * obj0 = 0 ;
994141e6 33458 PyObject * obj1 = 0 ;
d14a1e28
RD
33459 PyObject * obj2 = 0 ;
33460 char *kwnames[] = {
33461 (char *) "self",(char *) "n",(char *) "s", NULL
33462 };
33463
994141e6 33464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33467 arg2 = (int) SWIG_AsInt(obj1);
33468 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33469 {
33470 arg3 = wxString_in_helper(obj2);
33471 if (arg3 == NULL) SWIG_fail;
e811c8ce 33472 temp3 = True;
d14a1e28
RD
33473 }
33474 {
33475 PyThreadState* __tstate = wxPyBeginAllowThreads();
33476 (arg1)->SetString(arg2,(wxString const &)*arg3);
33477
33478 wxPyEndAllowThreads(__tstate);
33479 if (PyErr_Occurred()) SWIG_fail;
33480 }
33481 Py_INCREF(Py_None); resultobj = Py_None;
33482 {
33483 if (temp3)
33484 delete arg3;
33485 }
33486 return resultobj;
33487 fail:
33488 {
33489 if (temp3)
33490 delete arg3;
33491 }
33492 return NULL;
33493}
33494
33495
33496static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
33497 PyObject *resultobj;
33498 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33499 wxString *arg2 = 0 ;
33500 int result;
e811c8ce 33501 bool temp2 = False ;
d14a1e28
RD
33502 PyObject * obj0 = 0 ;
33503 PyObject * obj1 = 0 ;
33504 char *kwnames[] = {
33505 (char *) "self",(char *) "s", NULL
33506 };
33507
33508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33511 {
33512 arg2 = wxString_in_helper(obj1);
33513 if (arg2 == NULL) SWIG_fail;
e811c8ce 33514 temp2 = True;
d14a1e28
RD
33515 }
33516 {
33517 PyThreadState* __tstate = wxPyBeginAllowThreads();
33518 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
33519
33520 wxPyEndAllowThreads(__tstate);
33521 if (PyErr_Occurred()) SWIG_fail;
33522 }
15afbcd0 33523 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33524 {
33525 if (temp2)
33526 delete arg2;
33527 }
33528 return resultobj;
33529 fail:
33530 {
33531 if (temp2)
33532 delete arg2;
33533 }
33534 return NULL;
33535}
33536
33537
33538static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
33539 PyObject *resultobj;
33540 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33541 int arg2 ;
33542 PyObject * obj0 = 0 ;
994141e6 33543 PyObject * obj1 = 0 ;
d14a1e28
RD
33544 char *kwnames[] = {
33545 (char *) "self",(char *) "n", NULL
33546 };
33547
994141e6 33548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33551 arg2 = (int) SWIG_AsInt(obj1);
33552 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33553 {
33554 PyThreadState* __tstate = wxPyBeginAllowThreads();
33555 (arg1)->Select(arg2);
33556
33557 wxPyEndAllowThreads(__tstate);
33558 if (PyErr_Occurred()) SWIG_fail;
33559 }
33560 Py_INCREF(Py_None); resultobj = Py_None;
33561 return resultobj;
33562 fail:
33563 return NULL;
33564}
33565
33566
33567static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33568 PyObject *resultobj;
33569 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33570 int result;
33571 PyObject * obj0 = 0 ;
33572 char *kwnames[] = {
33573 (char *) "self", NULL
33574 };
33575
33576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
33577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33579 {
33580 PyThreadState* __tstate = wxPyBeginAllowThreads();
33581 result = (int)((wxItemContainer const *)arg1)->GetSelection();
33582
33583 wxPyEndAllowThreads(__tstate);
33584 if (PyErr_Occurred()) SWIG_fail;
33585 }
15afbcd0 33586 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33587 return resultobj;
33588 fail:
33589 return NULL;
33590}
33591
33592
33593static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33594 PyObject *resultobj;
33595 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33596 wxString result;
33597 PyObject * obj0 = 0 ;
33598 char *kwnames[] = {
33599 (char *) "self", NULL
33600 };
33601
33602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
33603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33605 {
33606 PyThreadState* __tstate = wxPyBeginAllowThreads();
33607 result = ((wxItemContainer const *)arg1)->GetStringSelection();
33608
33609 wxPyEndAllowThreads(__tstate);
33610 if (PyErr_Occurred()) SWIG_fail;
33611 }
33612 {
33613#if wxUSE_UNICODE
33614 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33615#else
33616 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33617#endif
33618 }
33619 return resultobj;
33620 fail:
33621 return NULL;
33622}
33623
33624
33625static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33626 PyObject *resultobj;
33627 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33628 int arg2 ;
33629 PyObject *result;
33630 PyObject * obj0 = 0 ;
994141e6 33631 PyObject * obj1 = 0 ;
d14a1e28
RD
33632 char *kwnames[] = {
33633 (char *) "self",(char *) "n", NULL
33634 };
33635
994141e6 33636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33639 arg2 = (int) SWIG_AsInt(obj1);
33640 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33641 {
33642 PyThreadState* __tstate = wxPyBeginAllowThreads();
33643 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
33644
33645 wxPyEndAllowThreads(__tstate);
33646 if (PyErr_Occurred()) SWIG_fail;
33647 }
33648 resultobj = result;
33649 return resultobj;
33650 fail:
33651 return NULL;
33652}
33653
33654
33655static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33656 PyObject *resultobj;
33657 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33658 int arg2 ;
33659 PyObject *arg3 = (PyObject *) 0 ;
33660 PyObject * obj0 = 0 ;
994141e6 33661 PyObject * obj1 = 0 ;
d14a1e28
RD
33662 PyObject * obj2 = 0 ;
33663 char *kwnames[] = {
33664 (char *) "self",(char *) "n",(char *) "clientData", NULL
33665 };
33666
994141e6 33667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33670 arg2 = (int) SWIG_AsInt(obj1);
33671 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33672 arg3 = obj2;
33673 {
33674 PyThreadState* __tstate = wxPyBeginAllowThreads();
33675 wxItemContainer_SetClientData(arg1,arg2,arg3);
33676
33677 wxPyEndAllowThreads(__tstate);
33678 if (PyErr_Occurred()) SWIG_fail;
33679 }
33680 Py_INCREF(Py_None); resultobj = Py_None;
33681 return resultobj;
33682 fail:
33683 return NULL;
33684}
33685
33686
33687static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
33688 PyObject *obj;
33689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33690 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
33691 Py_INCREF(obj);
33692 return Py_BuildValue((char *)"");
33693}
33694static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
33695 PyObject *obj;
33696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33697 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
33698 Py_INCREF(obj);
33699 return Py_BuildValue((char *)"");
33700}
33701static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33702 PyObject *resultobj;
33703 wxSizerItem *result;
33704 char *kwnames[] = {
33705 NULL
33706 };
33707
33708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
33709 {
33710 PyThreadState* __tstate = wxPyBeginAllowThreads();
33711 result = (wxSizerItem *)new wxSizerItem();
33712
33713 wxPyEndAllowThreads(__tstate);
33714 if (PyErr_Occurred()) SWIG_fail;
33715 }
15afbcd0 33716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33717 return resultobj;
33718 fail:
33719 return NULL;
33720}
33721
33722
248ed943 33723static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 33724 PyObject *resultobj;
248ed943 33725 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
33726 int arg2 ;
33727 int arg3 ;
33728 int arg4 ;
248ed943 33729 PyObject *arg5 = (PyObject *) NULL ;
d14a1e28 33730 wxSizerItem *result;
994141e6
RD
33731 PyObject * obj0 = 0 ;
33732 PyObject * obj1 = 0 ;
33733 PyObject * obj2 = 0 ;
33734 PyObject * obj3 = 0 ;
33735 PyObject * obj4 = 0 ;
d14a1e28 33736 char *kwnames[] = {
248ed943 33737 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d14a1e28
RD
33738 };
33739
248ed943
RD
33740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
33742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15afbcd0
RD
33743 arg2 = (int) SWIG_AsInt(obj1);
33744 if (PyErr_Occurred()) SWIG_fail;
33745 arg3 = (int) SWIG_AsInt(obj2);
33746 if (PyErr_Occurred()) SWIG_fail;
33747 arg4 = (int) SWIG_AsInt(obj3);
33748 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
33749 if (obj4) {
33750 arg5 = obj4;
33751 }
d14a1e28
RD
33752 {
33753 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 33754 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d14a1e28
RD
33755
33756 wxPyEndAllowThreads(__tstate);
33757 if (PyErr_Occurred()) SWIG_fail;
33758 }
15afbcd0 33759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33760 return resultobj;
33761 fail:
33762 return NULL;
33763}
33764
33765
248ed943 33766static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 33767 PyObject *resultobj;
248ed943 33768 int arg1 ;
d14a1e28
RD
33769 int arg2 ;
33770 int arg3 ;
33771 int arg4 ;
248ed943
RD
33772 int arg5 ;
33773 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
33774 wxSizerItem *result;
33775 PyObject * obj0 = 0 ;
994141e6
RD
33776 PyObject * obj1 = 0 ;
33777 PyObject * obj2 = 0 ;
33778 PyObject * obj3 = 0 ;
d14a1e28 33779 PyObject * obj4 = 0 ;
248ed943 33780 PyObject * obj5 = 0 ;
d14a1e28 33781 char *kwnames[] = {
248ed943 33782 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d14a1e28
RD
33783 };
33784
248ed943
RD
33785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33786 arg1 = (int) SWIG_AsInt(obj0);
33787 if (PyErr_Occurred()) SWIG_fail;
15afbcd0
RD
33788 arg2 = (int) SWIG_AsInt(obj1);
33789 if (PyErr_Occurred()) SWIG_fail;
33790 arg3 = (int) SWIG_AsInt(obj2);
33791 if (PyErr_Occurred()) SWIG_fail;
33792 arg4 = (int) SWIG_AsInt(obj3);
33793 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
33794 arg5 = (int) SWIG_AsInt(obj4);
33795 if (PyErr_Occurred()) SWIG_fail;
33796 if (obj5) {
33797 arg6 = obj5;
33798 }
d14a1e28
RD
33799 {
33800 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 33801 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
33802
33803 wxPyEndAllowThreads(__tstate);
33804 if (PyErr_Occurred()) SWIG_fail;
33805 }
15afbcd0 33806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33807 return resultobj;
33808 fail:
33809 return NULL;
33810}
33811
33812
33813static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33814 PyObject *resultobj;
33815 wxSizer *arg1 = (wxSizer *) 0 ;
33816 int arg2 ;
33817 int arg3 ;
33818 int arg4 ;
248ed943 33819 PyObject *arg5 = (PyObject *) NULL ;
d14a1e28
RD
33820 wxSizerItem *result;
33821 PyObject * obj0 = 0 ;
994141e6
RD
33822 PyObject * obj1 = 0 ;
33823 PyObject * obj2 = 0 ;
33824 PyObject * obj3 = 0 ;
d14a1e28
RD
33825 PyObject * obj4 = 0 ;
33826 char *kwnames[] = {
33827 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33828 };
33829
248ed943 33830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
33831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33833 arg2 = (int) SWIG_AsInt(obj1);
33834 if (PyErr_Occurred()) SWIG_fail;
33835 arg3 = (int) SWIG_AsInt(obj2);
33836 if (PyErr_Occurred()) SWIG_fail;
33837 arg4 = (int) SWIG_AsInt(obj3);
33838 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
33839 if (obj4) {
33840 arg5 = obj4;
33841 }
d14a1e28
RD
33842 {
33843 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 33844 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d14a1e28
RD
33845
33846 wxPyEndAllowThreads(__tstate);
33847 if (PyErr_Occurred()) SWIG_fail;
33848 }
15afbcd0 33849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33850 return resultobj;
33851 fail:
33852 return NULL;
33853}
33854
33855
33856static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
33857 PyObject *resultobj;
33858 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33859 PyObject * obj0 = 0 ;
33860 char *kwnames[] = {
33861 (char *) "self", NULL
33862 };
33863
33864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
33865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33867 {
33868 PyThreadState* __tstate = wxPyBeginAllowThreads();
33869 (arg1)->DeleteWindows();
33870
33871 wxPyEndAllowThreads(__tstate);
33872 if (PyErr_Occurred()) SWIG_fail;
33873 }
33874 Py_INCREF(Py_None); resultobj = Py_None;
33875 return resultobj;
33876 fail:
33877 return NULL;
33878}
33879
33880
33881static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33882 PyObject *resultobj;
33883 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33884 PyObject * obj0 = 0 ;
33885 char *kwnames[] = {
33886 (char *) "self", NULL
33887 };
33888
33889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
33890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33892 {
33893 PyThreadState* __tstate = wxPyBeginAllowThreads();
33894 (arg1)->DetachSizer();
33895
33896 wxPyEndAllowThreads(__tstate);
33897 if (PyErr_Occurred()) SWIG_fail;
33898 }
33899 Py_INCREF(Py_None); resultobj = Py_None;
33900 return resultobj;
33901 fail:
33902 return NULL;
33903}
33904
33905
33906static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33907 PyObject *resultobj;
33908 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33909 wxSize result;
33910 PyObject * obj0 = 0 ;
33911 char *kwnames[] = {
33912 (char *) "self", NULL
33913 };
33914
33915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
33916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33918 {
33919 PyThreadState* __tstate = wxPyBeginAllowThreads();
33920 result = (arg1)->GetSize();
33921
33922 wxPyEndAllowThreads(__tstate);
33923 if (PyErr_Occurred()) SWIG_fail;
33924 }
33925 {
33926 wxSize * resultptr;
33927 resultptr = new wxSize((wxSize &) result);
15afbcd0 33928 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33929 }
33930 return resultobj;
33931 fail:
33932 return NULL;
33933}
33934
33935
33936static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
33937 PyObject *resultobj;
33938 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33939 wxSize result;
33940 PyObject * obj0 = 0 ;
33941 char *kwnames[] = {
33942 (char *) "self", NULL
33943 };
33944
33945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
33946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33948 {
33949 PyThreadState* __tstate = wxPyBeginAllowThreads();
33950 result = (arg1)->CalcMin();
33951
33952 wxPyEndAllowThreads(__tstate);
33953 if (PyErr_Occurred()) SWIG_fail;
33954 }
33955 {
33956 wxSize * resultptr;
33957 resultptr = new wxSize((wxSize &) result);
15afbcd0 33958 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33959 }
33960 return resultobj;
33961 fail:
33962 return NULL;
33963}
33964
33965
33966static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
33967 PyObject *resultobj;
33968 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33969 wxPoint arg2 ;
33970 wxSize arg3 ;
33971 wxPoint *argp2 ;
33972 wxSize *argp3 ;
33973 PyObject * obj0 = 0 ;
33974 PyObject * obj1 = 0 ;
33975 PyObject * obj2 = 0 ;
33976 char *kwnames[] = {
33977 (char *) "self",(char *) "pos",(char *) "size", NULL
33978 };
33979
33980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33983 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
33984 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33985 arg2 = *argp2;
33986 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
33987 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33988 arg3 = *argp3;
d14a1e28
RD
33989 {
33990 PyThreadState* __tstate = wxPyBeginAllowThreads();
33991 (arg1)->SetDimension(arg2,arg3);
33992
33993 wxPyEndAllowThreads(__tstate);
33994 if (PyErr_Occurred()) SWIG_fail;
33995 }
33996 Py_INCREF(Py_None); resultobj = Py_None;
33997 return resultobj;
33998 fail:
33999 return NULL;
34000}
34001
34002
34003static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34004 PyObject *resultobj;
34005 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34006 wxSize result;
34007 PyObject * obj0 = 0 ;
34008 char *kwnames[] = {
34009 (char *) "self", NULL
34010 };
34011
34012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
34013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34015 {
34016 PyThreadState* __tstate = wxPyBeginAllowThreads();
34017 result = (arg1)->GetMinSize();
34018
34019 wxPyEndAllowThreads(__tstate);
34020 if (PyErr_Occurred()) SWIG_fail;
34021 }
34022 {
34023 wxSize * resultptr;
34024 resultptr = new wxSize((wxSize &) result);
15afbcd0 34025 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34026 }
34027 return resultobj;
34028 fail:
34029 return NULL;
34030}
34031
34032
dfbb5885
RD
34033static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34034 PyObject *resultobj;
34035 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34036 wxSize result;
34037 PyObject * obj0 = 0 ;
34038 char *kwnames[] = {
34039 (char *) "self", NULL
34040 };
34041
34042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames,&obj0)) goto fail;
34043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34045 {
34046 PyThreadState* __tstate = wxPyBeginAllowThreads();
34047 result = ((wxSizerItem const *)arg1)->GetMinSizeWithBorder();
34048
34049 wxPyEndAllowThreads(__tstate);
34050 if (PyErr_Occurred()) SWIG_fail;
34051 }
34052 {
34053 wxSize * resultptr;
34054 resultptr = new wxSize((wxSize &) result);
34055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34056 }
34057 return resultobj;
34058 fail:
34059 return NULL;
34060}
34061
34062
d14a1e28
RD
34063static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34064 PyObject *resultobj;
34065 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34066 int arg2 ;
34067 int arg3 ;
34068 PyObject * obj0 = 0 ;
994141e6
RD
34069 PyObject * obj1 = 0 ;
34070 PyObject * obj2 = 0 ;
d14a1e28
RD
34071 char *kwnames[] = {
34072 (char *) "self",(char *) "x",(char *) "y", NULL
34073 };
34074
994141e6 34075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34078 arg2 = (int) SWIG_AsInt(obj1);
34079 if (PyErr_Occurred()) SWIG_fail;
34080 arg3 = (int) SWIG_AsInt(obj2);
34081 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34082 {
34083 PyThreadState* __tstate = wxPyBeginAllowThreads();
34084 (arg1)->SetInitSize(arg2,arg3);
34085
34086 wxPyEndAllowThreads(__tstate);
34087 if (PyErr_Occurred()) SWIG_fail;
34088 }
34089 Py_INCREF(Py_None); resultobj = Py_None;
34090 return resultobj;
34091 fail:
34092 return NULL;
34093}
34094
34095
34096static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
34097 PyObject *resultobj;
34098 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34099 int arg2 ;
34100 int arg3 ;
34101 PyObject * obj0 = 0 ;
994141e6
RD
34102 PyObject * obj1 = 0 ;
34103 PyObject * obj2 = 0 ;
d14a1e28
RD
34104 char *kwnames[] = {
34105 (char *) "self",(char *) "width",(char *) "height", NULL
34106 };
34107
994141e6 34108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34111 arg2 = (int) SWIG_AsInt(obj1);
34112 if (PyErr_Occurred()) SWIG_fail;
34113 arg3 = (int) SWIG_AsInt(obj2);
34114 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34115 {
34116 PyThreadState* __tstate = wxPyBeginAllowThreads();
34117 (arg1)->SetRatio(arg2,arg3);
34118
34119 wxPyEndAllowThreads(__tstate);
34120 if (PyErr_Occurred()) SWIG_fail;
34121 }
34122 Py_INCREF(Py_None); resultobj = Py_None;
34123 return resultobj;
34124 fail:
34125 return NULL;
34126}
34127
34128
34129static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34130 PyObject *resultobj;
34131 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34132 wxSize arg2 ;
34133 wxSize *argp2 ;
34134 PyObject * obj0 = 0 ;
34135 PyObject * obj1 = 0 ;
34136 char *kwnames[] = {
34137 (char *) "self",(char *) "size", NULL
34138 };
34139
34140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34143 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
34144 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34145 arg2 = *argp2;
d14a1e28
RD
34146 {
34147 PyThreadState* __tstate = wxPyBeginAllowThreads();
34148 (arg1)->SetRatio(arg2);
34149
34150 wxPyEndAllowThreads(__tstate);
34151 if (PyErr_Occurred()) SWIG_fail;
34152 }
34153 Py_INCREF(Py_None); resultobj = Py_None;
34154 return resultobj;
34155 fail:
34156 return NULL;
34157}
34158
34159
34160static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
34161 PyObject *resultobj;
34162 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34163 float arg2 ;
34164 PyObject * obj0 = 0 ;
994141e6 34165 PyObject * obj1 = 0 ;
d14a1e28
RD
34166 char *kwnames[] = {
34167 (char *) "self",(char *) "ratio", NULL
34168 };
34169
994141e6 34170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34173 arg2 = (float) SWIG_AsFloat(obj1);
34174 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34175 {
34176 PyThreadState* __tstate = wxPyBeginAllowThreads();
34177 (arg1)->SetRatio(arg2);
34178
34179 wxPyEndAllowThreads(__tstate);
34180 if (PyErr_Occurred()) SWIG_fail;
34181 }
34182 Py_INCREF(Py_None); resultobj = Py_None;
34183 return resultobj;
34184 fail:
34185 return NULL;
34186}
34187
34188
34189static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
34190 PyObject *resultobj;
34191 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34192 float result;
34193 PyObject * obj0 = 0 ;
34194 char *kwnames[] = {
34195 (char *) "self", NULL
34196 };
34197
34198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
15afbcd0
RD
34199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34201 {
34202 PyThreadState* __tstate = wxPyBeginAllowThreads();
34203 result = (float)(arg1)->GetRatio();
34204
34205 wxPyEndAllowThreads(__tstate);
34206 if (PyErr_Occurred()) SWIG_fail;
34207 }
15afbcd0 34208 resultobj = SWIG_FromFloat((float)result);
d14a1e28
RD
34209 return resultobj;
34210 fail:
34211 return NULL;
34212}
34213
34214
34215static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34216 PyObject *resultobj;
34217 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34218 bool result;
34219 PyObject * obj0 = 0 ;
34220 char *kwnames[] = {
34221 (char *) "self", NULL
34222 };
34223
34224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
34225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34227 {
34228 PyThreadState* __tstate = wxPyBeginAllowThreads();
34229 result = (bool)(arg1)->IsWindow();
34230
34231 wxPyEndAllowThreads(__tstate);
34232 if (PyErr_Occurred()) SWIG_fail;
34233 }
4f89f6a3
RD
34234 {
34235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34236 }
d14a1e28
RD
34237 return resultobj;
34238 fail:
34239 return NULL;
34240}
34241
34242
34243static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34244 PyObject *resultobj;
34245 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34246 bool result;
34247 PyObject * obj0 = 0 ;
34248 char *kwnames[] = {
34249 (char *) "self", NULL
34250 };
34251
34252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34255 {
34256 PyThreadState* __tstate = wxPyBeginAllowThreads();
34257 result = (bool)(arg1)->IsSizer();
34258
34259 wxPyEndAllowThreads(__tstate);
34260 if (PyErr_Occurred()) SWIG_fail;
34261 }
4f89f6a3
RD
34262 {
34263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34264 }
d14a1e28
RD
34265 return resultobj;
34266 fail:
34267 return NULL;
34268}
34269
34270
34271static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34272 PyObject *resultobj;
34273 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34274 bool result;
34275 PyObject * obj0 = 0 ;
34276 char *kwnames[] = {
34277 (char *) "self", NULL
34278 };
34279
34280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34283 {
34284 PyThreadState* __tstate = wxPyBeginAllowThreads();
34285 result = (bool)(arg1)->IsSpacer();
34286
34287 wxPyEndAllowThreads(__tstate);
34288 if (PyErr_Occurred()) SWIG_fail;
34289 }
4f89f6a3
RD
34290 {
34291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34292 }
d14a1e28
RD
34293 return resultobj;
34294 fail:
34295 return NULL;
34296}
34297
34298
34299static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34300 PyObject *resultobj;
34301 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34302 int arg2 ;
34303 PyObject * obj0 = 0 ;
994141e6 34304 PyObject * obj1 = 0 ;
d14a1e28
RD
34305 char *kwnames[] = {
34306 (char *) "self",(char *) "proportion", NULL
34307 };
34308
994141e6 34309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34312 arg2 = (int) SWIG_AsInt(obj1);
34313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34314 {
34315 PyThreadState* __tstate = wxPyBeginAllowThreads();
34316 (arg1)->SetProportion(arg2);
34317
34318 wxPyEndAllowThreads(__tstate);
34319 if (PyErr_Occurred()) SWIG_fail;
34320 }
34321 Py_INCREF(Py_None); resultobj = Py_None;
34322 return resultobj;
34323 fail:
34324 return NULL;
34325}
34326
34327
34328static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34329 PyObject *resultobj;
34330 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34331 int result;
34332 PyObject * obj0 = 0 ;
34333 char *kwnames[] = {
34334 (char *) "self", NULL
34335 };
34336
34337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
15afbcd0
RD
34338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34340 {
34341 PyThreadState* __tstate = wxPyBeginAllowThreads();
34342 result = (int)(arg1)->GetProportion();
34343
34344 wxPyEndAllowThreads(__tstate);
34345 if (PyErr_Occurred()) SWIG_fail;
34346 }
15afbcd0 34347 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34348 return resultobj;
34349 fail:
34350 return NULL;
34351}
34352
34353
34354static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34355 PyObject *resultobj;
34356 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34357 int arg2 ;
34358 PyObject * obj0 = 0 ;
994141e6 34359 PyObject * obj1 = 0 ;
d14a1e28
RD
34360 char *kwnames[] = {
34361 (char *) "self",(char *) "flag", NULL
34362 };
34363
994141e6 34364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34367 arg2 = (int) SWIG_AsInt(obj1);
34368 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34369 {
34370 PyThreadState* __tstate = wxPyBeginAllowThreads();
34371 (arg1)->SetFlag(arg2);
34372
34373 wxPyEndAllowThreads(__tstate);
34374 if (PyErr_Occurred()) SWIG_fail;
34375 }
34376 Py_INCREF(Py_None); resultobj = Py_None;
34377 return resultobj;
34378 fail:
34379 return NULL;
34380}
34381
34382
34383static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34384 PyObject *resultobj;
34385 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34386 int result;
34387 PyObject * obj0 = 0 ;
34388 char *kwnames[] = {
34389 (char *) "self", NULL
34390 };
34391
34392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
34393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34395 {
34396 PyThreadState* __tstate = wxPyBeginAllowThreads();
34397 result = (int)(arg1)->GetFlag();
34398
34399 wxPyEndAllowThreads(__tstate);
34400 if (PyErr_Occurred()) SWIG_fail;
34401 }
15afbcd0 34402 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34403 return resultobj;
34404 fail:
34405 return NULL;
34406}
34407
34408
34409static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34410 PyObject *resultobj;
34411 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34412 int arg2 ;
34413 PyObject * obj0 = 0 ;
994141e6 34414 PyObject * obj1 = 0 ;
d14a1e28
RD
34415 char *kwnames[] = {
34416 (char *) "self",(char *) "border", NULL
34417 };
34418
994141e6 34419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34422 arg2 = (int) SWIG_AsInt(obj1);
34423 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34424 {
34425 PyThreadState* __tstate = wxPyBeginAllowThreads();
34426 (arg1)->SetBorder(arg2);
34427
34428 wxPyEndAllowThreads(__tstate);
34429 if (PyErr_Occurred()) SWIG_fail;
34430 }
34431 Py_INCREF(Py_None); resultobj = Py_None;
34432 return resultobj;
34433 fail:
34434 return NULL;
34435}
34436
34437
34438static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34439 PyObject *resultobj;
34440 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34441 int result;
34442 PyObject * obj0 = 0 ;
34443 char *kwnames[] = {
34444 (char *) "self", NULL
34445 };
34446
34447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
15afbcd0
RD
34448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34450 {
34451 PyThreadState* __tstate = wxPyBeginAllowThreads();
34452 result = (int)(arg1)->GetBorder();
34453
34454 wxPyEndAllowThreads(__tstate);
34455 if (PyErr_Occurred()) SWIG_fail;
34456 }
15afbcd0 34457 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34458 return resultobj;
34459 fail:
34460 return NULL;
34461}
34462
34463
34464static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34465 PyObject *resultobj;
34466 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34467 wxWindow *result;
34468 PyObject * obj0 = 0 ;
34469 char *kwnames[] = {
34470 (char *) "self", NULL
34471 };
34472
34473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
34474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34476 {
34477 PyThreadState* __tstate = wxPyBeginAllowThreads();
34478 result = (wxWindow *)(arg1)->GetWindow();
34479
34480 wxPyEndAllowThreads(__tstate);
34481 if (PyErr_Occurred()) SWIG_fail;
34482 }
34483 {
412d302d 34484 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
34485 }
34486 return resultobj;
34487 fail:
34488 return NULL;
34489}
34490
34491
34492static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34493 PyObject *resultobj;
34494 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34495 wxWindow *arg2 = (wxWindow *) 0 ;
34496 PyObject * obj0 = 0 ;
34497 PyObject * obj1 = 0 ;
34498 char *kwnames[] = {
34499 (char *) "self",(char *) "window", NULL
34500 };
34501
34502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34507 {
34508 PyThreadState* __tstate = wxPyBeginAllowThreads();
34509 (arg1)->SetWindow(arg2);
34510
34511 wxPyEndAllowThreads(__tstate);
34512 if (PyErr_Occurred()) SWIG_fail;
34513 }
34514 Py_INCREF(Py_None); resultobj = Py_None;
34515 return resultobj;
34516 fail:
34517 return NULL;
34518}
34519
34520
34521static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34522 PyObject *resultobj;
34523 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34524 wxSizer *result;
34525 PyObject * obj0 = 0 ;
34526 char *kwnames[] = {
34527 (char *) "self", NULL
34528 };
34529
34530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34533 {
34534 PyThreadState* __tstate = wxPyBeginAllowThreads();
34535 result = (wxSizer *)(arg1)->GetSizer();
34536
34537 wxPyEndAllowThreads(__tstate);
34538 if (PyErr_Occurred()) SWIG_fail;
34539 }
34540 {
412d302d 34541 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
34542 }
34543 return resultobj;
34544 fail:
34545 return NULL;
34546}
34547
34548
34549static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34550 PyObject *resultobj;
34551 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34552 wxSizer *arg2 = (wxSizer *) 0 ;
34553 PyObject * obj0 = 0 ;
34554 PyObject * obj1 = 0 ;
34555 char *kwnames[] = {
34556 (char *) "self",(char *) "sizer", NULL
34557 };
34558
34559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
34563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34564 {
34565 PyThreadState* __tstate = wxPyBeginAllowThreads();
34566 (arg1)->SetSizer(arg2);
34567
34568 wxPyEndAllowThreads(__tstate);
34569 if (PyErr_Occurred()) SWIG_fail;
34570 }
34571 Py_INCREF(Py_None); resultobj = Py_None;
34572 return resultobj;
34573 fail:
34574 return NULL;
34575}
34576
34577
34578static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34579 PyObject *resultobj;
34580 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34581 wxSize *result;
34582 PyObject * obj0 = 0 ;
34583 char *kwnames[] = {
34584 (char *) "self", NULL
34585 };
34586
34587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34590 {
34591 PyThreadState* __tstate = wxPyBeginAllowThreads();
34592 {
34593 wxSize const &_result_ref = (arg1)->GetSpacer();
34594 result = (wxSize *) &_result_ref;
34595 }
34596
34597 wxPyEndAllowThreads(__tstate);
34598 if (PyErr_Occurred()) SWIG_fail;
34599 }
15afbcd0 34600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
34601 return resultobj;
34602 fail:
34603 return NULL;
34604}
34605
34606
34607static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34608 PyObject *resultobj;
34609 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34610 wxSize *arg2 = 0 ;
34611 wxSize temp2 ;
34612 PyObject * obj0 = 0 ;
34613 PyObject * obj1 = 0 ;
34614 char *kwnames[] = {
34615 (char *) "self",(char *) "size", NULL
34616 };
34617
34618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34621 {
34622 arg2 = &temp2;
34623 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34624 }
34625 {
34626 PyThreadState* __tstate = wxPyBeginAllowThreads();
34627 (arg1)->SetSpacer((wxSize const &)*arg2);
34628
34629 wxPyEndAllowThreads(__tstate);
34630 if (PyErr_Occurred()) SWIG_fail;
34631 }
34632 Py_INCREF(Py_None); resultobj = Py_None;
34633 return resultobj;
34634 fail:
34635 return NULL;
34636}
34637
34638
34639static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
34640 PyObject *resultobj;
34641 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34642 bool arg2 ;
34643 PyObject * obj0 = 0 ;
34644 PyObject * obj1 = 0 ;
34645 char *kwnames[] = {
34646 (char *) "self",(char *) "show", NULL
34647 };
34648
34649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34652 arg2 = (bool) SWIG_AsBool(obj1);
34653 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34654 {
34655 PyThreadState* __tstate = wxPyBeginAllowThreads();
34656 (arg1)->Show(arg2);
34657
34658 wxPyEndAllowThreads(__tstate);
34659 if (PyErr_Occurred()) SWIG_fail;
34660 }
34661 Py_INCREF(Py_None); resultobj = Py_None;
34662 return resultobj;
34663 fail:
34664 return NULL;
34665}
34666
34667
34668static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
34669 PyObject *resultobj;
34670 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34671 bool result;
34672 PyObject * obj0 = 0 ;
34673 char *kwnames[] = {
34674 (char *) "self", NULL
34675 };
34676
34677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
34678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34680 {
34681 PyThreadState* __tstate = wxPyBeginAllowThreads();
34682 result = (bool)(arg1)->IsShown();
34683
34684 wxPyEndAllowThreads(__tstate);
34685 if (PyErr_Occurred()) SWIG_fail;
34686 }
4f89f6a3
RD
34687 {
34688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34689 }
d14a1e28
RD
34690 return resultobj;
34691 fail:
34692 return NULL;
34693}
34694
34695
34696static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34697 PyObject *resultobj;
34698 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34699 wxPoint result;
34700 PyObject * obj0 = 0 ;
34701 char *kwnames[] = {
34702 (char *) "self", NULL
34703 };
34704
34705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
34706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34708 {
34709 PyThreadState* __tstate = wxPyBeginAllowThreads();
34710 result = (arg1)->GetPosition();
34711
34712 wxPyEndAllowThreads(__tstate);
34713 if (PyErr_Occurred()) SWIG_fail;
34714 }
34715 {
34716 wxPoint * resultptr;
34717 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 34718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
34719 }
34720 return resultobj;
34721 fail:
34722 return NULL;
34723}
34724
34725
34726static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
34727 PyObject *resultobj;
34728 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34729 PyObject *result;
34730 PyObject * obj0 = 0 ;
34731 char *kwnames[] = {
34732 (char *) "self", NULL
34733 };
34734
34735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
15afbcd0
RD
34736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34738 {
34739 PyThreadState* __tstate = wxPyBeginAllowThreads();
34740 result = (PyObject *)wxSizerItem_GetUserData(arg1);
34741
34742 wxPyEndAllowThreads(__tstate);
34743 if (PyErr_Occurred()) SWIG_fail;
34744 }
34745 resultobj = result;
34746 return resultobj;
34747 fail:
34748 return NULL;
34749}
34750
34751
34752static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
34753 PyObject *obj;
34754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34755 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
34756 Py_INCREF(obj);
34757 return Py_BuildValue((char *)"");
34758}
34759static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
34760 PyObject *resultobj;
34761 wxSizer *arg1 = (wxSizer *) 0 ;
34762 PyObject *arg2 = (PyObject *) 0 ;
34763 PyObject * obj0 = 0 ;
34764 PyObject * obj1 = 0 ;
34765 char *kwnames[] = {
34766 (char *) "self",(char *) "_self", NULL
34767 };
34768
34769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34772 arg2 = obj1;
34773 {
34774 PyThreadState* __tstate = wxPyBeginAllowThreads();
34775 wxSizer__setOORInfo(arg1,arg2);
34776
34777 wxPyEndAllowThreads(__tstate);
34778 if (PyErr_Occurred()) SWIG_fail;
34779 }
34780 Py_INCREF(Py_None); resultobj = Py_None;
34781 return resultobj;
34782 fail:
34783 return NULL;
34784}
34785
34786
34787static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
34788 PyObject *resultobj;
34789 wxSizer *arg1 = (wxSizer *) 0 ;
34790 PyObject *arg2 = (PyObject *) 0 ;
34791 int arg3 = (int) 0 ;
34792 int arg4 = (int) 0 ;
34793 int arg5 = (int) 0 ;
34794 PyObject *arg6 = (PyObject *) NULL ;
34795 PyObject * obj0 = 0 ;
34796 PyObject * obj1 = 0 ;
994141e6
RD
34797 PyObject * obj2 = 0 ;
34798 PyObject * obj3 = 0 ;
34799 PyObject * obj4 = 0 ;
d14a1e28
RD
34800 PyObject * obj5 = 0 ;
34801 char *kwnames[] = {
34802 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34803 };
34804
994141e6 34805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
34806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34808 arg2 = obj1;
994141e6 34809 if (obj2) {
15afbcd0
RD
34810 arg3 = (int) SWIG_AsInt(obj2);
34811 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34812 }
34813 if (obj3) {
15afbcd0
RD
34814 arg4 = (int) SWIG_AsInt(obj3);
34815 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34816 }
34817 if (obj4) {
15afbcd0
RD
34818 arg5 = (int) SWIG_AsInt(obj4);
34819 if (PyErr_Occurred()) SWIG_fail;
994141e6 34820 }
d14a1e28
RD
34821 if (obj5) {
34822 arg6 = obj5;
34823 }
34824 {
34825 PyThreadState* __tstate = wxPyBeginAllowThreads();
34826 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
34827
34828 wxPyEndAllowThreads(__tstate);
34829 if (PyErr_Occurred()) SWIG_fail;
34830 }
34831 Py_INCREF(Py_None); resultobj = Py_None;
34832 return resultobj;
34833 fail:
34834 return NULL;
34835}
34836
34837
34838static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
34839 PyObject *resultobj;
34840 wxSizer *arg1 = (wxSizer *) 0 ;
34841 int arg2 ;
34842 PyObject *arg3 = (PyObject *) 0 ;
34843 int arg4 = (int) 0 ;
34844 int arg5 = (int) 0 ;
34845 int arg6 = (int) 0 ;
34846 PyObject *arg7 = (PyObject *) NULL ;
34847 PyObject * obj0 = 0 ;
994141e6 34848 PyObject * obj1 = 0 ;
d14a1e28 34849 PyObject * obj2 = 0 ;
994141e6
RD
34850 PyObject * obj3 = 0 ;
34851 PyObject * obj4 = 0 ;
34852 PyObject * obj5 = 0 ;
d14a1e28
RD
34853 PyObject * obj6 = 0 ;
34854 char *kwnames[] = {
34855 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34856 };
34857
994141e6 34858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
34859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34861 arg2 = (int) SWIG_AsInt(obj1);
34862 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 34863 arg3 = obj2;
994141e6 34864 if (obj3) {
15afbcd0
RD
34865 arg4 = (int) SWIG_AsInt(obj3);
34866 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34867 }
34868 if (obj4) {
15afbcd0
RD
34869 arg5 = (int) SWIG_AsInt(obj4);
34870 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34871 }
34872 if (obj5) {
15afbcd0
RD
34873 arg6 = (int) SWIG_AsInt(obj5);
34874 if (PyErr_Occurred()) SWIG_fail;
994141e6 34875 }
d14a1e28
RD
34876 if (obj6) {
34877 arg7 = obj6;
34878 }
34879 {
34880 PyThreadState* __tstate = wxPyBeginAllowThreads();
34881 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
34882
34883 wxPyEndAllowThreads(__tstate);
34884 if (PyErr_Occurred()) SWIG_fail;
34885 }
34886 Py_INCREF(Py_None); resultobj = Py_None;
34887 return resultobj;
34888 fail:
34889 return NULL;
34890}
34891
34892
34893static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
34894 PyObject *resultobj;
34895 wxSizer *arg1 = (wxSizer *) 0 ;
34896 PyObject *arg2 = (PyObject *) 0 ;
34897 int arg3 = (int) 0 ;
34898 int arg4 = (int) 0 ;
34899 int arg5 = (int) 0 ;
34900 PyObject *arg6 = (PyObject *) NULL ;
34901 PyObject * obj0 = 0 ;
34902 PyObject * obj1 = 0 ;
994141e6
RD
34903 PyObject * obj2 = 0 ;
34904 PyObject * obj3 = 0 ;
34905 PyObject * obj4 = 0 ;
d14a1e28
RD
34906 PyObject * obj5 = 0 ;
34907 char *kwnames[] = {
34908 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34909 };
34910
994141e6 34911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
34912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34914 arg2 = obj1;
994141e6 34915 if (obj2) {
15afbcd0
RD
34916 arg3 = (int) SWIG_AsInt(obj2);
34917 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34918 }
34919 if (obj3) {
15afbcd0
RD
34920 arg4 = (int) SWIG_AsInt(obj3);
34921 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34922 }
34923 if (obj4) {
15afbcd0
RD
34924 arg5 = (int) SWIG_AsInt(obj4);
34925 if (PyErr_Occurred()) SWIG_fail;
994141e6 34926 }
d14a1e28
RD
34927 if (obj5) {
34928 arg6 = obj5;
34929 }
34930 {
34931 PyThreadState* __tstate = wxPyBeginAllowThreads();
34932 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
34933
34934 wxPyEndAllowThreads(__tstate);
34935 if (PyErr_Occurred()) SWIG_fail;
34936 }
34937 Py_INCREF(Py_None); resultobj = Py_None;
34938 return resultobj;
34939 fail:
34940 return NULL;
34941}
34942
34943
34944static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
34945 PyObject *resultobj;
34946 wxSizer *arg1 = (wxSizer *) 0 ;
34947 PyObject *arg2 = (PyObject *) 0 ;
34948 bool result;
34949 PyObject * obj0 = 0 ;
34950 PyObject * obj1 = 0 ;
34951 char *kwnames[] = {
34952 (char *) "self",(char *) "item", NULL
34953 };
34954
34955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34958 arg2 = obj1;
34959 {
34960 PyThreadState* __tstate = wxPyBeginAllowThreads();
34961 result = (bool)wxSizer_Remove(arg1,arg2);
34962
34963 wxPyEndAllowThreads(__tstate);
34964 if (PyErr_Occurred()) SWIG_fail;
34965 }
4f89f6a3
RD
34966 {
34967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34968 }
d14a1e28
RD
34969 return resultobj;
34970 fail:
34971 return NULL;
34972}
34973
34974
1c0f361b
RD
34975static PyObject *_wrap_Sizer_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
34976 PyObject *resultobj;
34977 wxSizer *arg1 = (wxSizer *) 0 ;
34978 PyObject *arg2 = (PyObject *) 0 ;
34979 bool result;
34980 PyObject * obj0 = 0 ;
34981 PyObject * obj1 = 0 ;
34982 char *kwnames[] = {
34983 (char *) "self",(char *) "item", NULL
34984 };
34985
34986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Detach",kwnames,&obj0,&obj1)) goto fail;
34987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34989 arg2 = obj1;
34990 {
34991 PyThreadState* __tstate = wxPyBeginAllowThreads();
34992 result = (bool)wxSizer_Detach(arg1,arg2);
34993
34994 wxPyEndAllowThreads(__tstate);
34995 if (PyErr_Occurred()) SWIG_fail;
34996 }
34997 {
34998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34999 }
35000 return resultobj;
35001 fail:
35002 return NULL;
35003}
35004
35005
d14a1e28
RD
35006static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35007 PyObject *resultobj;
35008 wxSizer *arg1 = (wxSizer *) 0 ;
35009 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce
RD
35010 wxSize *arg3 = 0 ;
35011 wxSize temp3 ;
d14a1e28
RD
35012 PyObject * obj0 = 0 ;
35013 PyObject * obj1 = 0 ;
35014 PyObject * obj2 = 0 ;
35015 char *kwnames[] = {
35016 (char *) "self",(char *) "item",(char *) "size", NULL
35017 };
35018
35019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35022 arg2 = obj1;
e811c8ce
RD
35023 {
35024 arg3 = &temp3;
35025 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
35026 }
d14a1e28
RD
35027 {
35028 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 35029 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
35030
35031 wxPyEndAllowThreads(__tstate);
35032 if (PyErr_Occurred()) SWIG_fail;
35033 }
35034 Py_INCREF(Py_None); resultobj = Py_None;
35035 return resultobj;
35036 fail:
35037 return NULL;
35038}
35039
35040
35041static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35042 PyObject *resultobj;
35043 wxSizer *arg1 = (wxSizer *) 0 ;
35044 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
35045 PyObject * obj0 = 0 ;
35046 PyObject * obj1 = 0 ;
35047 char *kwnames[] = {
35048 (char *) "self",(char *) "item", NULL
35049 };
35050
35051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35054 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35056 {
35057 PyThreadState* __tstate = wxPyBeginAllowThreads();
35058 (arg1)->Add(arg2);
35059
35060 wxPyEndAllowThreads(__tstate);
35061 if (PyErr_Occurred()) SWIG_fail;
35062 }
35063 Py_INCREF(Py_None); resultobj = Py_None;
35064 return resultobj;
35065 fail:
35066 return NULL;
35067}
35068
35069
35070static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35071 PyObject *resultobj;
35072 wxSizer *arg1 = (wxSizer *) 0 ;
35073 size_t arg2 ;
35074 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
35075 PyObject * obj0 = 0 ;
35076 PyObject * obj1 = 0 ;
35077 PyObject * obj2 = 0 ;
35078 char *kwnames[] = {
35079 (char *) "self",(char *) "index",(char *) "item", NULL
35080 };
35081
35082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35085 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35086 if (PyErr_Occurred()) SWIG_fail;
35087 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
35088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35089 {
35090 PyThreadState* __tstate = wxPyBeginAllowThreads();
35091 (arg1)->Insert(arg2,arg3);
35092
35093 wxPyEndAllowThreads(__tstate);
35094 if (PyErr_Occurred()) SWIG_fail;
35095 }
35096 Py_INCREF(Py_None); resultobj = Py_None;
35097 return resultobj;
35098 fail:
35099 return NULL;
35100}
35101
35102
35103static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35104 PyObject *resultobj;
35105 wxSizer *arg1 = (wxSizer *) 0 ;
35106 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
35107 PyObject * obj0 = 0 ;
35108 PyObject * obj1 = 0 ;
35109 char *kwnames[] = {
35110 (char *) "self",(char *) "item", NULL
35111 };
35112
35113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35118 {
35119 PyThreadState* __tstate = wxPyBeginAllowThreads();
35120 (arg1)->Prepend(arg2);
35121
35122 wxPyEndAllowThreads(__tstate);
35123 if (PyErr_Occurred()) SWIG_fail;
35124 }
35125 Py_INCREF(Py_None); resultobj = Py_None;
35126 return resultobj;
35127 fail:
35128 return NULL;
35129}
35130
35131
35132static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
35133 PyObject *resultobj;
35134 wxSizer *arg1 = (wxSizer *) 0 ;
35135 int arg2 ;
35136 int arg3 ;
35137 int arg4 ;
35138 int arg5 ;
35139 PyObject * obj0 = 0 ;
994141e6
RD
35140 PyObject * obj1 = 0 ;
35141 PyObject * obj2 = 0 ;
35142 PyObject * obj3 = 0 ;
35143 PyObject * obj4 = 0 ;
d14a1e28
RD
35144 char *kwnames[] = {
35145 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35146 };
35147
994141e6 35148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
35149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35151 arg2 = (int) SWIG_AsInt(obj1);
35152 if (PyErr_Occurred()) SWIG_fail;
35153 arg3 = (int) SWIG_AsInt(obj2);
35154 if (PyErr_Occurred()) SWIG_fail;
35155 arg4 = (int) SWIG_AsInt(obj3);
35156 if (PyErr_Occurred()) SWIG_fail;
35157 arg5 = (int) SWIG_AsInt(obj4);
35158 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35159 {
35160 PyThreadState* __tstate = wxPyBeginAllowThreads();
35161 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
35162
35163 wxPyEndAllowThreads(__tstate);
35164 if (PyErr_Occurred()) SWIG_fail;
35165 }
35166 Py_INCREF(Py_None); resultobj = Py_None;
35167 return resultobj;
35168 fail:
35169 return NULL;
35170}
35171
35172
35173static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35174 PyObject *resultobj;
35175 wxSizer *arg1 = (wxSizer *) 0 ;
1fc9204a
RD
35176 wxSize *arg2 = 0 ;
35177 wxSize temp2 ;
d14a1e28
RD
35178 PyObject * obj0 = 0 ;
35179 PyObject * obj1 = 0 ;
35180 char *kwnames[] = {
35181 (char *) "self",(char *) "size", NULL
35182 };
35183
35184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1fc9204a
RD
35187 {
35188 arg2 = &temp2;
35189 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
35190 }
d14a1e28
RD
35191 {
35192 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fc9204a 35193 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
35194
35195 wxPyEndAllowThreads(__tstate);
35196 if (PyErr_Occurred()) SWIG_fail;
35197 }
35198 Py_INCREF(Py_None); resultobj = Py_None;
35199 return resultobj;
35200 fail:
35201 return NULL;
35202}
35203
35204
35205static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35206 PyObject *resultobj;
35207 wxSizer *arg1 = (wxSizer *) 0 ;
35208 wxSize result;
35209 PyObject * obj0 = 0 ;
35210 char *kwnames[] = {
35211 (char *) "self", NULL
35212 };
35213
35214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
35215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35217 {
35218 PyThreadState* __tstate = wxPyBeginAllowThreads();
35219 result = (arg1)->GetSize();
35220
35221 wxPyEndAllowThreads(__tstate);
35222 if (PyErr_Occurred()) SWIG_fail;
35223 }
35224 {
35225 wxSize * resultptr;
35226 resultptr = new wxSize((wxSize &) result);
15afbcd0 35227 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35228 }
35229 return resultobj;
35230 fail:
35231 return NULL;
35232}
35233
35234
35235static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
35236 PyObject *resultobj;
35237 wxSizer *arg1 = (wxSizer *) 0 ;
35238 wxPoint result;
35239 PyObject * obj0 = 0 ;
35240 char *kwnames[] = {
35241 (char *) "self", NULL
35242 };
35243
35244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
35245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35247 {
35248 PyThreadState* __tstate = wxPyBeginAllowThreads();
35249 result = (arg1)->GetPosition();
35250
35251 wxPyEndAllowThreads(__tstate);
35252 if (PyErr_Occurred()) SWIG_fail;
35253 }
35254 {
35255 wxPoint * resultptr;
35256 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 35257 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
35258 }
35259 return resultobj;
35260 fail:
35261 return NULL;
35262}
35263
35264
35265static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35266 PyObject *resultobj;
35267 wxSizer *arg1 = (wxSizer *) 0 ;
35268 wxSize result;
35269 PyObject * obj0 = 0 ;
35270 char *kwnames[] = {
35271 (char *) "self", NULL
35272 };
35273
35274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
35275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35277 {
35278 PyThreadState* __tstate = wxPyBeginAllowThreads();
35279 result = (arg1)->GetMinSize();
35280
35281 wxPyEndAllowThreads(__tstate);
35282 if (PyErr_Occurred()) SWIG_fail;
35283 }
35284 {
35285 wxSize * resultptr;
35286 resultptr = new wxSize((wxSize &) result);
15afbcd0 35287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35288 }
35289 return resultobj;
35290 fail:
35291 return NULL;
35292}
35293
35294
35295static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35296 PyObject *resultobj;
35297 wxSizer *arg1 = (wxSizer *) 0 ;
35298 PyObject * obj0 = 0 ;
35299 char *kwnames[] = {
35300 (char *) "self", NULL
35301 };
35302
35303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
35304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35306 {
35307 PyThreadState* __tstate = wxPyBeginAllowThreads();
35308 (arg1)->RecalcSizes();
35309
35310 wxPyEndAllowThreads(__tstate);
35311 if (PyErr_Occurred()) SWIG_fail;
35312 }
35313 Py_INCREF(Py_None); resultobj = Py_None;
35314 return resultobj;
35315 fail:
35316 return NULL;
35317}
35318
35319
35320static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35321 PyObject *resultobj;
35322 wxSizer *arg1 = (wxSizer *) 0 ;
35323 wxSize result;
35324 PyObject * obj0 = 0 ;
35325 char *kwnames[] = {
35326 (char *) "self", NULL
35327 };
35328
35329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
35330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35332 {
35333 PyThreadState* __tstate = wxPyBeginAllowThreads();
35334 result = (arg1)->CalcMin();
35335
35336 wxPyEndAllowThreads(__tstate);
35337 if (PyErr_Occurred()) SWIG_fail;
35338 }
35339 {
35340 wxSize * resultptr;
35341 resultptr = new wxSize((wxSize &) result);
15afbcd0 35342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35343 }
35344 return resultobj;
35345 fail:
35346 return NULL;
35347}
35348
35349
35350static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
35351 PyObject *resultobj;
35352 wxSizer *arg1 = (wxSizer *) 0 ;
35353 PyObject * obj0 = 0 ;
35354 char *kwnames[] = {
35355 (char *) "self", NULL
35356 };
35357
35358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
35359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35361 {
35362 PyThreadState* __tstate = wxPyBeginAllowThreads();
35363 (arg1)->Layout();
35364
35365 wxPyEndAllowThreads(__tstate);
35366 if (PyErr_Occurred()) SWIG_fail;
35367 }
35368 Py_INCREF(Py_None); resultobj = Py_None;
35369 return resultobj;
35370 fail:
35371 return NULL;
35372}
35373
35374
35375static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
35376 PyObject *resultobj;
35377 wxSizer *arg1 = (wxSizer *) 0 ;
35378 wxWindow *arg2 = (wxWindow *) 0 ;
35379 wxSize result;
35380 PyObject * obj0 = 0 ;
35381 PyObject * obj1 = 0 ;
35382 char *kwnames[] = {
35383 (char *) "self",(char *) "window", NULL
35384 };
35385
35386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35391 {
35392 PyThreadState* __tstate = wxPyBeginAllowThreads();
35393 result = (arg1)->Fit(arg2);
35394
35395 wxPyEndAllowThreads(__tstate);
35396 if (PyErr_Occurred()) SWIG_fail;
35397 }
35398 {
35399 wxSize * resultptr;
35400 resultptr = new wxSize((wxSize &) result);
15afbcd0 35401 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35402 }
35403 return resultobj;
35404 fail:
35405 return NULL;
35406}
35407
35408
35409static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
35410 PyObject *resultobj;
35411 wxSizer *arg1 = (wxSizer *) 0 ;
35412 wxWindow *arg2 = (wxWindow *) 0 ;
35413 PyObject * obj0 = 0 ;
35414 PyObject * obj1 = 0 ;
35415 char *kwnames[] = {
35416 (char *) "self",(char *) "window", NULL
35417 };
35418
35419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35422 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35424 {
35425 PyThreadState* __tstate = wxPyBeginAllowThreads();
35426 (arg1)->FitInside(arg2);
35427
35428 wxPyEndAllowThreads(__tstate);
35429 if (PyErr_Occurred()) SWIG_fail;
35430 }
35431 Py_INCREF(Py_None); resultobj = Py_None;
35432 return resultobj;
35433 fail:
35434 return NULL;
35435}
35436
35437
35438static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35439 PyObject *resultobj;
35440 wxSizer *arg1 = (wxSizer *) 0 ;
35441 wxWindow *arg2 = (wxWindow *) 0 ;
35442 PyObject * obj0 = 0 ;
35443 PyObject * obj1 = 0 ;
35444 char *kwnames[] = {
35445 (char *) "self",(char *) "window", NULL
35446 };
35447
35448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35453 {
35454 PyThreadState* __tstate = wxPyBeginAllowThreads();
35455 (arg1)->SetSizeHints(arg2);
35456
35457 wxPyEndAllowThreads(__tstate);
35458 if (PyErr_Occurred()) SWIG_fail;
35459 }
35460 Py_INCREF(Py_None); resultobj = Py_None;
35461 return resultobj;
35462 fail:
35463 return NULL;
35464}
35465
35466
35467static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35468 PyObject *resultobj;
35469 wxSizer *arg1 = (wxSizer *) 0 ;
35470 wxWindow *arg2 = (wxWindow *) 0 ;
35471 PyObject * obj0 = 0 ;
35472 PyObject * obj1 = 0 ;
35473 char *kwnames[] = {
35474 (char *) "self",(char *) "window", NULL
35475 };
35476
35477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35482 {
35483 PyThreadState* __tstate = wxPyBeginAllowThreads();
35484 (arg1)->SetVirtualSizeHints(arg2);
35485
35486 wxPyEndAllowThreads(__tstate);
35487 if (PyErr_Occurred()) SWIG_fail;
35488 }
35489 Py_INCREF(Py_None); resultobj = Py_None;
35490 return resultobj;
35491 fail:
35492 return NULL;
35493}
35494
35495
35496static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
35497 PyObject *resultobj;
35498 wxSizer *arg1 = (wxSizer *) 0 ;
e811c8ce 35499 bool arg2 = (bool) False ;
d14a1e28
RD
35500 PyObject * obj0 = 0 ;
35501 PyObject * obj1 = 0 ;
35502 char *kwnames[] = {
248ed943 35503 (char *) "self",(char *) "deleteWindows", NULL
d14a1e28
RD
35504 };
35505
35506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35509 if (obj1) {
15afbcd0
RD
35510 arg2 = (bool) SWIG_AsBool(obj1);
35511 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35512 }
35513 {
35514 PyThreadState* __tstate = wxPyBeginAllowThreads();
35515 (arg1)->Clear(arg2);
35516
35517 wxPyEndAllowThreads(__tstate);
35518 if (PyErr_Occurred()) SWIG_fail;
35519 }
35520 Py_INCREF(Py_None); resultobj = Py_None;
35521 return resultobj;
35522 fail:
35523 return NULL;
35524}
35525
35526
35527static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
35528 PyObject *resultobj;
35529 wxSizer *arg1 = (wxSizer *) 0 ;
35530 PyObject * obj0 = 0 ;
35531 char *kwnames[] = {
35532 (char *) "self", NULL
35533 };
35534
35535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
35536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35538 {
35539 PyThreadState* __tstate = wxPyBeginAllowThreads();
35540 (arg1)->DeleteWindows();
35541
35542 wxPyEndAllowThreads(__tstate);
35543 if (PyErr_Occurred()) SWIG_fail;
35544 }
35545 Py_INCREF(Py_None); resultobj = Py_None;
35546 return resultobj;
35547 fail:
35548 return NULL;
35549}
35550
35551
35552static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
35553 PyObject *resultobj;
35554 wxSizer *arg1 = (wxSizer *) 0 ;
35555 PyObject *result;
35556 PyObject * obj0 = 0 ;
35557 char *kwnames[] = {
35558 (char *) "self", NULL
35559 };
35560
35561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
35562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35564 {
35565 PyThreadState* __tstate = wxPyBeginAllowThreads();
35566 result = (PyObject *)wxSizer_GetChildren(arg1);
35567
35568 wxPyEndAllowThreads(__tstate);
35569 if (PyErr_Occurred()) SWIG_fail;
35570 }
35571 resultobj = result;
35572 return resultobj;
35573 fail:
35574 return NULL;
35575}
35576
35577
35578static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
35579 PyObject *resultobj;
35580 wxSizer *arg1 = (wxSizer *) 0 ;
35581 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 35582 bool arg3 = (bool) True ;
d14a1e28
RD
35583 PyObject * obj0 = 0 ;
35584 PyObject * obj1 = 0 ;
35585 PyObject * obj2 = 0 ;
35586 char *kwnames[] = {
35587 (char *) "self",(char *) "item",(char *) "show", NULL
35588 };
35589
35590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35593 arg2 = obj1;
35594 if (obj2) {
15afbcd0
RD
35595 arg3 = (bool) SWIG_AsBool(obj2);
35596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35597 }
35598 {
35599 PyThreadState* __tstate = wxPyBeginAllowThreads();
35600 wxSizer_Show(arg1,arg2,arg3);
35601
35602 wxPyEndAllowThreads(__tstate);
35603 if (PyErr_Occurred()) SWIG_fail;
35604 }
35605 Py_INCREF(Py_None); resultobj = Py_None;
35606 return resultobj;
35607 fail:
35608 return NULL;
35609}
35610
35611
d14a1e28
RD
35612static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
35613 PyObject *resultobj;
35614 wxSizer *arg1 = (wxSizer *) 0 ;
35615 PyObject *arg2 = (PyObject *) 0 ;
35616 bool result;
35617 PyObject * obj0 = 0 ;
35618 PyObject * obj1 = 0 ;
35619 char *kwnames[] = {
35620 (char *) "self",(char *) "item", NULL
35621 };
35622
35623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35626 arg2 = obj1;
35627 {
35628 PyThreadState* __tstate = wxPyBeginAllowThreads();
35629 result = (bool)wxSizer_IsShown(arg1,arg2);
35630
35631 wxPyEndAllowThreads(__tstate);
35632 if (PyErr_Occurred()) SWIG_fail;
35633 }
4f89f6a3
RD
35634 {
35635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35636 }
d14a1e28
RD
35637 return resultobj;
35638 fail:
35639 return NULL;
35640}
35641
35642
35643static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
35644 PyObject *resultobj;
35645 wxSizer *arg1 = (wxSizer *) 0 ;
35646 bool arg2 ;
35647 PyObject * obj0 = 0 ;
35648 PyObject * obj1 = 0 ;
35649 char *kwnames[] = {
35650 (char *) "self",(char *) "show", NULL
35651 };
35652
35653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35656 arg2 = (bool) SWIG_AsBool(obj1);
35657 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35658 {
35659 PyThreadState* __tstate = wxPyBeginAllowThreads();
35660 (arg1)->ShowItems(arg2);
35661
35662 wxPyEndAllowThreads(__tstate);
35663 if (PyErr_Occurred()) SWIG_fail;
35664 }
35665 Py_INCREF(Py_None); resultobj = Py_None;
35666 return resultobj;
35667 fail:
35668 return NULL;
35669}
35670
35671
35672static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
35673 PyObject *obj;
35674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35675 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
35676 Py_INCREF(obj);
35677 return Py_BuildValue((char *)"");
35678}
35679static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35680 PyObject *resultobj;
35681 wxPySizer *result;
35682 char *kwnames[] = {
35683 NULL
35684 };
35685
35686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
35687 {
35688 PyThreadState* __tstate = wxPyBeginAllowThreads();
35689 result = (wxPySizer *)new wxPySizer();
35690
35691 wxPyEndAllowThreads(__tstate);
35692 if (PyErr_Occurred()) SWIG_fail;
35693 }
15afbcd0 35694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
d14a1e28
RD
35695 return resultobj;
35696 fail:
35697 return NULL;
35698}
35699
35700
35701static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
35702 PyObject *resultobj;
35703 wxPySizer *arg1 = (wxPySizer *) 0 ;
35704 PyObject *arg2 = (PyObject *) 0 ;
35705 PyObject *arg3 = (PyObject *) 0 ;
35706 PyObject * obj0 = 0 ;
35707 PyObject * obj1 = 0 ;
35708 PyObject * obj2 = 0 ;
35709 char *kwnames[] = {
35710 (char *) "self",(char *) "self",(char *) "_class", NULL
35711 };
35712
35713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
35715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35716 arg2 = obj1;
35717 arg3 = obj2;
35718 {
35719 PyThreadState* __tstate = wxPyBeginAllowThreads();
35720 (arg1)->_setCallbackInfo(arg2,arg3);
35721
35722 wxPyEndAllowThreads(__tstate);
35723 if (PyErr_Occurred()) SWIG_fail;
35724 }
35725 Py_INCREF(Py_None); resultobj = Py_None;
35726 return resultobj;
35727 fail:
35728 return NULL;
35729}
35730
35731
35732static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
35733 PyObject *obj;
35734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35735 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
35736 Py_INCREF(obj);
35737 return Py_BuildValue((char *)"");
35738}
35739static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35740 PyObject *resultobj;
35741 int arg1 = (int) wxHORIZONTAL ;
35742 wxBoxSizer *result;
994141e6 35743 PyObject * obj0 = 0 ;
d14a1e28
RD
35744 char *kwnames[] = {
35745 (char *) "orient", NULL
35746 };
35747
994141e6
RD
35748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
35749 if (obj0) {
15afbcd0
RD
35750 arg1 = (int) SWIG_AsInt(obj0);
35751 if (PyErr_Occurred()) SWIG_fail;
994141e6 35752 }
d14a1e28
RD
35753 {
35754 PyThreadState* __tstate = wxPyBeginAllowThreads();
35755 result = (wxBoxSizer *)new wxBoxSizer(arg1);
35756
35757 wxPyEndAllowThreads(__tstate);
35758 if (PyErr_Occurred()) SWIG_fail;
35759 }
15afbcd0 35760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
d14a1e28
RD
35761 return resultobj;
35762 fail:
35763 return NULL;
35764}
35765
35766
35767static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
35768 PyObject *resultobj;
35769 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35770 int result;
35771 PyObject * obj0 = 0 ;
35772 char *kwnames[] = {
35773 (char *) "self", NULL
35774 };
35775
35776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
35777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35779 {
35780 PyThreadState* __tstate = wxPyBeginAllowThreads();
35781 result = (int)(arg1)->GetOrientation();
35782
35783 wxPyEndAllowThreads(__tstate);
35784 if (PyErr_Occurred()) SWIG_fail;
35785 }
15afbcd0 35786 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35787 return resultobj;
35788 fail:
35789 return NULL;
35790}
35791
35792
35793static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
35794 PyObject *resultobj;
35795 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35796 int arg2 ;
35797 PyObject * obj0 = 0 ;
994141e6 35798 PyObject * obj1 = 0 ;
d14a1e28
RD
35799 char *kwnames[] = {
35800 (char *) "self",(char *) "orient", NULL
35801 };
35802
994141e6 35803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35806 arg2 = (int) SWIG_AsInt(obj1);
35807 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35808 {
35809 PyThreadState* __tstate = wxPyBeginAllowThreads();
35810 (arg1)->SetOrientation(arg2);
35811
35812 wxPyEndAllowThreads(__tstate);
35813 if (PyErr_Occurred()) SWIG_fail;
35814 }
35815 Py_INCREF(Py_None); resultobj = Py_None;
35816 return resultobj;
35817 fail:
35818 return NULL;
35819}
35820
35821
d14a1e28
RD
35822static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
35823 PyObject *obj;
35824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35825 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
35826 Py_INCREF(obj);
35827 return Py_BuildValue((char *)"");
35828}
35829static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35830 PyObject *resultobj;
35831 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
35832 int arg2 = (int) wxHORIZONTAL ;
35833 wxStaticBoxSizer *result;
35834 PyObject * obj0 = 0 ;
994141e6 35835 PyObject * obj1 = 0 ;
d14a1e28
RD
35836 char *kwnames[] = {
35837 (char *) "box",(char *) "orient", NULL
35838 };
35839
994141e6 35840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
35842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 35843 if (obj1) {
15afbcd0
RD
35844 arg2 = (int) SWIG_AsInt(obj1);
35845 if (PyErr_Occurred()) SWIG_fail;
994141e6 35846 }
d14a1e28
RD
35847 {
35848 PyThreadState* __tstate = wxPyBeginAllowThreads();
35849 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
35850
35851 wxPyEndAllowThreads(__tstate);
35852 if (PyErr_Occurred()) SWIG_fail;
35853 }
15afbcd0 35854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
d14a1e28
RD
35855 return resultobj;
35856 fail:
35857 return NULL;
35858}
35859
35860
35861static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
35862 PyObject *resultobj;
35863 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35864 wxStaticBox *result;
35865 PyObject * obj0 = 0 ;
35866 char *kwnames[] = {
35867 (char *) "self", NULL
35868 };
35869
35870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
35871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35873 {
35874 PyThreadState* __tstate = wxPyBeginAllowThreads();
35875 result = (wxStaticBox *)(arg1)->GetStaticBox();
35876
35877 wxPyEndAllowThreads(__tstate);
35878 if (PyErr_Occurred()) SWIG_fail;
35879 }
35880 {
412d302d 35881 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
35882 }
35883 return resultobj;
35884 fail:
35885 return NULL;
35886}
35887
35888
d14a1e28
RD
35889static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
35890 PyObject *obj;
35891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35892 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
35893 Py_INCREF(obj);
35894 return Py_BuildValue((char *)"");
35895}
35896static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35897 PyObject *resultobj;
35898 int arg1 = (int) 1 ;
35899 int arg2 = (int) 0 ;
35900 int arg3 = (int) 0 ;
35901 int arg4 = (int) 0 ;
35902 wxGridSizer *result;
994141e6
RD
35903 PyObject * obj0 = 0 ;
35904 PyObject * obj1 = 0 ;
35905 PyObject * obj2 = 0 ;
35906 PyObject * obj3 = 0 ;
d14a1e28
RD
35907 char *kwnames[] = {
35908 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35909 };
35910
994141e6
RD
35911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35912 if (obj0) {
15afbcd0
RD
35913 arg1 = (int) SWIG_AsInt(obj0);
35914 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35915 }
35916 if (obj1) {
15afbcd0
RD
35917 arg2 = (int) SWIG_AsInt(obj1);
35918 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35919 }
35920 if (obj2) {
15afbcd0
RD
35921 arg3 = (int) SWIG_AsInt(obj2);
35922 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35923 }
35924 if (obj3) {
15afbcd0
RD
35925 arg4 = (int) SWIG_AsInt(obj3);
35926 if (PyErr_Occurred()) SWIG_fail;
994141e6 35927 }
d14a1e28
RD
35928 {
35929 PyThreadState* __tstate = wxPyBeginAllowThreads();
35930 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
35931
35932 wxPyEndAllowThreads(__tstate);
35933 if (PyErr_Occurred()) SWIG_fail;
35934 }
15afbcd0 35935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
d14a1e28
RD
35936 return resultobj;
35937 fail:
35938 return NULL;
35939}
35940
35941
d14a1e28
RD
35942static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
35943 PyObject *resultobj;
35944 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35945 int arg2 ;
35946 PyObject * obj0 = 0 ;
994141e6 35947 PyObject * obj1 = 0 ;
d14a1e28
RD
35948 char *kwnames[] = {
35949 (char *) "self",(char *) "cols", NULL
35950 };
35951
994141e6 35952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35955 arg2 = (int) SWIG_AsInt(obj1);
35956 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35957 {
35958 PyThreadState* __tstate = wxPyBeginAllowThreads();
35959 (arg1)->SetCols(arg2);
35960
35961 wxPyEndAllowThreads(__tstate);
35962 if (PyErr_Occurred()) SWIG_fail;
35963 }
35964 Py_INCREF(Py_None); resultobj = Py_None;
35965 return resultobj;
35966 fail:
35967 return NULL;
35968}
35969
35970
35971static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
35972 PyObject *resultobj;
35973 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35974 int arg2 ;
35975 PyObject * obj0 = 0 ;
994141e6 35976 PyObject * obj1 = 0 ;
d14a1e28
RD
35977 char *kwnames[] = {
35978 (char *) "self",(char *) "rows", NULL
35979 };
35980
994141e6 35981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35984 arg2 = (int) SWIG_AsInt(obj1);
35985 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35986 {
35987 PyThreadState* __tstate = wxPyBeginAllowThreads();
35988 (arg1)->SetRows(arg2);
35989
35990 wxPyEndAllowThreads(__tstate);
35991 if (PyErr_Occurred()) SWIG_fail;
35992 }
35993 Py_INCREF(Py_None); resultobj = Py_None;
35994 return resultobj;
35995 fail:
35996 return NULL;
35997}
35998
35999
36000static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36001 PyObject *resultobj;
36002 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36003 int arg2 ;
36004 PyObject * obj0 = 0 ;
994141e6 36005 PyObject * obj1 = 0 ;
d14a1e28
RD
36006 char *kwnames[] = {
36007 (char *) "self",(char *) "gap", NULL
36008 };
36009
994141e6 36010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36013 arg2 = (int) SWIG_AsInt(obj1);
36014 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36015 {
36016 PyThreadState* __tstate = wxPyBeginAllowThreads();
36017 (arg1)->SetVGap(arg2);
36018
36019 wxPyEndAllowThreads(__tstate);
36020 if (PyErr_Occurred()) SWIG_fail;
36021 }
36022 Py_INCREF(Py_None); resultobj = Py_None;
36023 return resultobj;
36024 fail:
36025 return NULL;
36026}
36027
36028
36029static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36030 PyObject *resultobj;
36031 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36032 int arg2 ;
36033 PyObject * obj0 = 0 ;
994141e6 36034 PyObject * obj1 = 0 ;
d14a1e28
RD
36035 char *kwnames[] = {
36036 (char *) "self",(char *) "gap", NULL
36037 };
36038
994141e6 36039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36042 arg2 = (int) SWIG_AsInt(obj1);
36043 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36044 {
36045 PyThreadState* __tstate = wxPyBeginAllowThreads();
36046 (arg1)->SetHGap(arg2);
36047
36048 wxPyEndAllowThreads(__tstate);
36049 if (PyErr_Occurred()) SWIG_fail;
36050 }
36051 Py_INCREF(Py_None); resultobj = Py_None;
36052 return resultobj;
36053 fail:
36054 return NULL;
36055}
36056
36057
36058static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
36059 PyObject *resultobj;
36060 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36061 int result;
36062 PyObject * obj0 = 0 ;
36063 char *kwnames[] = {
36064 (char *) "self", NULL
36065 };
36066
36067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
36068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36070 {
36071 PyThreadState* __tstate = wxPyBeginAllowThreads();
36072 result = (int)(arg1)->GetCols();
36073
36074 wxPyEndAllowThreads(__tstate);
36075 if (PyErr_Occurred()) SWIG_fail;
36076 }
15afbcd0 36077 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36078 return resultobj;
36079 fail:
36080 return NULL;
36081}
36082
36083
36084static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
36085 PyObject *resultobj;
36086 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36087 int result;
36088 PyObject * obj0 = 0 ;
36089 char *kwnames[] = {
36090 (char *) "self", NULL
36091 };
36092
36093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
36094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36096 {
36097 PyThreadState* __tstate = wxPyBeginAllowThreads();
36098 result = (int)(arg1)->GetRows();
36099
36100 wxPyEndAllowThreads(__tstate);
36101 if (PyErr_Occurred()) SWIG_fail;
36102 }
15afbcd0 36103 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36104 return resultobj;
36105 fail:
36106 return NULL;
36107}
36108
36109
36110static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36111 PyObject *resultobj;
36112 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36113 int result;
36114 PyObject * obj0 = 0 ;
36115 char *kwnames[] = {
36116 (char *) "self", NULL
36117 };
36118
36119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
36120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36122 {
36123 PyThreadState* __tstate = wxPyBeginAllowThreads();
36124 result = (int)(arg1)->GetVGap();
36125
36126 wxPyEndAllowThreads(__tstate);
36127 if (PyErr_Occurred()) SWIG_fail;
36128 }
15afbcd0 36129 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36130 return resultobj;
36131 fail:
36132 return NULL;
36133}
36134
36135
36136static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36137 PyObject *resultobj;
36138 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36139 int result;
36140 PyObject * obj0 = 0 ;
36141 char *kwnames[] = {
36142 (char *) "self", NULL
36143 };
36144
36145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
36146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36148 {
36149 PyThreadState* __tstate = wxPyBeginAllowThreads();
36150 result = (int)(arg1)->GetHGap();
36151
36152 wxPyEndAllowThreads(__tstate);
36153 if (PyErr_Occurred()) SWIG_fail;
36154 }
15afbcd0 36155 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36156 return resultobj;
36157 fail:
36158 return NULL;
36159}
36160
36161
36162static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
36163 PyObject *obj;
36164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36165 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
36166 Py_INCREF(obj);
36167 return Py_BuildValue((char *)"");
36168}
36169static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36170 PyObject *resultobj;
36171 int arg1 = (int) 1 ;
36172 int arg2 = (int) 0 ;
36173 int arg3 = (int) 0 ;
36174 int arg4 = (int) 0 ;
36175 wxFlexGridSizer *result;
994141e6
RD
36176 PyObject * obj0 = 0 ;
36177 PyObject * obj1 = 0 ;
36178 PyObject * obj2 = 0 ;
36179 PyObject * obj3 = 0 ;
d14a1e28
RD
36180 char *kwnames[] = {
36181 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36182 };
36183
994141e6
RD
36184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36185 if (obj0) {
15afbcd0
RD
36186 arg1 = (int) SWIG_AsInt(obj0);
36187 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36188 }
36189 if (obj1) {
15afbcd0
RD
36190 arg2 = (int) SWIG_AsInt(obj1);
36191 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36192 }
36193 if (obj2) {
15afbcd0
RD
36194 arg3 = (int) SWIG_AsInt(obj2);
36195 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36196 }
36197 if (obj3) {
15afbcd0
RD
36198 arg4 = (int) SWIG_AsInt(obj3);
36199 if (PyErr_Occurred()) SWIG_fail;
994141e6 36200 }
d14a1e28
RD
36201 {
36202 PyThreadState* __tstate = wxPyBeginAllowThreads();
36203 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
36204
36205 wxPyEndAllowThreads(__tstate);
36206 if (PyErr_Occurred()) SWIG_fail;
36207 }
15afbcd0 36208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
d14a1e28
RD
36209 return resultobj;
36210 fail:
36211 return NULL;
36212}
36213
36214
d14a1e28
RD
36215static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36216 PyObject *resultobj;
36217 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36218 size_t arg2 ;
36219 int arg3 = (int) 0 ;
36220 PyObject * obj0 = 0 ;
36221 PyObject * obj1 = 0 ;
994141e6 36222 PyObject * obj2 = 0 ;
d14a1e28
RD
36223 char *kwnames[] = {
36224 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36225 };
36226
994141e6 36227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36230 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36231 if (PyErr_Occurred()) SWIG_fail;
994141e6 36232 if (obj2) {
15afbcd0
RD
36233 arg3 = (int) SWIG_AsInt(obj2);
36234 if (PyErr_Occurred()) SWIG_fail;
994141e6 36235 }
d14a1e28
RD
36236 {
36237 PyThreadState* __tstate = wxPyBeginAllowThreads();
36238 (arg1)->AddGrowableRow(arg2,arg3);
36239
36240 wxPyEndAllowThreads(__tstate);
36241 if (PyErr_Occurred()) SWIG_fail;
36242 }
36243 Py_INCREF(Py_None); resultobj = Py_None;
36244 return resultobj;
36245 fail:
36246 return NULL;
36247}
36248
36249
36250static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36251 PyObject *resultobj;
36252 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36253 size_t arg2 ;
36254 PyObject * obj0 = 0 ;
36255 PyObject * obj1 = 0 ;
36256 char *kwnames[] = {
36257 (char *) "self",(char *) "idx", NULL
36258 };
36259
36260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36263 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36264 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36265 {
36266 PyThreadState* __tstate = wxPyBeginAllowThreads();
36267 (arg1)->RemoveGrowableRow(arg2);
36268
36269 wxPyEndAllowThreads(__tstate);
36270 if (PyErr_Occurred()) SWIG_fail;
36271 }
36272 Py_INCREF(Py_None); resultobj = Py_None;
36273 return resultobj;
36274 fail:
36275 return NULL;
36276}
36277
36278
36279static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36280 PyObject *resultobj;
36281 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36282 size_t arg2 ;
36283 int arg3 = (int) 0 ;
36284 PyObject * obj0 = 0 ;
36285 PyObject * obj1 = 0 ;
994141e6 36286 PyObject * obj2 = 0 ;
d14a1e28
RD
36287 char *kwnames[] = {
36288 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36289 };
36290
994141e6 36291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36294 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36295 if (PyErr_Occurred()) SWIG_fail;
994141e6 36296 if (obj2) {
15afbcd0
RD
36297 arg3 = (int) SWIG_AsInt(obj2);
36298 if (PyErr_Occurred()) SWIG_fail;
994141e6 36299 }
d14a1e28
RD
36300 {
36301 PyThreadState* __tstate = wxPyBeginAllowThreads();
36302 (arg1)->AddGrowableCol(arg2,arg3);
36303
36304 wxPyEndAllowThreads(__tstate);
36305 if (PyErr_Occurred()) SWIG_fail;
36306 }
36307 Py_INCREF(Py_None); resultobj = Py_None;
36308 return resultobj;
36309 fail:
36310 return NULL;
36311}
36312
36313
36314static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36315 PyObject *resultobj;
36316 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36317 size_t arg2 ;
36318 PyObject * obj0 = 0 ;
36319 PyObject * obj1 = 0 ;
36320 char *kwnames[] = {
36321 (char *) "self",(char *) "idx", NULL
36322 };
36323
36324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36327 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36328 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36329 {
36330 PyThreadState* __tstate = wxPyBeginAllowThreads();
36331 (arg1)->RemoveGrowableCol(arg2);
36332
36333 wxPyEndAllowThreads(__tstate);
36334 if (PyErr_Occurred()) SWIG_fail;
36335 }
36336 Py_INCREF(Py_None); resultobj = Py_None;
36337 return resultobj;
36338 fail:
36339 return NULL;
36340}
36341
36342
36343static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36344 PyObject *resultobj;
36345 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36346 int arg2 ;
36347 PyObject * obj0 = 0 ;
994141e6 36348 PyObject * obj1 = 0 ;
d14a1e28
RD
36349 char *kwnames[] = {
36350 (char *) "self",(char *) "direction", NULL
36351 };
36352
994141e6 36353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36356 arg2 = (int) SWIG_AsInt(obj1);
36357 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36358 {
36359 PyThreadState* __tstate = wxPyBeginAllowThreads();
36360 (arg1)->SetFlexibleDirection(arg2);
36361
36362 wxPyEndAllowThreads(__tstate);
36363 if (PyErr_Occurred()) SWIG_fail;
36364 }
36365 Py_INCREF(Py_None); resultobj = Py_None;
36366 return resultobj;
36367 fail:
36368 return NULL;
36369}
36370
36371
36372static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36373 PyObject *resultobj;
36374 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36375 int result;
36376 PyObject * obj0 = 0 ;
36377 char *kwnames[] = {
36378 (char *) "self", NULL
36379 };
36380
36381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
36382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36384 {
36385 PyThreadState* __tstate = wxPyBeginAllowThreads();
36386 result = (int)(arg1)->GetFlexibleDirection();
36387
36388 wxPyEndAllowThreads(__tstate);
36389 if (PyErr_Occurred()) SWIG_fail;
36390 }
15afbcd0 36391 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36392 return resultobj;
36393 fail:
36394 return NULL;
36395}
36396
36397
36398static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36399 PyObject *resultobj;
36400 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36401 int arg2 ;
36402 PyObject * obj0 = 0 ;
994141e6 36403 PyObject * obj1 = 0 ;
d14a1e28
RD
36404 char *kwnames[] = {
36405 (char *) "self",(char *) "mode", NULL
36406 };
36407
994141e6 36408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36411 arg2 = (wxFlexSizerGrowMode) SWIG_AsInt(obj1);
36412 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36413 {
36414 PyThreadState* __tstate = wxPyBeginAllowThreads();
36415 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
36416
36417 wxPyEndAllowThreads(__tstate);
36418 if (PyErr_Occurred()) SWIG_fail;
36419 }
36420 Py_INCREF(Py_None); resultobj = Py_None;
36421 return resultobj;
36422 fail:
36423 return NULL;
36424}
36425
36426
36427static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36428 PyObject *resultobj;
36429 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36430 int result;
36431 PyObject * obj0 = 0 ;
36432 char *kwnames[] = {
36433 (char *) "self", NULL
36434 };
36435
36436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
36437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36439 {
36440 PyThreadState* __tstate = wxPyBeginAllowThreads();
36441 result = (int)(arg1)->GetNonFlexibleGrowMode();
36442
36443 wxPyEndAllowThreads(__tstate);
36444 if (PyErr_Occurred()) SWIG_fail;
36445 }
15afbcd0 36446 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36447 return resultobj;
36448 fail:
36449 return NULL;
36450}
36451
36452
e811c8ce
RD
36453static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
36454 PyObject *resultobj;
36455 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36456 wxArrayInt *result;
36457 PyObject * obj0 = 0 ;
36458 char *kwnames[] = {
36459 (char *) "self", NULL
36460 };
36461
36462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
15afbcd0
RD
36463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
36465 {
36466 PyThreadState* __tstate = wxPyBeginAllowThreads();
36467 {
36468 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
36469 result = (wxArrayInt *) &_result_ref;
36470 }
36471
36472 wxPyEndAllowThreads(__tstate);
36473 if (PyErr_Occurred()) SWIG_fail;
36474 }
36475 {
36476 resultobj = PyList_New(0);
36477 size_t idx;
36478 for (idx = 0; idx < result->GetCount(); idx += 1) {
36479 PyObject* val = PyInt_FromLong( result->Item(idx) );
36480 PyList_Append(resultobj, val);
36481 Py_DECREF(val);
36482 }
36483 }
36484 return resultobj;
36485 fail:
36486 return NULL;
36487}
36488
36489
36490static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
36491 PyObject *resultobj;
36492 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36493 wxArrayInt *result;
36494 PyObject * obj0 = 0 ;
36495 char *kwnames[] = {
36496 (char *) "self", NULL
36497 };
36498
36499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
15afbcd0
RD
36500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
36502 {
36503 PyThreadState* __tstate = wxPyBeginAllowThreads();
36504 {
36505 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
36506 result = (wxArrayInt *) &_result_ref;
36507 }
36508
36509 wxPyEndAllowThreads(__tstate);
36510 if (PyErr_Occurred()) SWIG_fail;
36511 }
36512 {
36513 resultobj = PyList_New(0);
36514 size_t idx;
36515 for (idx = 0; idx < result->GetCount(); idx += 1) {
36516 PyObject* val = PyInt_FromLong( result->Item(idx) );
36517 PyList_Append(resultobj, val);
36518 Py_DECREF(val);
36519 }
36520 }
36521 return resultobj;
36522 fail:
36523 return NULL;
36524}
36525
36526
d14a1e28
RD
36527static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
36528 PyObject *obj;
36529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36530 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
36531 Py_INCREF(obj);
36532 return Py_BuildValue((char *)"");
36533}
36534static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
36535 PyObject *resultobj;
36536 int arg1 = (int) 0 ;
36537 int arg2 = (int) 0 ;
36538 wxGBPosition *result;
994141e6
RD
36539 PyObject * obj0 = 0 ;
36540 PyObject * obj1 = 0 ;
d14a1e28
RD
36541 char *kwnames[] = {
36542 (char *) "row",(char *) "col", NULL
36543 };
36544
994141e6
RD
36545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
36546 if (obj0) {
15afbcd0
RD
36547 arg1 = (int) SWIG_AsInt(obj0);
36548 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36549 }
36550 if (obj1) {
15afbcd0
RD
36551 arg2 = (int) SWIG_AsInt(obj1);
36552 if (PyErr_Occurred()) SWIG_fail;
994141e6 36553 }
d14a1e28
RD
36554 {
36555 PyThreadState* __tstate = wxPyBeginAllowThreads();
36556 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
36557
36558 wxPyEndAllowThreads(__tstate);
36559 if (PyErr_Occurred()) SWIG_fail;
36560 }
15afbcd0 36561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
36562 return resultobj;
36563 fail:
36564 return NULL;
36565}
36566
36567
36568static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36569 PyObject *resultobj;
36570 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36571 int result;
36572 PyObject * obj0 = 0 ;
36573 char *kwnames[] = {
36574 (char *) "self", NULL
36575 };
36576
36577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
36578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36580 {
36581 PyThreadState* __tstate = wxPyBeginAllowThreads();
36582 result = (int)((wxGBPosition const *)arg1)->GetRow();
36583
36584 wxPyEndAllowThreads(__tstate);
36585 if (PyErr_Occurred()) SWIG_fail;
36586 }
15afbcd0 36587 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36588 return resultobj;
36589 fail:
36590 return NULL;
36591}
36592
36593
36594static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36595 PyObject *resultobj;
36596 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36597 int result;
36598 PyObject * obj0 = 0 ;
36599 char *kwnames[] = {
36600 (char *) "self", NULL
36601 };
36602
36603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
36604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36606 {
36607 PyThreadState* __tstate = wxPyBeginAllowThreads();
36608 result = (int)((wxGBPosition const *)arg1)->GetCol();
36609
36610 wxPyEndAllowThreads(__tstate);
36611 if (PyErr_Occurred()) SWIG_fail;
36612 }
15afbcd0 36613 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36614 return resultobj;
36615 fail:
36616 return NULL;
36617}
36618
36619
36620static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36621 PyObject *resultobj;
36622 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36623 int arg2 ;
36624 PyObject * obj0 = 0 ;
994141e6 36625 PyObject * obj1 = 0 ;
d14a1e28
RD
36626 char *kwnames[] = {
36627 (char *) "self",(char *) "row", NULL
36628 };
36629
994141e6 36630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36633 arg2 = (int) SWIG_AsInt(obj1);
36634 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36635 {
36636 PyThreadState* __tstate = wxPyBeginAllowThreads();
36637 (arg1)->SetRow(arg2);
36638
36639 wxPyEndAllowThreads(__tstate);
36640 if (PyErr_Occurred()) SWIG_fail;
36641 }
36642 Py_INCREF(Py_None); resultobj = Py_None;
36643 return resultobj;
36644 fail:
36645 return NULL;
36646}
36647
36648
36649static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36650 PyObject *resultobj;
36651 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36652 int arg2 ;
36653 PyObject * obj0 = 0 ;
994141e6 36654 PyObject * obj1 = 0 ;
d14a1e28
RD
36655 char *kwnames[] = {
36656 (char *) "self",(char *) "col", NULL
36657 };
36658
994141e6 36659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36662 arg2 = (int) SWIG_AsInt(obj1);
36663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36664 {
36665 PyThreadState* __tstate = wxPyBeginAllowThreads();
36666 (arg1)->SetCol(arg2);
36667
36668 wxPyEndAllowThreads(__tstate);
36669 if (PyErr_Occurred()) SWIG_fail;
36670 }
36671 Py_INCREF(Py_None); resultobj = Py_None;
36672 return resultobj;
36673 fail:
36674 return NULL;
36675}
36676
36677
36678static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
36679 PyObject *resultobj;
36680 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 36681 wxGBPosition *arg2 = 0 ;
d14a1e28 36682 bool result;
4f89f6a3 36683 wxGBPosition temp2 ;
d14a1e28
RD
36684 PyObject * obj0 = 0 ;
36685 PyObject * obj1 = 0 ;
36686 char *kwnames[] = {
22faec7d 36687 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36688 };
36689
36690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36693 {
36694 arg2 = &temp2;
36695 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36696 }
d14a1e28
RD
36697 {
36698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36699 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
d14a1e28
RD
36700
36701 wxPyEndAllowThreads(__tstate);
36702 if (PyErr_Occurred()) SWIG_fail;
36703 }
4f89f6a3
RD
36704 {
36705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36706 }
d14a1e28
RD
36707 return resultobj;
36708 fail:
36709 return NULL;
36710}
36711
36712
36713static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
36714 PyObject *resultobj;
36715 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 36716 wxGBPosition *arg2 = 0 ;
d14a1e28 36717 bool result;
4f89f6a3 36718 wxGBPosition temp2 ;
d14a1e28
RD
36719 PyObject * obj0 = 0 ;
36720 PyObject * obj1 = 0 ;
36721 char *kwnames[] = {
22faec7d 36722 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36723 };
36724
36725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36728 {
36729 arg2 = &temp2;
36730 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36731 }
d14a1e28
RD
36732 {
36733 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36734 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
d14a1e28
RD
36735
36736 wxPyEndAllowThreads(__tstate);
36737 if (PyErr_Occurred()) SWIG_fail;
36738 }
4f89f6a3
RD
36739 {
36740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36741 }
d14a1e28
RD
36742 return resultobj;
36743 fail:
36744 return NULL;
36745}
36746
36747
e811c8ce
RD
36748static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
36749 PyObject *resultobj;
36750 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36751 int arg2 = (int) 0 ;
36752 int arg3 = (int) 0 ;
36753 PyObject * obj0 = 0 ;
994141e6
RD
36754 PyObject * obj1 = 0 ;
36755 PyObject * obj2 = 0 ;
e811c8ce
RD
36756 char *kwnames[] = {
36757 (char *) "self",(char *) "row",(char *) "col", NULL
36758 };
36759
994141e6 36760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 36763 if (obj1) {
15afbcd0
RD
36764 arg2 = (int) SWIG_AsInt(obj1);
36765 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36766 }
36767 if (obj2) {
15afbcd0
RD
36768 arg3 = (int) SWIG_AsInt(obj2);
36769 if (PyErr_Occurred()) SWIG_fail;
994141e6 36770 }
e811c8ce
RD
36771 {
36772 PyThreadState* __tstate = wxPyBeginAllowThreads();
36773 wxGBPosition_Set(arg1,arg2,arg3);
36774
36775 wxPyEndAllowThreads(__tstate);
36776 if (PyErr_Occurred()) SWIG_fail;
36777 }
36778 Py_INCREF(Py_None); resultobj = Py_None;
36779 return resultobj;
36780 fail:
36781 return NULL;
36782}
36783
36784
36785static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36786 PyObject *resultobj;
36787 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36788 PyObject *result;
36789 PyObject * obj0 = 0 ;
36790 char *kwnames[] = {
36791 (char *) "self", NULL
36792 };
36793
e811c8ce 36794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
36795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36797 {
36798 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 36799 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
36800
36801 wxPyEndAllowThreads(__tstate);
36802 if (PyErr_Occurred()) SWIG_fail;
36803 }
36804 resultobj = result;
36805 return resultobj;
36806 fail:
36807 return NULL;
36808}
36809
36810
36811static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
36812 PyObject *obj;
36813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36814 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
36815 Py_INCREF(obj);
36816 return Py_BuildValue((char *)"");
36817}
36818static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
36819 PyObject *resultobj;
36820 int arg1 = (int) 1 ;
36821 int arg2 = (int) 1 ;
36822 wxGBSpan *result;
994141e6
RD
36823 PyObject * obj0 = 0 ;
36824 PyObject * obj1 = 0 ;
d14a1e28
RD
36825 char *kwnames[] = {
36826 (char *) "rowspan",(char *) "colspan", NULL
36827 };
36828
994141e6
RD
36829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
36830 if (obj0) {
15afbcd0
RD
36831 arg1 = (int) SWIG_AsInt(obj0);
36832 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36833 }
36834 if (obj1) {
15afbcd0
RD
36835 arg2 = (int) SWIG_AsInt(obj1);
36836 if (PyErr_Occurred()) SWIG_fail;
994141e6 36837 }
d14a1e28
RD
36838 {
36839 PyThreadState* __tstate = wxPyBeginAllowThreads();
36840 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
36841
36842 wxPyEndAllowThreads(__tstate);
36843 if (PyErr_Occurred()) SWIG_fail;
36844 }
15afbcd0 36845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
36846 return resultobj;
36847 fail:
36848 return NULL;
36849}
36850
36851
36852static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36853 PyObject *resultobj;
36854 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36855 int result;
36856 PyObject * obj0 = 0 ;
36857 char *kwnames[] = {
36858 (char *) "self", NULL
36859 };
36860
36861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
36862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36864 {
36865 PyThreadState* __tstate = wxPyBeginAllowThreads();
36866 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
36867
36868 wxPyEndAllowThreads(__tstate);
36869 if (PyErr_Occurred()) SWIG_fail;
36870 }
15afbcd0 36871 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36872 return resultobj;
36873 fail:
36874 return NULL;
36875}
36876
36877
36878static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36879 PyObject *resultobj;
36880 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36881 int result;
36882 PyObject * obj0 = 0 ;
36883 char *kwnames[] = {
36884 (char *) "self", NULL
36885 };
36886
36887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
36888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36890 {
36891 PyThreadState* __tstate = wxPyBeginAllowThreads();
36892 result = (int)((wxGBSpan const *)arg1)->GetColspan();
36893
36894 wxPyEndAllowThreads(__tstate);
36895 if (PyErr_Occurred()) SWIG_fail;
36896 }
15afbcd0 36897 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36898 return resultobj;
36899 fail:
36900 return NULL;
36901}
36902
36903
36904static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36905 PyObject *resultobj;
36906 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36907 int arg2 ;
36908 PyObject * obj0 = 0 ;
994141e6 36909 PyObject * obj1 = 0 ;
d14a1e28
RD
36910 char *kwnames[] = {
36911 (char *) "self",(char *) "rowspan", NULL
36912 };
36913
994141e6 36914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36917 arg2 = (int) SWIG_AsInt(obj1);
36918 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36919 {
36920 PyThreadState* __tstate = wxPyBeginAllowThreads();
36921 (arg1)->SetRowspan(arg2);
36922
36923 wxPyEndAllowThreads(__tstate);
36924 if (PyErr_Occurred()) SWIG_fail;
36925 }
36926 Py_INCREF(Py_None); resultobj = Py_None;
36927 return resultobj;
36928 fail:
36929 return NULL;
36930}
36931
36932
36933static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36934 PyObject *resultobj;
36935 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36936 int arg2 ;
36937 PyObject * obj0 = 0 ;
994141e6 36938 PyObject * obj1 = 0 ;
d14a1e28
RD
36939 char *kwnames[] = {
36940 (char *) "self",(char *) "colspan", NULL
36941 };
36942
994141e6 36943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36946 arg2 = (int) SWIG_AsInt(obj1);
36947 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36948 {
36949 PyThreadState* __tstate = wxPyBeginAllowThreads();
36950 (arg1)->SetColspan(arg2);
36951
36952 wxPyEndAllowThreads(__tstate);
36953 if (PyErr_Occurred()) SWIG_fail;
36954 }
36955 Py_INCREF(Py_None); resultobj = Py_None;
36956 return resultobj;
36957 fail:
36958 return NULL;
36959}
36960
36961
36962static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
36963 PyObject *resultobj;
36964 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 36965 wxGBSpan *arg2 = 0 ;
d14a1e28 36966 bool result;
4f89f6a3 36967 wxGBSpan temp2 ;
d14a1e28
RD
36968 PyObject * obj0 = 0 ;
36969 PyObject * obj1 = 0 ;
36970 char *kwnames[] = {
22faec7d 36971 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36972 };
36973
36974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36977 {
36978 arg2 = &temp2;
36979 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
36980 }
d14a1e28
RD
36981 {
36982 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36983 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
d14a1e28
RD
36984
36985 wxPyEndAllowThreads(__tstate);
36986 if (PyErr_Occurred()) SWIG_fail;
36987 }
4f89f6a3
RD
36988 {
36989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36990 }
d14a1e28
RD
36991 return resultobj;
36992 fail:
36993 return NULL;
36994}
36995
36996
36997static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
36998 PyObject *resultobj;
36999 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 37000 wxGBSpan *arg2 = 0 ;
d14a1e28 37001 bool result;
4f89f6a3 37002 wxGBSpan temp2 ;
d14a1e28
RD
37003 PyObject * obj0 = 0 ;
37004 PyObject * obj1 = 0 ;
37005 char *kwnames[] = {
22faec7d 37006 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37007 };
37008
37009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37012 {
37013 arg2 = &temp2;
37014 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37015 }
d14a1e28
RD
37016 {
37017 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37018 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
d14a1e28
RD
37019
37020 wxPyEndAllowThreads(__tstate);
37021 if (PyErr_Occurred()) SWIG_fail;
37022 }
4f89f6a3
RD
37023 {
37024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37025 }
d14a1e28
RD
37026 return resultobj;
37027 fail:
37028 return NULL;
37029}
37030
37031
e811c8ce
RD
37032static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
37033 PyObject *resultobj;
37034 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37035 int arg2 = (int) 1 ;
37036 int arg3 = (int) 1 ;
37037 PyObject * obj0 = 0 ;
994141e6
RD
37038 PyObject * obj1 = 0 ;
37039 PyObject * obj2 = 0 ;
e811c8ce
RD
37040 char *kwnames[] = {
37041 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37042 };
37043
994141e6 37044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 37047 if (obj1) {
15afbcd0
RD
37048 arg2 = (int) SWIG_AsInt(obj1);
37049 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37050 }
37051 if (obj2) {
15afbcd0
RD
37052 arg3 = (int) SWIG_AsInt(obj2);
37053 if (PyErr_Occurred()) SWIG_fail;
994141e6 37054 }
e811c8ce
RD
37055 {
37056 PyThreadState* __tstate = wxPyBeginAllowThreads();
37057 wxGBSpan_Set(arg1,arg2,arg3);
37058
37059 wxPyEndAllowThreads(__tstate);
37060 if (PyErr_Occurred()) SWIG_fail;
37061 }
37062 Py_INCREF(Py_None); resultobj = Py_None;
37063 return resultobj;
37064 fail:
37065 return NULL;
37066}
37067
37068
37069static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37070 PyObject *resultobj;
37071 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37072 PyObject *result;
37073 PyObject * obj0 = 0 ;
37074 char *kwnames[] = {
37075 (char *) "self", NULL
37076 };
37077
e811c8ce 37078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
37079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37081 {
37082 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 37083 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
37084
37085 wxPyEndAllowThreads(__tstate);
37086 if (PyErr_Occurred()) SWIG_fail;
37087 }
37088 resultobj = result;
37089 return resultobj;
37090 fail:
37091 return NULL;
37092}
37093
37094
37095static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
37096 PyObject *obj;
37097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37098 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
37099 Py_INCREF(obj);
37100 return Py_BuildValue((char *)"");
37101}
37102static int _wrap_DefaultSpan_set(PyObject *_val) {
37103 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
37104 return 1;
37105}
37106
37107
37108static PyObject *_wrap_DefaultSpan_get() {
37109 PyObject *pyobj;
37110
15afbcd0 37111 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
d14a1e28
RD
37112 return pyobj;
37113}
37114
37115
37116static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37117 PyObject *resultobj;
37118 wxGBSizerItem *result;
37119 char *kwnames[] = {
37120 NULL
37121 };
37122
37123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
37124 {
37125 PyThreadState* __tstate = wxPyBeginAllowThreads();
37126 result = (wxGBSizerItem *)new wxGBSizerItem();
37127
37128 wxPyEndAllowThreads(__tstate);
37129 if (PyErr_Occurred()) SWIG_fail;
37130 }
15afbcd0 37131 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37132 return resultobj;
37133 fail:
37134 return NULL;
37135}
37136
37137
37138static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
37139 PyObject *resultobj;
37140 wxWindow *arg1 = (wxWindow *) 0 ;
37141 wxGBPosition *arg2 = 0 ;
37142 wxGBSpan *arg3 = 0 ;
37143 int arg4 ;
37144 int arg5 ;
248ed943 37145 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
37146 wxGBSizerItem *result;
37147 wxGBPosition temp2 ;
37148 wxGBSpan temp3 ;
37149 PyObject * obj0 = 0 ;
37150 PyObject * obj1 = 0 ;
37151 PyObject * obj2 = 0 ;
994141e6
RD
37152 PyObject * obj3 = 0 ;
37153 PyObject * obj4 = 0 ;
d14a1e28
RD
37154 PyObject * obj5 = 0 ;
37155 char *kwnames[] = {
37156 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37157 };
37158
248ed943 37159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
37160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
37161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37162 {
37163 arg2 = &temp2;
37164 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37165 }
37166 {
37167 arg3 = &temp3;
37168 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37169 }
15afbcd0
RD
37170 arg4 = (int) SWIG_AsInt(obj3);
37171 if (PyErr_Occurred()) SWIG_fail;
37172 arg5 = (int) SWIG_AsInt(obj4);
37173 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
37174 if (obj5) {
37175 arg6 = obj5;
37176 }
d14a1e28
RD
37177 {
37178 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 37179 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d14a1e28
RD
37180
37181 wxPyEndAllowThreads(__tstate);
37182 if (PyErr_Occurred()) SWIG_fail;
37183 }
15afbcd0 37184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37185 return resultobj;
37186 fail:
37187 return NULL;
37188}
37189
37190
37191static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37192 PyObject *resultobj;
37193 wxSizer *arg1 = (wxSizer *) 0 ;
37194 wxGBPosition *arg2 = 0 ;
37195 wxGBSpan *arg3 = 0 ;
37196 int arg4 ;
37197 int arg5 ;
248ed943 37198 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
37199 wxGBSizerItem *result;
37200 wxGBPosition temp2 ;
37201 wxGBSpan temp3 ;
37202 PyObject * obj0 = 0 ;
37203 PyObject * obj1 = 0 ;
37204 PyObject * obj2 = 0 ;
994141e6
RD
37205 PyObject * obj3 = 0 ;
37206 PyObject * obj4 = 0 ;
d14a1e28
RD
37207 PyObject * obj5 = 0 ;
37208 char *kwnames[] = {
37209 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37210 };
37211
248ed943 37212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
37213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
37214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37215 {
37216 arg2 = &temp2;
37217 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37218 }
37219 {
37220 arg3 = &temp3;
37221 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37222 }
15afbcd0
RD
37223 arg4 = (int) SWIG_AsInt(obj3);
37224 if (PyErr_Occurred()) SWIG_fail;
37225 arg5 = (int) SWIG_AsInt(obj4);
37226 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
37227 if (obj5) {
37228 arg6 = obj5;
37229 }
d14a1e28
RD
37230 {
37231 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 37232 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d14a1e28
RD
37233
37234 wxPyEndAllowThreads(__tstate);
37235 if (PyErr_Occurred()) SWIG_fail;
37236 }
15afbcd0 37237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37238 return resultobj;
37239 fail:
37240 return NULL;
37241}
37242
37243
37244static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
37245 PyObject *resultobj;
37246 int arg1 ;
37247 int arg2 ;
37248 wxGBPosition *arg3 = 0 ;
37249 wxGBSpan *arg4 = 0 ;
37250 int arg5 ;
37251 int arg6 ;
248ed943 37252 PyObject *arg7 = (PyObject *) NULL ;
d14a1e28
RD
37253 wxGBSizerItem *result;
37254 wxGBPosition temp3 ;
37255 wxGBSpan temp4 ;
994141e6
RD
37256 PyObject * obj0 = 0 ;
37257 PyObject * obj1 = 0 ;
d14a1e28
RD
37258 PyObject * obj2 = 0 ;
37259 PyObject * obj3 = 0 ;
994141e6
RD
37260 PyObject * obj4 = 0 ;
37261 PyObject * obj5 = 0 ;
d14a1e28
RD
37262 PyObject * obj6 = 0 ;
37263 char *kwnames[] = {
37264 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37265 };
37266
248ed943 37267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
37268 arg1 = (int) SWIG_AsInt(obj0);
37269 if (PyErr_Occurred()) SWIG_fail;
37270 arg2 = (int) SWIG_AsInt(obj1);
37271 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37272 {
37273 arg3 = &temp3;
37274 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37275 }
37276 {
37277 arg4 = &temp4;
37278 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37279 }
15afbcd0
RD
37280 arg5 = (int) SWIG_AsInt(obj4);
37281 if (PyErr_Occurred()) SWIG_fail;
37282 arg6 = (int) SWIG_AsInt(obj5);
37283 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
37284 if (obj6) {
37285 arg7 = obj6;
37286 }
d14a1e28
RD
37287 {
37288 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 37289 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
d14a1e28
RD
37290
37291 wxPyEndAllowThreads(__tstate);
37292 if (PyErr_Occurred()) SWIG_fail;
37293 }
15afbcd0 37294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37295 return resultobj;
37296 fail:
37297 return NULL;
37298}
37299
37300
37301static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37302 PyObject *resultobj;
37303 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37304 wxGBPosition result;
37305 PyObject * obj0 = 0 ;
37306 char *kwnames[] = {
37307 (char *) "self", NULL
37308 };
37309
37310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
37311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37313 {
37314 PyThreadState* __tstate = wxPyBeginAllowThreads();
37315 result = ((wxGBSizerItem const *)arg1)->GetPos();
37316
37317 wxPyEndAllowThreads(__tstate);
37318 if (PyErr_Occurred()) SWIG_fail;
37319 }
37320 {
37321 wxGBPosition * resultptr;
37322 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37323 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37324 }
37325 return resultobj;
37326 fail:
37327 return NULL;
37328}
37329
37330
37331static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37332 PyObject *resultobj;
37333 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37334 wxGBSpan result;
37335 PyObject * obj0 = 0 ;
37336 char *kwnames[] = {
37337 (char *) "self", NULL
37338 };
37339
37340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
15afbcd0
RD
37341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37343 {
37344 PyThreadState* __tstate = wxPyBeginAllowThreads();
37345 result = ((wxGBSizerItem const *)arg1)->GetSpan();
37346
37347 wxPyEndAllowThreads(__tstate);
37348 if (PyErr_Occurred()) SWIG_fail;
37349 }
37350 {
37351 wxGBSpan * resultptr;
37352 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 37353 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37354 }
37355 return resultobj;
37356 fail:
37357 return NULL;
37358}
37359
37360
37361static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37362 PyObject *resultobj;
37363 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37364 wxGBPosition *arg2 = 0 ;
37365 bool result;
37366 wxGBPosition temp2 ;
37367 PyObject * obj0 = 0 ;
37368 PyObject * obj1 = 0 ;
37369 char *kwnames[] = {
37370 (char *) "self",(char *) "pos", NULL
37371 };
37372
37373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37376 {
37377 arg2 = &temp2;
37378 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37379 }
37380 {
37381 PyThreadState* __tstate = wxPyBeginAllowThreads();
37382 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
37383
37384 wxPyEndAllowThreads(__tstate);
37385 if (PyErr_Occurred()) SWIG_fail;
37386 }
4f89f6a3
RD
37387 {
37388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37389 }
d14a1e28
RD
37390 return resultobj;
37391 fail:
37392 return NULL;
37393}
37394
37395
37396static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37397 PyObject *resultobj;
37398 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37399 wxGBSpan *arg2 = 0 ;
37400 bool result;
37401 wxGBSpan temp2 ;
37402 PyObject * obj0 = 0 ;
37403 PyObject * obj1 = 0 ;
37404 char *kwnames[] = {
37405 (char *) "self",(char *) "span", NULL
37406 };
37407
37408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37411 {
37412 arg2 = &temp2;
37413 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37414 }
37415 {
37416 PyThreadState* __tstate = wxPyBeginAllowThreads();
37417 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
37418
37419 wxPyEndAllowThreads(__tstate);
37420 if (PyErr_Occurred()) SWIG_fail;
37421 }
4f89f6a3
RD
37422 {
37423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37424 }
d14a1e28
RD
37425 return resultobj;
37426 fail:
37427 return NULL;
37428}
37429
37430
248ed943 37431static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37432 PyObject *resultobj;
37433 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37434 wxGBSizerItem *arg2 = 0 ;
37435 bool result;
37436 PyObject * obj0 = 0 ;
37437 PyObject * obj1 = 0 ;
248ed943
RD
37438 char *kwnames[] = {
37439 (char *) "self",(char *) "other", NULL
37440 };
d14a1e28 37441
248ed943 37442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_Intersects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37446 SWIG_POINTER_EXCEPTION | 0)) == -1)
37447 SWIG_fail;
d14a1e28 37448 if (arg2 == NULL) {
15afbcd0
RD
37449 PyErr_SetString(PyExc_TypeError,"null reference");
37450 SWIG_fail;
d14a1e28
RD
37451 }
37452 {
37453 PyThreadState* __tstate = wxPyBeginAllowThreads();
37454 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
37455
37456 wxPyEndAllowThreads(__tstate);
37457 if (PyErr_Occurred()) SWIG_fail;
37458 }
4f89f6a3
RD
37459 {
37460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37461 }
d14a1e28
RD
37462 return resultobj;
37463 fail:
37464 return NULL;
37465}
37466
37467
248ed943 37468static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37469 PyObject *resultobj;
37470 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37471 wxGBPosition *arg2 = 0 ;
37472 wxGBSpan *arg3 = 0 ;
37473 bool result;
37474 wxGBPosition temp2 ;
37475 wxGBSpan temp3 ;
37476 PyObject * obj0 = 0 ;
37477 PyObject * obj1 = 0 ;
37478 PyObject * obj2 = 0 ;
248ed943
RD
37479 char *kwnames[] = {
37480 (char *) "self",(char *) "pos",(char *) "span", NULL
37481 };
d14a1e28 37482
248ed943 37483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37486 {
37487 arg2 = &temp2;
37488 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37489 }
37490 {
37491 arg3 = &temp3;
37492 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37493 }
37494 {
37495 PyThreadState* __tstate = wxPyBeginAllowThreads();
37496 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
37497
37498 wxPyEndAllowThreads(__tstate);
37499 if (PyErr_Occurred()) SWIG_fail;
37500 }
4f89f6a3
RD
37501 {
37502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37503 }
d14a1e28
RD
37504 return resultobj;
37505 fail:
37506 return NULL;
37507}
37508
37509
d14a1e28
RD
37510static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37511 PyObject *resultobj;
37512 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
248ed943 37513 wxGBPosition result;
d14a1e28 37514 PyObject * obj0 = 0 ;
d14a1e28 37515 char *kwnames[] = {
248ed943 37516 (char *) "self", NULL
d14a1e28
RD
37517 };
37518
248ed943 37519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetEndPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
37520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37522 {
37523 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 37524 result = wxGBSizerItem_GetEndPos(arg1);
d14a1e28
RD
37525
37526 wxPyEndAllowThreads(__tstate);
37527 if (PyErr_Occurred()) SWIG_fail;
37528 }
248ed943
RD
37529 {
37530 wxGBPosition * resultptr;
37531 resultptr = new wxGBPosition((wxGBPosition &) result);
37532 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
37533 }
d14a1e28
RD
37534 return resultobj;
37535 fail:
37536 return NULL;
37537}
37538
37539
37540static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37541 PyObject *resultobj;
37542 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37543 wxGridBagSizer *result;
37544 PyObject * obj0 = 0 ;
37545 char *kwnames[] = {
37546 (char *) "self", NULL
37547 };
37548
37549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
37550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37552 {
37553 PyThreadState* __tstate = wxPyBeginAllowThreads();
37554 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
37555
37556 wxPyEndAllowThreads(__tstate);
37557 if (PyErr_Occurred()) SWIG_fail;
37558 }
15afbcd0 37559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
d14a1e28
RD
37560 return resultobj;
37561 fail:
37562 return NULL;
37563}
37564
37565
37566static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37567 PyObject *resultobj;
37568 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37569 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
37570 PyObject * obj0 = 0 ;
37571 PyObject * obj1 = 0 ;
37572 char *kwnames[] = {
37573 (char *) "self",(char *) "sizer", NULL
37574 };
37575
37576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
37580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37581 {
37582 PyThreadState* __tstate = wxPyBeginAllowThreads();
37583 (arg1)->SetGBSizer(arg2);
37584
37585 wxPyEndAllowThreads(__tstate);
37586 if (PyErr_Occurred()) SWIG_fail;
37587 }
37588 Py_INCREF(Py_None); resultobj = Py_None;
37589 return resultobj;
37590 fail:
37591 return NULL;
37592}
37593
37594
37595static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
37596 PyObject *obj;
37597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37598 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
37599 Py_INCREF(obj);
37600 return Py_BuildValue((char *)"");
37601}
37602static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37603 PyObject *resultobj;
37604 int arg1 = (int) 0 ;
37605 int arg2 = (int) 0 ;
37606 wxGridBagSizer *result;
994141e6
RD
37607 PyObject * obj0 = 0 ;
37608 PyObject * obj1 = 0 ;
d14a1e28
RD
37609 char *kwnames[] = {
37610 (char *) "vgap",(char *) "hgap", NULL
37611 };
37612
994141e6
RD
37613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
37614 if (obj0) {
15afbcd0
RD
37615 arg1 = (int) SWIG_AsInt(obj0);
37616 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37617 }
37618 if (obj1) {
15afbcd0
RD
37619 arg2 = (int) SWIG_AsInt(obj1);
37620 if (PyErr_Occurred()) SWIG_fail;
994141e6 37621 }
d14a1e28
RD
37622 {
37623 PyThreadState* __tstate = wxPyBeginAllowThreads();
37624 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
37625
37626 wxPyEndAllowThreads(__tstate);
37627 if (PyErr_Occurred()) SWIG_fail;
37628 }
15afbcd0 37629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
d14a1e28
RD
37630 return resultobj;
37631 fail:
37632 return NULL;
37633}
37634
37635
37636static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
37637 PyObject *resultobj;
37638 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37639 PyObject *arg2 = (PyObject *) 0 ;
37640 wxGBPosition *arg3 = 0 ;
37641 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
37642 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
37643 int arg5 = (int) 0 ;
37644 int arg6 = (int) 0 ;
37645 PyObject *arg7 = (PyObject *) NULL ;
37646 bool result;
37647 wxGBPosition temp3 ;
37648 wxGBSpan temp4 ;
37649 PyObject * obj0 = 0 ;
37650 PyObject * obj1 = 0 ;
37651 PyObject * obj2 = 0 ;
37652 PyObject * obj3 = 0 ;
994141e6
RD
37653 PyObject * obj4 = 0 ;
37654 PyObject * obj5 = 0 ;
d14a1e28
RD
37655 PyObject * obj6 = 0 ;
37656 char *kwnames[] = {
37657 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37658 };
37659
994141e6 37660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
37661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37663 arg2 = obj1;
37664 {
37665 arg3 = &temp3;
37666 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37667 }
37668 if (obj3) {
37669 {
37670 arg4 = &temp4;
37671 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37672 }
37673 }
994141e6 37674 if (obj4) {
15afbcd0
RD
37675 arg5 = (int) SWIG_AsInt(obj4);
37676 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37677 }
37678 if (obj5) {
15afbcd0
RD
37679 arg6 = (int) SWIG_AsInt(obj5);
37680 if (PyErr_Occurred()) SWIG_fail;
994141e6 37681 }
d14a1e28
RD
37682 if (obj6) {
37683 arg7 = obj6;
37684 }
37685 {
37686 PyThreadState* __tstate = wxPyBeginAllowThreads();
37687 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37688
37689 wxPyEndAllowThreads(__tstate);
37690 if (PyErr_Occurred()) SWIG_fail;
37691 }
4f89f6a3
RD
37692 {
37693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37694 }
d14a1e28
RD
37695 return resultobj;
37696 fail:
37697 return NULL;
37698}
37699
37700
37701static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37702 PyObject *resultobj;
37703 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37704 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
37705 bool result;
37706 PyObject * obj0 = 0 ;
37707 PyObject * obj1 = 0 ;
37708 char *kwnames[] = {
37709 (char *) "self",(char *) "item", NULL
37710 };
37711
37712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37715 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37717 {
37718 PyThreadState* __tstate = wxPyBeginAllowThreads();
37719 result = (bool)(arg1)->Add(arg2);
37720
37721 wxPyEndAllowThreads(__tstate);
37722 if (PyErr_Occurred()) SWIG_fail;
37723 }
4f89f6a3
RD
37724 {
37725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37726 }
d14a1e28
RD
37727 return resultobj;
37728 fail:
37729 return NULL;
37730}
37731
37732
37733static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37734 PyObject *resultobj;
37735 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37736 wxSize result;
37737 PyObject * obj0 = 0 ;
37738 char *kwnames[] = {
37739 (char *) "self", NULL
37740 };
37741
37742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
37743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37745 {
37746 PyThreadState* __tstate = wxPyBeginAllowThreads();
37747 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
37748
37749 wxPyEndAllowThreads(__tstate);
37750 if (PyErr_Occurred()) SWIG_fail;
37751 }
37752 {
37753 wxSize * resultptr;
37754 resultptr = new wxSize((wxSize &) result);
15afbcd0 37755 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
37756 }
37757 return resultobj;
37758 fail:
37759 return NULL;
37760}
37761
37762
37763static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37764 PyObject *resultobj;
37765 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37766 wxSize *arg2 = 0 ;
37767 wxSize temp2 ;
37768 PyObject * obj0 = 0 ;
37769 PyObject * obj1 = 0 ;
37770 char *kwnames[] = {
37771 (char *) "self",(char *) "sz", NULL
37772 };
37773
37774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37777 {
37778 arg2 = &temp2;
37779 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
37780 }
37781 {
37782 PyThreadState* __tstate = wxPyBeginAllowThreads();
37783 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
37784
37785 wxPyEndAllowThreads(__tstate);
37786 if (PyErr_Occurred()) SWIG_fail;
37787 }
37788 Py_INCREF(Py_None); resultobj = Py_None;
37789 return resultobj;
37790 fail:
37791 return NULL;
37792}
37793
37794
37795static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
37796 PyObject *resultobj;
37797 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37798 wxWindow *arg2 = (wxWindow *) 0 ;
37799 wxGBPosition result;
37800 PyObject * obj0 = 0 ;
37801 PyObject * obj1 = 0 ;
37802
37803 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37808 {
37809 PyThreadState* __tstate = wxPyBeginAllowThreads();
37810 result = (arg1)->GetItemPosition(arg2);
37811
37812 wxPyEndAllowThreads(__tstate);
37813 if (PyErr_Occurred()) SWIG_fail;
37814 }
37815 {
37816 wxGBPosition * resultptr;
37817 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37818 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37819 }
37820 return resultobj;
37821 fail:
37822 return NULL;
37823}
37824
37825
37826static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
37827 PyObject *resultobj;
37828 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37829 wxSizer *arg2 = (wxSizer *) 0 ;
37830 wxGBPosition result;
37831 PyObject * obj0 = 0 ;
37832 PyObject * obj1 = 0 ;
37833
37834 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37837 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37839 {
37840 PyThreadState* __tstate = wxPyBeginAllowThreads();
37841 result = (arg1)->GetItemPosition(arg2);
37842
37843 wxPyEndAllowThreads(__tstate);
37844 if (PyErr_Occurred()) SWIG_fail;
37845 }
37846 {
37847 wxGBPosition * resultptr;
37848 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37849 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37850 }
37851 return resultobj;
37852 fail:
37853 return NULL;
37854}
37855
37856
37857static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
37858 PyObject *resultobj;
37859 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37860 size_t arg2 ;
37861 wxGBPosition result;
37862 PyObject * obj0 = 0 ;
37863 PyObject * obj1 = 0 ;
37864
37865 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37868 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37869 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37870 {
37871 PyThreadState* __tstate = wxPyBeginAllowThreads();
37872 result = (arg1)->GetItemPosition(arg2);
37873
37874 wxPyEndAllowThreads(__tstate);
37875 if (PyErr_Occurred()) SWIG_fail;
37876 }
37877 {
37878 wxGBPosition * resultptr;
37879 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37880 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37881 }
37882 return resultobj;
37883 fail:
37884 return NULL;
37885}
37886
37887
37888static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
37889 int argc;
37890 PyObject *argv[3];
37891 int ii;
37892
37893 argc = PyObject_Length(args);
37894 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37895 argv[ii] = PyTuple_GetItem(args,ii);
37896 }
37897 if (argc == 2) {
37898 int _v;
37899 {
37900 void *ptr;
15afbcd0 37901 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37902 _v = 0;
37903 PyErr_Clear();
37904 } else {
37905 _v = 1;
37906 }
37907 }
37908 if (_v) {
37909 {
37910 void *ptr;
15afbcd0 37911 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37912 _v = 0;
37913 PyErr_Clear();
37914 } else {
37915 _v = 1;
37916 }
37917 }
37918 if (_v) {
37919 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
37920 }
37921 }
37922 }
37923 if (argc == 2) {
37924 int _v;
37925 {
37926 void *ptr;
15afbcd0 37927 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37928 _v = 0;
37929 PyErr_Clear();
37930 } else {
37931 _v = 1;
37932 }
37933 }
37934 if (_v) {
37935 {
37936 void *ptr;
15afbcd0 37937 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37938 _v = 0;
37939 PyErr_Clear();
37940 } else {
37941 _v = 1;
37942 }
37943 }
37944 if (_v) {
37945 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
37946 }
37947 }
37948 }
37949 if (argc == 2) {
37950 int _v;
37951 {
37952 void *ptr;
15afbcd0 37953 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37954 _v = 0;
37955 PyErr_Clear();
37956 } else {
37957 _v = 1;
37958 }
37959 }
37960 if (_v) {
15afbcd0 37961 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
37962 if (_v) {
37963 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
37964 }
37965 }
37966 }
37967
37968 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
37969 return NULL;
37970}
37971
37972
37973static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
37974 PyObject *resultobj;
37975 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37976 wxWindow *arg2 = (wxWindow *) 0 ;
37977 wxGBPosition *arg3 = 0 ;
37978 bool result;
37979 wxGBPosition temp3 ;
37980 PyObject * obj0 = 0 ;
37981 PyObject * obj1 = 0 ;
37982 PyObject * obj2 = 0 ;
37983
37984 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37989 {
37990 arg3 = &temp3;
37991 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37992 }
37993 {
37994 PyThreadState* __tstate = wxPyBeginAllowThreads();
37995 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
37996
37997 wxPyEndAllowThreads(__tstate);
37998 if (PyErr_Occurred()) SWIG_fail;
37999 }
4f89f6a3
RD
38000 {
38001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38002 }
d14a1e28
RD
38003 return resultobj;
38004 fail:
38005 return NULL;
38006}
38007
38008
38009static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
38010 PyObject *resultobj;
38011 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38012 wxSizer *arg2 = (wxSizer *) 0 ;
38013 wxGBPosition *arg3 = 0 ;
38014 bool result;
38015 wxGBPosition temp3 ;
38016 PyObject * obj0 = 0 ;
38017 PyObject * obj1 = 0 ;
38018 PyObject * obj2 = 0 ;
38019
38020 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38025 {
38026 arg3 = &temp3;
38027 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38028 }
38029 {
38030 PyThreadState* __tstate = wxPyBeginAllowThreads();
38031 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38032
38033 wxPyEndAllowThreads(__tstate);
38034 if (PyErr_Occurred()) SWIG_fail;
38035 }
4f89f6a3
RD
38036 {
38037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38038 }
d14a1e28
RD
38039 return resultobj;
38040 fail:
38041 return NULL;
38042}
38043
38044
38045static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
38046 PyObject *resultobj;
38047 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38048 size_t arg2 ;
38049 wxGBPosition *arg3 = 0 ;
38050 bool result;
38051 wxGBPosition temp3 ;
38052 PyObject * obj0 = 0 ;
38053 PyObject * obj1 = 0 ;
38054 PyObject * obj2 = 0 ;
38055
38056 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38059 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38060 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38061 {
38062 arg3 = &temp3;
38063 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38064 }
38065 {
38066 PyThreadState* __tstate = wxPyBeginAllowThreads();
38067 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38068
38069 wxPyEndAllowThreads(__tstate);
38070 if (PyErr_Occurred()) SWIG_fail;
38071 }
4f89f6a3
RD
38072 {
38073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38074 }
d14a1e28
RD
38075 return resultobj;
38076 fail:
38077 return NULL;
38078}
38079
38080
38081static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
38082 int argc;
38083 PyObject *argv[4];
38084 int ii;
38085
38086 argc = PyObject_Length(args);
38087 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38088 argv[ii] = PyTuple_GetItem(args,ii);
38089 }
38090 if (argc == 3) {
38091 int _v;
38092 {
38093 void *ptr;
15afbcd0 38094 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38095 _v = 0;
38096 PyErr_Clear();
38097 } else {
38098 _v = 1;
38099 }
38100 }
38101 if (_v) {
38102 {
38103 void *ptr;
15afbcd0 38104 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38105 _v = 0;
38106 PyErr_Clear();
38107 } else {
38108 _v = 1;
38109 }
38110 }
38111 if (_v) {
38112 {
38113 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38114 }
38115 if (_v) {
38116 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
38117 }
38118 }
38119 }
38120 }
38121 if (argc == 3) {
38122 int _v;
38123 {
38124 void *ptr;
15afbcd0 38125 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38126 _v = 0;
38127 PyErr_Clear();
38128 } else {
38129 _v = 1;
38130 }
38131 }
38132 if (_v) {
38133 {
38134 void *ptr;
15afbcd0 38135 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38136 _v = 0;
38137 PyErr_Clear();
38138 } else {
38139 _v = 1;
38140 }
38141 }
38142 if (_v) {
38143 {
38144 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38145 }
38146 if (_v) {
38147 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
38148 }
38149 }
38150 }
38151 }
38152 if (argc == 3) {
38153 int _v;
38154 {
38155 void *ptr;
15afbcd0 38156 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38157 _v = 0;
38158 PyErr_Clear();
38159 } else {
38160 _v = 1;
38161 }
38162 }
38163 if (_v) {
15afbcd0 38164 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38165 if (_v) {
38166 {
38167 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38168 }
38169 if (_v) {
38170 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
38171 }
38172 }
38173 }
38174 }
38175
38176 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38177 return NULL;
38178}
38179
38180
38181static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38182 PyObject *resultobj;
38183 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38184 wxWindow *arg2 = (wxWindow *) 0 ;
38185 wxGBSpan result;
38186 PyObject * obj0 = 0 ;
38187 PyObject * obj1 = 0 ;
38188
38189 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38194 {
38195 PyThreadState* __tstate = wxPyBeginAllowThreads();
38196 result = (arg1)->GetItemSpan(arg2);
38197
38198 wxPyEndAllowThreads(__tstate);
38199 if (PyErr_Occurred()) SWIG_fail;
38200 }
38201 {
38202 wxGBSpan * resultptr;
38203 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38204 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38205 }
38206 return resultobj;
38207 fail:
38208 return NULL;
38209}
38210
38211
38212static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38213 PyObject *resultobj;
38214 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38215 wxSizer *arg2 = (wxSizer *) 0 ;
38216 wxGBSpan result;
38217 PyObject * obj0 = 0 ;
38218 PyObject * obj1 = 0 ;
38219
38220 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38223 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38225 {
38226 PyThreadState* __tstate = wxPyBeginAllowThreads();
38227 result = (arg1)->GetItemSpan(arg2);
38228
38229 wxPyEndAllowThreads(__tstate);
38230 if (PyErr_Occurred()) SWIG_fail;
38231 }
38232 {
38233 wxGBSpan * resultptr;
38234 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38235 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38236 }
38237 return resultobj;
38238 fail:
38239 return NULL;
38240}
38241
38242
38243static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38244 PyObject *resultobj;
38245 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38246 size_t arg2 ;
38247 wxGBSpan result;
38248 PyObject * obj0 = 0 ;
38249 PyObject * obj1 = 0 ;
38250
38251 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38254 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38255 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38256 {
38257 PyThreadState* __tstate = wxPyBeginAllowThreads();
38258 result = (arg1)->GetItemSpan(arg2);
38259
38260 wxPyEndAllowThreads(__tstate);
38261 if (PyErr_Occurred()) SWIG_fail;
38262 }
38263 {
38264 wxGBSpan * resultptr;
38265 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38266 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38267 }
38268 return resultobj;
38269 fail:
38270 return NULL;
38271}
38272
38273
38274static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
38275 int argc;
38276 PyObject *argv[3];
38277 int ii;
38278
38279 argc = PyObject_Length(args);
38280 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38281 argv[ii] = PyTuple_GetItem(args,ii);
38282 }
38283 if (argc == 2) {
38284 int _v;
38285 {
38286 void *ptr;
15afbcd0 38287 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38288 _v = 0;
38289 PyErr_Clear();
38290 } else {
38291 _v = 1;
38292 }
38293 }
38294 if (_v) {
38295 {
38296 void *ptr;
15afbcd0 38297 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38298 _v = 0;
38299 PyErr_Clear();
38300 } else {
38301 _v = 1;
38302 }
38303 }
38304 if (_v) {
38305 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
38306 }
38307 }
38308 }
38309 if (argc == 2) {
38310 int _v;
38311 {
38312 void *ptr;
15afbcd0 38313 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38314 _v = 0;
38315 PyErr_Clear();
38316 } else {
38317 _v = 1;
38318 }
38319 }
38320 if (_v) {
38321 {
38322 void *ptr;
15afbcd0 38323 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38324 _v = 0;
38325 PyErr_Clear();
38326 } else {
38327 _v = 1;
38328 }
38329 }
38330 if (_v) {
38331 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
38332 }
38333 }
38334 }
38335 if (argc == 2) {
38336 int _v;
38337 {
38338 void *ptr;
15afbcd0 38339 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38340 _v = 0;
38341 PyErr_Clear();
38342 } else {
38343 _v = 1;
38344 }
38345 }
38346 if (_v) {
15afbcd0 38347 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38348 if (_v) {
38349 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
38350 }
38351 }
38352 }
38353
38354 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38355 return NULL;
38356}
38357
38358
38359static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38360 PyObject *resultobj;
38361 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38362 wxWindow *arg2 = (wxWindow *) 0 ;
38363 wxGBSpan *arg3 = 0 ;
38364 bool result;
38365 wxGBSpan temp3 ;
38366 PyObject * obj0 = 0 ;
38367 PyObject * obj1 = 0 ;
38368 PyObject * obj2 = 0 ;
38369
38370 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38373 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38375 {
38376 arg3 = &temp3;
38377 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38378 }
38379 {
38380 PyThreadState* __tstate = wxPyBeginAllowThreads();
38381 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38382
38383 wxPyEndAllowThreads(__tstate);
38384 if (PyErr_Occurred()) SWIG_fail;
38385 }
4f89f6a3
RD
38386 {
38387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38388 }
d14a1e28
RD
38389 return resultobj;
38390 fail:
38391 return NULL;
38392}
38393
38394
38395static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38396 PyObject *resultobj;
38397 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38398 wxSizer *arg2 = (wxSizer *) 0 ;
38399 wxGBSpan *arg3 = 0 ;
38400 bool result;
38401 wxGBSpan temp3 ;
38402 PyObject * obj0 = 0 ;
38403 PyObject * obj1 = 0 ;
38404 PyObject * obj2 = 0 ;
38405
38406 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38411 {
38412 arg3 = &temp3;
38413 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38414 }
38415 {
38416 PyThreadState* __tstate = wxPyBeginAllowThreads();
38417 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38418
38419 wxPyEndAllowThreads(__tstate);
38420 if (PyErr_Occurred()) SWIG_fail;
38421 }
4f89f6a3
RD
38422 {
38423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38424 }
d14a1e28
RD
38425 return resultobj;
38426 fail:
38427 return NULL;
38428}
38429
38430
38431static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38432 PyObject *resultobj;
38433 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38434 size_t arg2 ;
38435 wxGBSpan *arg3 = 0 ;
38436 bool result;
38437 wxGBSpan temp3 ;
38438 PyObject * obj0 = 0 ;
38439 PyObject * obj1 = 0 ;
38440 PyObject * obj2 = 0 ;
38441
38442 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38445 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38446 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38447 {
38448 arg3 = &temp3;
38449 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38450 }
38451 {
38452 PyThreadState* __tstate = wxPyBeginAllowThreads();
38453 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38454
38455 wxPyEndAllowThreads(__tstate);
38456 if (PyErr_Occurred()) SWIG_fail;
38457 }
4f89f6a3
RD
38458 {
38459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38460 }
d14a1e28
RD
38461 return resultobj;
38462 fail:
38463 return NULL;
38464}
38465
38466
38467static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
38468 int argc;
38469 PyObject *argv[4];
38470 int ii;
38471
38472 argc = PyObject_Length(args);
38473 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38474 argv[ii] = PyTuple_GetItem(args,ii);
38475 }
38476 if (argc == 3) {
38477 int _v;
38478 {
38479 void *ptr;
15afbcd0 38480 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38481 _v = 0;
38482 PyErr_Clear();
38483 } else {
38484 _v = 1;
38485 }
38486 }
38487 if (_v) {
38488 {
38489 void *ptr;
15afbcd0 38490 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38491 _v = 0;
38492 PyErr_Clear();
38493 } else {
38494 _v = 1;
38495 }
38496 }
38497 if (_v) {
38498 {
38499 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38500 }
38501 if (_v) {
38502 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
38503 }
38504 }
38505 }
38506 }
38507 if (argc == 3) {
38508 int _v;
38509 {
38510 void *ptr;
15afbcd0 38511 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38512 _v = 0;
38513 PyErr_Clear();
38514 } else {
38515 _v = 1;
38516 }
38517 }
38518 if (_v) {
38519 {
38520 void *ptr;
15afbcd0 38521 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38522 _v = 0;
38523 PyErr_Clear();
38524 } else {
38525 _v = 1;
38526 }
38527 }
38528 if (_v) {
38529 {
38530 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38531 }
38532 if (_v) {
38533 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
38534 }
38535 }
38536 }
38537 }
38538 if (argc == 3) {
38539 int _v;
38540 {
38541 void *ptr;
15afbcd0 38542 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38543 _v = 0;
38544 PyErr_Clear();
38545 } else {
38546 _v = 1;
38547 }
38548 }
38549 if (_v) {
15afbcd0 38550 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38551 if (_v) {
38552 {
38553 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38554 }
38555 if (_v) {
38556 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
38557 }
38558 }
38559 }
38560 }
38561
38562 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38563 return NULL;
38564}
38565
38566
38567static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
38568 PyObject *resultobj;
38569 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38570 wxWindow *arg2 = (wxWindow *) 0 ;
38571 wxGBSizerItem *result;
38572 PyObject * obj0 = 0 ;
38573 PyObject * obj1 = 0 ;
38574
38575 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
38576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38580 {
38581 PyThreadState* __tstate = wxPyBeginAllowThreads();
38582 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38583
38584 wxPyEndAllowThreads(__tstate);
38585 if (PyErr_Occurred()) SWIG_fail;
38586 }
15afbcd0 38587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38588 return resultobj;
38589 fail:
38590 return NULL;
38591}
38592
38593
38594static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
38595 PyObject *resultobj;
38596 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38597 wxSizer *arg2 = (wxSizer *) 0 ;
38598 wxGBSizerItem *result;
38599 PyObject * obj0 = 0 ;
38600 PyObject * obj1 = 0 ;
38601
38602 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
38603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38607 {
38608 PyThreadState* __tstate = wxPyBeginAllowThreads();
38609 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38610
38611 wxPyEndAllowThreads(__tstate);
38612 if (PyErr_Occurred()) SWIG_fail;
38613 }
15afbcd0 38614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38615 return resultobj;
38616 fail:
38617 return NULL;
38618}
38619
38620
38621static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
38622 int argc;
38623 PyObject *argv[3];
38624 int ii;
38625
38626 argc = PyObject_Length(args);
38627 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38628 argv[ii] = PyTuple_GetItem(args,ii);
38629 }
38630 if (argc == 2) {
38631 int _v;
38632 {
38633 void *ptr;
15afbcd0 38634 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38635 _v = 0;
38636 PyErr_Clear();
38637 } else {
38638 _v = 1;
38639 }
38640 }
38641 if (_v) {
38642 {
38643 void *ptr;
15afbcd0 38644 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38645 _v = 0;
38646 PyErr_Clear();
38647 } else {
38648 _v = 1;
38649 }
38650 }
38651 if (_v) {
38652 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
38653 }
38654 }
38655 }
38656 if (argc == 2) {
38657 int _v;
38658 {
38659 void *ptr;
15afbcd0 38660 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38661 _v = 0;
38662 PyErr_Clear();
38663 } else {
38664 _v = 1;
38665 }
38666 }
38667 if (_v) {
38668 {
38669 void *ptr;
15afbcd0 38670 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38671 _v = 0;
38672 PyErr_Clear();
38673 } else {
38674 _v = 1;
38675 }
38676 }
38677 if (_v) {
38678 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
38679 }
38680 }
38681 }
38682
38683 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
38684 return NULL;
38685}
38686
38687
38688static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
38689 PyObject *resultobj;
38690 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38691 wxGBPosition *arg2 = 0 ;
38692 wxGBSizerItem *result;
38693 wxGBPosition temp2 ;
38694 PyObject * obj0 = 0 ;
38695 PyObject * obj1 = 0 ;
38696 char *kwnames[] = {
38697 (char *) "self",(char *) "pos", NULL
38698 };
38699
38700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38703 {
38704 arg2 = &temp2;
38705 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38706 }
38707 {
38708 PyThreadState* __tstate = wxPyBeginAllowThreads();
38709 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
38710
38711 wxPyEndAllowThreads(__tstate);
38712 if (PyErr_Occurred()) SWIG_fail;
38713 }
15afbcd0 38714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38715 return resultobj;
38716 fail:
38717 return NULL;
38718}
38719
38720
e811c8ce
RD
38721static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
38722 PyObject *resultobj;
38723 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38724 wxPoint *arg2 = 0 ;
38725 wxGBSizerItem *result;
38726 wxPoint temp2 ;
38727 PyObject * obj0 = 0 ;
38728 PyObject * obj1 = 0 ;
38729 char *kwnames[] = {
38730 (char *) "self",(char *) "pt", NULL
38731 };
38732
38733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
38736 {
38737 arg2 = &temp2;
38738 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
38739 }
38740 {
38741 PyThreadState* __tstate = wxPyBeginAllowThreads();
38742 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
38743
38744 wxPyEndAllowThreads(__tstate);
38745 if (PyErr_Occurred()) SWIG_fail;
38746 }
15afbcd0 38747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
e811c8ce
RD
38748 return resultobj;
38749 fail:
38750 return NULL;
38751}
38752
38753
248ed943 38754static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38755 PyObject *resultobj;
38756 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38757 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
38758 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
38759 bool result;
38760 PyObject * obj0 = 0 ;
38761 PyObject * obj1 = 0 ;
38762 PyObject * obj2 = 0 ;
248ed943
RD
38763 char *kwnames[] = {
38764 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
38765 };
d14a1e28 38766
248ed943 38767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 38772 if (obj2) {
15afbcd0
RD
38773 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
38774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38775 }
38776 {
38777 PyThreadState* __tstate = wxPyBeginAllowThreads();
38778 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
38779
38780 wxPyEndAllowThreads(__tstate);
38781 if (PyErr_Occurred()) SWIG_fail;
38782 }
4f89f6a3
RD
38783 {
38784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38785 }
d14a1e28
RD
38786 return resultobj;
38787 fail:
38788 return NULL;
38789}
38790
38791
248ed943 38792static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38793 PyObject *resultobj;
38794 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38795 wxGBPosition *arg2 = 0 ;
38796 wxGBSpan *arg3 = 0 ;
38797 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
38798 bool result;
38799 wxGBPosition temp2 ;
38800 wxGBSpan temp3 ;
38801 PyObject * obj0 = 0 ;
38802 PyObject * obj1 = 0 ;
38803 PyObject * obj2 = 0 ;
38804 PyObject * obj3 = 0 ;
248ed943
RD
38805 char *kwnames[] = {
38806 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
38807 };
d14a1e28 38808
248ed943 38809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
38810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38812 {
38813 arg2 = &temp2;
38814 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38815 }
38816 {
38817 arg3 = &temp3;
38818 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38819 }
38820 if (obj3) {
15afbcd0
RD
38821 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
38822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38823 }
38824 {
38825 PyThreadState* __tstate = wxPyBeginAllowThreads();
38826 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
38827
38828 wxPyEndAllowThreads(__tstate);
38829 if (PyErr_Occurred()) SWIG_fail;
38830 }
4f89f6a3
RD
38831 {
38832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38833 }
d14a1e28
RD
38834 return resultobj;
38835 fail:
38836 return NULL;
38837}
38838
38839
d14a1e28
RD
38840static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
38841 PyObject *obj;
38842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38843 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
38844 Py_INCREF(obj);
38845 return Py_BuildValue((char *)"");
38846}
38847static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
38848 PyObject *resultobj;
38849 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38850 int arg2 ;
38851 wxWindow *arg3 = (wxWindow *) 0 ;
38852 int arg4 ;
38853 int arg5 = (int) 0 ;
38854 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
38855 PyObject * obj0 = 0 ;
994141e6 38856 PyObject * obj1 = 0 ;
d14a1e28 38857 PyObject * obj2 = 0 ;
994141e6
RD
38858 PyObject * obj3 = 0 ;
38859 PyObject * obj4 = 0 ;
38860 PyObject * obj5 = 0 ;
d14a1e28
RD
38861 char *kwnames[] = {
38862 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38863 };
38864
994141e6 38865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
38866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38868 arg2 = (wxRelationship) SWIG_AsInt(obj1);
38869 if (PyErr_Occurred()) SWIG_fail;
38870 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38872 arg4 = (wxEdge) SWIG_AsInt(obj3);
38873 if (PyErr_Occurred()) SWIG_fail;
994141e6 38874 if (obj4) {
15afbcd0
RD
38875 arg5 = (int) SWIG_AsInt(obj4);
38876 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
38877 }
38878 if (obj5) {
15afbcd0
RD
38879 arg6 = (int) SWIG_AsInt(obj5);
38880 if (PyErr_Occurred()) SWIG_fail;
994141e6 38881 }
d14a1e28
RD
38882 {
38883 PyThreadState* __tstate = wxPyBeginAllowThreads();
38884 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
38885
38886 wxPyEndAllowThreads(__tstate);
38887 if (PyErr_Occurred()) SWIG_fail;
38888 }
38889 Py_INCREF(Py_None); resultobj = Py_None;
38890 return resultobj;
38891 fail:
38892 return NULL;
38893}
38894
38895
38896static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
38897 PyObject *resultobj;
38898 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38899 wxWindow *arg2 = (wxWindow *) 0 ;
38900 int arg3 = (int) 0 ;
38901 PyObject * obj0 = 0 ;
38902 PyObject * obj1 = 0 ;
994141e6 38903 PyObject * obj2 = 0 ;
d14a1e28
RD
38904 char *kwnames[] = {
38905 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38906 };
38907
994141e6 38908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 38913 if (obj2) {
15afbcd0
RD
38914 arg3 = (int) SWIG_AsInt(obj2);
38915 if (PyErr_Occurred()) SWIG_fail;
994141e6 38916 }
d14a1e28
RD
38917 {
38918 PyThreadState* __tstate = wxPyBeginAllowThreads();
38919 (arg1)->LeftOf(arg2,arg3);
38920
38921 wxPyEndAllowThreads(__tstate);
38922 if (PyErr_Occurred()) SWIG_fail;
38923 }
38924 Py_INCREF(Py_None); resultobj = Py_None;
38925 return resultobj;
38926 fail:
38927 return NULL;
38928}
38929
38930
38931static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
38932 PyObject *resultobj;
38933 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38934 wxWindow *arg2 = (wxWindow *) 0 ;
38935 int arg3 = (int) 0 ;
38936 PyObject * obj0 = 0 ;
38937 PyObject * obj1 = 0 ;
994141e6 38938 PyObject * obj2 = 0 ;
d14a1e28
RD
38939 char *kwnames[] = {
38940 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38941 };
38942
994141e6 38943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 38948 if (obj2) {
15afbcd0
RD
38949 arg3 = (int) SWIG_AsInt(obj2);
38950 if (PyErr_Occurred()) SWIG_fail;
994141e6 38951 }
d14a1e28
RD
38952 {
38953 PyThreadState* __tstate = wxPyBeginAllowThreads();
38954 (arg1)->RightOf(arg2,arg3);
38955
38956 wxPyEndAllowThreads(__tstate);
38957 if (PyErr_Occurred()) SWIG_fail;
38958 }
38959 Py_INCREF(Py_None); resultobj = Py_None;
38960 return resultobj;
38961 fail:
38962 return NULL;
38963}
38964
38965
38966static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
38967 PyObject *resultobj;
38968 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38969 wxWindow *arg2 = (wxWindow *) 0 ;
38970 int arg3 = (int) 0 ;
38971 PyObject * obj0 = 0 ;
38972 PyObject * obj1 = 0 ;
994141e6 38973 PyObject * obj2 = 0 ;
d14a1e28
RD
38974 char *kwnames[] = {
38975 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38976 };
38977
994141e6 38978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38981 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 38983 if (obj2) {
15afbcd0
RD
38984 arg3 = (int) SWIG_AsInt(obj2);
38985 if (PyErr_Occurred()) SWIG_fail;
994141e6 38986 }
d14a1e28
RD
38987 {
38988 PyThreadState* __tstate = wxPyBeginAllowThreads();
38989 (arg1)->Above(arg2,arg3);
38990
38991 wxPyEndAllowThreads(__tstate);
38992 if (PyErr_Occurred()) SWIG_fail;
38993 }
38994 Py_INCREF(Py_None); resultobj = Py_None;
38995 return resultobj;
38996 fail:
38997 return NULL;
38998}
38999
39000
39001static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
39002 PyObject *resultobj;
39003 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39004 wxWindow *arg2 = (wxWindow *) 0 ;
39005 int arg3 = (int) 0 ;
39006 PyObject * obj0 = 0 ;
39007 PyObject * obj1 = 0 ;
994141e6 39008 PyObject * obj2 = 0 ;
d14a1e28
RD
39009 char *kwnames[] = {
39010 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39011 };
39012
994141e6 39013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39018 if (obj2) {
15afbcd0
RD
39019 arg3 = (int) SWIG_AsInt(obj2);
39020 if (PyErr_Occurred()) SWIG_fail;
994141e6 39021 }
d14a1e28
RD
39022 {
39023 PyThreadState* __tstate = wxPyBeginAllowThreads();
39024 (arg1)->Below(arg2,arg3);
39025
39026 wxPyEndAllowThreads(__tstate);
39027 if (PyErr_Occurred()) SWIG_fail;
39028 }
39029 Py_INCREF(Py_None); resultobj = Py_None;
39030 return resultobj;
39031 fail:
39032 return NULL;
39033}
39034
39035
39036static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
39037 PyObject *resultobj;
39038 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39039 wxWindow *arg2 = (wxWindow *) 0 ;
39040 int arg3 ;
39041 int arg4 = (int) 0 ;
39042 PyObject * obj0 = 0 ;
39043 PyObject * obj1 = 0 ;
994141e6
RD
39044 PyObject * obj2 = 0 ;
39045 PyObject * obj3 = 0 ;
d14a1e28
RD
39046 char *kwnames[] = {
39047 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39048 };
39049
994141e6 39050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39053 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39055 arg3 = (wxEdge) SWIG_AsInt(obj2);
39056 if (PyErr_Occurred()) SWIG_fail;
994141e6 39057 if (obj3) {
15afbcd0
RD
39058 arg4 = (int) SWIG_AsInt(obj3);
39059 if (PyErr_Occurred()) SWIG_fail;
994141e6 39060 }
d14a1e28
RD
39061 {
39062 PyThreadState* __tstate = wxPyBeginAllowThreads();
39063 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
39064
39065 wxPyEndAllowThreads(__tstate);
39066 if (PyErr_Occurred()) SWIG_fail;
39067 }
39068 Py_INCREF(Py_None); resultobj = Py_None;
39069 return resultobj;
39070 fail:
39071 return NULL;
39072}
39073
39074
39075static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39076 PyObject *resultobj;
39077 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39078 wxWindow *arg2 = (wxWindow *) 0 ;
39079 int arg3 ;
39080 int arg4 ;
39081 PyObject * obj0 = 0 ;
39082 PyObject * obj1 = 0 ;
994141e6
RD
39083 PyObject * obj2 = 0 ;
39084 PyObject * obj3 = 0 ;
d14a1e28
RD
39085 char *kwnames[] = {
39086 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39087 };
39088
994141e6 39089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39094 arg3 = (wxEdge) SWIG_AsInt(obj2);
39095 if (PyErr_Occurred()) SWIG_fail;
39096 arg4 = (int) SWIG_AsInt(obj3);
39097 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39098 {
39099 PyThreadState* __tstate = wxPyBeginAllowThreads();
39100 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
39101
39102 wxPyEndAllowThreads(__tstate);
39103 if (PyErr_Occurred()) SWIG_fail;
39104 }
39105 Py_INCREF(Py_None); resultobj = Py_None;
39106 return resultobj;
39107 fail:
39108 return NULL;
39109}
39110
39111
39112static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
39113 PyObject *resultobj;
39114 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39115 int arg2 ;
39116 PyObject * obj0 = 0 ;
994141e6 39117 PyObject * obj1 = 0 ;
d14a1e28
RD
39118 char *kwnames[] = {
39119 (char *) "self",(char *) "val", NULL
39120 };
39121
994141e6 39122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39125 arg2 = (int) SWIG_AsInt(obj1);
39126 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39127 {
39128 PyThreadState* __tstate = wxPyBeginAllowThreads();
39129 (arg1)->Absolute(arg2);
39130
39131 wxPyEndAllowThreads(__tstate);
39132 if (PyErr_Occurred()) SWIG_fail;
39133 }
39134 Py_INCREF(Py_None); resultobj = Py_None;
39135 return resultobj;
39136 fail:
39137 return NULL;
39138}
39139
39140
39141static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
39142 PyObject *resultobj;
39143 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39144 PyObject * obj0 = 0 ;
39145 char *kwnames[] = {
39146 (char *) "self", NULL
39147 };
39148
39149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
15afbcd0
RD
39150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39152 {
39153 PyThreadState* __tstate = wxPyBeginAllowThreads();
39154 (arg1)->Unconstrained();
39155
39156 wxPyEndAllowThreads(__tstate);
39157 if (PyErr_Occurred()) SWIG_fail;
39158 }
39159 Py_INCREF(Py_None); resultobj = Py_None;
39160 return resultobj;
39161 fail:
39162 return NULL;
39163}
39164
39165
39166static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
39167 PyObject *resultobj;
39168 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39169 PyObject * obj0 = 0 ;
39170 char *kwnames[] = {
39171 (char *) "self", NULL
39172 };
39173
39174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
15afbcd0
RD
39175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39177 {
39178 PyThreadState* __tstate = wxPyBeginAllowThreads();
39179 (arg1)->AsIs();
39180
39181 wxPyEndAllowThreads(__tstate);
39182 if (PyErr_Occurred()) SWIG_fail;
39183 }
39184 Py_INCREF(Py_None); resultobj = Py_None;
39185 return resultobj;
39186 fail:
39187 return NULL;
39188}
39189
39190
39191static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
39192 PyObject *resultobj;
39193 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39194 wxWindow *result;
39195 PyObject * obj0 = 0 ;
39196 char *kwnames[] = {
39197 (char *) "self", NULL
39198 };
39199
39200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
39201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39203 {
39204 PyThreadState* __tstate = wxPyBeginAllowThreads();
39205 result = (wxWindow *)(arg1)->GetOtherWindow();
39206
39207 wxPyEndAllowThreads(__tstate);
39208 if (PyErr_Occurred()) SWIG_fail;
39209 }
39210 {
412d302d 39211 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
39212 }
39213 return resultobj;
39214 fail:
39215 return NULL;
39216}
39217
39218
39219static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39220 PyObject *resultobj;
39221 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39222 int result;
39223 PyObject * obj0 = 0 ;
39224 char *kwnames[] = {
39225 (char *) "self", NULL
39226 };
39227
39228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
39229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39231 {
39232 PyThreadState* __tstate = wxPyBeginAllowThreads();
39233 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
39234
39235 wxPyEndAllowThreads(__tstate);
39236 if (PyErr_Occurred()) SWIG_fail;
39237 }
15afbcd0 39238 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39239 return resultobj;
39240 fail:
39241 return NULL;
39242}
39243
39244
39245static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39246 PyObject *resultobj;
39247 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39248 int arg2 ;
39249 PyObject * obj0 = 0 ;
994141e6 39250 PyObject * obj1 = 0 ;
d14a1e28
RD
39251 char *kwnames[] = {
39252 (char *) "self",(char *) "which", NULL
39253 };
39254
994141e6 39255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39258 arg2 = (wxEdge) SWIG_AsInt(obj1);
39259 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39260 {
39261 PyThreadState* __tstate = wxPyBeginAllowThreads();
39262 (arg1)->SetEdge((wxEdge )arg2);
39263
39264 wxPyEndAllowThreads(__tstate);
39265 if (PyErr_Occurred()) SWIG_fail;
39266 }
39267 Py_INCREF(Py_None); resultobj = Py_None;
39268 return resultobj;
39269 fail:
39270 return NULL;
39271}
39272
39273
39274static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
39275 PyObject *resultobj;
39276 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39277 int arg2 ;
39278 PyObject * obj0 = 0 ;
994141e6 39279 PyObject * obj1 = 0 ;
d14a1e28
RD
39280 char *kwnames[] = {
39281 (char *) "self",(char *) "v", NULL
39282 };
39283
994141e6 39284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39287 arg2 = (int) SWIG_AsInt(obj1);
39288 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39289 {
39290 PyThreadState* __tstate = wxPyBeginAllowThreads();
39291 (arg1)->SetValue(arg2);
39292
39293 wxPyEndAllowThreads(__tstate);
39294 if (PyErr_Occurred()) SWIG_fail;
39295 }
39296 Py_INCREF(Py_None); resultobj = Py_None;
39297 return resultobj;
39298 fail:
39299 return NULL;
39300}
39301
39302
39303static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
39304 PyObject *resultobj;
39305 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39306 int result;
39307 PyObject * obj0 = 0 ;
39308 char *kwnames[] = {
39309 (char *) "self", NULL
39310 };
39311
39312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
15afbcd0
RD
39313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39315 {
39316 PyThreadState* __tstate = wxPyBeginAllowThreads();
39317 result = (int)(arg1)->GetMargin();
39318
39319 wxPyEndAllowThreads(__tstate);
39320 if (PyErr_Occurred()) SWIG_fail;
39321 }
15afbcd0 39322 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39323 return resultobj;
39324 fail:
39325 return NULL;
39326}
39327
39328
39329static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
39330 PyObject *resultobj;
39331 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39332 int arg2 ;
39333 PyObject * obj0 = 0 ;
994141e6 39334 PyObject * obj1 = 0 ;
d14a1e28
RD
39335 char *kwnames[] = {
39336 (char *) "self",(char *) "m", NULL
39337 };
39338
994141e6 39339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39342 arg2 = (int) SWIG_AsInt(obj1);
39343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39344 {
39345 PyThreadState* __tstate = wxPyBeginAllowThreads();
39346 (arg1)->SetMargin(arg2);
39347
39348 wxPyEndAllowThreads(__tstate);
39349 if (PyErr_Occurred()) SWIG_fail;
39350 }
39351 Py_INCREF(Py_None); resultobj = Py_None;
39352 return resultobj;
39353 fail:
39354 return NULL;
39355}
39356
39357
39358static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
39359 PyObject *resultobj;
39360 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39361 int result;
39362 PyObject * obj0 = 0 ;
39363 char *kwnames[] = {
39364 (char *) "self", NULL
39365 };
39366
39367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
39368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39370 {
39371 PyThreadState* __tstate = wxPyBeginAllowThreads();
39372 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
39373
39374 wxPyEndAllowThreads(__tstate);
39375 if (PyErr_Occurred()) SWIG_fail;
39376 }
15afbcd0 39377 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39378 return resultobj;
39379 fail:
39380 return NULL;
39381}
39382
39383
39384static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
39385 PyObject *resultobj;
39386 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39387 int result;
39388 PyObject * obj0 = 0 ;
39389 char *kwnames[] = {
39390 (char *) "self", NULL
39391 };
39392
39393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
15afbcd0
RD
39394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39396 {
39397 PyThreadState* __tstate = wxPyBeginAllowThreads();
39398 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
39399
39400 wxPyEndAllowThreads(__tstate);
39401 if (PyErr_Occurred()) SWIG_fail;
39402 }
15afbcd0 39403 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39404 return resultobj;
39405 fail:
39406 return NULL;
39407}
39408
39409
39410static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39411 PyObject *resultobj;
39412 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39413 int result;
39414 PyObject * obj0 = 0 ;
39415 char *kwnames[] = {
39416 (char *) "self", NULL
39417 };
39418
39419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
39420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39422 {
39423 PyThreadState* __tstate = wxPyBeginAllowThreads();
39424 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
39425
39426 wxPyEndAllowThreads(__tstate);
39427 if (PyErr_Occurred()) SWIG_fail;
39428 }
15afbcd0 39429 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39430 return resultobj;
39431 fail:
39432 return NULL;
39433}
39434
39435
39436static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
39437 PyObject *resultobj;
39438 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39439 bool result;
39440 PyObject * obj0 = 0 ;
39441 char *kwnames[] = {
39442 (char *) "self", NULL
39443 };
39444
39445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
15afbcd0
RD
39446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39448 {
39449 PyThreadState* __tstate = wxPyBeginAllowThreads();
39450 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
39451
39452 wxPyEndAllowThreads(__tstate);
39453 if (PyErr_Occurred()) SWIG_fail;
39454 }
4f89f6a3
RD
39455 {
39456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39457 }
d14a1e28
RD
39458 return resultobj;
39459 fail:
39460 return NULL;
39461}
39462
39463
39464static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
39465 PyObject *resultobj;
39466 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39467 bool arg2 ;
39468 PyObject * obj0 = 0 ;
39469 PyObject * obj1 = 0 ;
39470 char *kwnames[] = {
39471 (char *) "self",(char *) "d", NULL
39472 };
39473
39474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39477 arg2 = (bool) SWIG_AsBool(obj1);
39478 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39479 {
39480 PyThreadState* __tstate = wxPyBeginAllowThreads();
39481 (arg1)->SetDone(arg2);
39482
39483 wxPyEndAllowThreads(__tstate);
39484 if (PyErr_Occurred()) SWIG_fail;
39485 }
39486 Py_INCREF(Py_None); resultobj = Py_None;
39487 return resultobj;
39488 fail:
39489 return NULL;
39490}
39491
39492
39493static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
39494 PyObject *resultobj;
39495 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39496 int result;
39497 PyObject * obj0 = 0 ;
39498 char *kwnames[] = {
39499 (char *) "self", NULL
39500 };
39501
39502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
15afbcd0
RD
39503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39505 {
39506 PyThreadState* __tstate = wxPyBeginAllowThreads();
39507 result = (int)(arg1)->GetRelationship();
39508
39509 wxPyEndAllowThreads(__tstate);
39510 if (PyErr_Occurred()) SWIG_fail;
39511 }
15afbcd0 39512 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39513 return resultobj;
39514 fail:
39515 return NULL;
39516}
39517
39518
39519static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
39520 PyObject *resultobj;
39521 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39522 int arg2 ;
39523 PyObject * obj0 = 0 ;
994141e6 39524 PyObject * obj1 = 0 ;
d14a1e28
RD
39525 char *kwnames[] = {
39526 (char *) "self",(char *) "r", NULL
39527 };
39528
994141e6 39529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39532 arg2 = (wxRelationship) SWIG_AsInt(obj1);
39533 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39534 {
39535 PyThreadState* __tstate = wxPyBeginAllowThreads();
39536 (arg1)->SetRelationship((wxRelationship )arg2);
39537
39538 wxPyEndAllowThreads(__tstate);
39539 if (PyErr_Occurred()) SWIG_fail;
39540 }
39541 Py_INCREF(Py_None); resultobj = Py_None;
39542 return resultobj;
39543 fail:
39544 return NULL;
39545}
39546
39547
39548static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
39549 PyObject *resultobj;
39550 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39551 wxWindow *arg2 = (wxWindow *) 0 ;
39552 bool result;
39553 PyObject * obj0 = 0 ;
39554 PyObject * obj1 = 0 ;
39555 char *kwnames[] = {
39556 (char *) "self",(char *) "otherW", NULL
39557 };
39558
39559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39564 {
39565 PyThreadState* __tstate = wxPyBeginAllowThreads();
39566 result = (bool)(arg1)->ResetIfWin(arg2);
39567
39568 wxPyEndAllowThreads(__tstate);
39569 if (PyErr_Occurred()) SWIG_fail;
39570 }
4f89f6a3
RD
39571 {
39572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39573 }
d14a1e28
RD
39574 return resultobj;
39575 fail:
39576 return NULL;
39577}
39578
39579
39580static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
39581 PyObject *resultobj;
39582 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39583 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
39584 wxWindow *arg3 = (wxWindow *) 0 ;
39585 bool result;
39586 PyObject * obj0 = 0 ;
39587 PyObject * obj1 = 0 ;
39588 PyObject * obj2 = 0 ;
39589 char *kwnames[] = {
39590 (char *) "self",(char *) "constraints",(char *) "win", NULL
39591 };
39592
39593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39596 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
39597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39598 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39600 {
39601 PyThreadState* __tstate = wxPyBeginAllowThreads();
39602 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
39603
39604 wxPyEndAllowThreads(__tstate);
39605 if (PyErr_Occurred()) SWIG_fail;
39606 }
4f89f6a3
RD
39607 {
39608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39609 }
d14a1e28
RD
39610 return resultobj;
39611 fail:
39612 return NULL;
39613}
39614
39615
39616static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39617 PyObject *resultobj;
39618 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39619 int arg2 ;
39620 wxWindow *arg3 = (wxWindow *) 0 ;
39621 wxWindow *arg4 = (wxWindow *) 0 ;
39622 int result;
39623 PyObject * obj0 = 0 ;
994141e6 39624 PyObject * obj1 = 0 ;
d14a1e28
RD
39625 PyObject * obj2 = 0 ;
39626 PyObject * obj3 = 0 ;
39627 char *kwnames[] = {
39628 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39629 };
39630
994141e6 39631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39634 arg2 = (wxEdge) SWIG_AsInt(obj1);
39635 if (PyErr_Occurred()) SWIG_fail;
39636 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39638 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
39639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39640 {
39641 PyThreadState* __tstate = wxPyBeginAllowThreads();
39642 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
39643
39644 wxPyEndAllowThreads(__tstate);
39645 if (PyErr_Occurred()) SWIG_fail;
39646 }
15afbcd0 39647 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39648 return resultobj;
39649 fail:
39650 return NULL;
39651}
39652
39653
39654static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
39655 PyObject *obj;
39656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39657 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
39658 Py_INCREF(obj);
39659 return Py_BuildValue((char *)"");
39660}
39661static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39662 PyObject *resultobj;
39663 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39664 wxIndividualLayoutConstraint *result;
39665 PyObject * obj0 = 0 ;
39666 char *kwnames[] = {
39667 (char *) "self", NULL
39668 };
39669
39670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39673 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
39674
15afbcd0 39675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39676 return resultobj;
39677 fail:
39678 return NULL;
39679}
39680
39681
39682static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39683 PyObject *resultobj;
39684 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39685 wxIndividualLayoutConstraint *result;
39686 PyObject * obj0 = 0 ;
39687 char *kwnames[] = {
39688 (char *) "self", NULL
39689 };
39690
39691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39694 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
39695
15afbcd0 39696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39697 return resultobj;
39698 fail:
39699 return NULL;
39700}
39701
39702
39703static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39704 PyObject *resultobj;
39705 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39706 wxIndividualLayoutConstraint *result;
39707 PyObject * obj0 = 0 ;
39708 char *kwnames[] = {
39709 (char *) "self", NULL
39710 };
39711
39712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39715 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
39716
15afbcd0 39717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39718 return resultobj;
39719 fail:
39720 return NULL;
39721}
39722
39723
39724static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39725 PyObject *resultobj;
39726 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39727 wxIndividualLayoutConstraint *result;
39728 PyObject * obj0 = 0 ;
39729 char *kwnames[] = {
39730 (char *) "self", NULL
39731 };
39732
39733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39736 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
39737
15afbcd0 39738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39739 return resultobj;
39740 fail:
39741 return NULL;
39742}
39743
39744
39745static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39746 PyObject *resultobj;
39747 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39748 wxIndividualLayoutConstraint *result;
39749 PyObject * obj0 = 0 ;
39750 char *kwnames[] = {
39751 (char *) "self", NULL
39752 };
39753
39754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39757 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
39758
15afbcd0 39759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39760 return resultobj;
39761 fail:
39762 return NULL;
39763}
39764
39765
39766static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39767 PyObject *resultobj;
39768 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39769 wxIndividualLayoutConstraint *result;
39770 PyObject * obj0 = 0 ;
39771 char *kwnames[] = {
39772 (char *) "self", NULL
39773 };
39774
39775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39778 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
39779
15afbcd0 39780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39781 return resultobj;
39782 fail:
39783 return NULL;
39784}
39785
39786
39787static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39788 PyObject *resultobj;
39789 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39790 wxIndividualLayoutConstraint *result;
39791 PyObject * obj0 = 0 ;
39792 char *kwnames[] = {
39793 (char *) "self", NULL
39794 };
39795
39796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39799 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
39800
15afbcd0 39801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39802 return resultobj;
39803 fail:
39804 return NULL;
39805}
39806
39807
39808static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39809 PyObject *resultobj;
39810 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39811 wxIndividualLayoutConstraint *result;
39812 PyObject * obj0 = 0 ;
39813 char *kwnames[] = {
39814 (char *) "self", NULL
39815 };
39816
39817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39820 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
39821
15afbcd0 39822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39823 return resultobj;
39824 fail:
39825 return NULL;
39826}
39827
39828
39829static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
39830 PyObject *resultobj;
39831 wxLayoutConstraints *result;
39832 char *kwnames[] = {
39833 NULL
39834 };
39835
39836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
39837 {
39838 PyThreadState* __tstate = wxPyBeginAllowThreads();
39839 result = (wxLayoutConstraints *)new wxLayoutConstraints();
39840
39841 wxPyEndAllowThreads(__tstate);
39842 if (PyErr_Occurred()) SWIG_fail;
39843 }
15afbcd0 39844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
d14a1e28
RD
39845 return resultobj;
39846 fail:
39847 return NULL;
39848}
39849
39850
39851static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
39852 PyObject *resultobj;
39853 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39854 wxWindow *arg2 = (wxWindow *) 0 ;
39855 int *arg3 = (int *) 0 ;
39856 bool result;
39857 int temp3 ;
39858 PyObject * obj0 = 0 ;
39859 PyObject * obj1 = 0 ;
39860 char *kwnames[] = {
39861 (char *) "self",(char *) "win", NULL
39862 };
39863
39864 arg3 = &temp3;
39865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39868 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39870 {
39871 PyThreadState* __tstate = wxPyBeginAllowThreads();
39872 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
39873
39874 wxPyEndAllowThreads(__tstate);
39875 if (PyErr_Occurred()) SWIG_fail;
39876 }
4f89f6a3
RD
39877 {
39878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39879 }
d14a1e28
RD
39880 {
39881 PyObject *o = PyInt_FromLong((long) (*arg3));
39882 resultobj = t_output_helper(resultobj,o);
39883 }
39884 return resultobj;
39885 fail:
39886 return NULL;
39887}
39888
39889
39890static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
39891 PyObject *resultobj;
39892 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39893 bool result;
39894 PyObject * obj0 = 0 ;
39895 char *kwnames[] = {
39896 (char *) "self", NULL
39897 };
39898
39899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
15afbcd0
RD
39900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39902 {
39903 PyThreadState* __tstate = wxPyBeginAllowThreads();
39904 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
39905
39906 wxPyEndAllowThreads(__tstate);
39907 if (PyErr_Occurred()) SWIG_fail;
39908 }
4f89f6a3
RD
39909 {
39910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39911 }
d14a1e28
RD
39912 return resultobj;
39913 fail:
39914 return NULL;
39915}
39916
39917
39918static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
39919 PyObject *obj;
39920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39921 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
39922 Py_INCREF(obj);
39923 return Py_BuildValue((char *)"");
39924}
39925static PyMethodDef SwigMethods[] = {
39926 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
3a04f143 39927 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS },
d14a1e28
RD
39928 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
39929 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
39930 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
39931 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
39932 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
39933 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
39934 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
39935 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
39936 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
39937 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
39938 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
39939 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
39940 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
39941 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
39942 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
39943 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
39944 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
39945 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
39946 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
39947 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
39948 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS },
39949 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS },
e811c8ce 39950 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39951 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
39952 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
39953 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
39954 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
39955 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
39956 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
39957 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39958 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
39959 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
39960 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
39961 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 39962 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 39963 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39964 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
39965 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
39966 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
39967 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
39968 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
39969 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
39970 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
39971 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
39972 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
39973 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
39974 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
39975 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
39976 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
39977 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 39978 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39979 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
39980 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
39981 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
39982 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
39983 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
39984 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
39985 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
39986 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
39987 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
39988 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
39989 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
39990 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
39991 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
39992 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
39993 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
39994 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
39995 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
c9c7117a
RD
39996 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS },
39997 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS },
39998 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS },
39999 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40000 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
40001 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
40002 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
40003 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
40004 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
40005 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
40006 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
40007 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
40008 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
40009 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
40010 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
40011 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
40012 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
40013 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
40014 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
40015 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
40016 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
40017 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
40018 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
40019 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
40020 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
40021 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
40022 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
40023 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
40024 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
40025 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
40026 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
40027 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
40028 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40029 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40030 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
40031 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
40032 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
40033 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
40034 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
40035 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
40036 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
40037 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
40038 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40039 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
40040 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40041 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
40042 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
40043 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
40044 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
40045 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
40046 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
40047 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
40048 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
40049 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
40050 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
40051 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40052 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
40053 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
40054 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
40055 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
40056 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40057 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40058 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
40059 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
40060 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
40061 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
40062 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
40063 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
40064 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
40065 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
40066 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
40067 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
40068 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
40069 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
40070 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
40071 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
40072 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
40073 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
40074 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
40075 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
40076 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
40077 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
40078 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
40079 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
40080 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
40081 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
40082 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40083 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
40084 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40085 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
40086 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
40087 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
40088 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
40089 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40090 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40091 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40092 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40093 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40094 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
40095 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
40096 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40097 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
40098 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
40099 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
40100 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
40101 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
40102 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
40103 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
40104 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
40105 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
40106 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
40107 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
40108 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
40109 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
40110 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
40111 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
40112 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
40113 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40114 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40115 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
40116 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
40117 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40118 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40119 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40120 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40121 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
40122 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
40123 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
40124 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
40125 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
40126 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
40127 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40128 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40129 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40130 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40131 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
40132 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
40133 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
40134 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
40135 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40136 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
40137 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
40138 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
40139 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
40140 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
40141 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
40142 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
40143 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
40144 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40145 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
40146 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
40147 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
40148 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
40149 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
40150 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
66c033b4 40151 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40152 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
40153 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
40154 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
40155 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
40156 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
40157 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
40158 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
40159 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
40160 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
40161 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
40162 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
40163 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
40164 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
40165 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
40166 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40167 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
40168 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
40169 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
40170 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
40171 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
40172 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
40173 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
40174 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
40175 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
40176 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
40177 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
40178 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
40179 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
b2df227b 40180 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40181 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
40182 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
40183 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
40184 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
40185 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
40186 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40187 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40188 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
40189 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
40190 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40191 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40192 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
40193 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
40194 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
40195 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
40196 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
40197 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
40198 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
40199 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
40200 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
40201 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
40202 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
40203 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
40204 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
40205 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
40206 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
40207 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
40208 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
40209 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
40210 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
40211 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
40212 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
40213 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
40214 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
40215 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
40216 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
d14a1e28
RD
40217 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
40218 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
40219 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
40220 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
40221 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
40222 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
40223 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
40224 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
40225 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
40226 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
40227 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
40228 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
40229 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
40230 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
40231 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
40232 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
40233 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
40234 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
40235 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
40236 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
40237 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
40238 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
40239 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
40240 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
40241 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
40242 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
40243 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
40244 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
40245 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
40246 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
40247 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
40248 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
40249 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
40250 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
40251 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
40252 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
40253 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
40254 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
40255 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
40256 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
40257 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
40258 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
40259 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
40260 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
40261 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
40262 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
40263 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
40264 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
40265 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
40266 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
40267 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
40268 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
40269 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
40270 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
40271 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
40272 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
40273 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
40274 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
40275 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
40276 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
40277 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
40278 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
40279 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
40280 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
40281 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
40282 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
40283 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
40284 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
40285 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
40286 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
40287 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
40288 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
40289 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
40290 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
40291 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
40292 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
40293 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
40294 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
40295 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40296 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40297 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40298 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40299 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
40300 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
40301 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40302 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40303 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40304 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40305 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
40306 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
40307 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
40308 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
40309 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
40310 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
40311 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
40312 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
40313 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
40314 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
40315 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
40316 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
40317 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
412d302d 40318 { (char *)"MouseEvent_CmdDown", (PyCFunction) _wrap_MouseEvent_CmdDown, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40319 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
40320 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
40321 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
40322 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
40323 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
40324 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
40325 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
40326 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
40327 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
40328 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
40329 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
40330 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
40331 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
40332 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
40333 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
40334 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
40335 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40336 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40337 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
40338 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40339 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40340 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
40341 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
40342 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
40343 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
40344 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
40345 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
40346 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
40347 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
40348 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
40349 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
40350 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
40351 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
40352 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
40353 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
40354 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
40355 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
40356 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
40357 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
40358 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
40359 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
40360 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
40361 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
40362 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
40363 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
40364 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
40365 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
40366 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
40367 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
40368 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
40369 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
40370 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40371 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40372 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
40373 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
40374 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
40375 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
40376 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
40377 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
40378 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
40379 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
40380 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
412d302d 40381 { (char *)"KeyEvent_CmdDown", (PyCFunction) _wrap_KeyEvent_CmdDown, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40382 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
40383 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
19272049 40384 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction) _wrap_KeyEvent_GetUnicodeKey, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40385 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
40386 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
40387 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40388 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40389 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40390 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40391 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
40392 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
40393 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
40394 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
40395 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
40396 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
40397 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
40398 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
40399 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
40400 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
40401 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
40402 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
40403 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
40404 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
40405 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
40406 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
40407 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
40408 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
40409 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
40410 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
40411 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
40412 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
40413 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
40414 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
40415 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
40416 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
40417 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
40418 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
40419 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
40420 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
40421 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
40422 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
40423 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40424 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
40425 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
40426 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40427 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
40428 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
40429 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
40430 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
40431 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
40432 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
40433 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
40434 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
40435 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
40436 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
40437 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
40438 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
40439 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
40440 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40441 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
40442 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
40443 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
40444 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40445 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
40446 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
40447 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
40448 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
40449 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
40450 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
40451 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
40452 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
40453 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
40454 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
40455 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
40456 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
40457 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
40458 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
40459 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
40460 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
40461 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
40462 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
40463 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
40464 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
40465 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
40466 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
40467 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
40468 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
40469 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
40470 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
40471 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
40472 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
40473 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40474 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
40475 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
40476 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
40477 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
40478 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
40479 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
40480 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
40481 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
40482 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
40483 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
40484 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
40485 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
40486 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
40487 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
40488 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
40489 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
40490 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
40491 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
40492 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
40493 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
40494 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
40495 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
40496 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
40497 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
40498 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
40499 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
40500 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
40501 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
40502 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
40503 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
40504 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
40505 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
40506 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
40507 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
40508 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
40509 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
40510 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
40511 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
40512 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
40513 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
908b74cd 40514 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction) _wrap_NavigationKeyEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40515 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
40516 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
40517 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
40518 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
40519 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40520 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
40521 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
40522 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40523 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
40524 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
40525 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40526 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40527 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
40528 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
40529 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
40530 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
40531 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
40532 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
40533 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
40534 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
40535 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
40536 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
40537 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
40538 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
40539 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
40540 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
40541 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
40542 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
40543 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
40544 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
40545 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
40546 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
40547 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40548 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
40549 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
40550 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
40551 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
40552 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
40553 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
40554 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
40555 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
40556 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
40557 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
40558 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
40559 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
40560 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
40561 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
40562 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
40563 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
40564 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40565 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
40566 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
40567 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
40568 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
40569 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
40570 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
40571 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
40572 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
40573 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40574 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
6c3b4aae 40575 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40576 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
40577 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
40578 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
40579 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
40580 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
40581 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
40582 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
40583 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
40584 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
40585 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
40586 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
40587 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
40588 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
40589 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
40590 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
40591 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
40592 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
40593 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
40594 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
40595 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
40596 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
1e0c8722
RD
40597 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
40598 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
40599 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
1e0c8722
RD
40600 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
40601 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
40602 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
40603 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
40604 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40605 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40606 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
40607 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
40608 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40609 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
40610 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
40611 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS },
40612 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS },
40613 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS },
40614 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS },
40615 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS },
40616 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS },
40617 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS },
d14a1e28
RD
40618 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
40619 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
40620 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
40621 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
40622 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
40623 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
40624 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
40625 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
40626 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
40627 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
40628 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
40629 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
40630 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
4276dc52
RD
40631 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS },
40632 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40633 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
40634 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
40635 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
40636 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
40637 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
40638 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
40639 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
40640 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
40641 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
40642 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
40643 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
f8167d6e 40644 { (char *)"Window_SetBestFittingSize", (PyCFunction) _wrap_Window_SetBestFittingSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40645 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
40646 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
40647 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
40648 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
40649 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
40650 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
40651 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40652 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
40653 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
40654 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
40655 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
40656 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
40657 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
40658 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
40659 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
40660 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
dfbb5885
RD
40661 { (char *)"Window_InvalidateBestSize", (PyCFunction) _wrap_Window_InvalidateBestSize, METH_VARARGS | METH_KEYWORDS },
40662 { (char *)"Window_GetBestFittingSize", (PyCFunction) _wrap_Window_GetBestFittingSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40663 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
40664 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
40665 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
40666 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
40667 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
40668 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
f16ab95d
RD
40669 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
40670 { (char *)"Window_SetSizeHintsSz", (PyCFunction) _wrap_Window_SetSizeHintsSz, METH_VARARGS | METH_KEYWORDS },
40671 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
40672 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction) _wrap_Window_SetVirtualSizeHintsSz, METH_VARARGS | METH_KEYWORDS },
908b74cd
RD
40673 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
40674 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS },
40675 { (char *)"Window_SetMinSize", (PyCFunction) _wrap_Window_SetMinSize, METH_VARARGS | METH_KEYWORDS },
40676 { (char *)"Window_SetMaxSize", (PyCFunction) _wrap_Window_SetMaxSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40677 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
40678 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
40679 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
40680 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40681 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40682 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
40683 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40684 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
40685 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
40686 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
40687 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
40688 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
40689 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
40690 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
40691 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40692 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
40693 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40694 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
40695 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
40696 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40697 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40698 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
40699 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
40700 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40701 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
40702 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
40703 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
40704 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
40705 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
40706 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40707 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40708 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
908b74cd 40709 { (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS },
7f98d120
RD
40710 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction) _wrap_Window_MoveAfterInTabOrder, METH_VARARGS | METH_KEYWORDS },
40711 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction) _wrap_Window_MoveBeforeInTabOrder, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40712 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
40713 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
40714 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
40715 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
40716 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
40717 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
40718 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
40719 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40720 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40721 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40722 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40723 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
40724 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
40725 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
40726 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
40727 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40728 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS },
40729 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
40730 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
40731 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40732 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40733 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40734 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
40735 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
40736 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
40737 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
40738 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
40739 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
40740 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
40741 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
40742 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
40743 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
40744 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
40745 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
40746 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
40747 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
40748 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
40749 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
40750 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
40751 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
40752 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
40753 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
40754 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
40755 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
40756 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
40757 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
4276dc52 40758 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40759 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
40760 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40761 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
412d302d 40762 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction) _wrap_Window_SetOwnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40763 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
fa47d7a7 40764 { (char *)"Window_SetOwnForegroundColour", (PyCFunction) _wrap_Window_SetOwnForegroundColour, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40765 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40766 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
40767 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
40768 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
40769 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
fa47d7a7 40770 { (char *)"Window_SetOwnFont", (PyCFunction) _wrap_Window_SetOwnFont, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40771 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
40772 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
40773 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
40774 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
40775 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
40776 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
40777 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
40778 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
40779 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
40780 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
40781 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
40782 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
40783 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
15afbcd0 40784 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS },
d14a1e28
RD
40785 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
40786 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
40787 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
40788 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
40789 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
40790 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
40791 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
40792 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
40793 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
40794 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
40795 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
40796 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
40797 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
40798 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
40799 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
40800 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
40801 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
40802 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
40803 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
40804 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
40805 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
40806 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
40807 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
40808 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
40809 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
40810 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
40811 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
40812 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
40813 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
40814 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
40815 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
40816 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
40817 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
40818 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
40819 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
a95a7133
RD
40820 { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS },
40821 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40822 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
40823 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40824 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40825 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
40826 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
40827 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
40828 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
40829 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
40830 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
40831 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
40832 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
40833 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
40834 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
40835 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
40836 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
40837 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
40838 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40839 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
40840 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
40841 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
40842 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
40843 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
40844 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
40845 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
40846 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
40847 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
40848 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
40849 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
40850 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
40851 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
40852 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
40853 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
40854 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
40855 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
40856 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
40857 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
40858 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
40859 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
40860 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
40861 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
40862 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
40863 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
40864 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
40865 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
40866 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
40867 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
40868 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
40869 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
40870 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
40871 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
40872 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
40873 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40874 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
40875 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
40876 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
40877 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
40878 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
40879 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
40880 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
40881 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
40882 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40883 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40884 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
40885 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
40886 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
40887 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
40888 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
40889 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
40890 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
40891 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
40892 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
40893 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
40894 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
40895 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
40896 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
40897 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
40898 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
40899 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
40900 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
40901 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
40902 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
40903 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
40904 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
40905 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
40906 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
40907 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
40908 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
40909 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
40910 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
40911 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
40912 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40913 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
40914 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
40915 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
40916 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
40917 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
40918 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
40919 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
40920 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
40921 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
40922 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
40923 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
40924 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
40925 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
40926 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
40927 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
40928 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
40929 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
40930 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
40931 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
40932 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
a95a7133 40933 { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40934 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
40935 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
40936 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
40937 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
40938 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
40939 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
40940 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40941 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
40942 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
40943 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
40944 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
40945 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
40946 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
40947 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
40948 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
40949 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
40950 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
40951 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
40952 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
40953 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
40954 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
40955 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
40956 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
40957 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
74a57fcd 40958 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40959 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
40960 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
40961 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
40962 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
40963 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
40964 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
40965 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
40966 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
40967 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
40968 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
40969 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
40970 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
40971 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
40972 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
40973 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
40974 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
40975 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
40976 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
40977 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
40978 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40979 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
248ed943 40980 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40981 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
40982 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
40983 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
40984 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
40985 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
40986 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
40987 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
dfbb5885 40988 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction) _wrap_SizerItem_GetMinSizeWithBorder, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40989 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
40990 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
40991 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
40992 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
40993 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
40994 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
40995 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
40996 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
40997 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
40998 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
40999 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
41000 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
41001 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
41002 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
41003 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
41004 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
41005 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
41006 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
41007 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
41008 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
41009 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
41010 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
41011 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
41012 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
41013 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
41014 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
41015 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
41016 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
41017 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
41018 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
1c0f361b 41019 { (char *)"Sizer_Detach", (PyCFunction) _wrap_Sizer_Detach, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41020 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
41021 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41022 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
41023 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
41024 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
41025 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
41026 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
41027 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
41028 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41029 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41030 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41031 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
41032 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
41033 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
41034 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
41035 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
41036 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
41037 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41038 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
41039 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41040 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
41041 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
41042 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
41043 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
41044 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41045 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
41046 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
41047 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
41048 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41049 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
41050 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
41051 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41052 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
41053 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41054 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
41055 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
41056 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
41057 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
41058 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
41059 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
41060 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
41061 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
41062 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
41063 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41064 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
41065 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
41066 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
41067 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
41068 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41069 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41070 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
41071 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41072 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
41073 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41074 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
41075 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
41076 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
41077 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
41078 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
41079 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
41080 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
41081 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41082 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
41083 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41084 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
41085 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
41086 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
41087 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
41088 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
41089 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
41090 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
41091 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41092 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
41093 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41094 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
41095 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
41096 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41097 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41098 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41099 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
41100 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
41101 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
41102 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
248ed943
RD
41103 { (char *)"GBSizerItem_Intersects", (PyCFunction) _wrap_GBSizerItem_Intersects, METH_VARARGS | METH_KEYWORDS },
41104 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction) _wrap_GBSizerItem_IntersectsPos, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41105 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
41106 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
41107 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
41108 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
41109 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
41110 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
41111 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41112 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41113 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41114 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
41115 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
41116 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
41117 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
41118 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
41119 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
e811c8ce 41120 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
248ed943
RD
41121 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction) _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS | METH_KEYWORDS },
41122 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction) _wrap_GridBagSizer_CheckForIntersectionPos, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41123 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
41124 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
41125 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
41126 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
41127 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
41128 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
41129 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
41130 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
41131 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
41132 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
41133 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
41134 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
41135 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
41136 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
41137 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
41138 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
41139 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
41140 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
41141 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
41142 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
41143 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
41144 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
41145 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
41146 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
41147 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
41148 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
41149 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
41150 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
41151 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
41152 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
41153 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
41154 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
41155 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
41156 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
41157 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
41158 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
41159 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
41160 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
41161 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
41162 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
41163 { NULL, NULL }
41164};
41165
41166
41167/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41168
41169static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
41170 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
41171}
41172static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
41173 return (void *)((wxSizer *) ((wxBoxSizer *) x));
41174}
41175static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
41176 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
41177}
41178static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
41179 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41180}
41181static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
41182 return (void *)((wxSizer *) ((wxGridSizer *) x));
41183}
41184static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
41185 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
41186}
41187static void *_p_wxPySizerTo_p_wxSizer(void *x) {
41188 return (void *)((wxSizer *) ((wxPySizer *) x));
41189}
41190static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
41191 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
41192}
41193static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
41194 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
41195}
41196static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
41197 return (void *)((wxEvent *) ((wxMenuEvent *) x));
41198}
41199static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
41200 return (void *)((wxEvent *) ((wxCloseEvent *) x));
41201}
41202static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
41203 return (void *)((wxEvent *) ((wxMouseEvent *) x));
41204}
41205static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
41206 return (void *)((wxEvent *) ((wxEraseEvent *) x));
41207}
41208static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
41209 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
41210}
41211static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
41212 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
41213}
41214static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
41215 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
41216}
41217static void *_p_wxPyEventTo_p_wxEvent(void *x) {
41218 return (void *)((wxEvent *) ((wxPyEvent *) x));
41219}
41220static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
41221 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
41222}
41223static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
41224 return (void *)((wxEvent *) ((wxIdleEvent *) x));
41225}
41226static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
41227 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
41228}
41229static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
41230 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
41231}
41232static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
41233 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
41234}
41235static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
41236 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
41237}
41238static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
41239 return (void *)((wxEvent *) ((wxActivateEvent *) x));
41240}
41241static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
41242 return (void *)((wxEvent *) ((wxSizeEvent *) x));
41243}
41244static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
41245 return (void *)((wxEvent *) ((wxMoveEvent *) x));
41246}
41247static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
41248 return (void *)((wxEvent *) ((wxPaintEvent *) x));
41249}
41250static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
41251 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
41252}
41253static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
41254 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
41255}
41256static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
41257 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
41258}
41259static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
41260 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
41261}
41262static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
41263 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41264}
41265static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
41266 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
41267}
41268static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
41269 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
41270}
41271static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
41272 return (void *)((wxEvent *) ((wxFocusEvent *) x));
41273}
41274static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
41275 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
41276}
41277static void *_p_wxShowEventTo_p_wxEvent(void *x) {
41278 return (void *)((wxEvent *) ((wxShowEvent *) x));
41279}
41280static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
41281 return (void *)((wxEvent *) ((wxCommandEvent *) x));
41282}
41283static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
41284 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
41285}
41286static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
41287 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41288}
41289static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
41290 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
41291}
41292static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
41293 return (void *)((wxEvent *) ((wxKeyEvent *) x));
41294}
41295static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
41296 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
41297}
41298static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
41299 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
41300}
41301static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
41302 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
41303}
41304static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
41305 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
41306}
41307static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
41308 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
41309}
41310static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
41311 return (void *)((wxControl *) ((wxControlWithItems *) x));
41312}
41313static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
41314 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
41315}
41316static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
41317 return (void *)((wxEvtHandler *) ((wxWindow *) x));
41318}
41319static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
41320 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41321}
41322static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
41323 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
41324}
41325static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
41326 return (void *)((wxEvtHandler *) ((wxValidator *) x));
41327}
41328static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
41329 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
41330}
41331static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
41332 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
41333}
41334static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
41335 return (void *)((wxEvtHandler *) ((wxMenu *) x));
41336}
41337static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
41338 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
41339}
41340static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
41341 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
41342}
41343static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
41344 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
41345}
41346static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
41347 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
41348}
41349static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
41350 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
41351}
41352static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
41353 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41354}
41355static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
41356 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
41357}
41358static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
41359 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
41360}
41361static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
41362 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41363}
41364static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
41365 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41366}
41367static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
41368 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
41369}
41370static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
41371 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
41372}
41373static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
41374 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
41375}
41376static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
41377 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
41378}
41379static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
41380 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
41381}
41382static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
41383 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
41384}
41385static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
41386 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
41387}
41388static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
41389 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
41390}
41391static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
41392 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
41393}
41394static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
41395 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
41396}
41397static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
41398 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
41399}
41400static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
41401 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
41402}
41403static void *_p_wxMenuEventTo_p_wxObject(void *x) {
41404 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
41405}
41406static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
41407 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
41408}
41409static void *_p_wxEraseEventTo_p_wxObject(void *x) {
41410 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
41411}
41412static void *_p_wxMouseEventTo_p_wxObject(void *x) {
41413 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
41414}
41415static void *_p_wxCloseEventTo_p_wxObject(void *x) {
41416 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
41417}
41418static void *_p_wxValidatorTo_p_wxObject(void *x) {
41419 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
41420}
41421static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
41422 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
41423}
41424static void *_p_wxMenuBarTo_p_wxObject(void *x) {
41425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
41426}
41427static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
41428 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
41429}
41430static void *_p_wxSizerTo_p_wxObject(void *x) {
41431 return (void *)((wxObject *) ((wxSizer *) x));
41432}
41433static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
41434 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
41435}
41436static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
41437 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
41438}
41439static void *_p_wxMenuTo_p_wxObject(void *x) {
41440 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
41441}
41442static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
41443 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
41444}
41445static void *_p_wxImageTo_p_wxObject(void *x) {
41446 return (void *)((wxObject *) ((wxImage *) x));
41447}
41448static void *_p_wxScrollEventTo_p_wxObject(void *x) {
41449 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
41450}
41451static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
41452 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
41453}
41454static void *_p_wxPyEventTo_p_wxObject(void *x) {
41455 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
41456}
41457static void *_p_wxWindowTo_p_wxObject(void *x) {
41458 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
41459}
41460static void *_p_wxControlTo_p_wxObject(void *x) {
41461 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
41462}
1e0c8722
RD
41463static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
41464 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
41465}
d14a1e28
RD
41466static void *_p_wxGridSizerTo_p_wxObject(void *x) {
41467 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
41468}
41469static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
41470 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
41471}
41472static void *_p_wxPyAppTo_p_wxObject(void *x) {
41473 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
41474}
41475static void *_p_wxEventTo_p_wxObject(void *x) {
41476 return (void *)((wxObject *) ((wxEvent *) x));
41477}
41478static void *_p_wxActivateEventTo_p_wxObject(void *x) {
41479 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
41480}
41481static void *_p_wxMoveEventTo_p_wxObject(void *x) {
41482 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
41483}
41484static void *_p_wxSizeEventTo_p_wxObject(void *x) {
41485 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
41486}
41487static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
41488 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
41489}
41490static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
41491 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
41492}
41493static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
41494 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
41495}
41496static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
41497 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
41498}
41499static void *_p_wxIdleEventTo_p_wxObject(void *x) {
41500 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
41501}
41502static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
41503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41504}
41505static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
41506 return (void *)((wxObject *) ((wxEvtHandler *) x));
41507}
41508static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
41509 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
41510}
41511static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
41512 return (void *)((wxObject *) ((wxImageHandler *) x));
41513}
41514static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
41515 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
41516}
41517static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
41518 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
41519}
41520static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
41521 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41522}
41523static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
41524 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41525}
41526static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
41527 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
41528}
41529static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
41530 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
41531}
41532static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
41533 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
41534}
41535static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
41536 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
41537}
41538static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
41539 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
41540}
41541static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
41542 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
41543}
41544static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
41545 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
41546}
41547static void *_p_wxPaintEventTo_p_wxObject(void *x) {
41548 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
41549}
41550static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
41551 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
41552}
41553static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
41554 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
41555}
41556static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
41557 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41558}
41559static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
41560 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
41561}
41562static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
41563 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
41564}
41565static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
41566 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
41567}
41568static void *_p_wxFileSystemTo_p_wxObject(void *x) {
41569 return (void *)((wxObject *) ((wxFileSystem *) x));
41570}
41571static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
41572 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
41573}
41574static void *_p_wxFocusEventTo_p_wxObject(void *x) {
41575 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
41576}
41577static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
41578 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
41579}
41580static void *_p_wxSizerItemTo_p_wxObject(void *x) {
41581 return (void *)((wxObject *) ((wxSizerItem *) x));
41582}
41583static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
41584 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
41585}
41586static void *_p_wxShowEventTo_p_wxObject(void *x) {
41587 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
41588}
41589static void *_p_wxFSFileTo_p_wxObject(void *x) {
41590 return (void *)((wxObject *) ((wxFSFile *) x));
41591}
41592static void *_p_wxCommandEventTo_p_wxObject(void *x) {
41593 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
41594}
41595static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
41596 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
41597}
41598static void *_p_wxKeyEventTo_p_wxObject(void *x) {
41599 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
41600}
41601static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
41602 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
41603}
41604static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
41605 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41606}
41607static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
41608 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41609}
41610static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
41611 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
41612}
41613static void *_p_wxMenuItemTo_p_wxObject(void *x) {
41614 return (void *)((wxObject *) ((wxMenuItem *) x));
41615}
41616static void *_p_wxPySizerTo_p_wxObject(void *x) {
41617 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
41618}
41619static void *_p_wxControlTo_p_wxWindow(void *x) {
41620 return (void *)((wxWindow *) ((wxControl *) x));
41621}
41622static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
41623 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
41624}
41625static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
41626 return (void *)((wxWindow *) ((wxMenuBar *) x));
41627}
41628static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
41629 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
41630}
41631static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
41632 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
41633}
41634static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
41635 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
41636}
41637static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
41638 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
41639}
41640static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
41641 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41642}
41643static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
41644 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
41645}
41646static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
41647 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
41648}
41649static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
41650 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
41651}
41652static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
41653 return (void *)((wxValidator *) ((wxPyValidator *) x));
41654}
15afbcd0
RD
41655static 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}};
41656static 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}};
41657static 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}};
41658static 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}};
41659static 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}};
41660static 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}};
41661static 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}};
41662static 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}};
41663static 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}};
41664static 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}};
41665static 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}};
41666static 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}};
41667static 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}};
41668static 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}};
41669static 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}};
41670static 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}};
41671static 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}};
41672static 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}};
41673static 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}};
41674static 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}};
41675static 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}};
41676static 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}};
41677static 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}};
41678static 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}};
41679static 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}};
41680static 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}};
41681static 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}};
41682static 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}};
41683static 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}};
41684static 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}};
41685static 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}};
41686static 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}};
41687static 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}};
41688static 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}};
41689static 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}};
41690static 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 41691static 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
41692static 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}};
41693static 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}};
41694static 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}};
41695static 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}};
41696static 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}};
41697static 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}};
41698static 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}};
41699static 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}};
41700static 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}};
41701static 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}};
41702static 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}};
41703static 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}};
41704static 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}};
41705static 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}};
41706static 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}};
41707static 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}};
41708static 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}};
41709static 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}};
41710static 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}};
41711static 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}};
41712static 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}};
41713static 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}};
41714static 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}};
41715static 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}};
41716static 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}};
41717static 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}};
41718static 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}};
41719static 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}};
41720static 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}};
41721static 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}};
41722static 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}};
41723static 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}};
41724static 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}};
41725static 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}};
41726static 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}};
41727static 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}};
41728static 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}};
41729static 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}};
41730static 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}};
41731static 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}};
41732static 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}};
41733static 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}};
41734static 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}};
41735static 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}};
41736static 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}};
41737static 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}};
41738static 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}};
41739static 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}};
41740static 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}};
41741static 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}};
41742static 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}};
41743static 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}};
41744static 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}};
41745static 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}};
41746static 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}};
41747static 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}};
41748static 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}};
41749static 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}};
41750static 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}};
41751static 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}};
41752static 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}};
41753static 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}};
41754static 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}};
41755static 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}};
41756static 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}};
41757static 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}};
41758static 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}};
41759static 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}};
41760static 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}};
41761static 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}};
41762static 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}};
41763static 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}};
41764static 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}};
41765static 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}};
41766static 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}};
41767static 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}};
41768static 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}};
41769static 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
41770
41771static swig_type_info *swig_types_initial[] = {
41772_swigt__p_wxLayoutConstraints,
41773_swigt__p_wxRealPoint,
41774_swigt__p_wxSizerItem,
41775_swigt__p_wxGBSizerItem,
41776_swigt__p_wxScrollEvent,
41777_swigt__p_wxIndividualLayoutConstraint,
41778_swigt__p_wxSizer,
41779_swigt__p_wxBoxSizer,
41780_swigt__p_wxStaticBoxSizer,
41781_swigt__p_wxGridBagSizer,
41782_swigt__p_wxAcceleratorEntry,
41783_swigt__p_wxUpdateUIEvent,
41784_swigt__p_wxMenu,
41785_swigt__p_wxEvent,
41786_swigt__p_wxGridSizer,
41787_swigt__p_wxFlexGridSizer,
41788_swigt__p_wxInitDialogEvent,
41789_swigt__p_wxItemContainer,
41790_swigt__p_wxNcPaintEvent,
41791_swigt__p_wxPaintEvent,
41792_swigt__p_wxSysColourChangedEvent,
41793_swigt__p_wxMouseCaptureChangedEvent,
41794_swigt__p_wxDisplayChangedEvent,
41795_swigt__p_wxPaletteChangedEvent,
41796_swigt__p_wxControl,
41797_swigt__p_wxFont,
41798_swigt__p_wxMenuBarBase,
41799_swigt__p_wxSetCursorEvent,
41800_swigt__p_wxFSFile,
41801_swigt__p_wxCaret,
41802_swigt__p_wxRegion,
41803_swigt__p_wxPoint2D,
41804_swigt__p_int,
41805_swigt__p_wxSize,
41806_swigt__p_wxDC,
41807_swigt__p_wxPySizer,
74a57fcd 41808_swigt__p_wxVisualAttributes,
d14a1e28
RD
41809_swigt__p_wxNotifyEvent,
41810_swigt__p_wxPyEvent,
41811_swigt__p_wxPropagationDisabler,
41812_swigt__p_wxAppTraits,
41813_swigt__p_wxArrayString,
41814_swigt__p_wxShowEvent,
41815_swigt__p_wxToolTip,
4d5c3d91 41816_swigt__p_wxMaximizeEvent,
d14a1e28
RD
41817_swigt__p_wxIconizeEvent,
41818_swigt__p_wxActivateEvent,
41819_swigt__p_wxMoveEvent,
41820_swigt__p_wxSizeEvent,
41821_swigt__p_wxQueryNewPaletteEvent,
41822_swigt__p_wxWindowCreateEvent,
41823_swigt__p_wxIdleEvent,
41824_swigt__p_wxMenuItem,
41825_swigt__p_wxStaticBox,
41826_swigt__p_long,
41827_swigt__p_wxTIFFHandler,
41828_swigt__p_wxXPMHandler,
41829_swigt__p_wxPNMHandler,
41830_swigt__p_wxJPEGHandler,
41831_swigt__p_wxPCXHandler,
41832_swigt__p_wxGIFHandler,
41833_swigt__p_wxPNGHandler,
41834_swigt__p_wxANIHandler,
41835_swigt__p_wxMemoryFSHandler,
41836_swigt__p_wxEvtHandler,
41837_swigt__p_wxCURHandler,
41838_swigt__p_wxICOHandler,
41839_swigt__p_wxBMPHandler,
41840_swigt__p_wxImageHandler,
41841_swigt__p_wxFileSystemHandler,
41842_swigt__p_wxPyFileSystemHandler,
41843_swigt__p_wxInternetFSHandler,
4d5c3d91 41844_swigt__p_wxZipFSHandler,
d14a1e28
RD
41845_swigt__p_wxRect,
41846_swigt__p_wxGBSpan,
41847_swigt__p_wxPropagateOnce,
41848_swigt__p_wxAcceleratorTable,
994141e6 41849_swigt__p_char,
d14a1e28
RD
41850_swigt__p_wxGBPosition,
41851_swigt__p_wxImage,
41852_swigt__p_wxFrame,
41853_swigt__p_wxScrollWinEvent,
41854_swigt__p_wxImageHistogram,
41855_swigt__p_byte,
41856_swigt__p_wxPoint,
41857_swigt__p_wxCursor,
41858_swigt__p_wxObject,
41859_swigt__p_wxPyInputStream,
41860_swigt__p_wxOutputStream,
41861_swigt__p_wxInputStream,
41862_swigt__p_wxDateTime,
41863_swigt__p_wxKeyEvent,
41864_swigt__p_wxNavigationKeyEvent,
41865_swigt__p_wxWindowDestroyEvent,
41866_swigt__p_wxWindow,
41867_swigt__p_wxMenuBar,
d14a1e28
RD
41868_swigt__p_wxFileSystem,
41869_swigt__p_wxBitmap,
41870_swigt__p_wxMenuEvent,
41871_swigt__p_wxContextMenuEvent,
41872_swigt__p_unsigned_char,
41873_swigt__p_wxCloseEvent,
41874_swigt__p_wxEraseEvent,
41875_swigt__p_wxMouseEvent,
41876_swigt__p_wxPyApp,
41877_swigt__p_wxCommandEvent,
41878_swigt__p_wxPyCommandEvent,
7722248d 41879_swigt__p_wxPyDropTarget,
d14a1e28
RD
41880_swigt__p_wxChildFocusEvent,
41881_swigt__p_wxFocusEvent,
41882_swigt__p_wxDropFilesEvent,
41883_swigt__p_wxControlWithItems,
41884_swigt__p_wxColour,
41885_swigt__p_wxValidator,
41886_swigt__p_wxPyValidator,
418870
41888};
41889
41890
41891/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41892
41893static swig_const_info swig_const_table[] = {
d14a1e28
RD
41894{0}};
41895
41896#ifdef __cplusplus
41897}
41898#endif
41899
41900#ifdef __cplusplus
41901extern "C"
41902#endif
41903SWIGEXPORT(void) SWIG_init(void) {
41904 static PyObject *SWIG_globals = 0;
41905 static int typeinit = 0;
41906 PyObject *m, *d;
41907 int i;
41908 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
41909 m = Py_InitModule((char *) SWIG_name, SwigMethods);
41910 d = PyModule_GetDict(m);
41911
41912 if (!typeinit) {
41913 for (i = 0; swig_types_initial[i]; i++) {
41914 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
41915 }
41916 typeinit = 1;
41917 }
41918 SWIG_InstallConstants(d,swig_const_table);
41919
41920
41921#ifndef wxPyUSE_EXPORT
41922 // Make our API structure a CObject so other modules can import it
41923 // from this module.
41924 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
41925 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
41926 Py_XDECREF(cobj);
41927#endif
41928
15afbcd0
RD
41929 PyDict_SetItemString(d,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND));
41930 PyDict_SetItemString(d,"VSCROLL", SWIG_FromInt((int)wxVSCROLL));
41931 PyDict_SetItemString(d,"HSCROLL", SWIG_FromInt((int)wxHSCROLL));
41932 PyDict_SetItemString(d,"CAPTION", SWIG_FromInt((int)wxCAPTION));
41933 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER));
41934 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER));
41935 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER));
41936 PyDict_SetItemString(d,"BORDER", SWIG_FromInt((int)wxBORDER));
41937 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER));
41938 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER));
41939 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW));
41940 PyDict_SetItemString(d,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER));
15afbcd0
RD
41941 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL));
41942 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS));
41943 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW));
41944 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME));
41945 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN));
41946 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN));
15afbcd0
RD
41947 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN));
41948 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM));
41949 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT));
41950 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE));
41951 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE));
41952 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN));
41953 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS));
a95a7133 41954 PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB));
15afbcd0
RD
41955 PyDict_SetItemString(d,"RETAINED", SWIG_FromInt((int)wxRETAINED));
41956 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE));
41957 PyDict_SetItemString(d,"COLOURED", SWIG_FromInt((int)wxCOLOURED));
41958 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH));
41959 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB));
41960 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB));
41961 PyDict_SetItemString(d,"LB_SORT", SWIG_FromInt((int)wxLB_SORT));
41962 PyDict_SetItemString(d,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE));
41963 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE));
41964 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED));
41965 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW));
41966 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL));
41967 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER));
41968 PyDict_SetItemString(d,"PASSWORD", SWIG_FromInt((int)wxPASSWORD));
41969 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE));
41970 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN));
41971 PyDict_SetItemString(d,"CB_SORT", SWIG_FromInt((int)wxCB_SORT));
41972 PyDict_SetItemString(d,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY));
41973 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL));
41974 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL));
41975 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS));
41976 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS));
41977 PyDict_SetItemString(d,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP));
41978 PyDict_SetItemString(d,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE));
41979 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL));
41980 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL));
41981 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS));
41982 PyDict_SetItemString(d,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS));
41983 PyDict_SetItemString(d,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT));
41984 PyDict_SetItemString(d,"SL_TOP", SWIG_FromInt((int)wxSL_TOP));
41985 PyDict_SetItemString(d,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT));
41986 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM));
41987 PyDict_SetItemString(d,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH));
41988 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE));
41989 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL));
41990 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL));
41991 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP));
41992 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE));
41993 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE));
41994 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER));
41995 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE));
41996 PyDict_SetItemString(d,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE));
41997 PyDict_SetItemString(d,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP));
41998 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM));
41999 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT));
42000 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT));
42001 PyDict_SetItemString(d,"OK", SWIG_FromInt((int)wxOK));
42002 PyDict_SetItemString(d,"YES_NO", SWIG_FromInt((int)wxYES_NO));
42003 PyDict_SetItemString(d,"CANCEL", SWIG_FromInt((int)wxCANCEL));
42004 PyDict_SetItemString(d,"YES", SWIG_FromInt((int)wxYES));
42005 PyDict_SetItemString(d,"NO", SWIG_FromInt((int)wxNO));
42006 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT));
42007 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT));
42008 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION));
42009 PyDict_SetItemString(d,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND));
42010 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION));
42011 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION));
42012 PyDict_SetItemString(d,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP));
42013 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK));
42014 PyDict_SetItemString(d,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK));
42015 PyDict_SetItemString(d,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING));
42016 PyDict_SetItemString(d,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR));
42017 PyDict_SetItemString(d,"FORWARD", SWIG_FromInt((int)wxFORWARD));
42018 PyDict_SetItemString(d,"BACKWARD", SWIG_FromInt((int)wxBACKWARD));
42019 PyDict_SetItemString(d,"RESET", SWIG_FromInt((int)wxRESET));
42020 PyDict_SetItemString(d,"HELP", SWIG_FromInt((int)wxHELP));
42021 PyDict_SetItemString(d,"MORE", SWIG_FromInt((int)wxMORE));
42022 PyDict_SetItemString(d,"SETUP", SWIG_FromInt((int)wxSETUP));
42023 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH));
42024 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT));
42025 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO));
42026 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING));
42027 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
42028 PyDict_SetItemString(d,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT));
42029 PyDict_SetItemString(d,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE));
42030 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH));
42031 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM));
42032 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW));
42033 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT));
42034 PyDict_SetItemString(d,"ID_ANY", SWIG_FromInt((int)wxID_ANY));
42035 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR));
42036 PyDict_SetItemString(d,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST));
42037 PyDict_SetItemString(d,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN));
42038 PyDict_SetItemString(d,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE));
42039 PyDict_SetItemString(d,"ID_NEW", SWIG_FromInt((int)wxID_NEW));
42040 PyDict_SetItemString(d,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE));
42041 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS));
42042 PyDict_SetItemString(d,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT));
42043 PyDict_SetItemString(d,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT));
42044 PyDict_SetItemString(d,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO));
42045 PyDict_SetItemString(d,"ID_REDO", SWIG_FromInt((int)wxID_REDO));
42046 PyDict_SetItemString(d,"ID_HELP", SWIG_FromInt((int)wxID_HELP));
42047 PyDict_SetItemString(d,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT));
42048 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP));
42049 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW));
42050 PyDict_SetItemString(d,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT));
42051 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS));
42052 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS));
42053 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES));
42054 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT));
42055 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL));
42056 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES));
42057 PyDict_SetItemString(d,"ID_CUT", SWIG_FromInt((int)wxID_CUT));
42058 PyDict_SetItemString(d,"ID_COPY", SWIG_FromInt((int)wxID_COPY));
42059 PyDict_SetItemString(d,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE));
42060 PyDict_SetItemString(d,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR));
42061 PyDict_SetItemString(d,"ID_FIND", SWIG_FromInt((int)wxID_FIND));
42062 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE));
42063 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL));
42064 PyDict_SetItemString(d,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE));
42065 PyDict_SetItemString(d,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE));
42066 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL));
42067 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES));
42068 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS));
42069 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS));
42070 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS));
42071 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST));
42072 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE));
42073 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME));
42074 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE));
42075 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE));
42076 PyDict_SetItemString(d,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1));
42077 PyDict_SetItemString(d,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2));
42078 PyDict_SetItemString(d,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3));
42079 PyDict_SetItemString(d,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4));
42080 PyDict_SetItemString(d,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5));
42081 PyDict_SetItemString(d,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6));
42082 PyDict_SetItemString(d,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7));
42083 PyDict_SetItemString(d,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8));
42084 PyDict_SetItemString(d,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9));
42085 PyDict_SetItemString(d,"ID_OK", SWIG_FromInt((int)wxID_OK));
42086 PyDict_SetItemString(d,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL));
42087 PyDict_SetItemString(d,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY));
42088 PyDict_SetItemString(d,"ID_YES", SWIG_FromInt((int)wxID_YES));
42089 PyDict_SetItemString(d,"ID_NO", SWIG_FromInt((int)wxID_NO));
42090 PyDict_SetItemString(d,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC));
42091 PyDict_SetItemString(d,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD));
42092 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD));
42093 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT));
42094 PyDict_SetItemString(d,"ID_MORE", SWIG_FromInt((int)wxID_MORE));
42095 PyDict_SetItemString(d,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP));
42096 PyDict_SetItemString(d,"ID_RESET", SWIG_FromInt((int)wxID_RESET));
42097 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP));
42098 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL));
42099 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL));
42100 PyDict_SetItemString(d,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT));
42101 PyDict_SetItemString(d,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY));
42102 PyDict_SetItemString(d,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE));
42103 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST));
42104 PyDict_SetItemString(d,"OPEN", SWIG_FromInt((int)wxOPEN));
42105 PyDict_SetItemString(d,"SAVE", SWIG_FromInt((int)wxSAVE));
42106 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY));
42107 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT));
42108 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST));
42109 PyDict_SetItemString(d,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE));
42110 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR));
42111 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT));
42112 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL));
42113 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT));
42114 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL));
42115 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE));
42116 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL));
42117 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT));
42118 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME));
42119 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME));
42120 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME));
42121 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON));
42122 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE));
42123 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF));
42124 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE));
42125 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
42126 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
42127 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL));
42128 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL));
42129 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
42130 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS));
42131 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT));
42132 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
42133 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE));
42134 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
42135 PyDict_SetItemString(d,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT));
42136 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC));
42137 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC));
42138 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH));
42139 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH));
42140 PyDict_SetItemString(d,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS));
42141 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC));
42142 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC));
42143 PyDict_SetItemString(d,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS));
42144 PyDict_SetItemString(d,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC));
42145 PyDict_SetItemString(d,"CENTRE", SWIG_FromInt((int)wxCENTRE));
42146 PyDict_SetItemString(d,"CENTER", SWIG_FromInt((int)wxCENTER));
42147 PyDict_SetItemString(d,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL));
42148 PyDict_SetItemString(d,"VERTICAL", SWIG_FromInt((int)wxVERTICAL));
42149 PyDict_SetItemString(d,"BOTH", SWIG_FromInt((int)wxBOTH));
42150 PyDict_SetItemString(d,"LEFT", SWIG_FromInt((int)wxLEFT));
42151 PyDict_SetItemString(d,"RIGHT", SWIG_FromInt((int)wxRIGHT));
42152 PyDict_SetItemString(d,"UP", SWIG_FromInt((int)wxUP));
42153 PyDict_SetItemString(d,"DOWN", SWIG_FromInt((int)wxDOWN));
42154 PyDict_SetItemString(d,"TOP", SWIG_FromInt((int)wxTOP));
42155 PyDict_SetItemString(d,"BOTTOM", SWIG_FromInt((int)wxBOTTOM));
42156 PyDict_SetItemString(d,"NORTH", SWIG_FromInt((int)wxNORTH));
42157 PyDict_SetItemString(d,"SOUTH", SWIG_FromInt((int)wxSOUTH));
42158 PyDict_SetItemString(d,"WEST", SWIG_FromInt((int)wxWEST));
42159 PyDict_SetItemString(d,"EAST", SWIG_FromInt((int)wxEAST));
42160 PyDict_SetItemString(d,"ALL", SWIG_FromInt((int)wxALL));
42161 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT));
42162 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
42163 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
42164 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT));
42165 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP));
42166 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT));
42167 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM));
42168 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL));
42169 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL));
42170 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER));
42171 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE));
42172 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK));
42173 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT));
42174 PyDict_SetItemString(d,"SHRINK", SWIG_FromInt((int)wxSHRINK));
42175 PyDict_SetItemString(d,"GROW", SWIG_FromInt((int)wxGROW));
42176 PyDict_SetItemString(d,"EXPAND", SWIG_FromInt((int)wxEXPAND));
42177 PyDict_SetItemString(d,"SHAPED", SWIG_FromInt((int)wxSHAPED));
f52e0cf4 42178 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE));
15afbcd0 42179 PyDict_SetItemString(d,"TILE", SWIG_FromInt((int)wxTILE));
74a57fcd 42180 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE));
15afbcd0
RD
42181 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT));
42182 PyDict_SetItemString(d,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE));
42183 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC));
42184 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE));
42185 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED));
42186 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN));
42187 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE));
42188 PyDict_SetItemString(d,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK));
42189 PyDict_SetItemString(d,"DEFAULT", SWIG_FromInt((int)wxDEFAULT));
42190 PyDict_SetItemString(d,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE));
42191 PyDict_SetItemString(d,"ROMAN", SWIG_FromInt((int)wxROMAN));
42192 PyDict_SetItemString(d,"SCRIPT", SWIG_FromInt((int)wxSCRIPT));
42193 PyDict_SetItemString(d,"SWISS", SWIG_FromInt((int)wxSWISS));
42194 PyDict_SetItemString(d,"MODERN", SWIG_FromInt((int)wxMODERN));
42195 PyDict_SetItemString(d,"TELETYPE", SWIG_FromInt((int)wxTELETYPE));
42196 PyDict_SetItemString(d,"VARIABLE", SWIG_FromInt((int)wxVARIABLE));
42197 PyDict_SetItemString(d,"FIXED", SWIG_FromInt((int)wxFIXED));
42198 PyDict_SetItemString(d,"NORMAL", SWIG_FromInt((int)wxNORMAL));
42199 PyDict_SetItemString(d,"LIGHT", SWIG_FromInt((int)wxLIGHT));
42200 PyDict_SetItemString(d,"BOLD", SWIG_FromInt((int)wxBOLD));
42201 PyDict_SetItemString(d,"ITALIC", SWIG_FromInt((int)wxITALIC));
42202 PyDict_SetItemString(d,"SLANT", SWIG_FromInt((int)wxSLANT));
42203 PyDict_SetItemString(d,"SOLID", SWIG_FromInt((int)wxSOLID));
42204 PyDict_SetItemString(d,"DOT", SWIG_FromInt((int)wxDOT));
42205 PyDict_SetItemString(d,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH));
42206 PyDict_SetItemString(d,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH));
42207 PyDict_SetItemString(d,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH));
42208 PyDict_SetItemString(d,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH));
42209 PyDict_SetItemString(d,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT));
42210 PyDict_SetItemString(d,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE));
42211 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH));
42212 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH));
42213 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH));
42214 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH));
42215 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH));
42216 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH));
42217 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL));
42218 PyDict_SetItemString(d,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER));
42219 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND));
42220 PyDict_SetItemString(d,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND));
42221 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING));
42222 PyDict_SetItemString(d,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT));
42223 PyDict_SetItemString(d,"CLEAR", SWIG_FromInt((int)wxCLEAR));
42224 PyDict_SetItemString(d,"XOR", SWIG_FromInt((int)wxXOR));
42225 PyDict_SetItemString(d,"INVERT", SWIG_FromInt((int)wxINVERT));
42226 PyDict_SetItemString(d,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE));
42227 PyDict_SetItemString(d,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE));
42228 PyDict_SetItemString(d,"COPY", SWIG_FromInt((int)wxCOPY));
42229 PyDict_SetItemString(d,"AND", SWIG_FromInt((int)wxAND));
42230 PyDict_SetItemString(d,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT));
42231 PyDict_SetItemString(d,"NO_OP", SWIG_FromInt((int)wxNO_OP));
42232 PyDict_SetItemString(d,"NOR", SWIG_FromInt((int)wxNOR));
42233 PyDict_SetItemString(d,"EQUIV", SWIG_FromInt((int)wxEQUIV));
42234 PyDict_SetItemString(d,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT));
42235 PyDict_SetItemString(d,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT));
42236 PyDict_SetItemString(d,"NAND", SWIG_FromInt((int)wxNAND));
42237 PyDict_SetItemString(d,"OR", SWIG_FromInt((int)wxOR));
42238 PyDict_SetItemString(d,"SET", SWIG_FromInt((int)wxSET));
42239 PyDict_SetItemString(d,"WXK_BACK", SWIG_FromInt((int)WXK_BACK));
42240 PyDict_SetItemString(d,"WXK_TAB", SWIG_FromInt((int)WXK_TAB));
42241 PyDict_SetItemString(d,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN));
42242 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE));
42243 PyDict_SetItemString(d,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE));
42244 PyDict_SetItemString(d,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE));
42245 PyDict_SetItemString(d,"WXK_START", SWIG_FromInt((int)WXK_START));
42246 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON));
42247 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON));
42248 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL));
42249 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON));
42250 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR));
42251 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT));
42252 PyDict_SetItemString(d,"WXK_ALT", SWIG_FromInt((int)WXK_ALT));
42253 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL));
42254 PyDict_SetItemString(d,"WXK_MENU", SWIG_FromInt((int)WXK_MENU));
42255 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE));
42256 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL));
42257 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR));
42258 PyDict_SetItemString(d,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT));
42259 PyDict_SetItemString(d,"WXK_END", SWIG_FromInt((int)WXK_END));
42260 PyDict_SetItemString(d,"WXK_HOME", SWIG_FromInt((int)WXK_HOME));
42261 PyDict_SetItemString(d,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT));
42262 PyDict_SetItemString(d,"WXK_UP", SWIG_FromInt((int)WXK_UP));
42263 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT));
42264 PyDict_SetItemString(d,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN));
42265 PyDict_SetItemString(d,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT));
42266 PyDict_SetItemString(d,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT));
42267 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE));
42268 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT));
42269 PyDict_SetItemString(d,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT));
42270 PyDict_SetItemString(d,"WXK_HELP", SWIG_FromInt((int)WXK_HELP));
42271 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0));
42272 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1));
42273 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2));
42274 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3));
42275 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4));
42276 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5));
42277 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6));
42278 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7));
42279 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8));
42280 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9));
42281 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY));
42282 PyDict_SetItemString(d,"WXK_ADD", SWIG_FromInt((int)WXK_ADD));
42283 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR));
42284 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT));
42285 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL));
42286 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE));
42287 PyDict_SetItemString(d,"WXK_F1", SWIG_FromInt((int)WXK_F1));
42288 PyDict_SetItemString(d,"WXK_F2", SWIG_FromInt((int)WXK_F2));
42289 PyDict_SetItemString(d,"WXK_F3", SWIG_FromInt((int)WXK_F3));
42290 PyDict_SetItemString(d,"WXK_F4", SWIG_FromInt((int)WXK_F4));
42291 PyDict_SetItemString(d,"WXK_F5", SWIG_FromInt((int)WXK_F5));
42292 PyDict_SetItemString(d,"WXK_F6", SWIG_FromInt((int)WXK_F6));
42293 PyDict_SetItemString(d,"WXK_F7", SWIG_FromInt((int)WXK_F7));
42294 PyDict_SetItemString(d,"WXK_F8", SWIG_FromInt((int)WXK_F8));
42295 PyDict_SetItemString(d,"WXK_F9", SWIG_FromInt((int)WXK_F9));
42296 PyDict_SetItemString(d,"WXK_F10", SWIG_FromInt((int)WXK_F10));
42297 PyDict_SetItemString(d,"WXK_F11", SWIG_FromInt((int)WXK_F11));
42298 PyDict_SetItemString(d,"WXK_F12", SWIG_FromInt((int)WXK_F12));
42299 PyDict_SetItemString(d,"WXK_F13", SWIG_FromInt((int)WXK_F13));
42300 PyDict_SetItemString(d,"WXK_F14", SWIG_FromInt((int)WXK_F14));
42301 PyDict_SetItemString(d,"WXK_F15", SWIG_FromInt((int)WXK_F15));
42302 PyDict_SetItemString(d,"WXK_F16", SWIG_FromInt((int)WXK_F16));
42303 PyDict_SetItemString(d,"WXK_F17", SWIG_FromInt((int)WXK_F17));
42304 PyDict_SetItemString(d,"WXK_F18", SWIG_FromInt((int)WXK_F18));
42305 PyDict_SetItemString(d,"WXK_F19", SWIG_FromInt((int)WXK_F19));
42306 PyDict_SetItemString(d,"WXK_F20", SWIG_FromInt((int)WXK_F20));
42307 PyDict_SetItemString(d,"WXK_F21", SWIG_FromInt((int)WXK_F21));
42308 PyDict_SetItemString(d,"WXK_F22", SWIG_FromInt((int)WXK_F22));
42309 PyDict_SetItemString(d,"WXK_F23", SWIG_FromInt((int)WXK_F23));
42310 PyDict_SetItemString(d,"WXK_F24", SWIG_FromInt((int)WXK_F24));
42311 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK));
42312 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL));
42313 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP));
42314 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN));
42315 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE));
42316 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB));
42317 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER));
42318 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1));
42319 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2));
42320 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3));
42321 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4));
42322 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME));
42323 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT));
42324 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP));
42325 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT));
42326 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN));
42327 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR));
42328 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP));
42329 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT));
42330 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN));
42331 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END));
42332 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN));
42333 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT));
42334 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE));
42335 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL));
42336 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY));
42337 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD));
42338 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR));
42339 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT));
42340 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL));
42341 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE));
42342 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT));
42343 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT));
42344 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU));
42345 PyDict_SetItemString(d,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE));
42346 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER));
42347 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL));
42348 PyDict_SetItemString(d,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4));
42349 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET));
42350 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET));
42351 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET));
42352 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL));
42353 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID));
42354 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER));
42355 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT));
42356 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE));
42357 PyDict_SetItemString(d,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3));
42358 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL));
42359 PyDict_SetItemString(d,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5));
42360 PyDict_SetItemString(d,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4));
42361 PyDict_SetItemString(d,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5));
42362 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO));
42363 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO));
42364 PyDict_SetItemString(d,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14));
42365 PyDict_SetItemString(d,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17));
42366 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE));
42367 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9));
42368 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10));
42369 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11));
42370 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12));
42371 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14));
42372 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL));
42373 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5));
42374 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3));
42375 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4));
42376 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6));
42377 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65));
42378 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4));
42379 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5));
42380 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6));
42381 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY));
42382 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH));
42383 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL));
42384 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US));
42385 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
42386 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
42387 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4));
42388 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
42389 PyDict_SetItemString(d,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11));
42390 PyDict_SetItemString(d,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11));
42391 PyDict_SetItemString(d,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11));
42392 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE));
42393 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA));
42394 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA));
42395 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA));
42396 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA));
42397 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
42398 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE));
42399 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
42400 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS));
42401 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS));
42402 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS));
42403 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS));
42404 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE));
42405 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE));
42406 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA));
42407 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA));
42408 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA));
42409 PyDict_SetItemString(d,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2));
42410 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE));
42411 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
42412 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX));
42413 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL));
42414 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL));
42415 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR));
42416 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL));
42417 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK));
42418 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO));
42419 PyDict_SetItemString(d,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX));
42420 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE));
42421 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST));
42422 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
42423 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
42424 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
42425 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
42426 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB));
42427 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1));
42428 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2));
42429 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST));
42430 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE));
42431 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE));
42432 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
42433 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
42434 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER));
42435 PyDict_SetItemString(d,"HT_MAX", SWIG_FromInt((int)wxHT_MAX));
42436 PyDict_SetItemString(d,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE));
42437 PyDict_SetItemString(d,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT));
42438 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL));
42439 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT));
42440 PyDict_SetItemString(d,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN));
42441 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE));
42442 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE));
42443 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE));
d14a1e28 42444 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
196addbf 42445 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
15afbcd0
RD
42446 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID));
42447 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP));
42448 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO));
42449 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR));
42450 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM));
42451 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
42452 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM));
42453 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
42454 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF));
42455 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF));
42456 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG));
42457 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG));
42458 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM));
42459 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX));
42460 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT));
42461 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON));
42462 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI));
42463 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF));
42464 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
42465 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY));
42466 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE));
42467 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW));
42468 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW));
42469 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE));
42470 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR));
42471 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS));
42472 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND));
42473 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM));
42474 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON));
42475 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER));
42476 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
42477 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY));
42478 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH));
42479 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL));
42480 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT));
42481 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT));
42482 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW));
42483 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON));
42484 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW));
42485 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS));
42486 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE));
42487 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE));
42488 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING));
42489 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN));
42490 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT));
42491 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH));
42492 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK));
42493 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT));
42494 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW));
42495 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT));
42496 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX));
d14a1e28
RD
42497 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
42498 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
15afbcd0
RD
42499 PyDict_SetItemString(d,"FromStart", SWIG_FromInt((int)wxFromStart));
42500 PyDict_SetItemString(d,"FromCurrent", SWIG_FromInt((int)wxFromCurrent));
42501 PyDict_SetItemString(d,"FromEnd", SWIG_FromInt((int)wxFromEnd));
d14a1e28
RD
42502
42503 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42504
42505
42506 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42507
42508 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
42509 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
42510 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
42511 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
42512 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
42513 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
15afbcd0
RD
42514 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
42515 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM));
42516 PyDict_SetItemString(d,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP));
42517 PyDict_SetItemString(d,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP));
42518 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY));
42519 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY));
42520 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED));
42521 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE));
42522 PyDict_SetItemString(d,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP));
42523 PyDict_SetItemString(d,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP));
42524 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW));
42525 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE));
42526 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX));
d14a1e28
RD
42527 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
42528 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
42529 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
42530 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
42531 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
42532 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
42533 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
42534 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
42535 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
42536 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
42537 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
42538 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
42539 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
42540 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
42541 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
42542 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
42543 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
42544 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
42545 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
42546 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
42547 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
42548 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
42549 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
42550 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
42551 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
42552 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
42553 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
42554 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
42555 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
42556 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
42557 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
42558 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
42559 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
42560 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
42561 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
42562 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
42563 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
42564 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
42565 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
42566 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
42567 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
42568 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
42569 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
42570 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
42571 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
42572 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
42573 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
42574 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
42575 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
42576 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
42577 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
42578 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
42579 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
42580 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
42581 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
42582 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
42583 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
42584 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
42585 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
42586 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
42587 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
42588 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
42589 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
42590 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
42591 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
42592 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
42593 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
42594 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
42595 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
42596 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
42597 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
42598 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
42599 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
42600 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
42601 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
42602 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
42603 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
42604 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
42605 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
42606 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
42607 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
42608 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
42609 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
42610 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
42611 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
42612 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
42613 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
42614 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
42615 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
42616 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
42617 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
42618 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
42619 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
42620 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
42621 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
42622 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
42623 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
42624 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
42625 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
42626 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
42627 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
42628 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
42629 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
42630 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
42631 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
42632 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
42633 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
42634 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
42635 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
42636 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
42637 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
42638 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
42639 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
42640 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
15afbcd0
RD
42641 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY));
42642 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE));
42643 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT));
42644 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE));
42645 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT));
42646 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
42647 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
b0f7404b 42648 PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_FromInt((int)wxNavigationKeyEvent::IsBackward));
908b74cd
RD
42649 PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_FromInt((int)wxNavigationKeyEvent::IsForward));
42650 PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_FromInt((int)wxNavigationKeyEvent::WinChange));
15afbcd0
RD
42651 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL));
42652 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
42653 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
42654 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
42655 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG));
42656 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG));
42657 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS));
42658 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT));
1e0c8722 42659 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
e811c8ce 42660 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
4276dc52
RD
42661 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL));
42662 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL));
42663 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI));
42664 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE));
74a57fcd 42665 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX));
d14a1e28 42666 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
b2dc1044 42667 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
15afbcd0
RD
42668 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE));
42669 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
42670 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL));
d14a1e28 42671 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
15afbcd0
RD
42672 PyDict_SetItemString(d,"Left", SWIG_FromInt((int)wxLeft));
42673 PyDict_SetItemString(d,"Top", SWIG_FromInt((int)wxTop));
42674 PyDict_SetItemString(d,"Right", SWIG_FromInt((int)wxRight));
42675 PyDict_SetItemString(d,"Bottom", SWIG_FromInt((int)wxBottom));
42676 PyDict_SetItemString(d,"Width", SWIG_FromInt((int)wxWidth));
42677 PyDict_SetItemString(d,"Height", SWIG_FromInt((int)wxHeight));
42678 PyDict_SetItemString(d,"Centre", SWIG_FromInt((int)wxCentre));
42679 PyDict_SetItemString(d,"Center", SWIG_FromInt((int)wxCenter));
42680 PyDict_SetItemString(d,"CentreX", SWIG_FromInt((int)wxCentreX));
42681 PyDict_SetItemString(d,"CentreY", SWIG_FromInt((int)wxCentreY));
42682 PyDict_SetItemString(d,"Unconstrained", SWIG_FromInt((int)wxUnconstrained));
42683 PyDict_SetItemString(d,"AsIs", SWIG_FromInt((int)wxAsIs));
42684 PyDict_SetItemString(d,"PercentOf", SWIG_FromInt((int)wxPercentOf));
42685 PyDict_SetItemString(d,"Above", SWIG_FromInt((int)wxAbove));
42686 PyDict_SetItemString(d,"Below", SWIG_FromInt((int)wxBelow));
42687 PyDict_SetItemString(d,"LeftOf", SWIG_FromInt((int)wxLeftOf));
42688 PyDict_SetItemString(d,"RightOf", SWIG_FromInt((int)wxRightOf));
42689 PyDict_SetItemString(d,"SameAs", SWIG_FromInt((int)wxSameAs));
42690 PyDict_SetItemString(d,"Absolute", SWIG_FromInt((int)wxAbsolute));
d14a1e28
RD
42691
42692 // Initialize threading, some globals and such
42693 __wxPyPreStart(d);
42694
42695
42696 // Although these are defined in __version__ they need to be here too so
42697 // that an assert can be done to ensure that the wxPython and the wxWindows
42698 // versions match.
42699 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
42700 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
42701 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
42702
42703}
42704