]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_core_wrap.cpp
little tweaks to match recent CVS changes
[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){
1608 self->SetClientObject(new wxPyOORClientData(_self));
1609 }
1610void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1611
1612 wxPyUserData* data = NULL;
4f89f6a3 1613 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1614 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1615 if ( userData && (info.window || info.sizer || info.gotSize) )
1616 data = new wxPyUserData(userData);
4f89f6a3 1617 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1618
1619 // Now call the real Add method if a valid item type was found
1620 if ( info.window )
1621 self->Add(info.window, proportion, flag, border, data);
1622 else if ( info.sizer )
1623 self->Add(info.sizer, proportion, flag, border, data);
1624 else if (info.gotSize)
1625 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1626 proportion, flag, border, data);
1627 }
1628void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1629
1630 wxPyUserData* data = NULL;
4f89f6a3 1631 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1632 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1633 if ( userData && (info.window || info.sizer || info.gotSize) )
1634 data = new wxPyUserData(userData);
4f89f6a3 1635 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1636
1637 // Now call the real Insert method if a valid item type was found
1638 if ( info.window )
1639 self->Insert(before, info.window, proportion, flag, border, data);
1640 else if ( info.sizer )
1641 self->Insert(before, info.sizer, proportion, flag, border, data);
1642 else if (info.gotSize)
1643 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1644 proportion, flag, border, data);
1645 }
1646void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1647
1648 wxPyUserData* data = NULL;
4f89f6a3 1649 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1650 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1651 if ( userData && (info.window || info.sizer || info.gotSize) )
1652 data = new wxPyUserData(userData);
4f89f6a3 1653 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1654
1655 // Now call the real Prepend method if a valid item type was found
1656 if ( info.window )
1657 self->Prepend(info.window, proportion, flag, border, data);
1658 else if ( info.sizer )
1659 self->Prepend(info.sizer, proportion, flag, border, data);
1660 else if (info.gotSize)
1661 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1662 proportion, flag, border, data);
1663 }
1664bool wxSizer_Remove(wxSizer *self,PyObject *item){
4f89f6a3 1665 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1666 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
4f89f6a3 1667 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1668 if ( info.window )
1669 return self->Remove(info.window);
1670 else if ( info.sizer )
1671 return self->Remove(info.sizer);
1672 else if ( info.gotPos )
1673 return self->Remove(info.pos);
1674 else
e811c8ce 1675 return False;
d14a1e28 1676 }
1c0f361b
RD
1677bool wxSizer_Detach(wxSizer *self,PyObject *item){
1678 bool blocked = wxPyBeginBlockThreads();
1679 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1680 wxPyEndBlockThreads(blocked);
1681 if ( info.window )
1682 return self->Detach(info.window);
1683 else if ( info.sizer )
1684 return self->Detach(info.sizer);
1685 else if ( info.gotPos )
1686 return self->Detach(info.pos);
1687 else
1688 return False;
1689 }
e811c8ce 1690void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
4f89f6a3 1691 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1692 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
4f89f6a3 1693 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1694 if ( info.window )
1695 self->SetItemMinSize(info.window, size);
1696 else if ( info.sizer )
1697 self->SetItemMinSize(info.sizer, size);
1698 else if ( info.gotPos )
1699 self->SetItemMinSize(info.pos, size);
1700 }
1701PyObject *wxSizer_GetChildren(wxSizer *self){
1702 wxSizerItemList& list = self->GetChildren();
1703 return wxPy_ConvertList(&list);
1704 }
1705void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
03e37cd5 1706 bool blocked = wxPyBeginBlockThreads();
248ed943 1707 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
03e37cd5 1708 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1709 if ( info.window )
1710 self->Show(info.window, show);
1711 else if ( info.sizer )
1712 self->Show(info.sizer, show);
248ed943
RD
1713 else if ( info.gotPos )
1714 self->Show(info.pos, show);
d14a1e28
RD
1715 }
1716bool wxSizer_IsShown(wxSizer *self,PyObject *item){
03e37cd5 1717 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1718 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
03e37cd5 1719 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1720 if ( info.window )
1721 return self->IsShown(info.window);
1722 else if ( info.sizer )
1723 return self->IsShown(info.sizer);
248ed943
RD
1724 else if ( info.gotPos )
1725 return self->IsShown(info.pos);
d14a1e28 1726 else
e811c8ce 1727 return False;
d14a1e28
RD
1728 }
1729
1730// See pyclasses.h
1731IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1732IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1733IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1734
1735
1736
1737
1738bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1739{
4f89f6a3
RD
1740 if (source == Py_None) {
1741 **obj = wxGBPosition(-1,-1);
1742 return True;
1743 }
d14a1e28
RD
1744 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1745}
1746
1747bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1748{
4f89f6a3
RD
1749 if (source == Py_None) {
1750 **obj = wxGBSpan(-1,-1);
1751 return True;
1752 }
d14a1e28
RD
1753 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1754}
1755
1756
e811c8ce
RD
1757void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1758 self->SetRow(row);
1759 self->SetCol(col);
1760 }
1761PyObject *wxGBPosition_Get(wxGBPosition *self){
4f89f6a3 1762 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1763 PyObject* tup = PyTuple_New(2);
1764 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1765 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
4f89f6a3 1766 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1767 return tup;
1768 }
e811c8ce
RD
1769void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1770 self->SetRowspan(rowspan);
1771 self->SetColspan(colspan);
1772 }
1773PyObject *wxGBSpan_Get(wxGBSpan *self){
4f89f6a3 1774 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1775 PyObject* tup = PyTuple_New(2);
1776 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1777 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
4f89f6a3 1778 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1779 return tup;
1780 }
248ed943
RD
1781wxGBSizerItem *new_wxGBSizerItem(wxWindow *window,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1782 wxPyUserData* data = NULL;
1783 if ( userData ) {
1784 bool blocked = wxPyBeginBlockThreads();
1785 data = new wxPyUserData(userData);
1786 wxPyEndBlockThreads(blocked);
1787 }
1788 return new wxGBSizerItem(window, pos, span, flag, border, data);
1789 }
1790wxGBSizerItem *new_wxGBSizerItem(wxSizer *sizer,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1791 wxPyUserData* data = NULL;
1792 if ( userData ) {
1793 bool blocked = wxPyBeginBlockThreads();
1794 data = new wxPyUserData(userData);
1795 wxPyEndBlockThreads(blocked);
1796 }
1797 return new wxGBSizerItem(sizer, pos, span, flag, border, data);
1798 }
1799wxGBSizerItem *new_wxGBSizerItem(int width,int height,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1800 wxPyUserData* data = NULL;
1801 if ( userData ) {
1802 bool blocked = wxPyBeginBlockThreads();
1803 data = new wxPyUserData(userData);
1804 wxPyEndBlockThreads(blocked);
1805 }
1806 return new wxGBSizerItem(width, height, pos, span, flag, border, data);
1807 }
1808wxGBPosition wxGBSizerItem_GetEndPos(wxGBSizerItem *self){
1809 int row, col;
1810 self->GetEndPos(row, col);
1811 return wxGBPosition(row, col);
1812 }
d14a1e28
RD
1813bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1814
1815 wxPyUserData* data = NULL;
4f89f6a3 1816 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1817 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1818 if ( userData && (info.window || info.sizer || info.gotSize) )
1819 data = new wxPyUserData(userData);
4f89f6a3 1820 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1821
1822 // Now call the real Add method if a valid item type was found
1823 if ( info.window )
1824 return self->Add(info.window, pos, span, flag, border, data);
1825 else if ( info.sizer )
1826 return self->Add(info.sizer, pos, span, flag, border, data);
1827 else if (info.gotSize)
1828 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1829 pos, span, flag, border, data);
e811c8ce 1830 return False;
d14a1e28
RD
1831 }
1832
1833
1834#ifdef __cplusplus
1835extern "C" {
1836#endif
196addbf
RD
1837static int _wrap_EmptyString_set(PyObject *_val) {
1838 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1839 return 1;
1840}
1841
1842
1843static PyObject *_wrap_EmptyString_get() {
1844 PyObject *pyobj;
1845
1846 {
1847#if wxUSE_UNICODE
1848 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1849#else
1850 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1851#endif
1852 }
1853 return pyobj;
1854}
1855
1856
d14a1e28
RD
1857static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1858 PyObject *resultobj;
1859 wxObject *arg1 = (wxObject *) 0 ;
1860 wxString result;
1861 PyObject * obj0 = 0 ;
1862 char *kwnames[] = {
1863 (char *) "self", NULL
1864 };
1865
1866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
1867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1869 {
1870 PyThreadState* __tstate = wxPyBeginAllowThreads();
1871 result = wxObject_GetClassName(arg1);
1872
1873 wxPyEndAllowThreads(__tstate);
1874 if (PyErr_Occurred()) SWIG_fail;
1875 }
1876 {
1877#if wxUSE_UNICODE
1878 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1879#else
1880 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1881#endif
1882 }
1883 return resultobj;
1884 fail:
1885 return NULL;
1886}
1887
1888
1889static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1890 PyObject *resultobj;
1891 wxObject *arg1 = (wxObject *) 0 ;
1892 PyObject * obj0 = 0 ;
1893 char *kwnames[] = {
1894 (char *) "self", NULL
1895 };
1896
1897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
1898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1900 {
1901 PyThreadState* __tstate = wxPyBeginAllowThreads();
1902 wxObject_Destroy(arg1);
1903
1904 wxPyEndAllowThreads(__tstate);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 }
1907 Py_INCREF(Py_None); resultobj = Py_None;
1908 return resultobj;
1909 fail:
1910 return NULL;
1911}
1912
1913
1914static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1915 PyObject *obj;
1916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1917 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1918 Py_INCREF(obj);
1919 return Py_BuildValue((char *)"");
1920}
1921static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 wxSize *arg1 = (wxSize *) 0 ;
1924 int arg2 ;
1925 PyObject * obj0 = 0 ;
994141e6 1926 PyObject * obj1 = 0 ;
d14a1e28
RD
1927 char *kwnames[] = {
1928 (char *) "self",(char *) "x", NULL
1929 };
1930
994141e6 1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1934 arg2 = (int) SWIG_AsInt(obj1);
1935 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1936 if (arg1) (arg1)->x = arg2;
1937
1938 Py_INCREF(Py_None); resultobj = Py_None;
1939 return resultobj;
1940 fail:
1941 return NULL;
1942}
1943
1944
1945static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1946 PyObject *resultobj;
1947 wxSize *arg1 = (wxSize *) 0 ;
1948 int result;
1949 PyObject * obj0 = 0 ;
1950 char *kwnames[] = {
1951 (char *) "self", NULL
1952 };
1953
1954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
1955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1957 result = (int) ((arg1)->x);
1958
15afbcd0 1959 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1960 return resultobj;
1961 fail:
1962 return NULL;
1963}
1964
1965
1966static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1967 PyObject *resultobj;
1968 wxSize *arg1 = (wxSize *) 0 ;
1969 int arg2 ;
1970 PyObject * obj0 = 0 ;
994141e6 1971 PyObject * obj1 = 0 ;
d14a1e28
RD
1972 char *kwnames[] = {
1973 (char *) "self",(char *) "y", NULL
1974 };
1975
994141e6 1976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1979 arg2 = (int) SWIG_AsInt(obj1);
1980 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1981 if (arg1) (arg1)->y = arg2;
1982
1983 Py_INCREF(Py_None); resultobj = Py_None;
1984 return resultobj;
1985 fail:
1986 return NULL;
1987}
1988
1989
1990static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1991 PyObject *resultobj;
1992 wxSize *arg1 = (wxSize *) 0 ;
1993 int result;
1994 PyObject * obj0 = 0 ;
1995 char *kwnames[] = {
1996 (char *) "self", NULL
1997 };
1998
1999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2002 result = (int) ((arg1)->y);
2003
15afbcd0 2004 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2005 return resultobj;
2006 fail:
2007 return NULL;
2008}
2009
2010
2011static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
2012 PyObject *resultobj;
2013 int arg1 = (int) 0 ;
2014 int arg2 = (int) 0 ;
2015 wxSize *result;
994141e6
RD
2016 PyObject * obj0 = 0 ;
2017 PyObject * obj1 = 0 ;
d14a1e28
RD
2018 char *kwnames[] = {
2019 (char *) "w",(char *) "h", NULL
2020 };
2021
994141e6
RD
2022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
2023 if (obj0) {
15afbcd0
RD
2024 arg1 = (int) SWIG_AsInt(obj0);
2025 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2026 }
2027 if (obj1) {
15afbcd0
RD
2028 arg2 = (int) SWIG_AsInt(obj1);
2029 if (PyErr_Occurred()) SWIG_fail;
994141e6 2030 }
d14a1e28
RD
2031 {
2032 PyThreadState* __tstate = wxPyBeginAllowThreads();
2033 result = (wxSize *)new wxSize(arg1,arg2);
2034
2035 wxPyEndAllowThreads(__tstate);
2036 if (PyErr_Occurred()) SWIG_fail;
2037 }
15afbcd0 2038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2039 return resultobj;
2040 fail:
2041 return NULL;
2042}
2043
2044
2045static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
2046 PyObject *resultobj;
2047 wxSize *arg1 = (wxSize *) 0 ;
2048 PyObject * obj0 = 0 ;
2049 char *kwnames[] = {
2050 (char *) "self", NULL
2051 };
2052
2053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
15afbcd0
RD
2054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2056 {
2057 PyThreadState* __tstate = wxPyBeginAllowThreads();
2058 delete arg1;
2059
2060 wxPyEndAllowThreads(__tstate);
2061 if (PyErr_Occurred()) SWIG_fail;
2062 }
2063 Py_INCREF(Py_None); resultobj = Py_None;
2064 return resultobj;
2065 fail:
2066 return NULL;
2067}
2068
2069
2070static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2071 PyObject *resultobj;
2072 wxSize *arg1 = (wxSize *) 0 ;
2073 wxSize *arg2 = 0 ;
2074 bool result;
2075 wxSize temp2 ;
2076 PyObject * obj0 = 0 ;
2077 PyObject * obj1 = 0 ;
2078 char *kwnames[] = {
2079 (char *) "self",(char *) "sz", NULL
2080 };
2081
2082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2085 {
2086 arg2 = &temp2;
2087 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2088 }
2089 {
2090 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2091 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
2092
2093 wxPyEndAllowThreads(__tstate);
2094 if (PyErr_Occurred()) SWIG_fail;
2095 }
4f89f6a3
RD
2096 {
2097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2098 }
d14a1e28
RD
2099 return resultobj;
2100 fail:
2101 return NULL;
2102}
2103
2104
2105static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2106 PyObject *resultobj;
2107 wxSize *arg1 = (wxSize *) 0 ;
2108 wxSize *arg2 = 0 ;
2109 bool result;
2110 wxSize temp2 ;
2111 PyObject * obj0 = 0 ;
2112 PyObject * obj1 = 0 ;
2113 char *kwnames[] = {
2114 (char *) "self",(char *) "sz", NULL
2115 };
2116
2117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2120 {
2121 arg2 = &temp2;
2122 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2123 }
2124 {
2125 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2126 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
2127
2128 wxPyEndAllowThreads(__tstate);
2129 if (PyErr_Occurred()) SWIG_fail;
2130 }
4f89f6a3
RD
2131 {
2132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2133 }
d14a1e28
RD
2134 return resultobj;
2135 fail:
2136 return NULL;
2137}
2138
2139
2140static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2141 PyObject *resultobj;
2142 wxSize *arg1 = (wxSize *) 0 ;
2143 wxSize *arg2 = 0 ;
2144 wxSize result;
2145 wxSize temp2 ;
2146 PyObject * obj0 = 0 ;
2147 PyObject * obj1 = 0 ;
2148 char *kwnames[] = {
2149 (char *) "self",(char *) "sz", NULL
2150 };
2151
2152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2155 {
2156 arg2 = &temp2;
2157 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2158 }
2159 {
2160 PyThreadState* __tstate = wxPyBeginAllowThreads();
2161 result = (arg1)->operator +((wxSize const &)*arg2);
2162
2163 wxPyEndAllowThreads(__tstate);
2164 if (PyErr_Occurred()) SWIG_fail;
2165 }
2166 {
2167 wxSize * resultptr;
2168 resultptr = new wxSize((wxSize &) result);
15afbcd0 2169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2170 }
2171 return resultobj;
2172 fail:
2173 return NULL;
2174}
2175
2176
2177static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2178 PyObject *resultobj;
2179 wxSize *arg1 = (wxSize *) 0 ;
2180 wxSize *arg2 = 0 ;
2181 wxSize result;
2182 wxSize temp2 ;
2183 PyObject * obj0 = 0 ;
2184 PyObject * obj1 = 0 ;
2185 char *kwnames[] = {
2186 (char *) "self",(char *) "sz", NULL
2187 };
2188
2189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2192 {
2193 arg2 = &temp2;
2194 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2195 }
2196 {
2197 PyThreadState* __tstate = wxPyBeginAllowThreads();
2198 result = (arg1)->operator -((wxSize const &)*arg2);
2199
2200 wxPyEndAllowThreads(__tstate);
2201 if (PyErr_Occurred()) SWIG_fail;
2202 }
2203 {
2204 wxSize * resultptr;
2205 resultptr = new wxSize((wxSize &) result);
15afbcd0 2206 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2207 }
2208 return resultobj;
2209 fail:
2210 return NULL;
2211}
2212
2213
2214static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2215 PyObject *resultobj;
2216 wxSize *arg1 = (wxSize *) 0 ;
2217 wxSize *arg2 = 0 ;
2218 wxSize temp2 ;
2219 PyObject * obj0 = 0 ;
2220 PyObject * obj1 = 0 ;
2221 char *kwnames[] = {
2222 (char *) "self",(char *) "sz", NULL
2223 };
2224
2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2228 {
2229 arg2 = &temp2;
2230 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2231 }
2232 {
2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
2234 (arg1)->IncTo((wxSize const &)*arg2);
2235
2236 wxPyEndAllowThreads(__tstate);
2237 if (PyErr_Occurred()) SWIG_fail;
2238 }
2239 Py_INCREF(Py_None); resultobj = Py_None;
2240 return resultobj;
2241 fail:
2242 return NULL;
2243}
2244
2245
2246static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2247 PyObject *resultobj;
2248 wxSize *arg1 = (wxSize *) 0 ;
2249 wxSize *arg2 = 0 ;
2250 wxSize temp2 ;
2251 PyObject * obj0 = 0 ;
2252 PyObject * obj1 = 0 ;
2253 char *kwnames[] = {
2254 (char *) "self",(char *) "sz", NULL
2255 };
2256
2257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2260 {
2261 arg2 = &temp2;
2262 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2263 }
2264 {
2265 PyThreadState* __tstate = wxPyBeginAllowThreads();
2266 (arg1)->DecTo((wxSize const &)*arg2);
2267
2268 wxPyEndAllowThreads(__tstate);
2269 if (PyErr_Occurred()) SWIG_fail;
2270 }
2271 Py_INCREF(Py_None); resultobj = Py_None;
2272 return resultobj;
2273 fail:
2274 return NULL;
2275}
2276
2277
2278static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2279 PyObject *resultobj;
2280 wxSize *arg1 = (wxSize *) 0 ;
2281 int arg2 ;
2282 int arg3 ;
2283 PyObject * obj0 = 0 ;
994141e6
RD
2284 PyObject * obj1 = 0 ;
2285 PyObject * obj2 = 0 ;
d14a1e28 2286 char *kwnames[] = {
e811c8ce 2287 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
2288 };
2289
994141e6 2290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2293 arg2 = (int) SWIG_AsInt(obj1);
2294 if (PyErr_Occurred()) SWIG_fail;
2295 arg3 = (int) SWIG_AsInt(obj2);
2296 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2297 {
2298 PyThreadState* __tstate = wxPyBeginAllowThreads();
2299 (arg1)->Set(arg2,arg3);
2300
2301 wxPyEndAllowThreads(__tstate);
2302 if (PyErr_Occurred()) SWIG_fail;
2303 }
2304 Py_INCREF(Py_None); resultobj = Py_None;
2305 return resultobj;
2306 fail:
2307 return NULL;
2308}
2309
2310
2311static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2312 PyObject *resultobj;
2313 wxSize *arg1 = (wxSize *) 0 ;
2314 int arg2 ;
2315 PyObject * obj0 = 0 ;
994141e6 2316 PyObject * obj1 = 0 ;
d14a1e28
RD
2317 char *kwnames[] = {
2318 (char *) "self",(char *) "w", NULL
2319 };
2320
994141e6 2321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2324 arg2 = (int) SWIG_AsInt(obj1);
2325 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2326 {
2327 PyThreadState* __tstate = wxPyBeginAllowThreads();
2328 (arg1)->SetWidth(arg2);
2329
2330 wxPyEndAllowThreads(__tstate);
2331 if (PyErr_Occurred()) SWIG_fail;
2332 }
2333 Py_INCREF(Py_None); resultobj = Py_None;
2334 return resultobj;
2335 fail:
2336 return NULL;
2337}
2338
2339
2340static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2341 PyObject *resultobj;
2342 wxSize *arg1 = (wxSize *) 0 ;
2343 int arg2 ;
2344 PyObject * obj0 = 0 ;
994141e6 2345 PyObject * obj1 = 0 ;
d14a1e28
RD
2346 char *kwnames[] = {
2347 (char *) "self",(char *) "h", NULL
2348 };
2349
994141e6 2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2353 arg2 = (int) SWIG_AsInt(obj1);
2354 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2355 {
2356 PyThreadState* __tstate = wxPyBeginAllowThreads();
2357 (arg1)->SetHeight(arg2);
2358
2359 wxPyEndAllowThreads(__tstate);
2360 if (PyErr_Occurred()) SWIG_fail;
2361 }
2362 Py_INCREF(Py_None); resultobj = Py_None;
2363 return resultobj;
2364 fail:
2365 return NULL;
2366}
2367
2368
2369static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2370 PyObject *resultobj;
2371 wxSize *arg1 = (wxSize *) 0 ;
2372 int result;
2373 PyObject * obj0 = 0 ;
2374 char *kwnames[] = {
2375 (char *) "self", NULL
2376 };
2377
2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2381 {
2382 PyThreadState* __tstate = wxPyBeginAllowThreads();
2383 result = (int)((wxSize const *)arg1)->GetWidth();
2384
2385 wxPyEndAllowThreads(__tstate);
2386 if (PyErr_Occurred()) SWIG_fail;
2387 }
15afbcd0 2388 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2389 return resultobj;
2390 fail:
2391 return NULL;
2392}
2393
2394
2395static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2396 PyObject *resultobj;
2397 wxSize *arg1 = (wxSize *) 0 ;
2398 int result;
2399 PyObject * obj0 = 0 ;
2400 char *kwnames[] = {
2401 (char *) "self", NULL
2402 };
2403
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
2405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2407 {
2408 PyThreadState* __tstate = wxPyBeginAllowThreads();
2409 result = (int)((wxSize const *)arg1)->GetHeight();
2410
2411 wxPyEndAllowThreads(__tstate);
2412 if (PyErr_Occurred()) SWIG_fail;
2413 }
15afbcd0 2414 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2415 return resultobj;
2416 fail:
2417 return NULL;
2418}
2419
2420
74a57fcd
RD
2421static PyObject *_wrap_Size_IsFullySpecified(PyObject *self, PyObject *args, PyObject *kwargs) {
2422 PyObject *resultobj;
2423 wxSize *arg1 = (wxSize *) 0 ;
2424 bool result;
2425 PyObject * obj0 = 0 ;
2426 char *kwnames[] = {
2427 (char *) "self", NULL
2428 };
2429
2430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail;
2431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2433 {
2434 PyThreadState* __tstate = wxPyBeginAllowThreads();
2435 result = (bool)((wxSize const *)arg1)->IsFullySpecified();
2436
2437 wxPyEndAllowThreads(__tstate);
2438 if (PyErr_Occurred()) SWIG_fail;
2439 }
2440 {
2441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2442 }
2443 return resultobj;
2444 fail:
2445 return NULL;
2446}
2447
2448
2449static PyObject *_wrap_Size_SetDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
2450 PyObject *resultobj;
2451 wxSize *arg1 = (wxSize *) 0 ;
2452 wxSize *arg2 = 0 ;
2453 wxSize temp2 ;
2454 PyObject * obj0 = 0 ;
2455 PyObject * obj1 = 0 ;
2456 char *kwnames[] = {
2457 (char *) "self",(char *) "size", NULL
2458 };
2459
2460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail;
2461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2463 {
2464 arg2 = &temp2;
2465 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2466 }
2467 {
2468 PyThreadState* __tstate = wxPyBeginAllowThreads();
2469 (arg1)->SetDefaults((wxSize const &)*arg2);
2470
2471 wxPyEndAllowThreads(__tstate);
2472 if (PyErr_Occurred()) SWIG_fail;
2473 }
2474 Py_INCREF(Py_None); resultobj = Py_None;
2475 return resultobj;
2476 fail:
2477 return NULL;
2478}
2479
2480
e811c8ce 2481static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2482 PyObject *resultobj;
2483 wxSize *arg1 = (wxSize *) 0 ;
2484 PyObject *result;
2485 PyObject * obj0 = 0 ;
2486 char *kwnames[] = {
2487 (char *) "self", NULL
2488 };
2489
e811c8ce 2490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2493 {
2494 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2495 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
2496
2497 wxPyEndAllowThreads(__tstate);
2498 if (PyErr_Occurred()) SWIG_fail;
2499 }
2500 resultobj = result;
2501 return resultobj;
2502 fail:
2503 return NULL;
2504}
2505
2506
2507static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
2508 PyObject *obj;
2509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2510 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2511 Py_INCREF(obj);
2512 return Py_BuildValue((char *)"");
2513}
2514static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2515 PyObject *resultobj;
2516 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2517 double arg2 ;
2518 PyObject * obj0 = 0 ;
994141e6 2519 PyObject * obj1 = 0 ;
d14a1e28
RD
2520 char *kwnames[] = {
2521 (char *) "self",(char *) "x", NULL
2522 };
2523
994141e6 2524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2527 arg2 = (double) SWIG_AsDouble(obj1);
2528 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2529 if (arg1) (arg1)->x = arg2;
2530
2531 Py_INCREF(Py_None); resultobj = Py_None;
2532 return resultobj;
2533 fail:
2534 return NULL;
2535}
2536
2537
2538static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2539 PyObject *resultobj;
2540 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2541 double result;
2542 PyObject * obj0 = 0 ;
2543 char *kwnames[] = {
2544 (char *) "self", NULL
2545 };
2546
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2550 result = (double) ((arg1)->x);
2551
15afbcd0 2552 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2553 return resultobj;
2554 fail:
2555 return NULL;
2556}
2557
2558
2559static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2560 PyObject *resultobj;
2561 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2562 double arg2 ;
2563 PyObject * obj0 = 0 ;
994141e6 2564 PyObject * obj1 = 0 ;
d14a1e28
RD
2565 char *kwnames[] = {
2566 (char *) "self",(char *) "y", NULL
2567 };
2568
994141e6 2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2572 arg2 = (double) SWIG_AsDouble(obj1);
2573 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2574 if (arg1) (arg1)->y = arg2;
2575
2576 Py_INCREF(Py_None); resultobj = Py_None;
2577 return resultobj;
2578 fail:
2579 return NULL;
2580}
2581
2582
2583static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2584 PyObject *resultobj;
2585 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2586 double result;
2587 PyObject * obj0 = 0 ;
2588 char *kwnames[] = {
2589 (char *) "self", NULL
2590 };
2591
2592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2595 result = (double) ((arg1)->y);
2596
15afbcd0 2597 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2598 return resultobj;
2599 fail:
2600 return NULL;
2601}
2602
2603
2604static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2605 PyObject *resultobj;
2606 double arg1 = (double) 0.0 ;
2607 double arg2 = (double) 0.0 ;
2608 wxRealPoint *result;
994141e6
RD
2609 PyObject * obj0 = 0 ;
2610 PyObject * obj1 = 0 ;
d14a1e28
RD
2611 char *kwnames[] = {
2612 (char *) "x",(char *) "y", NULL
2613 };
2614
994141e6
RD
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2616 if (obj0) {
15afbcd0
RD
2617 arg1 = (double) SWIG_AsDouble(obj0);
2618 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2619 }
2620 if (obj1) {
15afbcd0
RD
2621 arg2 = (double) SWIG_AsDouble(obj1);
2622 if (PyErr_Occurred()) SWIG_fail;
994141e6 2623 }
d14a1e28
RD
2624 {
2625 PyThreadState* __tstate = wxPyBeginAllowThreads();
2626 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2627
2628 wxPyEndAllowThreads(__tstate);
2629 if (PyErr_Occurred()) SWIG_fail;
2630 }
15afbcd0 2631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
d14a1e28
RD
2632 return resultobj;
2633 fail:
2634 return NULL;
2635}
2636
2637
2638static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2639 PyObject *resultobj;
2640 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2641 PyObject * obj0 = 0 ;
2642 char *kwnames[] = {
2643 (char *) "self", NULL
2644 };
2645
2646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
2647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2649 {
2650 PyThreadState* __tstate = wxPyBeginAllowThreads();
2651 delete arg1;
2652
2653 wxPyEndAllowThreads(__tstate);
2654 if (PyErr_Occurred()) SWIG_fail;
2655 }
2656 Py_INCREF(Py_None); resultobj = Py_None;
2657 return resultobj;
2658 fail:
2659 return NULL;
2660}
2661
2662
e811c8ce 2663static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2664 PyObject *resultobj;
2665 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2666 wxRealPoint *arg2 = 0 ;
e811c8ce 2667 bool result;
d14a1e28
RD
2668 wxRealPoint temp2 ;
2669 PyObject * obj0 = 0 ;
2670 PyObject * obj1 = 0 ;
2671 char *kwnames[] = {
2672 (char *) "self",(char *) "pt", NULL
2673 };
2674
e811c8ce 2675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2678 {
2679 arg2 = &temp2;
2680 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2681 }
2682 {
2683 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2684 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
2685
2686 wxPyEndAllowThreads(__tstate);
2687 if (PyErr_Occurred()) SWIG_fail;
2688 }
4f89f6a3
RD
2689 {
2690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2691 }
d14a1e28
RD
2692 return resultobj;
2693 fail:
2694 return NULL;
2695}
2696
2697
e811c8ce 2698static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2699 PyObject *resultobj;
2700 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2701 wxRealPoint *arg2 = 0 ;
e811c8ce 2702 bool result;
d14a1e28
RD
2703 wxRealPoint temp2 ;
2704 PyObject * obj0 = 0 ;
2705 PyObject * obj1 = 0 ;
2706 char *kwnames[] = {
2707 (char *) "self",(char *) "pt", NULL
2708 };
2709
e811c8ce 2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2713 {
2714 arg2 = &temp2;
2715 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2716 }
2717 {
2718 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2719 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
2720
2721 wxPyEndAllowThreads(__tstate);
2722 if (PyErr_Occurred()) SWIG_fail;
2723 }
4f89f6a3
RD
2724 {
2725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2726 }
d14a1e28
RD
2727 return resultobj;
2728 fail:
2729 return NULL;
2730}
2731
2732
e811c8ce 2733static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2734 PyObject *resultobj;
2735 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2736 wxRealPoint *arg2 = 0 ;
e811c8ce 2737 wxRealPoint result;
d14a1e28
RD
2738 wxRealPoint temp2 ;
2739 PyObject * obj0 = 0 ;
2740 PyObject * obj1 = 0 ;
2741 char *kwnames[] = {
2742 (char *) "self",(char *) "pt", NULL
2743 };
2744
e811c8ce 2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2748 {
2749 arg2 = &temp2;
2750 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2751 }
2752 {
2753 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2754 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
2755
2756 wxPyEndAllowThreads(__tstate);
2757 if (PyErr_Occurred()) SWIG_fail;
2758 }
e811c8ce
RD
2759 {
2760 wxRealPoint * resultptr;
2761 resultptr = new wxRealPoint((wxRealPoint &) result);
15afbcd0 2762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 2763 }
d14a1e28
RD
2764 return resultobj;
2765 fail:
2766 return NULL;
2767}
2768
2769
e811c8ce 2770static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2771 PyObject *resultobj;
2772 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2773 wxRealPoint *arg2 = 0 ;
e811c8ce 2774 wxRealPoint result;
d14a1e28
RD
2775 wxRealPoint temp2 ;
2776 PyObject * obj0 = 0 ;
2777 PyObject * obj1 = 0 ;
2778 char *kwnames[] = {
2779 (char *) "self",(char *) "pt", NULL
2780 };
2781
e811c8ce 2782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2785 {
2786 arg2 = &temp2;
2787 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2788 }
2789 {
2790 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2791 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
2792
2793 wxPyEndAllowThreads(__tstate);
2794 if (PyErr_Occurred()) SWIG_fail;
2795 }
e811c8ce
RD
2796 {
2797 wxRealPoint * resultptr;
2798 resultptr = new wxRealPoint((wxRealPoint &) result);
15afbcd0 2799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 2800 }
d14a1e28
RD
2801 return resultobj;
2802 fail:
2803 return NULL;
2804}
2805
2806
2807static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2808 PyObject *resultobj;
2809 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2810 double arg2 ;
2811 double arg3 ;
2812 PyObject * obj0 = 0 ;
994141e6
RD
2813 PyObject * obj1 = 0 ;
2814 PyObject * obj2 = 0 ;
d14a1e28
RD
2815 char *kwnames[] = {
2816 (char *) "self",(char *) "x",(char *) "y", NULL
2817 };
2818
994141e6 2819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2822 arg2 = (double) SWIG_AsDouble(obj1);
2823 if (PyErr_Occurred()) SWIG_fail;
2824 arg3 = (double) SWIG_AsDouble(obj2);
2825 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2826 {
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 wxRealPoint_Set(arg1,arg2,arg3);
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 }
2833 Py_INCREF(Py_None); resultobj = Py_None;
2834 return resultobj;
2835 fail:
2836 return NULL;
2837}
2838
2839
e811c8ce 2840static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2841 PyObject *resultobj;
2842 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2843 PyObject *result;
2844 PyObject * obj0 = 0 ;
2845 char *kwnames[] = {
2846 (char *) "self", NULL
2847 };
2848
e811c8ce 2849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2852 {
2853 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2854 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
2855
2856 wxPyEndAllowThreads(__tstate);
2857 if (PyErr_Occurred()) SWIG_fail;
2858 }
2859 resultobj = result;
2860 return resultobj;
2861 fail:
2862 return NULL;
2863}
2864
2865
2866static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2867 PyObject *obj;
2868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2869 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2870 Py_INCREF(obj);
2871 return Py_BuildValue((char *)"");
2872}
2873static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2874 PyObject *resultobj;
2875 wxPoint *arg1 = (wxPoint *) 0 ;
2876 int arg2 ;
2877 PyObject * obj0 = 0 ;
994141e6 2878 PyObject * obj1 = 0 ;
d14a1e28
RD
2879 char *kwnames[] = {
2880 (char *) "self",(char *) "x", NULL
2881 };
2882
994141e6 2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2886 arg2 = (int) SWIG_AsInt(obj1);
2887 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2888 if (arg1) (arg1)->x = arg2;
2889
2890 Py_INCREF(Py_None); resultobj = Py_None;
2891 return resultobj;
2892 fail:
2893 return NULL;
2894}
2895
2896
2897static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2898 PyObject *resultobj;
2899 wxPoint *arg1 = (wxPoint *) 0 ;
2900 int result;
2901 PyObject * obj0 = 0 ;
2902 char *kwnames[] = {
2903 (char *) "self", NULL
2904 };
2905
2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2909 result = (int) ((arg1)->x);
2910
15afbcd0 2911 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2912 return resultobj;
2913 fail:
2914 return NULL;
2915}
2916
2917
2918static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2919 PyObject *resultobj;
2920 wxPoint *arg1 = (wxPoint *) 0 ;
2921 int arg2 ;
2922 PyObject * obj0 = 0 ;
994141e6 2923 PyObject * obj1 = 0 ;
d14a1e28
RD
2924 char *kwnames[] = {
2925 (char *) "self",(char *) "y", NULL
2926 };
2927
994141e6 2928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2931 arg2 = (int) SWIG_AsInt(obj1);
2932 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2933 if (arg1) (arg1)->y = arg2;
2934
2935 Py_INCREF(Py_None); resultobj = Py_None;
2936 return resultobj;
2937 fail:
2938 return NULL;
2939}
2940
2941
2942static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2943 PyObject *resultobj;
2944 wxPoint *arg1 = (wxPoint *) 0 ;
2945 int result;
2946 PyObject * obj0 = 0 ;
2947 char *kwnames[] = {
2948 (char *) "self", NULL
2949 };
2950
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2954 result = (int) ((arg1)->y);
2955
15afbcd0 2956 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2957 return resultobj;
2958 fail:
2959 return NULL;
2960}
2961
2962
2963static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2964 PyObject *resultobj;
2965 int arg1 = (int) 0 ;
2966 int arg2 = (int) 0 ;
2967 wxPoint *result;
994141e6
RD
2968 PyObject * obj0 = 0 ;
2969 PyObject * obj1 = 0 ;
d14a1e28
RD
2970 char *kwnames[] = {
2971 (char *) "x",(char *) "y", NULL
2972 };
2973
994141e6
RD
2974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2975 if (obj0) {
15afbcd0
RD
2976 arg1 = (int) SWIG_AsInt(obj0);
2977 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2978 }
2979 if (obj1) {
15afbcd0
RD
2980 arg2 = (int) SWIG_AsInt(obj1);
2981 if (PyErr_Occurred()) SWIG_fail;
994141e6 2982 }
d14a1e28
RD
2983 {
2984 PyThreadState* __tstate = wxPyBeginAllowThreads();
2985 result = (wxPoint *)new wxPoint(arg1,arg2);
2986
2987 wxPyEndAllowThreads(__tstate);
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
15afbcd0 2990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2991 return resultobj;
2992 fail:
2993 return NULL;
2994}
2995
2996
2997static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2998 PyObject *resultobj;
2999 wxPoint *arg1 = (wxPoint *) 0 ;
3000 PyObject * obj0 = 0 ;
3001 char *kwnames[] = {
3002 (char *) "self", NULL
3003 };
3004
3005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
15afbcd0
RD
3006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3008 {
3009 PyThreadState* __tstate = wxPyBeginAllowThreads();
3010 delete arg1;
3011
3012 wxPyEndAllowThreads(__tstate);
3013 if (PyErr_Occurred()) SWIG_fail;
3014 }
3015 Py_INCREF(Py_None); resultobj = Py_None;
3016 return resultobj;
3017 fail:
3018 return NULL;
3019}
3020
3021
3022static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
3023 PyObject *resultobj;
3024 wxPoint *arg1 = (wxPoint *) 0 ;
3025 wxPoint *arg2 = 0 ;
3026 bool result;
3027 wxPoint temp2 ;
3028 PyObject * obj0 = 0 ;
3029 PyObject * obj1 = 0 ;
3030 char *kwnames[] = {
e811c8ce 3031 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3032 };
3033
3034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3037 {
3038 arg2 = &temp2;
3039 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3040 }
3041 {
3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3043 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
3044
3045 wxPyEndAllowThreads(__tstate);
3046 if (PyErr_Occurred()) SWIG_fail;
3047 }
4f89f6a3
RD
3048 {
3049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3050 }
d14a1e28
RD
3051 return resultobj;
3052 fail:
3053 return NULL;
3054}
3055
3056
3057static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
3058 PyObject *resultobj;
3059 wxPoint *arg1 = (wxPoint *) 0 ;
3060 wxPoint *arg2 = 0 ;
3061 bool result;
3062 wxPoint temp2 ;
3063 PyObject * obj0 = 0 ;
3064 PyObject * obj1 = 0 ;
3065 char *kwnames[] = {
e811c8ce 3066 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3067 };
3068
3069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3072 {
3073 arg2 = &temp2;
3074 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3075 }
3076 {
3077 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3078 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
3079
3080 wxPyEndAllowThreads(__tstate);
3081 if (PyErr_Occurred()) SWIG_fail;
3082 }
4f89f6a3
RD
3083 {
3084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3085 }
d14a1e28
RD
3086 return resultobj;
3087 fail:
3088 return NULL;
3089}
3090
3091
3092static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3093 PyObject *resultobj;
3094 wxPoint *arg1 = (wxPoint *) 0 ;
3095 wxPoint *arg2 = 0 ;
3096 wxPoint result;
3097 wxPoint temp2 ;
3098 PyObject * obj0 = 0 ;
3099 PyObject * obj1 = 0 ;
3100 char *kwnames[] = {
e811c8ce 3101 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3102 };
3103
3104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3107 {
3108 arg2 = &temp2;
3109 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3110 }
3111 {
3112 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3113 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
3114
3115 wxPyEndAllowThreads(__tstate);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 }
3118 {
3119 wxPoint * resultptr;
3120 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3121 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3122 }
3123 return resultobj;
3124 fail:
3125 return NULL;
3126}
3127
3128
3129static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3130 PyObject *resultobj;
3131 wxPoint *arg1 = (wxPoint *) 0 ;
3132 wxPoint *arg2 = 0 ;
3133 wxPoint result;
3134 wxPoint temp2 ;
3135 PyObject * obj0 = 0 ;
3136 PyObject * obj1 = 0 ;
3137 char *kwnames[] = {
e811c8ce 3138 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3139 };
3140
3141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3144 {
3145 arg2 = &temp2;
3146 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3147 }
3148 {
3149 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3150 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
3151
3152 wxPyEndAllowThreads(__tstate);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 }
3155 {
3156 wxPoint * resultptr;
3157 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3158 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3159 }
3160 return resultobj;
3161 fail:
3162 return NULL;
3163}
3164
3165
3166static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3167 PyObject *resultobj;
3168 wxPoint *arg1 = (wxPoint *) 0 ;
3169 wxPoint *arg2 = 0 ;
3170 wxPoint *result;
3171 wxPoint temp2 ;
3172 PyObject * obj0 = 0 ;
3173 PyObject * obj1 = 0 ;
3174 char *kwnames[] = {
e811c8ce 3175 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3176 };
3177
3178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3181 {
3182 arg2 = &temp2;
3183 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3184 }
3185 {
3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
3187 {
3188 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3189 result = (wxPoint *) &_result_ref;
3190 }
3191
3192 wxPyEndAllowThreads(__tstate);
3193 if (PyErr_Occurred()) SWIG_fail;
3194 }
15afbcd0 3195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3196 return resultobj;
3197 fail:
3198 return NULL;
3199}
3200
3201
3202static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3203 PyObject *resultobj;
3204 wxPoint *arg1 = (wxPoint *) 0 ;
3205 wxPoint *arg2 = 0 ;
3206 wxPoint *result;
3207 wxPoint temp2 ;
3208 PyObject * obj0 = 0 ;
3209 PyObject * obj1 = 0 ;
3210 char *kwnames[] = {
e811c8ce 3211 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3212 };
3213
3214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3217 {
3218 arg2 = &temp2;
3219 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3220 }
3221 {
3222 PyThreadState* __tstate = wxPyBeginAllowThreads();
3223 {
3224 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3225 result = (wxPoint *) &_result_ref;
3226 }
3227
3228 wxPyEndAllowThreads(__tstate);
3229 if (PyErr_Occurred()) SWIG_fail;
3230 }
15afbcd0 3231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3232 return resultobj;
3233 fail:
3234 return NULL;
3235}
3236
3237
3238static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3239 PyObject *resultobj;
3240 wxPoint *arg1 = (wxPoint *) 0 ;
3241 long arg2 ;
3242 long arg3 ;
3243 PyObject * obj0 = 0 ;
994141e6
RD
3244 PyObject * obj1 = 0 ;
3245 PyObject * obj2 = 0 ;
d14a1e28
RD
3246 char *kwnames[] = {
3247 (char *) "self",(char *) "x",(char *) "y", NULL
3248 };
3249
994141e6 3250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3253 arg2 = (long) SWIG_AsLong(obj1);
3254 if (PyErr_Occurred()) SWIG_fail;
3255 arg3 = (long) SWIG_AsLong(obj2);
3256 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3257 {
3258 PyThreadState* __tstate = wxPyBeginAllowThreads();
3259 wxPoint_Set(arg1,arg2,arg3);
3260
3261 wxPyEndAllowThreads(__tstate);
3262 if (PyErr_Occurred()) SWIG_fail;
3263 }
3264 Py_INCREF(Py_None); resultobj = Py_None;
3265 return resultobj;
3266 fail:
3267 return NULL;
3268}
3269
3270
e811c8ce 3271static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3272 PyObject *resultobj;
3273 wxPoint *arg1 = (wxPoint *) 0 ;
3274 PyObject *result;
3275 PyObject * obj0 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "self", NULL
3278 };
3279
e811c8ce 3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
3281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3283 {
3284 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3285 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
3286
3287 wxPyEndAllowThreads(__tstate);
3288 if (PyErr_Occurred()) SWIG_fail;
3289 }
3290 resultobj = result;
3291 return resultobj;
3292 fail:
3293 return NULL;
3294}
3295
3296
3297static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
3298 PyObject *obj;
3299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3300 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3301 Py_INCREF(obj);
3302 return Py_BuildValue((char *)"");
3303}
3304static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3305 PyObject *resultobj;
3306 int arg1 = (int) 0 ;
3307 int arg2 = (int) 0 ;
3308 int arg3 = (int) 0 ;
3309 int arg4 = (int) 0 ;
3310 wxRect *result;
994141e6
RD
3311 PyObject * obj0 = 0 ;
3312 PyObject * obj1 = 0 ;
3313 PyObject * obj2 = 0 ;
3314 PyObject * obj3 = 0 ;
d14a1e28
RD
3315 char *kwnames[] = {
3316 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3317 };
3318
994141e6
RD
3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3320 if (obj0) {
15afbcd0
RD
3321 arg1 = (int) SWIG_AsInt(obj0);
3322 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3323 }
3324 if (obj1) {
15afbcd0
RD
3325 arg2 = (int) SWIG_AsInt(obj1);
3326 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3327 }
3328 if (obj2) {
15afbcd0
RD
3329 arg3 = (int) SWIG_AsInt(obj2);
3330 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3331 }
3332 if (obj3) {
15afbcd0
RD
3333 arg4 = (int) SWIG_AsInt(obj3);
3334 if (PyErr_Occurred()) SWIG_fail;
994141e6 3335 }
d14a1e28
RD
3336 {
3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
3338 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3339
3340 wxPyEndAllowThreads(__tstate);
3341 if (PyErr_Occurred()) SWIG_fail;
3342 }
15afbcd0 3343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3344 return resultobj;
3345 fail:
3346 return NULL;
3347}
3348
3349
3350static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
3351 PyObject *resultobj;
3352 wxPoint *arg1 = 0 ;
3353 wxPoint *arg2 = 0 ;
3354 wxRect *result;
3355 wxPoint temp1 ;
3356 wxPoint temp2 ;
3357 PyObject * obj0 = 0 ;
3358 PyObject * obj1 = 0 ;
3359 char *kwnames[] = {
3360 (char *) "topLeft",(char *) "bottomRight", NULL
3361 };
3362
3363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3364 {
3365 arg1 = &temp1;
3366 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3367 }
3368 {
3369 arg2 = &temp2;
3370 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3371 }
3372 {
3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
3374 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3375
3376 wxPyEndAllowThreads(__tstate);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
15afbcd0 3379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3380 return resultobj;
3381 fail:
3382 return NULL;
3383}
3384
3385
3386static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
3387 PyObject *resultobj;
3388 wxPoint *arg1 = 0 ;
3389 wxSize *arg2 = 0 ;
3390 wxRect *result;
3391 wxPoint temp1 ;
3392 wxSize temp2 ;
3393 PyObject * obj0 = 0 ;
3394 PyObject * obj1 = 0 ;
3395 char *kwnames[] = {
3396 (char *) "pos",(char *) "size", NULL
3397 };
3398
3399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3400 {
3401 arg1 = &temp1;
3402 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3403 }
3404 {
3405 arg2 = &temp2;
3406 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3407 }
3408 {
3409 PyThreadState* __tstate = wxPyBeginAllowThreads();
3410 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3411
3412 wxPyEndAllowThreads(__tstate);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 }
15afbcd0 3415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3416 return resultobj;
3417 fail:
3418 return NULL;
3419}
3420
3421
3422static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3423 PyObject *resultobj;
3424 wxRect *arg1 = (wxRect *) 0 ;
3425 PyObject * obj0 = 0 ;
3426 char *kwnames[] = {
3427 (char *) "self", NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
15afbcd0
RD
3431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 delete arg1;
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) SWIG_fail;
3439 }
3440 Py_INCREF(Py_None); resultobj = Py_None;
3441 return resultobj;
3442 fail:
3443 return NULL;
3444}
3445
3446
3447static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3448 PyObject *resultobj;
3449 wxRect *arg1 = (wxRect *) 0 ;
3450 int result;
3451 PyObject * obj0 = 0 ;
3452 char *kwnames[] = {
3453 (char *) "self", NULL
3454 };
3455
3456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
3457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3459 {
3460 PyThreadState* __tstate = wxPyBeginAllowThreads();
3461 result = (int)((wxRect const *)arg1)->GetX();
3462
3463 wxPyEndAllowThreads(__tstate);
3464 if (PyErr_Occurred()) SWIG_fail;
3465 }
15afbcd0 3466 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3467 return resultobj;
3468 fail:
3469 return NULL;
3470}
3471
3472
3473static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3474 PyObject *resultobj;
3475 wxRect *arg1 = (wxRect *) 0 ;
3476 int arg2 ;
3477 PyObject * obj0 = 0 ;
994141e6 3478 PyObject * obj1 = 0 ;
d14a1e28
RD
3479 char *kwnames[] = {
3480 (char *) "self",(char *) "x", NULL
3481 };
3482
994141e6 3483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3486 arg2 = (int) SWIG_AsInt(obj1);
3487 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3488 {
3489 PyThreadState* __tstate = wxPyBeginAllowThreads();
3490 (arg1)->SetX(arg2);
3491
3492 wxPyEndAllowThreads(__tstate);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 }
3495 Py_INCREF(Py_None); resultobj = Py_None;
3496 return resultobj;
3497 fail:
3498 return NULL;
3499}
3500
3501
3502static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3503 PyObject *resultobj;
3504 wxRect *arg1 = (wxRect *) 0 ;
3505 int result;
3506 PyObject * obj0 = 0 ;
3507 char *kwnames[] = {
3508 (char *) "self", NULL
3509 };
3510
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
3512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3514 {
3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
3516 result = (int)(arg1)->GetY();
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
15afbcd0 3521 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3522 return resultobj;
3523 fail:
3524 return NULL;
3525}
3526
3527
3528static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3529 PyObject *resultobj;
3530 wxRect *arg1 = (wxRect *) 0 ;
3531 int arg2 ;
3532 PyObject * obj0 = 0 ;
994141e6 3533 PyObject * obj1 = 0 ;
d14a1e28
RD
3534 char *kwnames[] = {
3535 (char *) "self",(char *) "y", NULL
3536 };
3537
994141e6 3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3541 arg2 = (int) SWIG_AsInt(obj1);
3542 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3543 {
3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
3545 (arg1)->SetY(arg2);
3546
3547 wxPyEndAllowThreads(__tstate);
3548 if (PyErr_Occurred()) SWIG_fail;
3549 }
3550 Py_INCREF(Py_None); resultobj = Py_None;
3551 return resultobj;
3552 fail:
3553 return NULL;
3554}
3555
3556
3557static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3558 PyObject *resultobj;
3559 wxRect *arg1 = (wxRect *) 0 ;
3560 int result;
3561 PyObject * obj0 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "self", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 result = (int)((wxRect const *)arg1)->GetWidth();
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
15afbcd0 3576 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3577 return resultobj;
3578 fail:
3579 return NULL;
3580}
3581
3582
3583static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3584 PyObject *resultobj;
3585 wxRect *arg1 = (wxRect *) 0 ;
3586 int arg2 ;
3587 PyObject * obj0 = 0 ;
994141e6 3588 PyObject * obj1 = 0 ;
d14a1e28
RD
3589 char *kwnames[] = {
3590 (char *) "self",(char *) "w", NULL
3591 };
3592
994141e6 3593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3596 arg2 = (int) SWIG_AsInt(obj1);
3597 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 (arg1)->SetWidth(arg2);
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
3605 Py_INCREF(Py_None); resultobj = Py_None;
3606 return resultobj;
3607 fail:
3608 return NULL;
3609}
3610
3611
3612static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3613 PyObject *resultobj;
3614 wxRect *arg1 = (wxRect *) 0 ;
3615 int result;
3616 PyObject * obj0 = 0 ;
3617 char *kwnames[] = {
3618 (char *) "self", NULL
3619 };
3620
3621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3624 {
3625 PyThreadState* __tstate = wxPyBeginAllowThreads();
3626 result = (int)((wxRect const *)arg1)->GetHeight();
3627
3628 wxPyEndAllowThreads(__tstate);
3629 if (PyErr_Occurred()) SWIG_fail;
3630 }
15afbcd0 3631 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3632 return resultobj;
3633 fail:
3634 return NULL;
3635}
3636
3637
3638static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3639 PyObject *resultobj;
3640 wxRect *arg1 = (wxRect *) 0 ;
3641 int arg2 ;
3642 PyObject * obj0 = 0 ;
994141e6 3643 PyObject * obj1 = 0 ;
d14a1e28
RD
3644 char *kwnames[] = {
3645 (char *) "self",(char *) "h", NULL
3646 };
3647
994141e6 3648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3651 arg2 = (int) SWIG_AsInt(obj1);
3652 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3653 {
3654 PyThreadState* __tstate = wxPyBeginAllowThreads();
3655 (arg1)->SetHeight(arg2);
3656
3657 wxPyEndAllowThreads(__tstate);
3658 if (PyErr_Occurred()) SWIG_fail;
3659 }
3660 Py_INCREF(Py_None); resultobj = Py_None;
3661 return resultobj;
3662 fail:
3663 return NULL;
3664}
3665
3666
3667static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3668 PyObject *resultobj;
3669 wxRect *arg1 = (wxRect *) 0 ;
3670 wxPoint result;
3671 PyObject * obj0 = 0 ;
3672 char *kwnames[] = {
3673 (char *) "self", NULL
3674 };
3675
3676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
3677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3679 {
3680 PyThreadState* __tstate = wxPyBeginAllowThreads();
3681 result = ((wxRect const *)arg1)->GetPosition();
3682
3683 wxPyEndAllowThreads(__tstate);
3684 if (PyErr_Occurred()) SWIG_fail;
3685 }
3686 {
3687 wxPoint * resultptr;
3688 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3689 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3690 }
3691 return resultobj;
3692 fail:
3693 return NULL;
3694}
3695
3696
3697static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3698 PyObject *resultobj;
3699 wxRect *arg1 = (wxRect *) 0 ;
3700 wxPoint *arg2 = 0 ;
3701 wxPoint temp2 ;
3702 PyObject * obj0 = 0 ;
3703 PyObject * obj1 = 0 ;
3704 char *kwnames[] = {
3705 (char *) "self",(char *) "p", NULL
3706 };
3707
3708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3711 {
3712 arg2 = &temp2;
3713 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3714 }
3715 {
3716 PyThreadState* __tstate = wxPyBeginAllowThreads();
3717 (arg1)->SetPosition((wxPoint const &)*arg2);
3718
3719 wxPyEndAllowThreads(__tstate);
3720 if (PyErr_Occurred()) SWIG_fail;
3721 }
3722 Py_INCREF(Py_None); resultobj = Py_None;
3723 return resultobj;
3724 fail:
3725 return NULL;
3726}
3727
3728
3729static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3730 PyObject *resultobj;
3731 wxRect *arg1 = (wxRect *) 0 ;
3732 wxSize result;
3733 PyObject * obj0 = 0 ;
3734 char *kwnames[] = {
3735 (char *) "self", NULL
3736 };
3737
3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
3739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3741 {
3742 PyThreadState* __tstate = wxPyBeginAllowThreads();
3743 result = ((wxRect const *)arg1)->GetSize();
3744
3745 wxPyEndAllowThreads(__tstate);
3746 if (PyErr_Occurred()) SWIG_fail;
3747 }
3748 {
3749 wxSize * resultptr;
3750 resultptr = new wxSize((wxSize &) result);
15afbcd0 3751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3752 }
3753 return resultobj;
3754 fail:
3755 return NULL;
3756}
3757
3758
3759static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj;
3761 wxRect *arg1 = (wxRect *) 0 ;
3762 wxSize *arg2 = 0 ;
3763 wxSize temp2 ;
3764 PyObject * obj0 = 0 ;
3765 PyObject * obj1 = 0 ;
3766 char *kwnames[] = {
3767 (char *) "self",(char *) "s", NULL
3768 };
3769
3770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3773 {
3774 arg2 = &temp2;
3775 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3776 }
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 (arg1)->SetSize((wxSize const &)*arg2);
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 Py_INCREF(Py_None); resultobj = Py_None;
3785 return resultobj;
3786 fail:
3787 return NULL;
3788}
3789
3790
c9c7117a
RD
3791static PyObject *_wrap_Rect_GetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3792 PyObject *resultobj;
3793 wxRect *arg1 = (wxRect *) 0 ;
3794 wxPoint result;
3795 PyObject * obj0 = 0 ;
3796 char *kwnames[] = {
3797 (char *) "self", NULL
3798 };
3799
3800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
3801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3803 {
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 result = ((wxRect const *)arg1)->GetTopLeft();
3806
3807 wxPyEndAllowThreads(__tstate);
3808 if (PyErr_Occurred()) SWIG_fail;
3809 }
3810 {
3811 wxPoint * resultptr;
3812 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
3814 }
3815 return resultobj;
3816 fail:
3817 return NULL;
3818}
3819
3820
3821static PyObject *_wrap_Rect_SetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3822 PyObject *resultobj;
3823 wxRect *arg1 = (wxRect *) 0 ;
3824 wxPoint *arg2 = 0 ;
3825 wxPoint temp2 ;
3826 PyObject * obj0 = 0 ;
3827 PyObject * obj1 = 0 ;
3828 char *kwnames[] = {
3829 (char *) "self",(char *) "p", NULL
3830 };
3831
3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3835 {
3836 arg2 = &temp2;
3837 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3838 }
3839 {
3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
3841 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3842
3843 wxPyEndAllowThreads(__tstate);
3844 if (PyErr_Occurred()) SWIG_fail;
3845 }
3846 Py_INCREF(Py_None); resultobj = Py_None;
3847 return resultobj;
3848 fail:
3849 return NULL;
3850}
3851
3852
3853static PyObject *_wrap_Rect_GetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3854 PyObject *resultobj;
3855 wxRect *arg1 = (wxRect *) 0 ;
3856 wxPoint result;
3857 PyObject * obj0 = 0 ;
3858 char *kwnames[] = {
3859 (char *) "self", NULL
3860 };
3861
3862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3865 {
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 result = ((wxRect const *)arg1)->GetBottomRight();
3868
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) SWIG_fail;
3871 }
3872 {
3873 wxPoint * resultptr;
3874 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3875 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
3876 }
3877 return resultobj;
3878 fail:
3879 return NULL;
3880}
3881
3882
3883static PyObject *_wrap_Rect_SetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3884 PyObject *resultobj;
3885 wxRect *arg1 = (wxRect *) 0 ;
3886 wxPoint *arg2 = 0 ;
3887 wxPoint temp2 ;
3888 PyObject * obj0 = 0 ;
3889 PyObject * obj1 = 0 ;
3890 char *kwnames[] = {
3891 (char *) "self",(char *) "p", NULL
3892 };
3893
3894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3897 {
3898 arg2 = &temp2;
3899 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3900 }
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 (arg1)->SetBottomRight((wxPoint const &)*arg2);
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 Py_INCREF(Py_None); resultobj = Py_None;
3909 return resultobj;
3910 fail:
3911 return NULL;
3912}
3913
3914
d14a1e28
RD
3915static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3916 PyObject *resultobj;
3917 wxRect *arg1 = (wxRect *) 0 ;
3918 int result;
3919 PyObject * obj0 = 0 ;
3920 char *kwnames[] = {
3921 (char *) "self", NULL
3922 };
3923
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
3925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3927 {
3928 PyThreadState* __tstate = wxPyBeginAllowThreads();
3929 result = (int)((wxRect const *)arg1)->GetLeft();
3930
3931 wxPyEndAllowThreads(__tstate);
3932 if (PyErr_Occurred()) SWIG_fail;
3933 }
15afbcd0 3934 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3935 return resultobj;
3936 fail:
3937 return NULL;
3938}
3939
3940
3941static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3942 PyObject *resultobj;
3943 wxRect *arg1 = (wxRect *) 0 ;
3944 int result;
3945 PyObject * obj0 = 0 ;
3946 char *kwnames[] = {
3947 (char *) "self", NULL
3948 };
3949
3950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
15afbcd0
RD
3951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3953 {
3954 PyThreadState* __tstate = wxPyBeginAllowThreads();
3955 result = (int)((wxRect const *)arg1)->GetTop();
3956
3957 wxPyEndAllowThreads(__tstate);
3958 if (PyErr_Occurred()) SWIG_fail;
3959 }
15afbcd0 3960 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3961 return resultobj;
3962 fail:
3963 return NULL;
3964}
3965
3966
3967static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3968 PyObject *resultobj;
3969 wxRect *arg1 = (wxRect *) 0 ;
3970 int result;
3971 PyObject * obj0 = 0 ;
3972 char *kwnames[] = {
3973 (char *) "self", NULL
3974 };
3975
3976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
15afbcd0
RD
3977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3979 {
3980 PyThreadState* __tstate = wxPyBeginAllowThreads();
3981 result = (int)((wxRect const *)arg1)->GetBottom();
3982
3983 wxPyEndAllowThreads(__tstate);
3984 if (PyErr_Occurred()) SWIG_fail;
3985 }
15afbcd0 3986 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3987 return resultobj;
3988 fail:
3989 return NULL;
3990}
3991
3992
3993static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3994 PyObject *resultobj;
3995 wxRect *arg1 = (wxRect *) 0 ;
3996 int result;
3997 PyObject * obj0 = 0 ;
3998 char *kwnames[] = {
3999 (char *) "self", NULL
4000 };
4001
4002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
4003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4005 {
4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
4007 result = (int)((wxRect const *)arg1)->GetRight();
4008
4009 wxPyEndAllowThreads(__tstate);
4010 if (PyErr_Occurred()) SWIG_fail;
4011 }
15afbcd0 4012 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4013 return resultobj;
4014 fail:
4015 return NULL;
4016}
4017
4018
4019static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4020 PyObject *resultobj;
4021 wxRect *arg1 = (wxRect *) 0 ;
4022 int arg2 ;
4023 PyObject * obj0 = 0 ;
994141e6 4024 PyObject * obj1 = 0 ;
d14a1e28
RD
4025 char *kwnames[] = {
4026 (char *) "self",(char *) "left", NULL
4027 };
4028
994141e6 4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4032 arg2 = (int) SWIG_AsInt(obj1);
4033 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4034 {
4035 PyThreadState* __tstate = wxPyBeginAllowThreads();
4036 (arg1)->SetLeft(arg2);
4037
4038 wxPyEndAllowThreads(__tstate);
4039 if (PyErr_Occurred()) SWIG_fail;
4040 }
4041 Py_INCREF(Py_None); resultobj = Py_None;
4042 return resultobj;
4043 fail:
4044 return NULL;
4045}
4046
4047
4048static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4049 PyObject *resultobj;
4050 wxRect *arg1 = (wxRect *) 0 ;
4051 int arg2 ;
4052 PyObject * obj0 = 0 ;
994141e6 4053 PyObject * obj1 = 0 ;
d14a1e28
RD
4054 char *kwnames[] = {
4055 (char *) "self",(char *) "right", NULL
4056 };
4057
994141e6 4058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4061 arg2 = (int) SWIG_AsInt(obj1);
4062 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 (arg1)->SetRight(arg2);
4066
4067 wxPyEndAllowThreads(__tstate);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 Py_INCREF(Py_None); resultobj = Py_None;
4071 return resultobj;
4072 fail:
4073 return NULL;
4074}
4075
4076
4077static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
4078 PyObject *resultobj;
4079 wxRect *arg1 = (wxRect *) 0 ;
4080 int arg2 ;
4081 PyObject * obj0 = 0 ;
994141e6 4082 PyObject * obj1 = 0 ;
d14a1e28
RD
4083 char *kwnames[] = {
4084 (char *) "self",(char *) "top", NULL
4085 };
4086
994141e6 4087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4090 arg2 = (int) SWIG_AsInt(obj1);
4091 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 (arg1)->SetTop(arg2);
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 Py_INCREF(Py_None); resultobj = Py_None;
4100 return resultobj;
4101 fail:
4102 return NULL;
4103}
4104
4105
4106static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
4107 PyObject *resultobj;
4108 wxRect *arg1 = (wxRect *) 0 ;
4109 int arg2 ;
4110 PyObject * obj0 = 0 ;
994141e6 4111 PyObject * obj1 = 0 ;
d14a1e28
RD
4112 char *kwnames[] = {
4113 (char *) "self",(char *) "bottom", NULL
4114 };
4115
994141e6 4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4119 arg2 = (int) SWIG_AsInt(obj1);
4120 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 (arg1)->SetBottom(arg2);
4124
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 Py_INCREF(Py_None); resultobj = Py_None;
4129 return resultobj;
4130 fail:
4131 return NULL;
4132}
4133
4134
4135static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj;
4137 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4138 int arg2 ;
4139 int arg3 ;
d14a1e28
RD
4140 wxRect *result;
4141 PyObject * obj0 = 0 ;
994141e6
RD
4142 PyObject * obj1 = 0 ;
4143 PyObject * obj2 = 0 ;
d14a1e28
RD
4144 char *kwnames[] = {
4145 (char *) "self",(char *) "dx",(char *) "dy", NULL
4146 };
4147
994141e6 4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4151 arg2 = (int) SWIG_AsInt(obj1);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 arg3 = (int) SWIG_AsInt(obj2);
4154 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4155 {
4156 PyThreadState* __tstate = wxPyBeginAllowThreads();
4157 {
4158 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
4159 result = (wxRect *) &_result_ref;
4160 }
4161
4162 wxPyEndAllowThreads(__tstate);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 }
15afbcd0 4165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4166 return resultobj;
4167 fail:
4168 return NULL;
4169}
4170
4171
4172static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4173 PyObject *resultobj;
4174 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4175 int arg2 ;
4176 int arg3 ;
d14a1e28
RD
4177 wxRect *result;
4178 PyObject * obj0 = 0 ;
994141e6
RD
4179 PyObject * obj1 = 0 ;
4180 PyObject * obj2 = 0 ;
d14a1e28
RD
4181 char *kwnames[] = {
4182 (char *) "self",(char *) "dx",(char *) "dy", NULL
4183 };
4184
994141e6 4185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4188 arg2 = (int) SWIG_AsInt(obj1);
4189 if (PyErr_Occurred()) SWIG_fail;
4190 arg3 = (int) SWIG_AsInt(obj2);
4191 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 {
4195 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4196 result = (wxRect *) &_result_ref;
4197 }
4198
4199 wxPyEndAllowThreads(__tstate);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 }
15afbcd0 4202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4203 return resultobj;
4204 fail:
4205 return NULL;
4206}
4207
4208
4209static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4210 PyObject *resultobj;
4211 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4212 int arg2 ;
4213 int arg3 ;
d14a1e28 4214 PyObject * obj0 = 0 ;
994141e6
RD
4215 PyObject * obj1 = 0 ;
4216 PyObject * obj2 = 0 ;
d14a1e28
RD
4217 char *kwnames[] = {
4218 (char *) "self",(char *) "dx",(char *) "dy", NULL
4219 };
4220
994141e6 4221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4224 arg2 = (int) SWIG_AsInt(obj1);
4225 if (PyErr_Occurred()) SWIG_fail;
4226 arg3 = (int) SWIG_AsInt(obj2);
4227 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4228 {
4229 PyThreadState* __tstate = wxPyBeginAllowThreads();
4230 (arg1)->Offset(arg2,arg3);
4231
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
4235 Py_INCREF(Py_None); resultobj = Py_None;
4236 return resultobj;
4237 fail:
4238 return NULL;
4239}
4240
4241
4242static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
4243 PyObject *resultobj;
4244 wxRect *arg1 = (wxRect *) 0 ;
4245 wxPoint *arg2 = 0 ;
4246 wxPoint temp2 ;
4247 PyObject * obj0 = 0 ;
4248 PyObject * obj1 = 0 ;
4249 char *kwnames[] = {
4250 (char *) "self",(char *) "pt", NULL
4251 };
4252
4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4256 {
4257 arg2 = &temp2;
4258 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4259 }
4260 {
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 (arg1)->Offset((wxPoint const &)*arg2);
4263
4264 wxPyEndAllowThreads(__tstate);
4265 if (PyErr_Occurred()) SWIG_fail;
4266 }
4267 Py_INCREF(Py_None); resultobj = Py_None;
4268 return resultobj;
4269 fail:
4270 return NULL;
4271}
4272
4273
4274static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
4275 PyObject *resultobj;
4276 wxRect *arg1 = (wxRect *) 0 ;
4277 wxRect *arg2 = 0 ;
4278 wxRect *result;
4279 wxRect temp2 ;
4280 PyObject * obj0 = 0 ;
4281 PyObject * obj1 = 0 ;
4282 char *kwnames[] = {
4283 (char *) "self",(char *) "rect", NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4289 {
4290 arg2 = &temp2;
4291 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4292 }
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 {
4296 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4297 result = (wxRect *) &_result_ref;
4298 }
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
15afbcd0 4303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4304 return resultobj;
4305 fail:
4306 return NULL;
4307}
4308
4309
4310static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxRect *arg1 = (wxRect *) 0 ;
4313 wxRect *arg2 = 0 ;
4314 wxRect result;
4315 wxRect temp2 ;
4316 PyObject * obj0 = 0 ;
4317 PyObject * obj1 = 0 ;
4318 char *kwnames[] = {
4319 (char *) "self",(char *) "rect", NULL
4320 };
4321
4322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4325 {
4326 arg2 = &temp2;
4327 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4328 }
4329 {
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4332
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4336 {
4337 wxRect * resultptr;
4338 resultptr = new wxRect((wxRect &) result);
15afbcd0 4339 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4340 }
4341 return resultobj;
4342 fail:
4343 return NULL;
4344}
4345
4346
4347static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4348 PyObject *resultobj;
4349 wxRect *arg1 = (wxRect *) 0 ;
4350 wxRect *arg2 = 0 ;
4351 wxRect *result;
4352 wxRect temp2 ;
4353 PyObject * obj0 = 0 ;
4354 PyObject * obj1 = 0 ;
4355 char *kwnames[] = {
4356 (char *) "self",(char *) "rect", NULL
4357 };
4358
4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4362 {
4363 arg2 = &temp2;
4364 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4365 }
4366 {
4367 PyThreadState* __tstate = wxPyBeginAllowThreads();
4368 {
4369 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
4370 result = (wxRect *) &_result_ref;
4371 }
4372
4373 wxPyEndAllowThreads(__tstate);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
15afbcd0 4376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4377 return resultobj;
4378 fail:
4379 return NULL;
4380}
4381
4382
4383static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4384 PyObject *resultobj;
4385 wxRect *arg1 = (wxRect *) 0 ;
4386 wxRect *arg2 = 0 ;
4387 bool result;
4388 wxRect temp2 ;
4389 PyObject * obj0 = 0 ;
4390 PyObject * obj1 = 0 ;
4391 char *kwnames[] = {
4392 (char *) "self",(char *) "rect", NULL
4393 };
4394
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4398 {
4399 arg2 = &temp2;
4400 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4401 }
4402 {
4403 PyThreadState* __tstate = wxPyBeginAllowThreads();
4404 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4405
4406 wxPyEndAllowThreads(__tstate);
4407 if (PyErr_Occurred()) SWIG_fail;
4408 }
4f89f6a3
RD
4409 {
4410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4411 }
d14a1e28
RD
4412 return resultobj;
4413 fail:
4414 return NULL;
4415}
4416
4417
4418static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4419 PyObject *resultobj;
4420 wxRect *arg1 = (wxRect *) 0 ;
4421 wxRect *arg2 = 0 ;
4422 bool result;
4423 wxRect temp2 ;
4424 PyObject * obj0 = 0 ;
4425 PyObject * obj1 = 0 ;
4426 char *kwnames[] = {
4427 (char *) "self",(char *) "rect", NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4433 {
4434 arg2 = &temp2;
4435 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4436 }
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4440
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4f89f6a3
RD
4444 {
4445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4446 }
d14a1e28
RD
4447 return resultobj;
4448 fail:
4449 return NULL;
4450}
4451
4452
4453static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4454 PyObject *resultobj;
4455 wxRect *arg1 = (wxRect *) 0 ;
4456 int arg2 ;
4457 int arg3 ;
4458 bool result;
4459 PyObject * obj0 = 0 ;
994141e6
RD
4460 PyObject * obj1 = 0 ;
4461 PyObject * obj2 = 0 ;
d14a1e28
RD
4462 char *kwnames[] = {
4463 (char *) "self",(char *) "x",(char *) "y", NULL
4464 };
4465
994141e6 4466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4469 arg2 = (int) SWIG_AsInt(obj1);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 arg3 = (int) SWIG_AsInt(obj2);
4472 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4473 {
4474 PyThreadState* __tstate = wxPyBeginAllowThreads();
4475 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4476
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4f89f6a3
RD
4480 {
4481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4482 }
d14a1e28
RD
4483 return resultobj;
4484 fail:
4485 return NULL;
4486}
4487
4488
4489static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject *resultobj;
4491 wxRect *arg1 = (wxRect *) 0 ;
4492 wxPoint *arg2 = 0 ;
4493 bool result;
4494 wxPoint temp2 ;
4495 PyObject * obj0 = 0 ;
4496 PyObject * obj1 = 0 ;
4497 char *kwnames[] = {
4498 (char *) "self",(char *) "pt", NULL
4499 };
4500
4501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4504 {
4505 arg2 = &temp2;
4506 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4507 }
4508 {
4509 PyThreadState* __tstate = wxPyBeginAllowThreads();
4510 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4511
4512 wxPyEndAllowThreads(__tstate);
4513 if (PyErr_Occurred()) SWIG_fail;
4514 }
4f89f6a3
RD
4515 {
4516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4517 }
d14a1e28
RD
4518 return resultobj;
4519 fail:
4520 return NULL;
4521}
4522
4523
4524static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
4525 PyObject *resultobj;
4526 wxRect *arg1 = (wxRect *) 0 ;
4527 wxRect *arg2 = 0 ;
4528 bool result;
4529 wxRect temp2 ;
4530 PyObject * obj0 = 0 ;
4531 PyObject * obj1 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self",(char *) "rect", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4539 {
4540 arg2 = &temp2;
4541 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4542 }
4543 {
4544 PyThreadState* __tstate = wxPyBeginAllowThreads();
4545 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4546
4547 wxPyEndAllowThreads(__tstate);
4548 if (PyErr_Occurred()) SWIG_fail;
4549 }
4f89f6a3
RD
4550 {
4551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4552 }
d14a1e28
RD
4553 return resultobj;
4554 fail:
4555 return NULL;
4556}
4557
4558
4559static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj;
4561 wxRect *arg1 = (wxRect *) 0 ;
4562 int arg2 ;
4563 PyObject * obj0 = 0 ;
994141e6 4564 PyObject * obj1 = 0 ;
d14a1e28
RD
4565 char *kwnames[] = {
4566 (char *) "self",(char *) "x", NULL
4567 };
4568
994141e6 4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4572 arg2 = (int) SWIG_AsInt(obj1);
4573 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4574 if (arg1) (arg1)->x = arg2;
4575
4576 Py_INCREF(Py_None); resultobj = Py_None;
4577 return resultobj;
4578 fail:
4579 return NULL;
4580}
4581
4582
4583static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4584 PyObject *resultobj;
4585 wxRect *arg1 = (wxRect *) 0 ;
4586 int result;
4587 PyObject * obj0 = 0 ;
4588 char *kwnames[] = {
4589 (char *) "self", NULL
4590 };
4591
4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4595 result = (int) ((arg1)->x);
4596
15afbcd0 4597 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4598 return resultobj;
4599 fail:
4600 return NULL;
4601}
4602
4603
4604static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4605 PyObject *resultobj;
4606 wxRect *arg1 = (wxRect *) 0 ;
4607 int arg2 ;
4608 PyObject * obj0 = 0 ;
994141e6 4609 PyObject * obj1 = 0 ;
d14a1e28
RD
4610 char *kwnames[] = {
4611 (char *) "self",(char *) "y", NULL
4612 };
4613
994141e6 4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4617 arg2 = (int) SWIG_AsInt(obj1);
4618 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4619 if (arg1) (arg1)->y = arg2;
4620
4621 Py_INCREF(Py_None); resultobj = Py_None;
4622 return resultobj;
4623 fail:
4624 return NULL;
4625}
4626
4627
4628static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4629 PyObject *resultobj;
4630 wxRect *arg1 = (wxRect *) 0 ;
4631 int result;
4632 PyObject * obj0 = 0 ;
4633 char *kwnames[] = {
4634 (char *) "self", NULL
4635 };
4636
4637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4640 result = (int) ((arg1)->y);
4641
15afbcd0 4642 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4643 return resultobj;
4644 fail:
4645 return NULL;
4646}
4647
4648
4649static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4650 PyObject *resultobj;
4651 wxRect *arg1 = (wxRect *) 0 ;
4652 int arg2 ;
4653 PyObject * obj0 = 0 ;
994141e6 4654 PyObject * obj1 = 0 ;
d14a1e28
RD
4655 char *kwnames[] = {
4656 (char *) "self",(char *) "width", NULL
4657 };
4658
994141e6 4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4662 arg2 = (int) SWIG_AsInt(obj1);
4663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4664 if (arg1) (arg1)->width = arg2;
4665
4666 Py_INCREF(Py_None); resultobj = Py_None;
4667 return resultobj;
4668 fail:
4669 return NULL;
4670}
4671
4672
4673static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4674 PyObject *resultobj;
4675 wxRect *arg1 = (wxRect *) 0 ;
4676 int result;
4677 PyObject * obj0 = 0 ;
4678 char *kwnames[] = {
4679 (char *) "self", NULL
4680 };
4681
4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4685 result = (int) ((arg1)->width);
4686
15afbcd0 4687 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4688 return resultobj;
4689 fail:
4690 return NULL;
4691}
4692
4693
4694static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4695 PyObject *resultobj;
4696 wxRect *arg1 = (wxRect *) 0 ;
4697 int arg2 ;
4698 PyObject * obj0 = 0 ;
994141e6 4699 PyObject * obj1 = 0 ;
d14a1e28
RD
4700 char *kwnames[] = {
4701 (char *) "self",(char *) "height", NULL
4702 };
4703
994141e6 4704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4707 arg2 = (int) SWIG_AsInt(obj1);
4708 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4709 if (arg1) (arg1)->height = arg2;
4710
4711 Py_INCREF(Py_None); resultobj = Py_None;
4712 return resultobj;
4713 fail:
4714 return NULL;
4715}
4716
4717
4718static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4719 PyObject *resultobj;
4720 wxRect *arg1 = (wxRect *) 0 ;
4721 int result;
4722 PyObject * obj0 = 0 ;
4723 char *kwnames[] = {
4724 (char *) "self", NULL
4725 };
4726
4727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4730 result = (int) ((arg1)->height);
4731
15afbcd0 4732 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4733 return resultobj;
4734 fail:
4735 return NULL;
4736}
4737
4738
4739static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject *resultobj;
4741 wxRect *arg1 = (wxRect *) 0 ;
4742 int arg2 = (int) 0 ;
4743 int arg3 = (int) 0 ;
4744 int arg4 = (int) 0 ;
4745 int arg5 = (int) 0 ;
4746 PyObject * obj0 = 0 ;
994141e6
RD
4747 PyObject * obj1 = 0 ;
4748 PyObject * obj2 = 0 ;
4749 PyObject * obj3 = 0 ;
4750 PyObject * obj4 = 0 ;
d14a1e28
RD
4751 char *kwnames[] = {
4752 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4753 };
4754
994141e6 4755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
4756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 4758 if (obj1) {
15afbcd0
RD
4759 arg2 = (int) SWIG_AsInt(obj1);
4760 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4761 }
4762 if (obj2) {
15afbcd0
RD
4763 arg3 = (int) SWIG_AsInt(obj2);
4764 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4765 }
4766 if (obj3) {
15afbcd0
RD
4767 arg4 = (int) SWIG_AsInt(obj3);
4768 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4769 }
4770 if (obj4) {
15afbcd0
RD
4771 arg5 = (int) SWIG_AsInt(obj4);
4772 if (PyErr_Occurred()) SWIG_fail;
994141e6 4773 }
d14a1e28
RD
4774 {
4775 PyThreadState* __tstate = wxPyBeginAllowThreads();
4776 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
4777
4778 wxPyEndAllowThreads(__tstate);
4779 if (PyErr_Occurred()) SWIG_fail;
4780 }
4781 Py_INCREF(Py_None); resultobj = Py_None;
4782 return resultobj;
4783 fail:
4784 return NULL;
4785}
4786
4787
e811c8ce 4788static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4789 PyObject *resultobj;
4790 wxRect *arg1 = (wxRect *) 0 ;
4791 PyObject *result;
4792 PyObject * obj0 = 0 ;
4793 char *kwnames[] = {
4794 (char *) "self", NULL
4795 };
4796
e811c8ce 4797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4802 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
4807 resultobj = result;
4808 return resultobj;
4809 fail:
4810 return NULL;
4811}
4812
4813
4814static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
4815 PyObject *obj;
4816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4817 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
4818 Py_INCREF(obj);
4819 return Py_BuildValue((char *)"");
4820}
4821static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj;
4823 wxRect *arg1 = (wxRect *) 0 ;
4824 wxRect *arg2 = (wxRect *) 0 ;
4825 PyObject *result;
4826 PyObject * obj0 = 0 ;
4827 PyObject * obj1 = 0 ;
4828 char *kwnames[] = {
4829 (char *) "r1",(char *) "r2", NULL
4830 };
4831
4832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
4836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 4837 {
e3b71cb8 4838 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 result = (PyObject *)wxIntersectRect(arg1,arg2);
4841
4842 wxPyEndAllowThreads(__tstate);
110da5b0 4843 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4844 }
4845 resultobj = result;
4846 return resultobj;
4847 fail:
4848 return NULL;
4849}
4850
4851
4852static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
4853 PyObject *resultobj;
4854 double arg1 = (double) 0.0 ;
4855 double arg2 = (double) 0.0 ;
4856 wxPoint2D *result;
994141e6
RD
4857 PyObject * obj0 = 0 ;
4858 PyObject * obj1 = 0 ;
d14a1e28
RD
4859 char *kwnames[] = {
4860 (char *) "x",(char *) "y", NULL
4861 };
4862
994141e6
RD
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4864 if (obj0) {
15afbcd0
RD
4865 arg1 = (double) SWIG_AsDouble(obj0);
4866 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4867 }
4868 if (obj1) {
15afbcd0
RD
4869 arg2 = (double) SWIG_AsDouble(obj1);
4870 if (PyErr_Occurred()) SWIG_fail;
994141e6 4871 }
d14a1e28
RD
4872 {
4873 PyThreadState* __tstate = wxPyBeginAllowThreads();
4874 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
4875
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
15afbcd0 4879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4880 return resultobj;
4881 fail:
4882 return NULL;
4883}
4884
4885
4886static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject *resultobj;
4888 wxPoint2D *arg1 = 0 ;
4889 wxPoint2D *result;
4890 wxPoint2D temp1 ;
4891 PyObject * obj0 = 0 ;
4892 char *kwnames[] = {
4893 (char *) "pt", NULL
4894 };
4895
4896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4897 {
4898 arg1 = &temp1;
4899 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4900 }
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4904
4905 wxPyEndAllowThreads(__tstate);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
15afbcd0 4908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4909 return resultobj;
4910 fail:
4911 return NULL;
4912}
4913
4914
4915static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4916 PyObject *resultobj;
4917 wxPoint *arg1 = 0 ;
4918 wxPoint2D *result;
4919 wxPoint temp1 ;
4920 PyObject * obj0 = 0 ;
4921 char *kwnames[] = {
4922 (char *) "pt", NULL
4923 };
4924
4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4926 {
4927 arg1 = &temp1;
4928 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4929 }
4930 {
4931 PyThreadState* __tstate = wxPyBeginAllowThreads();
4932 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4933
4934 wxPyEndAllowThreads(__tstate);
4935 if (PyErr_Occurred()) SWIG_fail;
4936 }
15afbcd0 4937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4938 return resultobj;
4939 fail:
4940 return NULL;
4941}
4942
4943
4944static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
4945 PyObject *resultobj;
4946 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4947 int *arg2 = (int *) 0 ;
4948 int *arg3 = (int *) 0 ;
4949 int temp2 ;
4950 int temp3 ;
4951 PyObject * obj0 = 0 ;
4952 char *kwnames[] = {
4953 (char *) "self", NULL
4954 };
4955
4956 arg2 = &temp2;
4957 arg3 = &temp3;
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4961 {
4962 PyThreadState* __tstate = wxPyBeginAllowThreads();
4963 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4964
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 Py_INCREF(Py_None); resultobj = Py_None;
4969 {
4970 PyObject *o = PyInt_FromLong((long) (*arg2));
4971 resultobj = t_output_helper(resultobj,o);
4972 }
4973 {
4974 PyObject *o = PyInt_FromLong((long) (*arg3));
4975 resultobj = t_output_helper(resultobj,o);
4976 }
4977 return resultobj;
4978 fail:
4979 return NULL;
4980}
4981
4982
4983static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
4984 PyObject *resultobj;
4985 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4986 int *arg2 = (int *) 0 ;
4987 int *arg3 = (int *) 0 ;
4988 int temp2 ;
4989 int temp3 ;
4990 PyObject * obj0 = 0 ;
4991 char *kwnames[] = {
4992 (char *) "self", NULL
4993 };
4994
4995 arg2 = &temp2;
4996 arg3 = &temp3;
4997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
15afbcd0
RD
4998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5000 {
5001 PyThreadState* __tstate = wxPyBeginAllowThreads();
5002 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
5003
5004 wxPyEndAllowThreads(__tstate);
5005 if (PyErr_Occurred()) SWIG_fail;
5006 }
5007 Py_INCREF(Py_None); resultobj = Py_None;
5008 {
5009 PyObject *o = PyInt_FromLong((long) (*arg2));
5010 resultobj = t_output_helper(resultobj,o);
5011 }
5012 {
5013 PyObject *o = PyInt_FromLong((long) (*arg3));
5014 resultobj = t_output_helper(resultobj,o);
5015 }
5016 return resultobj;
5017 fail:
5018 return NULL;
5019}
5020
5021
5022static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj;
5024 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5025 double result;
5026 PyObject * obj0 = 0 ;
5027 char *kwnames[] = {
5028 (char *) "self", NULL
5029 };
5030
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
5032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
5037
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
15afbcd0 5041 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5042 return resultobj;
5043 fail:
5044 return NULL;
5045}
5046
5047
5048static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5049 PyObject *resultobj;
5050 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5051 double result;
5052 PyObject * obj0 = 0 ;
5053 char *kwnames[] = {
5054 (char *) "self", NULL
5055 };
5056
5057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
15afbcd0
RD
5058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5060 {
5061 PyThreadState* __tstate = wxPyBeginAllowThreads();
5062 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
5063
5064 wxPyEndAllowThreads(__tstate);
5065 if (PyErr_Occurred()) SWIG_fail;
5066 }
15afbcd0 5067 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5068 return resultobj;
5069 fail:
5070 return NULL;
5071}
5072
5073
5074static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5075 PyObject *resultobj;
5076 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5077 double arg2 ;
5078 PyObject * obj0 = 0 ;
994141e6 5079 PyObject * obj1 = 0 ;
d14a1e28
RD
5080 char *kwnames[] = {
5081 (char *) "self",(char *) "length", NULL
5082 };
5083
994141e6 5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5087 arg2 = (double) SWIG_AsDouble(obj1);
5088 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 (arg1)->SetVectorLength(arg2);
5092
5093 wxPyEndAllowThreads(__tstate);
5094 if (PyErr_Occurred()) SWIG_fail;
5095 }
5096 Py_INCREF(Py_None); resultobj = Py_None;
5097 return resultobj;
5098 fail:
5099 return NULL;
5100}
5101
5102
5103static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5104 PyObject *resultobj;
5105 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5106 double arg2 ;
5107 PyObject * obj0 = 0 ;
994141e6 5108 PyObject * obj1 = 0 ;
d14a1e28
RD
5109 char *kwnames[] = {
5110 (char *) "self",(char *) "degrees", NULL
5111 };
5112
994141e6 5113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5116 arg2 = (double) SWIG_AsDouble(obj1);
5117 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 (arg1)->SetVectorAngle(arg2);
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 Py_INCREF(Py_None); resultobj = Py_None;
5126 return resultobj;
5127 fail:
5128 return NULL;
5129}
5130
5131
5132static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5135 wxPoint2D *arg2 = 0 ;
5136 double result;
5137 wxPoint2D temp2 ;
5138 PyObject * obj0 = 0 ;
5139 PyObject * obj1 = 0 ;
5140 char *kwnames[] = {
5141 (char *) "self",(char *) "pt", NULL
5142 };
5143
5144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5147 {
5148 arg2 = &temp2;
5149 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5150 }
5151 {
5152 PyThreadState* __tstate = wxPyBeginAllowThreads();
5153 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
5154
5155 wxPyEndAllowThreads(__tstate);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
15afbcd0 5158 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5159 return resultobj;
5160 fail:
5161 return NULL;
5162}
5163
5164
5165static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
5166 PyObject *resultobj;
5167 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5168 wxPoint2D *arg2 = 0 ;
5169 double result;
5170 wxPoint2D temp2 ;
5171 PyObject * obj0 = 0 ;
5172 PyObject * obj1 = 0 ;
5173 char *kwnames[] = {
5174 (char *) "self",(char *) "pt", NULL
5175 };
5176
5177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5180 {
5181 arg2 = &temp2;
5182 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5183 }
5184 {
5185 PyThreadState* __tstate = wxPyBeginAllowThreads();
5186 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5187
5188 wxPyEndAllowThreads(__tstate);
5189 if (PyErr_Occurred()) SWIG_fail;
5190 }
15afbcd0 5191 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5192 return resultobj;
5193 fail:
5194 return NULL;
5195}
5196
5197
5198static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5199 PyObject *resultobj;
5200 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5201 wxPoint2D *arg2 = 0 ;
5202 double result;
5203 wxPoint2D temp2 ;
5204 PyObject * obj0 = 0 ;
5205 PyObject * obj1 = 0 ;
5206 char *kwnames[] = {
5207 (char *) "self",(char *) "vec", NULL
5208 };
5209
5210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5213 {
5214 arg2 = &temp2;
5215 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5216 }
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
15afbcd0 5224 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5225 return resultobj;
5226 fail:
5227 return NULL;
5228}
5229
5230
5231static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5232 PyObject *resultobj;
5233 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5234 wxPoint2D *arg2 = 0 ;
5235 double result;
5236 wxPoint2D temp2 ;
5237 PyObject * obj0 = 0 ;
5238 PyObject * obj1 = 0 ;
5239 char *kwnames[] = {
5240 (char *) "self",(char *) "vec", NULL
5241 };
5242
5243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5246 {
5247 arg2 = &temp2;
5248 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5249 }
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
15afbcd0 5257 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5258 return resultobj;
5259 fail:
5260 return NULL;
5261}
5262
5263
5264static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
5265 PyObject *resultobj;
5266 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5267 wxPoint2D result;
5268 PyObject * obj0 = 0 ;
5269 char *kwnames[] = {
5270 (char *) "self", NULL
5271 };
5272
5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
15afbcd0
RD
5274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 result = (arg1)->operator -();
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 {
5284 wxPoint2D * resultptr;
5285 resultptr = new wxPoint2D((wxPoint2D &) result);
15afbcd0 5286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5287 }
5288 return resultobj;
5289 fail:
5290 return NULL;
5291}
5292
5293
5294static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
5295 PyObject *resultobj;
5296 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5297 wxPoint2D *arg2 = 0 ;
5298 wxPoint2D *result;
5299 wxPoint2D temp2 ;
5300 PyObject * obj0 = 0 ;
5301 PyObject * obj1 = 0 ;
5302 char *kwnames[] = {
5303 (char *) "self",(char *) "pt", NULL
5304 };
5305
5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5309 {
5310 arg2 = &temp2;
5311 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5312 }
5313 {
5314 PyThreadState* __tstate = wxPyBeginAllowThreads();
5315 {
5316 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5317 result = (wxPoint2D *) &_result_ref;
5318 }
5319
5320 wxPyEndAllowThreads(__tstate);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 }
15afbcd0 5323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5324 return resultobj;
5325 fail:
5326 return NULL;
5327}
5328
5329
5330static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
5331 PyObject *resultobj;
5332 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5333 wxPoint2D *arg2 = 0 ;
5334 wxPoint2D *result;
5335 wxPoint2D temp2 ;
5336 PyObject * obj0 = 0 ;
5337 PyObject * obj1 = 0 ;
5338 char *kwnames[] = {
5339 (char *) "self",(char *) "pt", NULL
5340 };
5341
5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5345 {
5346 arg2 = &temp2;
5347 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5348 }
5349 {
5350 PyThreadState* __tstate = wxPyBeginAllowThreads();
5351 {
5352 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5353 result = (wxPoint2D *) &_result_ref;
5354 }
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
15afbcd0 5359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5360 return resultobj;
5361 fail:
5362 return NULL;
5363}
5364
5365
5366static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
5367 PyObject *resultobj;
5368 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5369 wxPoint2D *arg2 = 0 ;
5370 wxPoint2D *result;
5371 wxPoint2D temp2 ;
5372 PyObject * obj0 = 0 ;
5373 PyObject * obj1 = 0 ;
5374 char *kwnames[] = {
5375 (char *) "self",(char *) "pt", NULL
5376 };
5377
5378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5381 {
5382 arg2 = &temp2;
5383 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5384 }
5385 {
5386 PyThreadState* __tstate = wxPyBeginAllowThreads();
5387 {
5388 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5389 result = (wxPoint2D *) &_result_ref;
5390 }
5391
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
15afbcd0 5395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5396 return resultobj;
5397 fail:
5398 return NULL;
5399}
5400
5401
5402static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
5403 PyObject *resultobj;
5404 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5405 wxPoint2D *arg2 = 0 ;
5406 wxPoint2D *result;
5407 wxPoint2D temp2 ;
5408 PyObject * obj0 = 0 ;
5409 PyObject * obj1 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "self",(char *) "pt", NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5417 {
5418 arg2 = &temp2;
5419 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5420 }
5421 {
5422 PyThreadState* __tstate = wxPyBeginAllowThreads();
5423 {
5424 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5425 result = (wxPoint2D *) &_result_ref;
5426 }
5427
5428 wxPyEndAllowThreads(__tstate);
5429 if (PyErr_Occurred()) SWIG_fail;
5430 }
15afbcd0 5431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5432 return resultobj;
5433 fail:
5434 return NULL;
5435}
5436
5437
5438static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
5439 PyObject *resultobj;
5440 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5441 wxPoint2D *arg2 = 0 ;
5442 bool result;
5443 wxPoint2D temp2 ;
5444 PyObject * obj0 = 0 ;
5445 PyObject * obj1 = 0 ;
5446 char *kwnames[] = {
5447 (char *) "self",(char *) "pt", NULL
5448 };
5449
5450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5453 {
5454 arg2 = &temp2;
5455 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5456 }
5457 {
5458 PyThreadState* __tstate = wxPyBeginAllowThreads();
5459 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5460
5461 wxPyEndAllowThreads(__tstate);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 }
4f89f6a3
RD
5464 {
5465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5466 }
d14a1e28
RD
5467 return resultobj;
5468 fail:
5469 return NULL;
5470}
5471
5472
5473static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
5474 PyObject *resultobj;
5475 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5476 wxPoint2D *arg2 = 0 ;
5477 bool result;
5478 wxPoint2D temp2 ;
5479 PyObject * obj0 = 0 ;
5480 PyObject * obj1 = 0 ;
5481 char *kwnames[] = {
5482 (char *) "self",(char *) "pt", NULL
5483 };
5484
5485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5488 {
5489 arg2 = &temp2;
5490 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5491 }
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5495
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
4f89f6a3
RD
5499 {
5500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5501 }
d14a1e28
RD
5502 return resultobj;
5503 fail:
5504 return NULL;
5505}
5506
5507
d14a1e28
RD
5508static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5509 PyObject *resultobj;
5510 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5511 double arg2 ;
5512 PyObject * obj0 = 0 ;
994141e6 5513 PyObject * obj1 = 0 ;
d14a1e28
RD
5514 char *kwnames[] = {
5515 (char *) "self",(char *) "m_x", NULL
5516 };
5517
994141e6 5518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5521 arg2 = (double) SWIG_AsDouble(obj1);
5522 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5523 if (arg1) (arg1)->m_x = arg2;
5524
5525 Py_INCREF(Py_None); resultobj = Py_None;
5526 return resultobj;
5527 fail:
5528 return NULL;
5529}
5530
5531
5532static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5533 PyObject *resultobj;
5534 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5535 double result;
5536 PyObject * obj0 = 0 ;
5537 char *kwnames[] = {
5538 (char *) "self", NULL
5539 };
5540
5541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5544 result = (double) ((arg1)->m_x);
5545
15afbcd0 5546 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5547 return resultobj;
5548 fail:
5549 return NULL;
5550}
5551
5552
5553static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5554 PyObject *resultobj;
5555 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5556 double arg2 ;
5557 PyObject * obj0 = 0 ;
994141e6 5558 PyObject * obj1 = 0 ;
d14a1e28
RD
5559 char *kwnames[] = {
5560 (char *) "self",(char *) "m_y", NULL
5561 };
5562
994141e6 5563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5566 arg2 = (double) SWIG_AsDouble(obj1);
5567 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5568 if (arg1) (arg1)->m_y = arg2;
5569
5570 Py_INCREF(Py_None); resultobj = Py_None;
5571 return resultobj;
5572 fail:
5573 return NULL;
5574}
5575
5576
5577static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5578 PyObject *resultobj;
5579 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5580 double result;
5581 PyObject * obj0 = 0 ;
5582 char *kwnames[] = {
5583 (char *) "self", NULL
5584 };
5585
5586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5589 result = (double) ((arg1)->m_y);
5590
15afbcd0 5591 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5592 return resultobj;
5593 fail:
5594 return NULL;
5595}
5596
5597
5598static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5599 PyObject *resultobj;
5600 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5601 double arg2 = (double) 0 ;
5602 double arg3 = (double) 0 ;
5603 PyObject * obj0 = 0 ;
994141e6
RD
5604 PyObject * obj1 = 0 ;
5605 PyObject * obj2 = 0 ;
d14a1e28
RD
5606 char *kwnames[] = {
5607 (char *) "self",(char *) "x",(char *) "y", NULL
5608 };
5609
994141e6 5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5613 if (obj1) {
15afbcd0
RD
5614 arg2 = (double) SWIG_AsDouble(obj1);
5615 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
5616 }
5617 if (obj2) {
15afbcd0
RD
5618 arg3 = (double) SWIG_AsDouble(obj2);
5619 if (PyErr_Occurred()) SWIG_fail;
994141e6 5620 }
d14a1e28
RD
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 wxPoint2D_Set(arg1,arg2,arg3);
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 Py_INCREF(Py_None); resultobj = Py_None;
5629 return resultobj;
5630 fail:
5631 return NULL;
5632}
5633
5634
e811c8ce 5635static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5636 PyObject *resultobj;
5637 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5638 PyObject *result;
5639 PyObject * obj0 = 0 ;
5640 char *kwnames[] = {
5641 (char *) "self", NULL
5642 };
5643
e811c8ce 5644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5647 {
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5649 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
5650
5651 wxPyEndAllowThreads(__tstate);
5652 if (PyErr_Occurred()) SWIG_fail;
5653 }
5654 resultobj = result;
5655 return resultobj;
5656 fail:
5657 return NULL;
5658}
5659
5660
5661static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
5662 PyObject *obj;
5663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5664 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5665 Py_INCREF(obj);
5666 return Py_BuildValue((char *)"");
5667}
5668static int _wrap_DefaultPosition_set(PyObject *_val) {
5669 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5670 return 1;
5671}
5672
5673
5674static PyObject *_wrap_DefaultPosition_get() {
5675 PyObject *pyobj;
5676
15afbcd0 5677 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
5678 return pyobj;
5679}
5680
5681
5682static int _wrap_DefaultSize_set(PyObject *_val) {
5683 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5684 return 1;
5685}
5686
5687
5688static PyObject *_wrap_DefaultSize_get() {
5689 PyObject *pyobj;
5690
15afbcd0 5691 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
5692 return pyobj;
5693}
5694
5695
5696static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5697 PyObject *resultobj;
5698 PyObject *arg1 = (PyObject *) 0 ;
5699 wxPyInputStream *result;
5700 PyObject * obj0 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "p", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5706 arg1 = obj0;
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5710
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
15afbcd0 5714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
d14a1e28
RD
5715 return resultobj;
5716 fail:
5717 return NULL;
5718}
5719
5720
5721static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
5722 PyObject *resultobj;
5723 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5724 PyObject * obj0 = 0 ;
5725 char *kwnames[] = {
5726 (char *) "self", NULL
5727 };
5728
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
15afbcd0
RD
5730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 (arg1)->close();
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 Py_INCREF(Py_None); resultobj = Py_None;
5740 return resultobj;
5741 fail:
5742 return NULL;
5743}
5744
5745
5746static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj;
5748 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5749 PyObject * obj0 = 0 ;
5750 char *kwnames[] = {
5751 (char *) "self", NULL
5752 };
5753
5754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
15afbcd0
RD
5755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 (arg1)->flush();
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 Py_INCREF(Py_None); resultobj = Py_None;
5765 return resultobj;
5766 fail:
5767 return NULL;
5768}
5769
5770
5771static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj;
5773 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5774 bool result;
5775 PyObject * obj0 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
5781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5783 {
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 result = (bool)(arg1)->eof();
5786
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
4f89f6a3
RD
5790 {
5791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5792 }
d14a1e28
RD
5793 return resultobj;
5794 fail:
5795 return NULL;
5796}
5797
5798
5799static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
5800 PyObject *resultobj;
5801 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5802 int arg2 = (int) -1 ;
5803 PyObject *result;
5804 PyObject * obj0 = 0 ;
994141e6 5805 PyObject * obj1 = 0 ;
d14a1e28
RD
5806 char *kwnames[] = {
5807 (char *) "self",(char *) "size", NULL
5808 };
5809
994141e6 5810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5813 if (obj1) {
15afbcd0
RD
5814 arg2 = (int) SWIG_AsInt(obj1);
5815 if (PyErr_Occurred()) SWIG_fail;
994141e6 5816 }
d14a1e28
RD
5817 {
5818 PyThreadState* __tstate = wxPyBeginAllowThreads();
5819 result = (PyObject *)(arg1)->read(arg2);
5820
5821 wxPyEndAllowThreads(__tstate);
5822 if (PyErr_Occurred()) SWIG_fail;
5823 }
5824 resultobj = result;
5825 return resultobj;
5826 fail:
5827 return NULL;
5828}
5829
5830
5831static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
5832 PyObject *resultobj;
5833 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5834 int arg2 = (int) -1 ;
5835 PyObject *result;
5836 PyObject * obj0 = 0 ;
994141e6 5837 PyObject * obj1 = 0 ;
d14a1e28
RD
5838 char *kwnames[] = {
5839 (char *) "self",(char *) "size", NULL
5840 };
5841
994141e6 5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5845 if (obj1) {
15afbcd0
RD
5846 arg2 = (int) SWIG_AsInt(obj1);
5847 if (PyErr_Occurred()) SWIG_fail;
994141e6 5848 }
d14a1e28
RD
5849 {
5850 PyThreadState* __tstate = wxPyBeginAllowThreads();
5851 result = (PyObject *)(arg1)->readline(arg2);
5852
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) SWIG_fail;
5855 }
5856 resultobj = result;
5857 return resultobj;
5858 fail:
5859 return NULL;
5860}
5861
5862
5863static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
5864 PyObject *resultobj;
5865 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5866 int arg2 = (int) -1 ;
5867 PyObject *result;
5868 PyObject * obj0 = 0 ;
994141e6 5869 PyObject * obj1 = 0 ;
d14a1e28
RD
5870 char *kwnames[] = {
5871 (char *) "self",(char *) "sizehint", NULL
5872 };
5873
994141e6 5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5877 if (obj1) {
15afbcd0
RD
5878 arg2 = (int) SWIG_AsInt(obj1);
5879 if (PyErr_Occurred()) SWIG_fail;
994141e6 5880 }
d14a1e28
RD
5881 {
5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
5883 result = (PyObject *)(arg1)->readlines(arg2);
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
5888 resultobj = result;
5889 return resultobj;
5890 fail:
5891 return NULL;
5892}
5893
5894
5895static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject *resultobj;
5897 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5898 int arg2 ;
5899 int arg3 = (int) 0 ;
5900 PyObject * obj0 = 0 ;
994141e6
RD
5901 PyObject * obj1 = 0 ;
5902 PyObject * obj2 = 0 ;
d14a1e28
RD
5903 char *kwnames[] = {
5904 (char *) "self",(char *) "offset",(char *) "whence", NULL
5905 };
5906
994141e6 5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5910 arg2 = (int) SWIG_AsInt(obj1);
5911 if (PyErr_Occurred()) SWIG_fail;
994141e6 5912 if (obj2) {
15afbcd0
RD
5913 arg3 = (int) SWIG_AsInt(obj2);
5914 if (PyErr_Occurred()) SWIG_fail;
994141e6 5915 }
d14a1e28
RD
5916 {
5917 PyThreadState* __tstate = wxPyBeginAllowThreads();
5918 (arg1)->seek(arg2,arg3);
5919
5920 wxPyEndAllowThreads(__tstate);
5921 if (PyErr_Occurred()) SWIG_fail;
5922 }
5923 Py_INCREF(Py_None); resultobj = Py_None;
5924 return resultobj;
5925 fail:
5926 return NULL;
5927}
5928
5929
5930static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
5931 PyObject *resultobj;
5932 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5933 int result;
5934 PyObject * obj0 = 0 ;
5935 char *kwnames[] = {
5936 (char *) "self", NULL
5937 };
5938
5939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
15afbcd0
RD
5940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 result = (int)(arg1)->tell();
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
15afbcd0 5949 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5950 return resultobj;
5951 fail:
5952 return NULL;
5953}
5954
5955
5956static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj;
5958 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5959 char result;
5960 PyObject * obj0 = 0 ;
5961 char *kwnames[] = {
5962 (char *) "self", NULL
5963 };
5964
5965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
15afbcd0
RD
5966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 result = (char)(arg1)->Peek();
5971
5972 wxPyEndAllowThreads(__tstate);
5973 if (PyErr_Occurred()) SWIG_fail;
5974 }
15afbcd0 5975 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5976 return resultobj;
5977 fail:
5978 return NULL;
5979}
5980
5981
5982static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
5983 PyObject *resultobj;
5984 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5985 char result;
5986 PyObject * obj0 = 0 ;
5987 char *kwnames[] = {
5988 (char *) "self", NULL
5989 };
5990
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
15afbcd0
RD
5992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 result = (char)(arg1)->GetC();
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
15afbcd0 6001 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
6002 return resultobj;
6003 fail:
6004 return NULL;
6005}
6006
6007
6008static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
6009 PyObject *resultobj;
6010 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6011 size_t result;
6012 PyObject * obj0 = 0 ;
6013 char *kwnames[] = {
6014 (char *) "self", NULL
6015 };
6016
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
6018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (size_t)(arg1)->LastRead();
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
15afbcd0 6027 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
6028 return resultobj;
6029 fail:
6030 return NULL;
6031}
6032
6033
6034static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
6035 PyObject *resultobj;
6036 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6037 bool result;
6038 PyObject * obj0 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "self", NULL
6041 };
6042
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
6044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6046 {
6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
6048 result = (bool)(arg1)->CanRead();
6049
6050 wxPyEndAllowThreads(__tstate);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
4f89f6a3
RD
6053 {
6054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6055 }
d14a1e28
RD
6056 return resultobj;
6057 fail:
6058 return NULL;
6059}
6060
6061
6062static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
6063 PyObject *resultobj;
6064 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6065 bool result;
6066 PyObject * obj0 = 0 ;
6067 char *kwnames[] = {
6068 (char *) "self", NULL
6069 };
6070
6071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
6072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6074 {
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 result = (bool)(arg1)->Eof();
6077
6078 wxPyEndAllowThreads(__tstate);
6079 if (PyErr_Occurred()) SWIG_fail;
6080 }
4f89f6a3
RD
6081 {
6082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6083 }
d14a1e28
RD
6084 return resultobj;
6085 fail:
6086 return NULL;
6087}
6088
6089
6090static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
6091 PyObject *resultobj;
6092 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6093 char arg2 ;
6094 bool result;
6095 PyObject * obj0 = 0 ;
994141e6 6096 PyObject * obj1 = 0 ;
d14a1e28
RD
6097 char *kwnames[] = {
6098 (char *) "self",(char *) "c", NULL
6099 };
6100
994141e6 6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6104 arg2 = (char) SWIG_AsChar(obj1);
6105 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6106 {
6107 PyThreadState* __tstate = wxPyBeginAllowThreads();
6108 result = (bool)(arg1)->Ungetch(arg2);
6109
6110 wxPyEndAllowThreads(__tstate);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 }
4f89f6a3
RD
6113 {
6114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6115 }
d14a1e28
RD
6116 return resultobj;
6117 fail:
6118 return NULL;
6119}
6120
6121
6122static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
6123 PyObject *resultobj;
6124 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6125 long arg2 ;
6126 int arg3 = (int) wxFromStart ;
6127 long result;
6128 PyObject * obj0 = 0 ;
994141e6
RD
6129 PyObject * obj1 = 0 ;
6130 PyObject * obj2 = 0 ;
d14a1e28
RD
6131 char *kwnames[] = {
6132 (char *) "self",(char *) "pos",(char *) "mode", NULL
6133 };
6134
994141e6 6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6138 arg2 = (long) SWIG_AsLong(obj1);
6139 if (PyErr_Occurred()) SWIG_fail;
994141e6 6140 if (obj2) {
15afbcd0
RD
6141 arg3 = (wxSeekMode) SWIG_AsInt(obj2);
6142 if (PyErr_Occurred()) SWIG_fail;
994141e6 6143 }
d14a1e28
RD
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
15afbcd0 6151 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
6152 return resultobj;
6153 fail:
6154 return NULL;
6155}
6156
6157
6158static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
6159 PyObject *resultobj;
6160 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6161 long result;
6162 PyObject * obj0 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
15afbcd0
RD
6168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6170 {
6171 PyThreadState* __tstate = wxPyBeginAllowThreads();
6172 result = (long)(arg1)->TellI();
6173
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
15afbcd0 6177 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
6178 return resultobj;
6179 fail:
6180 return NULL;
6181}
6182
6183
6184static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
6185 PyObject *obj;
6186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6187 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6188 Py_INCREF(obj);
6189 return Py_BuildValue((char *)"");
6190}
6191static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
6192 PyObject *resultobj;
6193 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6194 PyObject *arg2 = (PyObject *) 0 ;
6195 PyObject * obj0 = 0 ;
6196 PyObject * obj1 = 0 ;
6197 char *kwnames[] = {
6198 (char *) "self",(char *) "obj", NULL
6199 };
6200
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6204 arg2 = obj1;
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 wxOutputStream_write(arg1,arg2);
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 Py_INCREF(Py_None); resultobj = Py_None;
6213 return resultobj;
6214 fail:
6215 return NULL;
6216}
6217
6218
6219static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
6220 PyObject *obj;
6221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6222 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6223 Py_INCREF(obj);
6224 return Py_BuildValue((char *)"");
6225}
6226static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6227 PyObject *resultobj;
6228 wxInputStream *arg1 = (wxInputStream *) 0 ;
6229 wxString *arg2 = 0 ;
6230 wxString *arg3 = 0 ;
6231 wxString *arg4 = 0 ;
6232 wxDateTime arg5 ;
6233 wxFSFile *result;
6234 wxPyInputStream *temp1 ;
6235 bool created1 ;
e811c8ce
RD
6236 bool temp2 = False ;
6237 bool temp3 = False ;
6238 bool temp4 = False ;
d14a1e28
RD
6239 wxDateTime *argp5 ;
6240 PyObject * obj0 = 0 ;
6241 PyObject * obj1 = 0 ;
6242 PyObject * obj2 = 0 ;
6243 PyObject * obj3 = 0 ;
6244 PyObject * obj4 = 0 ;
6245 char *kwnames[] = {
6246 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6247 };
6248
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6250 {
6251 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6252 arg1 = temp1->m_wxis;
e811c8ce 6253 created1 = False;
d14a1e28
RD
6254 } else {
6255 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 6256 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
6257 if (arg1 == NULL) {
6258 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6259 SWIG_fail;
6260 }
e811c8ce 6261 created1 = True;
d14a1e28
RD
6262 }
6263 }
6264 {
6265 arg2 = wxString_in_helper(obj1);
6266 if (arg2 == NULL) SWIG_fail;
e811c8ce 6267 temp2 = True;
d14a1e28
RD
6268 }
6269 {
6270 arg3 = wxString_in_helper(obj2);
6271 if (arg3 == NULL) SWIG_fail;
e811c8ce 6272 temp3 = True;
d14a1e28
RD
6273 }
6274 {
6275 arg4 = wxString_in_helper(obj3);
6276 if (arg4 == NULL) SWIG_fail;
e811c8ce 6277 temp4 = True;
d14a1e28 6278 }
15afbcd0
RD
6279 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6280 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6281 arg5 = *argp5;
d14a1e28
RD
6282 {
6283 PyThreadState* __tstate = wxPyBeginAllowThreads();
6284 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6285
6286 wxPyEndAllowThreads(__tstate);
6287 if (PyErr_Occurred()) SWIG_fail;
6288 }
6289 {
412d302d 6290 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
6291 }
6292 {
6293 if (created1)
6294 delete arg1;
6295 }
6296 {
6297 if (temp2)
6298 delete arg2;
6299 }
6300 {
6301 if (temp3)
6302 delete arg3;
6303 }
6304 {
6305 if (temp4)
6306 delete arg4;
6307 }
6308 return resultobj;
6309 fail:
6310 {
6311 if (created1)
6312 delete arg1;
6313 }
6314 {
6315 if (temp2)
6316 delete arg2;
6317 }
6318 {
6319 if (temp3)
6320 delete arg3;
6321 }
6322 {
6323 if (temp4)
6324 delete arg4;
6325 }
6326 return NULL;
6327}
6328
6329
6330static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6331 PyObject *resultobj;
6332 wxFSFile *arg1 = (wxFSFile *) 0 ;
6333 PyObject * obj0 = 0 ;
6334 char *kwnames[] = {
6335 (char *) "self", NULL
6336 };
6337
6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
6339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 delete arg1;
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
6348 Py_INCREF(Py_None); resultobj = Py_None;
6349 return resultobj;
6350 fail:
6351 return NULL;
6352}
6353
6354
6355static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6356 PyObject *resultobj;
6357 wxFSFile *arg1 = (wxFSFile *) 0 ;
6358 wxInputStream *result;
6359 PyObject * obj0 = 0 ;
6360 char *kwnames[] = {
6361 (char *) "self", NULL
6362 };
6363
6364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
6365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6367 {
6368 PyThreadState* __tstate = wxPyBeginAllowThreads();
6369 result = (wxInputStream *)(arg1)->GetStream();
6370
6371 wxPyEndAllowThreads(__tstate);
6372 if (PyErr_Occurred()) SWIG_fail;
6373 }
6374 {
6375 wxPyInputStream * _ptr = NULL;
6376
6377 if (result) {
6378 _ptr = new wxPyInputStream(result);
6379 }
e811c8ce 6380 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
6381 }
6382 return resultobj;
6383 fail:
6384 return NULL;
6385}
6386
6387
6388static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
6389 PyObject *resultobj;
6390 wxFSFile *arg1 = (wxFSFile *) 0 ;
6391 wxString *result;
6392 PyObject * obj0 = 0 ;
6393 char *kwnames[] = {
6394 (char *) "self", NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
6398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 {
6403 wxString const &_result_ref = (arg1)->GetMimeType();
6404 result = (wxString *) &_result_ref;
6405 }
6406
6407 wxPyEndAllowThreads(__tstate);
6408 if (PyErr_Occurred()) SWIG_fail;
6409 }
cc6dd355
RD
6410 {
6411#if wxUSE_UNICODE
6412 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6413#else
6414 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6415#endif
6416 }
d14a1e28
RD
6417 return resultobj;
6418 fail:
6419 return NULL;
6420}
6421
6422
6423static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6424 PyObject *resultobj;
6425 wxFSFile *arg1 = (wxFSFile *) 0 ;
6426 wxString *result;
6427 PyObject * obj0 = 0 ;
6428 char *kwnames[] = {
6429 (char *) "self", NULL
6430 };
6431
6432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
6433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6435 {
6436 PyThreadState* __tstate = wxPyBeginAllowThreads();
6437 {
6438 wxString const &_result_ref = (arg1)->GetLocation();
6439 result = (wxString *) &_result_ref;
6440 }
6441
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
cc6dd355
RD
6445 {
6446#if wxUSE_UNICODE
6447 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6448#else
6449 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6450#endif
6451 }
d14a1e28
RD
6452 return resultobj;
6453 fail:
6454 return NULL;
6455}
6456
6457
6458static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6459 PyObject *resultobj;
6460 wxFSFile *arg1 = (wxFSFile *) 0 ;
6461 wxString *result;
6462 PyObject * obj0 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "self", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
15afbcd0
RD
6468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6470 {
6471 PyThreadState* __tstate = wxPyBeginAllowThreads();
6472 {
6473 wxString const &_result_ref = (arg1)->GetAnchor();
6474 result = (wxString *) &_result_ref;
6475 }
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
cc6dd355
RD
6480 {
6481#if wxUSE_UNICODE
6482 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6483#else
6484 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6485#endif
6486 }
d14a1e28
RD
6487 return resultobj;
6488 fail:
6489 return NULL;
6490}
6491
6492
6493static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 wxFSFile *arg1 = (wxFSFile *) 0 ;
6496 wxDateTime result;
6497 PyObject * obj0 = 0 ;
6498 char *kwnames[] = {
6499 (char *) "self", NULL
6500 };
6501
6502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
6503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6505 {
6506 PyThreadState* __tstate = wxPyBeginAllowThreads();
6507 result = (arg1)->GetModificationTime();
6508
6509 wxPyEndAllowThreads(__tstate);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 {
6513 wxDateTime * resultptr;
6514 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 6515 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
6516 }
6517 return resultobj;
6518 fail:
6519 return NULL;
6520}
6521
6522
6523static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
6524 PyObject *obj;
6525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6526 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6527 Py_INCREF(obj);
6528 return Py_BuildValue((char *)"");
6529}
6530static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6531 PyObject *obj;
6532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6533 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6534 Py_INCREF(obj);
6535 return Py_BuildValue((char *)"");
6536}
6537static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6538 PyObject *resultobj;
6539 wxPyFileSystemHandler *result;
6540 char *kwnames[] = {
6541 NULL
6542 };
6543
6544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
15afbcd0 6552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
d14a1e28
RD
6553 return resultobj;
6554 fail:
6555 return NULL;
6556}
6557
6558
6559static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6560 PyObject *resultobj;
6561 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6562 PyObject *arg2 = (PyObject *) 0 ;
6563 PyObject *arg3 = (PyObject *) 0 ;
6564 PyObject * obj0 = 0 ;
6565 PyObject * obj1 = 0 ;
6566 PyObject * obj2 = 0 ;
6567 char *kwnames[] = {
6568 (char *) "self",(char *) "self",(char *) "_class", NULL
6569 };
6570
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6574 arg2 = obj1;
6575 arg3 = obj2;
6576 {
6577 PyThreadState* __tstate = wxPyBeginAllowThreads();
6578 (arg1)->_setCallbackInfo(arg2,arg3);
6579
6580 wxPyEndAllowThreads(__tstate);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 Py_INCREF(Py_None); resultobj = Py_None;
6584 return resultobj;
6585 fail:
6586 return NULL;
6587}
6588
6589
6590static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6591 PyObject *resultobj;
6592 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6593 wxString *arg2 = 0 ;
6594 bool result;
e811c8ce 6595 bool temp2 = False ;
d14a1e28
RD
6596 PyObject * obj0 = 0 ;
6597 PyObject * obj1 = 0 ;
6598 char *kwnames[] = {
6599 (char *) "self",(char *) "location", NULL
6600 };
6601
6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6605 {
6606 arg2 = wxString_in_helper(obj1);
6607 if (arg2 == NULL) SWIG_fail;
e811c8ce 6608 temp2 = True;
d14a1e28
RD
6609 }
6610 {
6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6612 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6613
6614 wxPyEndAllowThreads(__tstate);
6615 if (PyErr_Occurred()) SWIG_fail;
6616 }
4f89f6a3
RD
6617 {
6618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6619 }
d14a1e28
RD
6620 {
6621 if (temp2)
6622 delete arg2;
6623 }
6624 return resultobj;
6625 fail:
6626 {
6627 if (temp2)
6628 delete arg2;
6629 }
6630 return NULL;
6631}
6632
6633
6634static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6635 PyObject *resultobj;
6636 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6637 wxFileSystem *arg2 = 0 ;
6638 wxString *arg3 = 0 ;
6639 wxFSFile *result;
e811c8ce 6640 bool temp3 = False ;
d14a1e28
RD
6641 PyObject * obj0 = 0 ;
6642 PyObject * obj1 = 0 ;
6643 PyObject * obj2 = 0 ;
6644 char *kwnames[] = {
6645 (char *) "self",(char *) "fs",(char *) "location", NULL
6646 };
6647
6648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6651 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6652 SWIG_POINTER_EXCEPTION | 0)) == -1)
6653 SWIG_fail;
d14a1e28 6654 if (arg2 == NULL) {
15afbcd0
RD
6655 PyErr_SetString(PyExc_TypeError,"null reference");
6656 SWIG_fail;
d14a1e28
RD
6657 }
6658 {
6659 arg3 = wxString_in_helper(obj2);
6660 if (arg3 == NULL) SWIG_fail;
e811c8ce 6661 temp3 = True;
d14a1e28
RD
6662 }
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6666
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 }
6670 {
412d302d 6671 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6672 }
6673 {
6674 if (temp3)
6675 delete arg3;
6676 }
6677 return resultobj;
6678 fail:
6679 {
6680 if (temp3)
6681 delete arg3;
6682 }
6683 return NULL;
6684}
6685
6686
6687static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6688 PyObject *resultobj;
6689 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6690 wxString *arg2 = 0 ;
6691 int arg3 = (int) 0 ;
6692 wxString result;
e811c8ce 6693 bool temp2 = False ;
d14a1e28
RD
6694 PyObject * obj0 = 0 ;
6695 PyObject * obj1 = 0 ;
994141e6 6696 PyObject * obj2 = 0 ;
d14a1e28
RD
6697 char *kwnames[] = {
6698 (char *) "self",(char *) "spec",(char *) "flags", NULL
6699 };
6700
994141e6 6701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6704 {
6705 arg2 = wxString_in_helper(obj1);
6706 if (arg2 == NULL) SWIG_fail;
e811c8ce 6707 temp2 = True;
d14a1e28 6708 }
994141e6 6709 if (obj2) {
15afbcd0
RD
6710 arg3 = (int) SWIG_AsInt(obj2);
6711 if (PyErr_Occurred()) SWIG_fail;
994141e6 6712 }
d14a1e28
RD
6713 {
6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
6715 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6716
6717 wxPyEndAllowThreads(__tstate);
6718 if (PyErr_Occurred()) SWIG_fail;
6719 }
6720 {
6721#if wxUSE_UNICODE
6722 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6723#else
6724 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6725#endif
6726 }
6727 {
6728 if (temp2)
6729 delete arg2;
6730 }
6731 return resultobj;
6732 fail:
6733 {
6734 if (temp2)
6735 delete arg2;
6736 }
6737 return NULL;
6738}
6739
6740
6741static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6742 PyObject *resultobj;
6743 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6744 wxString result;
6745 PyObject * obj0 = 0 ;
6746 char *kwnames[] = {
6747 (char *) "self", NULL
6748 };
6749
6750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
6751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6753 {
6754 PyThreadState* __tstate = wxPyBeginAllowThreads();
6755 result = (arg1)->FindNext();
6756
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 }
6760 {
6761#if wxUSE_UNICODE
6762 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6763#else
6764 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6765#endif
6766 }
6767 return resultobj;
6768 fail:
6769 return NULL;
6770}
6771
6772
6773static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
6774 PyObject *resultobj;
6775 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6776 wxString *arg2 = 0 ;
6777 wxString result;
e811c8ce 6778 bool temp2 = False ;
d14a1e28
RD
6779 PyObject * obj0 = 0 ;
6780 PyObject * obj1 = 0 ;
6781 char *kwnames[] = {
6782 (char *) "self",(char *) "location", NULL
6783 };
6784
6785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6788 {
6789 arg2 = wxString_in_helper(obj1);
6790 if (arg2 == NULL) SWIG_fail;
e811c8ce 6791 temp2 = True;
d14a1e28
RD
6792 }
6793 {
6794 PyThreadState* __tstate = wxPyBeginAllowThreads();
6795 result = (arg1)->GetProtocol((wxString const &)*arg2);
6796
6797 wxPyEndAllowThreads(__tstate);
6798 if (PyErr_Occurred()) SWIG_fail;
6799 }
6800 {
6801#if wxUSE_UNICODE
6802 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6803#else
6804 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6805#endif
6806 }
6807 {
6808 if (temp2)
6809 delete arg2;
6810 }
6811 return resultobj;
6812 fail:
6813 {
6814 if (temp2)
6815 delete arg2;
6816 }
6817 return NULL;
6818}
6819
6820
6821static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6822 PyObject *resultobj;
6823 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6824 wxString *arg2 = 0 ;
6825 wxString result;
e811c8ce 6826 bool temp2 = False ;
d14a1e28
RD
6827 PyObject * obj0 = 0 ;
6828 PyObject * obj1 = 0 ;
6829 char *kwnames[] = {
6830 (char *) "self",(char *) "location", NULL
6831 };
6832
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6836 {
6837 arg2 = wxString_in_helper(obj1);
6838 if (arg2 == NULL) SWIG_fail;
e811c8ce 6839 temp2 = True;
d14a1e28
RD
6840 }
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 {
6849#if wxUSE_UNICODE
6850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6851#else
6852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6853#endif
6854 }
6855 {
6856 if (temp2)
6857 delete arg2;
6858 }
6859 return resultobj;
6860 fail:
6861 {
6862 if (temp2)
6863 delete arg2;
6864 }
6865 return NULL;
6866}
6867
6868
6869static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6870 PyObject *resultobj;
6871 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6872 wxString *arg2 = 0 ;
6873 wxString result;
e811c8ce 6874 bool temp2 = False ;
d14a1e28
RD
6875 PyObject * obj0 = 0 ;
6876 PyObject * obj1 = 0 ;
6877 char *kwnames[] = {
6878 (char *) "self",(char *) "location", NULL
6879 };
6880
6881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6884 {
6885 arg2 = wxString_in_helper(obj1);
6886 if (arg2 == NULL) SWIG_fail;
e811c8ce 6887 temp2 = True;
d14a1e28
RD
6888 }
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 result = (arg1)->GetAnchor((wxString const &)*arg2);
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 {
6897#if wxUSE_UNICODE
6898 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6899#else
6900 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6901#endif
6902 }
6903 {
6904 if (temp2)
6905 delete arg2;
6906 }
6907 return resultobj;
6908 fail:
6909 {
6910 if (temp2)
6911 delete arg2;
6912 }
6913 return NULL;
6914}
6915
6916
6917static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj;
6919 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6920 wxString *arg2 = 0 ;
6921 wxString result;
e811c8ce 6922 bool temp2 = False ;
d14a1e28
RD
6923 PyObject * obj0 = 0 ;
6924 PyObject * obj1 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "self",(char *) "location", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6932 {
6933 arg2 = wxString_in_helper(obj1);
6934 if (arg2 == NULL) SWIG_fail;
e811c8ce 6935 temp2 = True;
d14a1e28
RD
6936 }
6937 {
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 result = (arg1)->GetRightLocation((wxString const &)*arg2);
6940
6941 wxPyEndAllowThreads(__tstate);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 {
6945#if wxUSE_UNICODE
6946 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6947#else
6948 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6949#endif
6950 }
6951 {
6952 if (temp2)
6953 delete arg2;
6954 }
6955 return resultobj;
6956 fail:
6957 {
6958 if (temp2)
6959 delete arg2;
6960 }
6961 return NULL;
6962}
6963
6964
6965static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
6966 PyObject *resultobj;
6967 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6968 wxString *arg2 = 0 ;
6969 wxString result;
e811c8ce 6970 bool temp2 = False ;
d14a1e28
RD
6971 PyObject * obj0 = 0 ;
6972 PyObject * obj1 = 0 ;
6973 char *kwnames[] = {
6974 (char *) "self",(char *) "location", NULL
6975 };
6976
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6980 {
6981 arg2 = wxString_in_helper(obj1);
6982 if (arg2 == NULL) SWIG_fail;
e811c8ce 6983 temp2 = True;
d14a1e28
RD
6984 }
6985 {
6986 PyThreadState* __tstate = wxPyBeginAllowThreads();
6987 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
6988
6989 wxPyEndAllowThreads(__tstate);
6990 if (PyErr_Occurred()) SWIG_fail;
6991 }
6992 {
6993#if wxUSE_UNICODE
6994 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6995#else
6996 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6997#endif
6998 }
6999 {
7000 if (temp2)
7001 delete arg2;
7002 }
7003 return resultobj;
7004 fail:
7005 {
7006 if (temp2)
7007 delete arg2;
7008 }
7009 return NULL;
7010}
7011
7012
7013static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
7014 PyObject *obj;
7015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7016 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
7017 Py_INCREF(obj);
7018 return Py_BuildValue((char *)"");
7019}
7020static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj;
7022 wxFileSystem *result;
7023 char *kwnames[] = {
7024 NULL
7025 };
7026
7027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 result = (wxFileSystem *)new wxFileSystem();
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 {
412d302d 7036 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
7037 }
7038 return resultobj;
7039 fail:
7040 return NULL;
7041}
7042
7043
7044static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj;
7046 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7047 PyObject * obj0 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
15afbcd0
RD
7053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 delete arg1;
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
7062 Py_INCREF(Py_None); resultobj = Py_None;
7063 return resultobj;
7064 fail:
7065 return NULL;
7066}
7067
7068
7069static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
7070 PyObject *resultobj;
7071 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7072 wxString *arg2 = 0 ;
e811c8ce
RD
7073 bool arg3 = (bool) False ;
7074 bool temp2 = False ;
d14a1e28
RD
7075 PyObject * obj0 = 0 ;
7076 PyObject * obj1 = 0 ;
7077 PyObject * obj2 = 0 ;
7078 char *kwnames[] = {
7079 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7080 };
7081
7082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7085 {
7086 arg2 = wxString_in_helper(obj1);
7087 if (arg2 == NULL) SWIG_fail;
e811c8ce 7088 temp2 = True;
d14a1e28
RD
7089 }
7090 if (obj2) {
15afbcd0
RD
7091 arg3 = (bool) SWIG_AsBool(obj2);
7092 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7093 }
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 Py_INCREF(Py_None); resultobj = Py_None;
7102 {
7103 if (temp2)
7104 delete arg2;
7105 }
7106 return resultobj;
7107 fail:
7108 {
7109 if (temp2)
7110 delete arg2;
7111 }
7112 return NULL;
7113}
7114
7115
7116static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
7117 PyObject *resultobj;
7118 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7119 wxString result;
7120 PyObject * obj0 = 0 ;
7121 char *kwnames[] = {
7122 (char *) "self", NULL
7123 };
7124
7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
7126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (arg1)->GetPath();
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 {
7136#if wxUSE_UNICODE
7137 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7138#else
7139 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7140#endif
7141 }
7142 return resultobj;
7143 fail:
7144 return NULL;
7145}
7146
7147
7148static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7149 PyObject *resultobj;
7150 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7151 wxString *arg2 = 0 ;
7152 wxFSFile *result;
e811c8ce 7153 bool temp2 = False ;
d14a1e28
RD
7154 PyObject * obj0 = 0 ;
7155 PyObject * obj1 = 0 ;
7156 char *kwnames[] = {
7157 (char *) "self",(char *) "location", NULL
7158 };
7159
7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7163 {
7164 arg2 = wxString_in_helper(obj1);
7165 if (arg2 == NULL) SWIG_fail;
e811c8ce 7166 temp2 = True;
d14a1e28
RD
7167 }
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
7171
7172 wxPyEndAllowThreads(__tstate);
7173 if (PyErr_Occurred()) SWIG_fail;
7174 }
7175 {
412d302d 7176 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7177 }
7178 {
7179 if (temp2)
7180 delete arg2;
7181 }
7182 return resultobj;
7183 fail:
7184 {
7185 if (temp2)
7186 delete arg2;
7187 }
7188 return NULL;
7189}
7190
7191
7192static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7193 PyObject *resultobj;
7194 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7195 wxString *arg2 = 0 ;
7196 int arg3 = (int) 0 ;
7197 wxString result;
e811c8ce 7198 bool temp2 = False ;
d14a1e28
RD
7199 PyObject * obj0 = 0 ;
7200 PyObject * obj1 = 0 ;
994141e6 7201 PyObject * obj2 = 0 ;
d14a1e28
RD
7202 char *kwnames[] = {
7203 (char *) "self",(char *) "spec",(char *) "flags", NULL
7204 };
7205
994141e6 7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7209 {
7210 arg2 = wxString_in_helper(obj1);
7211 if (arg2 == NULL) SWIG_fail;
e811c8ce 7212 temp2 = True;
d14a1e28 7213 }
994141e6 7214 if (obj2) {
15afbcd0
RD
7215 arg3 = (int) SWIG_AsInt(obj2);
7216 if (PyErr_Occurred()) SWIG_fail;
994141e6 7217 }
d14a1e28
RD
7218 {
7219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7220 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7221
7222 wxPyEndAllowThreads(__tstate);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
7225 {
7226#if wxUSE_UNICODE
7227 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7228#else
7229 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7230#endif
7231 }
7232 {
7233 if (temp2)
7234 delete arg2;
7235 }
7236 return resultobj;
7237 fail:
7238 {
7239 if (temp2)
7240 delete arg2;
7241 }
7242 return NULL;
7243}
7244
7245
7246static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7247 PyObject *resultobj;
7248 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7249 wxString result;
7250 PyObject * obj0 = 0 ;
7251 char *kwnames[] = {
7252 (char *) "self", NULL
7253 };
7254
7255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7258 {
7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
7260 result = (arg1)->FindNext();
7261
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
7265 {
7266#if wxUSE_UNICODE
7267 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7268#else
7269 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7270#endif
7271 }
7272 return resultobj;
7273 fail:
7274 return NULL;
7275}
7276
7277
7278static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7279 PyObject *resultobj;
7280 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7281 PyObject * obj0 = 0 ;
7282 char *kwnames[] = {
7283 (char *) "handler", NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
7287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 wxFileSystem::AddHandler(arg1);
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 Py_INCREF(Py_None); resultobj = Py_None;
7297 return resultobj;
7298 fail:
7299 return NULL;
7300}
7301
7302
7303static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
7304 PyObject *resultobj;
7305 char *kwnames[] = {
7306 NULL
7307 };
7308
7309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 wxFileSystem::CleanUpHandlers();
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 Py_INCREF(Py_None); resultobj = Py_None;
7318 return resultobj;
7319 fail:
7320 return NULL;
7321}
7322
7323
7324static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj;
7326 wxString *arg1 = 0 ;
7327 wxString result;
e811c8ce 7328 bool temp1 = False ;
d14a1e28
RD
7329 PyObject * obj0 = 0 ;
7330 char *kwnames[] = {
7331 (char *) "filename", NULL
7332 };
7333
7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7335 {
7336 arg1 = wxString_in_helper(obj0);
7337 if (arg1 == NULL) SWIG_fail;
e811c8ce 7338 temp1 = True;
d14a1e28
RD
7339 }
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7343
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
7347 {
7348#if wxUSE_UNICODE
7349 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7350#else
7351 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7352#endif
7353 }
7354 {
7355 if (temp1)
7356 delete arg1;
7357 }
7358 return resultobj;
7359 fail:
7360 {
7361 if (temp1)
7362 delete arg1;
7363 }
7364 return NULL;
7365}
7366
7367
7368static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
7369 PyObject *obj;
7370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7371 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7372 Py_INCREF(obj);
7373 return Py_BuildValue((char *)"");
7374}
7375static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
7376 PyObject *resultobj;
7377 wxString *arg1 = 0 ;
7378 wxString result;
e811c8ce 7379 bool temp1 = False ;
d14a1e28
RD
7380 PyObject * obj0 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "url", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7386 {
7387 arg1 = wxString_in_helper(obj0);
7388 if (arg1 == NULL) SWIG_fail;
e811c8ce 7389 temp1 = True;
d14a1e28
RD
7390 }
7391 {
7392 PyThreadState* __tstate = wxPyBeginAllowThreads();
7393 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
7394
7395 wxPyEndAllowThreads(__tstate);
7396 if (PyErr_Occurred()) SWIG_fail;
7397 }
7398 {
7399#if wxUSE_UNICODE
7400 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7401#else
7402 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7403#endif
7404 }
7405 {
7406 if (temp1)
7407 delete arg1;
7408 }
7409 return resultobj;
7410 fail:
7411 {
7412 if (temp1)
7413 delete arg1;
7414 }
7415 return NULL;
7416}
7417
7418
7419static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7420 PyObject *resultobj;
7421 wxInternetFSHandler *result;
7422 char *kwnames[] = {
7423 NULL
7424 };
7425
7426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
15afbcd0 7434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
d14a1e28
RD
7435 return resultobj;
7436 fail:
7437 return NULL;
7438}
7439
7440
7441static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7442 PyObject *resultobj;
7443 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7444 wxString *arg2 = 0 ;
7445 bool result;
e811c8ce 7446 bool temp2 = False ;
d14a1e28
RD
7447 PyObject * obj0 = 0 ;
7448 PyObject * obj1 = 0 ;
7449 char *kwnames[] = {
7450 (char *) "self",(char *) "location", NULL
7451 };
7452
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7456 {
7457 arg2 = wxString_in_helper(obj1);
7458 if (arg2 == NULL) SWIG_fail;
e811c8ce 7459 temp2 = True;
d14a1e28
RD
7460 }
7461 {
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
4f89f6a3
RD
7468 {
7469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7470 }
d14a1e28
RD
7471 {
7472 if (temp2)
7473 delete arg2;
7474 }
7475 return resultobj;
7476 fail:
7477 {
7478 if (temp2)
7479 delete arg2;
7480 }
7481 return NULL;
7482}
7483
7484
7485static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7486 PyObject *resultobj;
7487 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7488 wxFileSystem *arg2 = 0 ;
7489 wxString *arg3 = 0 ;
7490 wxFSFile *result;
e811c8ce 7491 bool temp3 = False ;
d14a1e28
RD
7492 PyObject * obj0 = 0 ;
7493 PyObject * obj1 = 0 ;
7494 PyObject * obj2 = 0 ;
7495 char *kwnames[] = {
7496 (char *) "self",(char *) "fs",(char *) "location", NULL
7497 };
7498
7499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7503 SWIG_POINTER_EXCEPTION | 0)) == -1)
7504 SWIG_fail;
d14a1e28 7505 if (arg2 == NULL) {
15afbcd0
RD
7506 PyErr_SetString(PyExc_TypeError,"null reference");
7507 SWIG_fail;
d14a1e28
RD
7508 }
7509 {
7510 arg3 = wxString_in_helper(obj2);
7511 if (arg3 == NULL) SWIG_fail;
e811c8ce 7512 temp3 = True;
d14a1e28
RD
7513 }
7514 {
7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
7516 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7517
7518 wxPyEndAllowThreads(__tstate);
7519 if (PyErr_Occurred()) SWIG_fail;
7520 }
7521 {
412d302d 7522 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7523 }
7524 {
7525 if (temp3)
7526 delete arg3;
7527 }
7528 return resultobj;
7529 fail:
7530 {
7531 if (temp3)
7532 delete arg3;
7533 }
7534 return NULL;
7535}
7536
7537
7538static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
7539 PyObject *obj;
7540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7541 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7542 Py_INCREF(obj);
7543 return Py_BuildValue((char *)"");
7544}
7545static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7546 PyObject *resultobj;
7547 wxZipFSHandler *result;
7548 char *kwnames[] = {
7549 NULL
7550 };
7551
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7553 {
7554 PyThreadState* __tstate = wxPyBeginAllowThreads();
7555 result = (wxZipFSHandler *)new wxZipFSHandler();
7556
7557 wxPyEndAllowThreads(__tstate);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
15afbcd0 7560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
d14a1e28
RD
7561 return resultobj;
7562 fail:
7563 return NULL;
7564}
7565
7566
7567static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7568 PyObject *resultobj;
7569 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7570 wxString *arg2 = 0 ;
7571 bool result;
e811c8ce 7572 bool temp2 = False ;
d14a1e28
RD
7573 PyObject * obj0 = 0 ;
7574 PyObject * obj1 = 0 ;
7575 char *kwnames[] = {
7576 (char *) "self",(char *) "location", NULL
7577 };
7578
7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7582 {
7583 arg2 = wxString_in_helper(obj1);
7584 if (arg2 == NULL) SWIG_fail;
e811c8ce 7585 temp2 = True;
d14a1e28
RD
7586 }
7587 {
7588 PyThreadState* __tstate = wxPyBeginAllowThreads();
7589 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7590
7591 wxPyEndAllowThreads(__tstate);
7592 if (PyErr_Occurred()) SWIG_fail;
7593 }
4f89f6a3
RD
7594 {
7595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7596 }
d14a1e28
RD
7597 {
7598 if (temp2)
7599 delete arg2;
7600 }
7601 return resultobj;
7602 fail:
7603 {
7604 if (temp2)
7605 delete arg2;
7606 }
7607 return NULL;
7608}
7609
7610
7611static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7612 PyObject *resultobj;
7613 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7614 wxFileSystem *arg2 = 0 ;
7615 wxString *arg3 = 0 ;
7616 wxFSFile *result;
e811c8ce 7617 bool temp3 = False ;
d14a1e28
RD
7618 PyObject * obj0 = 0 ;
7619 PyObject * obj1 = 0 ;
7620 PyObject * obj2 = 0 ;
7621 char *kwnames[] = {
7622 (char *) "self",(char *) "fs",(char *) "location", NULL
7623 };
7624
7625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7629 SWIG_POINTER_EXCEPTION | 0)) == -1)
7630 SWIG_fail;
d14a1e28 7631 if (arg2 == NULL) {
15afbcd0
RD
7632 PyErr_SetString(PyExc_TypeError,"null reference");
7633 SWIG_fail;
d14a1e28
RD
7634 }
7635 {
7636 arg3 = wxString_in_helper(obj2);
7637 if (arg3 == NULL) SWIG_fail;
e811c8ce 7638 temp3 = True;
d14a1e28
RD
7639 }
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7643
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 {
412d302d 7648 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7649 }
7650 {
7651 if (temp3)
7652 delete arg3;
7653 }
7654 return resultobj;
7655 fail:
7656 {
7657 if (temp3)
7658 delete arg3;
7659 }
7660 return NULL;
7661}
7662
7663
7664static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7665 PyObject *resultobj;
7666 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7667 wxString *arg2 = 0 ;
7668 int arg3 = (int) 0 ;
7669 wxString result;
e811c8ce 7670 bool temp2 = False ;
d14a1e28
RD
7671 PyObject * obj0 = 0 ;
7672 PyObject * obj1 = 0 ;
994141e6 7673 PyObject * obj2 = 0 ;
d14a1e28
RD
7674 char *kwnames[] = {
7675 (char *) "self",(char *) "spec",(char *) "flags", NULL
7676 };
7677
994141e6 7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7681 {
7682 arg2 = wxString_in_helper(obj1);
7683 if (arg2 == NULL) SWIG_fail;
e811c8ce 7684 temp2 = True;
d14a1e28 7685 }
994141e6 7686 if (obj2) {
15afbcd0
RD
7687 arg3 = (int) SWIG_AsInt(obj2);
7688 if (PyErr_Occurred()) SWIG_fail;
994141e6 7689 }
d14a1e28
RD
7690 {
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7693
7694 wxPyEndAllowThreads(__tstate);
7695 if (PyErr_Occurred()) SWIG_fail;
7696 }
7697 {
7698#if wxUSE_UNICODE
7699 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7700#else
7701 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7702#endif
7703 }
7704 {
7705 if (temp2)
7706 delete arg2;
7707 }
7708 return resultobj;
7709 fail:
7710 {
7711 if (temp2)
7712 delete arg2;
7713 }
7714 return NULL;
7715}
7716
7717
7718static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7719 PyObject *resultobj;
7720 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7721 wxString result;
7722 PyObject * obj0 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7730 {
7731 PyThreadState* __tstate = wxPyBeginAllowThreads();
7732 result = (arg1)->FindNext();
7733
7734 wxPyEndAllowThreads(__tstate);
7735 if (PyErr_Occurred()) SWIG_fail;
7736 }
7737 {
7738#if wxUSE_UNICODE
7739 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7740#else
7741 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7742#endif
7743 }
7744 return resultobj;
7745 fail:
7746 return NULL;
7747}
7748
7749
7750static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
7751 PyObject *obj;
7752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7753 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7754 Py_INCREF(obj);
7755 return Py_BuildValue((char *)"");
7756}
7757static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7758 PyObject *resultobj;
7759 wxString *arg1 = 0 ;
7760 wxImage *arg2 = 0 ;
7761 long arg3 ;
e811c8ce 7762 bool temp1 = False ;
d14a1e28
RD
7763 PyObject * obj0 = 0 ;
7764 PyObject * obj1 = 0 ;
994141e6 7765 PyObject * obj2 = 0 ;
d14a1e28
RD
7766 char *kwnames[] = {
7767 (char *) "filename",(char *) "image",(char *) "type", NULL
7768 };
7769
994141e6 7770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7771 {
7772 arg1 = wxString_in_helper(obj0);
7773 if (arg1 == NULL) SWIG_fail;
e811c8ce 7774 temp1 = True;
d14a1e28 7775 }
15afbcd0
RD
7776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
7777 SWIG_POINTER_EXCEPTION | 0)) == -1)
7778 SWIG_fail;
d14a1e28 7779 if (arg2 == NULL) {
15afbcd0
RD
7780 PyErr_SetString(PyExc_TypeError,"null reference");
7781 SWIG_fail;
994141e6 7782 }
15afbcd0
RD
7783 arg3 = (long) SWIG_AsLong(obj2);
7784 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7785 {
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 Py_INCREF(Py_None); resultobj = Py_None;
7793 {
7794 if (temp1)
7795 delete arg1;
7796 }
7797 return resultobj;
7798 fail:
7799 {
7800 if (temp1)
7801 delete arg1;
7802 }
7803 return NULL;
7804}
7805
7806
7807static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7808 PyObject *resultobj;
7809 wxString *arg1 = 0 ;
7810 wxBitmap *arg2 = 0 ;
7811 long arg3 ;
e811c8ce 7812 bool temp1 = False ;
d14a1e28
RD
7813 PyObject * obj0 = 0 ;
7814 PyObject * obj1 = 0 ;
994141e6 7815 PyObject * obj2 = 0 ;
d14a1e28
RD
7816 char *kwnames[] = {
7817 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7818 };
7819
994141e6 7820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7821 {
7822 arg1 = wxString_in_helper(obj0);
7823 if (arg1 == NULL) SWIG_fail;
e811c8ce 7824 temp1 = True;
d14a1e28 7825 }
15afbcd0
RD
7826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
7827 SWIG_POINTER_EXCEPTION | 0)) == -1)
7828 SWIG_fail;
d14a1e28 7829 if (arg2 == NULL) {
15afbcd0
RD
7830 PyErr_SetString(PyExc_TypeError,"null reference");
7831 SWIG_fail;
994141e6 7832 }
15afbcd0
RD
7833 arg3 = (long) SWIG_AsLong(obj2);
7834 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 Py_INCREF(Py_None); resultobj = Py_None;
7843 {
7844 if (temp1)
7845 delete arg1;
7846 }
7847 return resultobj;
7848 fail:
7849 {
7850 if (temp1)
7851 delete arg1;
7852 }
7853 return NULL;
7854}
7855
7856
7857static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxString *arg1 = 0 ;
7860 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 7861 bool temp1 = False ;
d14a1e28
RD
7862 PyObject * obj0 = 0 ;
7863 PyObject * obj1 = 0 ;
7864 char *kwnames[] = {
7865 (char *) "filename",(char *) "data", NULL
7866 };
7867
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
7869 {
7870 arg1 = wxString_in_helper(obj0);
7871 if (arg1 == NULL) SWIG_fail;
e811c8ce 7872 temp1 = True;
d14a1e28
RD
7873 }
7874 arg2 = obj1;
7875 {
7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
7877 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
7878
7879 wxPyEndAllowThreads(__tstate);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 Py_INCREF(Py_None); resultobj = Py_None;
7883 {
7884 if (temp1)
7885 delete arg1;
7886 }
7887 return resultobj;
7888 fail:
7889 {
7890 if (temp1)
7891 delete arg1;
7892 }
7893 return NULL;
7894}
7895
7896
7897static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7898 PyObject *resultobj;
7899 wxMemoryFSHandler *result;
7900 char *kwnames[] = {
7901 NULL
7902 };
7903
7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
7908
7909 wxPyEndAllowThreads(__tstate);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 }
15afbcd0 7912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
d14a1e28
RD
7913 return resultobj;
7914 fail:
7915 return NULL;
7916}
7917
7918
7919static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7920 PyObject *resultobj;
7921 wxString *arg1 = 0 ;
e811c8ce 7922 bool temp1 = False ;
d14a1e28
RD
7923 PyObject * obj0 = 0 ;
7924 char *kwnames[] = {
7925 (char *) "filename", NULL
7926 };
7927
7928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
7929 {
7930 arg1 = wxString_in_helper(obj0);
7931 if (arg1 == NULL) SWIG_fail;
e811c8ce 7932 temp1 = True;
d14a1e28
RD
7933 }
7934 {
7935 PyThreadState* __tstate = wxPyBeginAllowThreads();
7936 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
7937
7938 wxPyEndAllowThreads(__tstate);
7939 if (PyErr_Occurred()) SWIG_fail;
7940 }
7941 Py_INCREF(Py_None); resultobj = Py_None;
7942 {
7943 if (temp1)
7944 delete arg1;
7945 }
7946 return resultobj;
7947 fail:
7948 {
7949 if (temp1)
7950 delete arg1;
7951 }
7952 return NULL;
7953}
7954
7955
7956static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7957 PyObject *resultobj;
7958 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7959 wxString *arg2 = 0 ;
7960 bool result;
e811c8ce 7961 bool temp2 = False ;
d14a1e28
RD
7962 PyObject * obj0 = 0 ;
7963 PyObject * obj1 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "self",(char *) "location", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7971 {
7972 arg2 = wxString_in_helper(obj1);
7973 if (arg2 == NULL) SWIG_fail;
e811c8ce 7974 temp2 = True;
d14a1e28
RD
7975 }
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7979
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
4f89f6a3
RD
7983 {
7984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7985 }
d14a1e28
RD
7986 {
7987 if (temp2)
7988 delete arg2;
7989 }
7990 return resultobj;
7991 fail:
7992 {
7993 if (temp2)
7994 delete arg2;
7995 }
7996 return NULL;
7997}
7998
7999
8000static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8001 PyObject *resultobj;
8002 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8003 wxFileSystem *arg2 = 0 ;
8004 wxString *arg3 = 0 ;
8005 wxFSFile *result;
e811c8ce 8006 bool temp3 = False ;
d14a1e28
RD
8007 PyObject * obj0 = 0 ;
8008 PyObject * obj1 = 0 ;
8009 PyObject * obj2 = 0 ;
8010 char *kwnames[] = {
8011 (char *) "self",(char *) "fs",(char *) "location", NULL
8012 };
8013
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8017 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
8018 SWIG_POINTER_EXCEPTION | 0)) == -1)
8019 SWIG_fail;
d14a1e28 8020 if (arg2 == NULL) {
15afbcd0
RD
8021 PyErr_SetString(PyExc_TypeError,"null reference");
8022 SWIG_fail;
d14a1e28
RD
8023 }
8024 {
8025 arg3 = wxString_in_helper(obj2);
8026 if (arg3 == NULL) SWIG_fail;
e811c8ce 8027 temp3 = True;
d14a1e28
RD
8028 }
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
8036 {
412d302d 8037 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
8038 }
8039 {
8040 if (temp3)
8041 delete arg3;
8042 }
8043 return resultobj;
8044 fail:
8045 {
8046 if (temp3)
8047 delete arg3;
8048 }
8049 return NULL;
8050}
8051
8052
8053static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
8054 PyObject *resultobj;
8055 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8056 wxString *arg2 = 0 ;
8057 int arg3 = (int) 0 ;
8058 wxString result;
e811c8ce 8059 bool temp2 = False ;
d14a1e28
RD
8060 PyObject * obj0 = 0 ;
8061 PyObject * obj1 = 0 ;
994141e6 8062 PyObject * obj2 = 0 ;
d14a1e28
RD
8063 char *kwnames[] = {
8064 (char *) "self",(char *) "spec",(char *) "flags", NULL
8065 };
8066
994141e6 8067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8070 {
8071 arg2 = wxString_in_helper(obj1);
8072 if (arg2 == NULL) SWIG_fail;
e811c8ce 8073 temp2 = True;
d14a1e28 8074 }
994141e6 8075 if (obj2) {
15afbcd0
RD
8076 arg3 = (int) SWIG_AsInt(obj2);
8077 if (PyErr_Occurred()) SWIG_fail;
994141e6 8078 }
d14a1e28
RD
8079 {
8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
8081 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8082
8083 wxPyEndAllowThreads(__tstate);
8084 if (PyErr_Occurred()) SWIG_fail;
8085 }
8086 {
8087#if wxUSE_UNICODE
8088 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8089#else
8090 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8091#endif
8092 }
8093 {
8094 if (temp2)
8095 delete arg2;
8096 }
8097 return resultobj;
8098 fail:
8099 {
8100 if (temp2)
8101 delete arg2;
8102 }
8103 return NULL;
8104}
8105
8106
8107static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
8108 PyObject *resultobj;
8109 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8110 wxString result;
8111 PyObject * obj0 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
8117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 result = (arg1)->FindNext();
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 {
8127#if wxUSE_UNICODE
8128 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8129#else
8130 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8131#endif
8132 }
8133 return resultobj;
8134 fail:
8135 return NULL;
8136}
8137
8138
8139static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
8140 PyObject *obj;
8141 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8142 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
8143 Py_INCREF(obj);
8144 return Py_BuildValue((char *)"");
8145}
8146static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8147 PyObject *resultobj;
8148 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8149 wxString result;
8150 PyObject * obj0 = 0 ;
8151 char *kwnames[] = {
8152 (char *) "self", NULL
8153 };
8154
8155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
8156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8158 {
8159 PyThreadState* __tstate = wxPyBeginAllowThreads();
8160 result = (arg1)->GetName();
8161
8162 wxPyEndAllowThreads(__tstate);
8163 if (PyErr_Occurred()) SWIG_fail;
8164 }
8165 {
8166#if wxUSE_UNICODE
8167 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8168#else
8169 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8170#endif
8171 }
8172 return resultobj;
8173 fail:
8174 return NULL;
8175}
8176
8177
8178static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj;
8180 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8181 wxString result;
8182 PyObject * obj0 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "self", NULL
8185 };
8186
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
15afbcd0
RD
8188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 result = (arg1)->GetExtension();
8193
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
8197 {
8198#if wxUSE_UNICODE
8199 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8200#else
8201 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8202#endif
8203 }
8204 return resultobj;
8205 fail:
8206 return NULL;
8207}
8208
8209
8210static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8211 PyObject *resultobj;
8212 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8213 long result;
8214 PyObject * obj0 = 0 ;
8215 char *kwnames[] = {
8216 (char *) "self", NULL
8217 };
8218
8219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8222 {
8223 PyThreadState* __tstate = wxPyBeginAllowThreads();
8224 result = (long)(arg1)->GetType();
8225
8226 wxPyEndAllowThreads(__tstate);
8227 if (PyErr_Occurred()) SWIG_fail;
8228 }
15afbcd0 8229 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
8230 return resultobj;
8231 fail:
8232 return NULL;
8233}
8234
8235
8236static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8237 PyObject *resultobj;
8238 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8239 wxString result;
8240 PyObject * obj0 = 0 ;
8241 char *kwnames[] = {
8242 (char *) "self", NULL
8243 };
8244
8245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 result = (arg1)->GetMimeType();
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 {
8256#if wxUSE_UNICODE
8257 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8258#else
8259 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8260#endif
8261 }
8262 return resultobj;
8263 fail:
8264 return NULL;
8265}
8266
8267
8268static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8269 PyObject *resultobj;
8270 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8271 wxString *arg2 = 0 ;
8272 bool result;
e811c8ce 8273 bool temp2 = False ;
d14a1e28
RD
8274 PyObject * obj0 = 0 ;
8275 PyObject * obj1 = 0 ;
8276 char *kwnames[] = {
8277 (char *) "self",(char *) "name", NULL
8278 };
8279
8280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8283 {
8284 arg2 = wxString_in_helper(obj1);
8285 if (arg2 == NULL) SWIG_fail;
e811c8ce 8286 temp2 = True;
d14a1e28
RD
8287 }
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
4f89f6a3
RD
8295 {
8296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8297 }
d14a1e28
RD
8298 {
8299 if (temp2)
8300 delete arg2;
8301 }
8302 return resultobj;
8303 fail:
8304 {
8305 if (temp2)
8306 delete arg2;
8307 }
8308 return NULL;
8309}
8310
8311
8312static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8313 PyObject *resultobj;
8314 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8315 wxString *arg2 = 0 ;
e811c8ce 8316 bool temp2 = False ;
d14a1e28
RD
8317 PyObject * obj0 = 0 ;
8318 PyObject * obj1 = 0 ;
8319 char *kwnames[] = {
8320 (char *) "self",(char *) "name", NULL
8321 };
8322
8323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8326 {
8327 arg2 = wxString_in_helper(obj1);
8328 if (arg2 == NULL) SWIG_fail;
e811c8ce 8329 temp2 = True;
d14a1e28
RD
8330 }
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 (arg1)->SetName((wxString const &)*arg2);
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 Py_INCREF(Py_None); resultobj = Py_None;
8339 {
8340 if (temp2)
8341 delete arg2;
8342 }
8343 return resultobj;
8344 fail:
8345 {
8346 if (temp2)
8347 delete arg2;
8348 }
8349 return NULL;
8350}
8351
8352
8353static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject *resultobj;
8355 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8356 wxString *arg2 = 0 ;
e811c8ce 8357 bool temp2 = False ;
d14a1e28
RD
8358 PyObject * obj0 = 0 ;
8359 PyObject * obj1 = 0 ;
8360 char *kwnames[] = {
8361 (char *) "self",(char *) "extension", NULL
8362 };
8363
8364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8367 {
8368 arg2 = wxString_in_helper(obj1);
8369 if (arg2 == NULL) SWIG_fail;
e811c8ce 8370 temp2 = True;
d14a1e28
RD
8371 }
8372 {
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 (arg1)->SetExtension((wxString const &)*arg2);
8375
8376 wxPyEndAllowThreads(__tstate);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 }
8379 Py_INCREF(Py_None); resultobj = Py_None;
8380 {
8381 if (temp2)
8382 delete arg2;
8383 }
8384 return resultobj;
8385 fail:
8386 {
8387 if (temp2)
8388 delete arg2;
8389 }
8390 return NULL;
8391}
8392
8393
8394static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8395 PyObject *resultobj;
8396 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8397 long arg2 ;
8398 PyObject * obj0 = 0 ;
994141e6 8399 PyObject * obj1 = 0 ;
d14a1e28
RD
8400 char *kwnames[] = {
8401 (char *) "self",(char *) "type", NULL
8402 };
8403
994141e6 8404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8407 arg2 = (long) SWIG_AsLong(obj1);
8408 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 (arg1)->SetType(arg2);
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 Py_INCREF(Py_None); resultobj = Py_None;
8417 return resultobj;
8418 fail:
8419 return NULL;
8420}
8421
8422
8423static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj;
8425 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8426 wxString *arg2 = 0 ;
e811c8ce 8427 bool temp2 = False ;
d14a1e28
RD
8428 PyObject * obj0 = 0 ;
8429 PyObject * obj1 = 0 ;
8430 char *kwnames[] = {
8431 (char *) "self",(char *) "mimetype", NULL
8432 };
8433
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8437 {
8438 arg2 = wxString_in_helper(obj1);
8439 if (arg2 == NULL) SWIG_fail;
e811c8ce 8440 temp2 = True;
d14a1e28
RD
8441 }
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 (arg1)->SetMimeType((wxString const &)*arg2);
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 Py_INCREF(Py_None); resultobj = Py_None;
8450 {
8451 if (temp2)
8452 delete arg2;
8453 }
8454 return resultobj;
8455 fail:
8456 {
8457 if (temp2)
8458 delete arg2;
8459 }
8460 return NULL;
8461}
8462
8463
8464static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
8465 PyObject *obj;
8466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8467 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8468 Py_INCREF(obj);
8469 return Py_BuildValue((char *)"");
8470}
8471static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
8472 PyObject *resultobj;
8473 wxImageHistogram *result;
8474 char *kwnames[] = {
8475 NULL
8476 };
8477
8478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8479 {
8480 PyThreadState* __tstate = wxPyBeginAllowThreads();
8481 result = (wxImageHistogram *)new wxImageHistogram();
8482
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
15afbcd0 8486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
d14a1e28
RD
8487 return resultobj;
8488 fail:
8489 return NULL;
8490}
8491
8492
8493static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
8494 PyObject *resultobj;
8495 unsigned char arg1 ;
8496 unsigned char arg2 ;
8497 unsigned char arg3 ;
8498 unsigned long result;
8499 PyObject * obj0 = 0 ;
8500 PyObject * obj1 = 0 ;
8501 PyObject * obj2 = 0 ;
8502 char *kwnames[] = {
8503 (char *) "r",(char *) "g",(char *) "b", NULL
8504 };
8505
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8507 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8510 if (PyErr_Occurred()) SWIG_fail;
8511 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8512 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8513 {
8514 PyThreadState* __tstate = wxPyBeginAllowThreads();
8515 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8516
8517 wxPyEndAllowThreads(__tstate);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
15afbcd0 8520 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
8521 return resultobj;
8522 fail:
8523 return NULL;
8524}
8525
8526
8527static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8528 PyObject *resultobj;
8529 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8530 unsigned char *arg2 = (unsigned char *) 0 ;
8531 unsigned char *arg3 = (unsigned char *) 0 ;
8532 unsigned char *arg4 = (unsigned char *) 0 ;
8533 unsigned char arg5 = (unsigned char) 1 ;
8534 unsigned char arg6 = (unsigned char) 0 ;
8535 unsigned char arg7 = (unsigned char) 0 ;
8536 bool result;
8537 unsigned char temp2 ;
8538 unsigned char temp3 ;
8539 unsigned char temp4 ;
8540 PyObject * obj0 = 0 ;
8541 PyObject * obj1 = 0 ;
8542 PyObject * obj2 = 0 ;
8543 PyObject * obj3 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8546 };
8547
8548 arg2 = &temp2;
8549 arg3 = &temp3;
8550 arg4 = &temp4;
8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8554 if (obj1) {
15afbcd0
RD
8555 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8556 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8557 }
8558 if (obj2) {
15afbcd0
RD
8559 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8560 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8561 }
8562 if (obj3) {
15afbcd0
RD
8563 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8564 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8565 }
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8569
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
4f89f6a3
RD
8573 {
8574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8575 }
d14a1e28
RD
8576 {
8577 PyObject *o = PyInt_FromLong((long) (*arg2));
8578 resultobj = t_output_helper(resultobj,o);
8579 }
8580 {
8581 PyObject *o = PyInt_FromLong((long) (*arg3));
8582 resultobj = t_output_helper(resultobj,o);
8583 }
8584 {
8585 PyObject *o = PyInt_FromLong((long) (*arg4));
8586 resultobj = t_output_helper(resultobj,o);
8587 }
8588 return resultobj;
8589 fail:
8590 return NULL;
8591}
8592
8593
8594static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
8595 PyObject *obj;
8596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8597 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8598 Py_INCREF(obj);
8599 return Py_BuildValue((char *)"");
8600}
8601static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8602 PyObject *resultobj;
8603 wxString *arg1 = 0 ;
8604 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8605 int arg3 = (int) -1 ;
8606 wxImage *result;
e811c8ce 8607 bool temp1 = False ;
d14a1e28 8608 PyObject * obj0 = 0 ;
994141e6
RD
8609 PyObject * obj1 = 0 ;
8610 PyObject * obj2 = 0 ;
d14a1e28
RD
8611 char *kwnames[] = {
8612 (char *) "name",(char *) "type",(char *) "index", NULL
8613 };
8614
994141e6 8615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8616 {
8617 arg1 = wxString_in_helper(obj0);
8618 if (arg1 == NULL) SWIG_fail;
e811c8ce 8619 temp1 = True;
d14a1e28 8620 }
994141e6 8621 if (obj1) {
15afbcd0
RD
8622 arg2 = (long) SWIG_AsLong(obj1);
8623 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8624 }
8625 if (obj2) {
15afbcd0
RD
8626 arg3 = (int) SWIG_AsInt(obj2);
8627 if (PyErr_Occurred()) SWIG_fail;
994141e6 8628 }
d14a1e28
RD
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8632
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
15afbcd0 8636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8637 {
8638 if (temp1)
8639 delete arg1;
8640 }
8641 return resultobj;
8642 fail:
8643 {
8644 if (temp1)
8645 delete arg1;
8646 }
8647 return NULL;
8648}
8649
8650
8651static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8652 PyObject *resultobj;
8653 wxImage *arg1 = (wxImage *) 0 ;
8654 PyObject * obj0 = 0 ;
8655 char *kwnames[] = {
8656 (char *) "self", NULL
8657 };
8658
8659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
15afbcd0
RD
8660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8662 {
8663 PyThreadState* __tstate = wxPyBeginAllowThreads();
8664 delete arg1;
8665
8666 wxPyEndAllowThreads(__tstate);
8667 if (PyErr_Occurred()) SWIG_fail;
8668 }
8669 Py_INCREF(Py_None); resultobj = Py_None;
8670 return resultobj;
8671 fail:
8672 return NULL;
8673}
8674
8675
8676static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8677 PyObject *resultobj;
8678 wxString *arg1 = 0 ;
8679 wxString *arg2 = 0 ;
8680 int arg3 = (int) -1 ;
8681 wxImage *result;
e811c8ce
RD
8682 bool temp1 = False ;
8683 bool temp2 = False ;
d14a1e28
RD
8684 PyObject * obj0 = 0 ;
8685 PyObject * obj1 = 0 ;
994141e6 8686 PyObject * obj2 = 0 ;
d14a1e28
RD
8687 char *kwnames[] = {
8688 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8689 };
8690
994141e6 8691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8692 {
8693 arg1 = wxString_in_helper(obj0);
8694 if (arg1 == NULL) SWIG_fail;
e811c8ce 8695 temp1 = True;
d14a1e28
RD
8696 }
8697 {
8698 arg2 = wxString_in_helper(obj1);
8699 if (arg2 == NULL) SWIG_fail;
e811c8ce 8700 temp2 = True;
d14a1e28 8701 }
994141e6 8702 if (obj2) {
15afbcd0
RD
8703 arg3 = (int) SWIG_AsInt(obj2);
8704 if (PyErr_Occurred()) SWIG_fail;
994141e6 8705 }
d14a1e28
RD
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
15afbcd0 8713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8714 {
8715 if (temp1)
8716 delete arg1;
8717 }
8718 {
8719 if (temp2)
8720 delete arg2;
8721 }
8722 return resultobj;
8723 fail:
8724 {
8725 if (temp1)
8726 delete arg1;
8727 }
8728 {
8729 if (temp2)
8730 delete arg2;
8731 }
8732 return NULL;
8733}
8734
8735
8736static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8737 PyObject *resultobj;
8738 wxInputStream *arg1 = 0 ;
8739 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8740 int arg3 = (int) -1 ;
8741 wxImage *result;
8742 wxPyInputStream *temp1 ;
8743 bool created1 ;
8744 PyObject * obj0 = 0 ;
994141e6
RD
8745 PyObject * obj1 = 0 ;
8746 PyObject * obj2 = 0 ;
d14a1e28
RD
8747 char *kwnames[] = {
8748 (char *) "stream",(char *) "type",(char *) "index", NULL
8749 };
8750
994141e6 8751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8752 {
8753 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8754 arg1 = temp1->m_wxis;
e811c8ce 8755 created1 = False;
d14a1e28
RD
8756 } else {
8757 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8758 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8759 if (arg1 == NULL) {
8760 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8761 SWIG_fail;
8762 }
e811c8ce 8763 created1 = True;
d14a1e28
RD
8764 }
8765 }
994141e6 8766 if (obj1) {
15afbcd0
RD
8767 arg2 = (long) SWIG_AsLong(obj1);
8768 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8769 }
8770 if (obj2) {
15afbcd0
RD
8771 arg3 = (int) SWIG_AsInt(obj2);
8772 if (PyErr_Occurred()) SWIG_fail;
994141e6 8773 }
d14a1e28
RD
8774 {
8775 PyThreadState* __tstate = wxPyBeginAllowThreads();
8776 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
8777
8778 wxPyEndAllowThreads(__tstate);
8779 if (PyErr_Occurred()) SWIG_fail;
8780 }
15afbcd0 8781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8782 {
8783 if (created1)
8784 delete arg1;
8785 }
8786 return resultobj;
8787 fail:
8788 {
8789 if (created1)
8790 delete arg1;
8791 }
8792 return NULL;
8793}
8794
8795
8796static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8797 PyObject *resultobj;
8798 wxInputStream *arg1 = 0 ;
8799 wxString *arg2 = 0 ;
8800 int arg3 = (int) -1 ;
8801 wxImage *result;
8802 wxPyInputStream *temp1 ;
8803 bool created1 ;
e811c8ce 8804 bool temp2 = False ;
d14a1e28
RD
8805 PyObject * obj0 = 0 ;
8806 PyObject * obj1 = 0 ;
994141e6 8807 PyObject * obj2 = 0 ;
d14a1e28
RD
8808 char *kwnames[] = {
8809 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8810 };
8811
994141e6 8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8813 {
8814 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8815 arg1 = temp1->m_wxis;
e811c8ce 8816 created1 = False;
d14a1e28
RD
8817 } else {
8818 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8819 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8820 if (arg1 == NULL) {
8821 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8822 SWIG_fail;
8823 }
e811c8ce 8824 created1 = True;
d14a1e28
RD
8825 }
8826 }
8827 {
8828 arg2 = wxString_in_helper(obj1);
8829 if (arg2 == NULL) SWIG_fail;
e811c8ce 8830 temp2 = True;
d14a1e28 8831 }
994141e6 8832 if (obj2) {
15afbcd0
RD
8833 arg3 = (int) SWIG_AsInt(obj2);
8834 if (PyErr_Occurred()) SWIG_fail;
994141e6 8835 }
d14a1e28
RD
8836 {
8837 PyThreadState* __tstate = wxPyBeginAllowThreads();
8838 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
8839
8840 wxPyEndAllowThreads(__tstate);
8841 if (PyErr_Occurred()) SWIG_fail;
8842 }
15afbcd0 8843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8844 {
8845 if (created1)
8846 delete arg1;
8847 }
8848 {
8849 if (temp2)
8850 delete arg2;
8851 }
8852 return resultobj;
8853 fail:
8854 {
8855 if (created1)
8856 delete arg1;
8857 }
8858 {
8859 if (temp2)
8860 delete arg2;
8861 }
8862 return NULL;
8863}
8864
8865
66c033b4 8866static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8867 PyObject *resultobj;
8868 int arg1 = (int) 0 ;
8869 int arg2 = (int) 0 ;
e811c8ce 8870 bool arg3 = (bool) True ;
d14a1e28 8871 wxImage *result;
994141e6
RD
8872 PyObject * obj0 = 0 ;
8873 PyObject * obj1 = 0 ;
d14a1e28 8874 PyObject * obj2 = 0 ;
66c033b4
RD
8875 char *kwnames[] = {
8876 (char *) "width",(char *) "height",(char *) "clear", NULL
8877 };
d14a1e28 8878
66c033b4 8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 8880 if (obj0) {
15afbcd0
RD
8881 arg1 = (int) SWIG_AsInt(obj0);
8882 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8883 }
8884 if (obj1) {
15afbcd0
RD
8885 arg2 = (int) SWIG_AsInt(obj1);
8886 if (PyErr_Occurred()) SWIG_fail;
994141e6 8887 }
d14a1e28 8888 if (obj2) {
15afbcd0
RD
8889 arg3 = (bool) SWIG_AsBool(obj2);
8890 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8891 }
8892 {
8893 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 8894 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
d14a1e28
RD
8895
8896 wxPyEndAllowThreads(__tstate);
8897 if (PyErr_Occurred()) SWIG_fail;
8898 }
15afbcd0 8899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8900 return resultobj;
8901 fail:
8902 return NULL;
8903}
8904
8905
8906static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8907 PyObject *resultobj;
8908 wxBitmap *arg1 = 0 ;
8909 wxImage *result;
8910 PyObject * obj0 = 0 ;
8911 char *kwnames[] = {
8912 (char *) "bitmap", NULL
8913 };
8914
8915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
8916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
8917 SWIG_POINTER_EXCEPTION | 0)) == -1)
8918 SWIG_fail;
d14a1e28 8919 if (arg1 == NULL) {
15afbcd0
RD
8920 PyErr_SetString(PyExc_TypeError,"null reference");
8921 SWIG_fail;
d14a1e28
RD
8922 }
8923 {
e3b71cb8 8924 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8927
8928 wxPyEndAllowThreads(__tstate);
110da5b0 8929 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8930 }
15afbcd0 8931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8932 return resultobj;
8933 fail:
8934 return NULL;
8935}
8936
8937
8938static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
8939 PyObject *resultobj;
8940 int arg1 ;
8941 int arg2 ;
8942 unsigned char *arg3 = (unsigned char *) 0 ;
8943 wxImage *result;
994141e6
RD
8944 PyObject * obj0 = 0 ;
8945 PyObject * obj1 = 0 ;
d14a1e28
RD
8946 PyObject * obj2 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "width",(char *) "height",(char *) "data", NULL
8949 };
8950
994141e6 8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8952 arg1 = (int) SWIG_AsInt(obj0);
8953 if (PyErr_Occurred()) SWIG_fail;
8954 arg2 = (int) SWIG_AsInt(obj1);
8955 if (PyErr_Occurred()) SWIG_fail;
8956 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
8957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8958 {
8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
8960 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8961
8962 wxPyEndAllowThreads(__tstate);
8963 if (PyErr_Occurred()) SWIG_fail;
8964 }
15afbcd0 8965 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8966 return resultobj;
8967 fail:
8968 return NULL;
8969}
8970
8971
8972static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8973 PyObject *resultobj;
8974 wxImage *arg1 = (wxImage *) 0 ;
8975 int arg2 ;
8976 int arg3 ;
8977 PyObject * obj0 = 0 ;
994141e6
RD
8978 PyObject * obj1 = 0 ;
8979 PyObject * obj2 = 0 ;
d14a1e28
RD
8980 char *kwnames[] = {
8981 (char *) "self",(char *) "width",(char *) "height", NULL
8982 };
8983
994141e6 8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8987 arg2 = (int) SWIG_AsInt(obj1);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 arg3 = (int) SWIG_AsInt(obj2);
8990 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8991 {
8992 PyThreadState* __tstate = wxPyBeginAllowThreads();
8993 (arg1)->Create(arg2,arg3);
8994
8995 wxPyEndAllowThreads(__tstate);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 Py_INCREF(Py_None); resultobj = Py_None;
8999 return resultobj;
9000 fail:
9001 return NULL;
9002}
9003
9004
9005static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj;
9007 wxImage *arg1 = (wxImage *) 0 ;
9008 PyObject * obj0 = 0 ;
9009 char *kwnames[] = {
9010 (char *) "self", NULL
9011 };
9012
9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
9014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9016 {
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 (arg1)->Destroy();
9019
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 Py_INCREF(Py_None); resultobj = Py_None;
9024 return resultobj;
9025 fail:
9026 return NULL;
9027}
9028
9029
9030static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
9031 PyObject *resultobj;
9032 wxImage *arg1 = (wxImage *) 0 ;
9033 int arg2 ;
9034 int arg3 ;
9035 SwigValueWrapper< wxImage > result;
9036 PyObject * obj0 = 0 ;
994141e6
RD
9037 PyObject * obj1 = 0 ;
9038 PyObject * obj2 = 0 ;
d14a1e28
RD
9039 char *kwnames[] = {
9040 (char *) "self",(char *) "width",(char *) "height", NULL
9041 };
9042
994141e6 9043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9046 arg2 = (int) SWIG_AsInt(obj1);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 arg3 = (int) SWIG_AsInt(obj2);
9049 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 result = (arg1)->Scale(arg2,arg3);
9053
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 {
9058 wxImage * resultptr;
9059 resultptr = new wxImage((wxImage &) result);
15afbcd0 9060 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9061 }
9062 return resultobj;
9063 fail:
9064 return NULL;
9065}
9066
9067
9068static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxImage *arg1 = (wxImage *) 0 ;
9071 int arg2 ;
9072 int arg3 ;
9073 SwigValueWrapper< wxImage > result;
9074 PyObject * obj0 = 0 ;
994141e6
RD
9075 PyObject * obj1 = 0 ;
9076 PyObject * obj2 = 0 ;
d14a1e28
RD
9077 char *kwnames[] = {
9078 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9079 };
9080
994141e6 9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9084 arg2 = (int) SWIG_AsInt(obj1);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 arg3 = (int) SWIG_AsInt(obj2);
9087 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
9091
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 {
9096 wxImage * resultptr;
9097 resultptr = new wxImage((wxImage &) result);
15afbcd0 9098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9099 }
9100 return resultobj;
9101 fail:
9102 return NULL;
9103}
9104
9105
9106static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
9107 PyObject *resultobj;
9108 wxImage *arg1 = (wxImage *) 0 ;
9109 int arg2 ;
9110 int arg3 ;
9111 wxImage *result;
9112 PyObject * obj0 = 0 ;
994141e6
RD
9113 PyObject * obj1 = 0 ;
9114 PyObject * obj2 = 0 ;
d14a1e28
RD
9115 char *kwnames[] = {
9116 (char *) "self",(char *) "width",(char *) "height", NULL
9117 };
9118
994141e6 9119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9122 arg2 = (int) SWIG_AsInt(obj1);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 arg3 = (int) SWIG_AsInt(obj2);
9125 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9126 {
9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
9128 {
9129 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
9130 result = (wxImage *) &_result_ref;
9131 }
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
15afbcd0 9136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
9137 return resultobj;
9138 fail:
9139 return NULL;
9140}
9141
9142
9143static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj;
9145 wxImage *arg1 = (wxImage *) 0 ;
9146 int arg2 ;
9147 int arg3 ;
9148 unsigned char arg4 ;
9149 unsigned char arg5 ;
9150 unsigned char arg6 ;
9151 PyObject * obj0 = 0 ;
994141e6
RD
9152 PyObject * obj1 = 0 ;
9153 PyObject * obj2 = 0 ;
d14a1e28
RD
9154 PyObject * obj3 = 0 ;
9155 PyObject * obj4 = 0 ;
9156 PyObject * obj5 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9159 };
9160
994141e6 9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9164 arg2 = (int) SWIG_AsInt(obj1);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 arg3 = (int) SWIG_AsInt(obj2);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
9173 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9174 {
9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
9176 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9177
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
9181 Py_INCREF(Py_None); resultobj = Py_None;
9182 return resultobj;
9183 fail:
9184 return NULL;
9185}
9186
9187
9188static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9189 PyObject *resultobj;
9190 wxImage *arg1 = (wxImage *) 0 ;
9191 int arg2 ;
9192 int arg3 ;
9193 unsigned char result;
9194 PyObject * obj0 = 0 ;
994141e6
RD
9195 PyObject * obj1 = 0 ;
9196 PyObject * obj2 = 0 ;
d14a1e28
RD
9197 char *kwnames[] = {
9198 (char *) "self",(char *) "x",(char *) "y", NULL
9199 };
9200
994141e6 9201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9204 arg2 = (int) SWIG_AsInt(obj1);
9205 if (PyErr_Occurred()) SWIG_fail;
9206 arg3 = (int) SWIG_AsInt(obj2);
9207 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9208 {
9209 PyThreadState* __tstate = wxPyBeginAllowThreads();
9210 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9211
9212 wxPyEndAllowThreads(__tstate);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 }
15afbcd0 9215 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9216 return resultobj;
9217 fail:
9218 return NULL;
9219}
9220
9221
9222static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9223 PyObject *resultobj;
9224 wxImage *arg1 = (wxImage *) 0 ;
9225 int arg2 ;
9226 int arg3 ;
9227 unsigned char result;
9228 PyObject * obj0 = 0 ;
994141e6
RD
9229 PyObject * obj1 = 0 ;
9230 PyObject * obj2 = 0 ;
d14a1e28
RD
9231 char *kwnames[] = {
9232 (char *) "self",(char *) "x",(char *) "y", NULL
9233 };
9234
994141e6 9235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9238 arg2 = (int) SWIG_AsInt(obj1);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 arg3 = (int) SWIG_AsInt(obj2);
9241 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9242 {
9243 PyThreadState* __tstate = wxPyBeginAllowThreads();
9244 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9245
9246 wxPyEndAllowThreads(__tstate);
9247 if (PyErr_Occurred()) SWIG_fail;
9248 }
15afbcd0 9249 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9250 return resultobj;
9251 fail:
9252 return NULL;
9253}
9254
9255
9256static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9257 PyObject *resultobj;
9258 wxImage *arg1 = (wxImage *) 0 ;
9259 int arg2 ;
9260 int arg3 ;
9261 unsigned char result;
9262 PyObject * obj0 = 0 ;
994141e6
RD
9263 PyObject * obj1 = 0 ;
9264 PyObject * obj2 = 0 ;
d14a1e28
RD
9265 char *kwnames[] = {
9266 (char *) "self",(char *) "x",(char *) "y", NULL
9267 };
9268
994141e6 9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9272 arg2 = (int) SWIG_AsInt(obj1);
9273 if (PyErr_Occurred()) SWIG_fail;
9274 arg3 = (int) SWIG_AsInt(obj2);
9275 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9279
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
15afbcd0 9283 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9284 return resultobj;
9285 fail:
9286 return NULL;
9287}
9288
9289
9290static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9291 PyObject *resultobj;
9292 wxImage *arg1 = (wxImage *) 0 ;
9293 int arg2 ;
9294 int arg3 ;
9295 unsigned char arg4 ;
9296 PyObject * obj0 = 0 ;
994141e6
RD
9297 PyObject * obj1 = 0 ;
9298 PyObject * obj2 = 0 ;
d14a1e28
RD
9299 PyObject * obj3 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9302 };
9303
994141e6 9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9307 arg2 = (int) SWIG_AsInt(obj1);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 arg3 = (int) SWIG_AsInt(obj2);
9310 if (PyErr_Occurred()) SWIG_fail;
9311 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9312 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9313 {
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 (arg1)->SetAlpha(arg2,arg3,arg4);
9316
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
9320 Py_INCREF(Py_None); resultobj = Py_None;
9321 return resultobj;
9322 fail:
9323 return NULL;
9324}
9325
9326
9327static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9328 PyObject *resultobj;
9329 wxImage *arg1 = (wxImage *) 0 ;
9330 int arg2 ;
9331 int arg3 ;
9332 unsigned char result;
9333 PyObject * obj0 = 0 ;
994141e6
RD
9334 PyObject * obj1 = 0 ;
9335 PyObject * obj2 = 0 ;
d14a1e28
RD
9336 char *kwnames[] = {
9337 (char *) "self",(char *) "x",(char *) "y", NULL
9338 };
9339
994141e6 9340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9343 arg2 = (int) SWIG_AsInt(obj1);
9344 if (PyErr_Occurred()) SWIG_fail;
9345 arg3 = (int) SWIG_AsInt(obj2);
9346 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9347 {
9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
9349 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9350
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
15afbcd0 9354 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9355 return resultobj;
9356 fail:
9357 return NULL;
9358}
9359
9360
9361static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9362 PyObject *resultobj;
9363 wxImage *arg1 = (wxImage *) 0 ;
9364 bool result;
9365 PyObject * obj0 = 0 ;
9366 char *kwnames[] = {
9367 (char *) "self", NULL
9368 };
9369
9370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
15afbcd0
RD
9371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 result = (bool)(arg1)->HasAlpha();
9376
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
4f89f6a3
RD
9380 {
9381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9382 }
d14a1e28
RD
9383 return resultobj;
9384 fail:
9385 return NULL;
9386}
9387
9388
9389static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9390 PyObject *resultobj;
9391 wxImage *arg1 = (wxImage *) 0 ;
9392 byte *arg2 = (byte *) 0 ;
9393 byte *arg3 = (byte *) 0 ;
9394 byte *arg4 = (byte *) 0 ;
9395 byte arg5 = (byte) 0 ;
9396 byte arg6 = (byte) 0 ;
9397 byte arg7 = (byte) 0 ;
9398 bool result;
9399 byte temp2 ;
9400 byte temp3 ;
9401 byte temp4 ;
9402 PyObject * obj0 = 0 ;
9403 PyObject * obj1 = 0 ;
9404 PyObject * obj2 = 0 ;
9405 PyObject * obj3 = 0 ;
9406 char *kwnames[] = {
9407 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9408 };
9409
9410 arg2 = &temp2;
9411 arg3 = &temp3;
9412 arg4 = &temp4;
9413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9416 if (obj1) {
15afbcd0
RD
9417 arg5 = (byte) SWIG_AsUnsignedChar(obj1);
9418 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9419 }
9420 if (obj2) {
15afbcd0
RD
9421 arg6 = (byte) SWIG_AsUnsignedChar(obj2);
9422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9423 }
9424 if (obj3) {
15afbcd0
RD
9425 arg7 = (byte) SWIG_AsUnsignedChar(obj3);
9426 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9427 }
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
4f89f6a3
RD
9435 {
9436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9437 }
d14a1e28
RD
9438 {
9439 PyObject *o = PyInt_FromLong((long) (*arg2));
9440 resultobj = t_output_helper(resultobj,o);
9441 }
9442 {
9443 PyObject *o = PyInt_FromLong((long) (*arg3));
9444 resultobj = t_output_helper(resultobj,o);
9445 }
9446 {
9447 PyObject *o = PyInt_FromLong((long) (*arg4));
9448 resultobj = t_output_helper(resultobj,o);
9449 }
9450 return resultobj;
9451 fail:
9452 return NULL;
9453}
9454
9455
9456static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9457 PyObject *resultobj;
9458 wxImage *arg1 = (wxImage *) 0 ;
9459 wxImage *arg2 = 0 ;
9460 byte arg3 ;
9461 byte arg4 ;
9462 byte arg5 ;
9463 bool result;
9464 PyObject * obj0 = 0 ;
9465 PyObject * obj1 = 0 ;
9466 PyObject * obj2 = 0 ;
9467 PyObject * obj3 = 0 ;
9468 PyObject * obj4 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
9474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9477 SWIG_POINTER_EXCEPTION | 0)) == -1)
9478 SWIG_fail;
d14a1e28 9479 if (arg2 == NULL) {
15afbcd0
RD
9480 PyErr_SetString(PyExc_TypeError,"null reference");
9481 SWIG_fail;
a41e16b6 9482 }
15afbcd0
RD
9483 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
9486 if (PyErr_Occurred()) SWIG_fail;
9487 arg5 = (byte) SWIG_AsUnsignedChar(obj4);
9488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9492
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
4f89f6a3
RD
9496 {
9497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9498 }
d14a1e28
RD
9499 return resultobj;
9500 fail:
9501 return NULL;
9502}
9503
9504
9505static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
9506 PyObject *resultobj;
9507 wxString *arg1 = 0 ;
9508 bool result;
e811c8ce 9509 bool temp1 = False ;
d14a1e28
RD
9510 PyObject * obj0 = 0 ;
9511 char *kwnames[] = {
9512 (char *) "name", NULL
9513 };
9514
9515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9516 {
9517 arg1 = wxString_in_helper(obj0);
9518 if (arg1 == NULL) SWIG_fail;
e811c8ce 9519 temp1 = True;
d14a1e28
RD
9520 }
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9524
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
4f89f6a3
RD
9528 {
9529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9530 }
d14a1e28
RD
9531 {
9532 if (temp1)
9533 delete arg1;
9534 }
9535 return resultobj;
9536 fail:
9537 {
9538 if (temp1)
9539 delete arg1;
9540 }
9541 return NULL;
9542}
9543
9544
9545static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9546 PyObject *resultobj;
9547 wxString *arg1 = 0 ;
9548 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9549 int result;
e811c8ce 9550 bool temp1 = False ;
d14a1e28 9551 PyObject * obj0 = 0 ;
994141e6 9552 PyObject * obj1 = 0 ;
d14a1e28
RD
9553 char *kwnames[] = {
9554 (char *) "name",(char *) "type", NULL
9555 };
9556
994141e6 9557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
9558 {
9559 arg1 = wxString_in_helper(obj0);
9560 if (arg1 == NULL) SWIG_fail;
e811c8ce 9561 temp1 = True;
d14a1e28 9562 }
994141e6 9563 if (obj1) {
15afbcd0
RD
9564 arg2 = (long) SWIG_AsLong(obj1);
9565 if (PyErr_Occurred()) SWIG_fail;
994141e6 9566 }
d14a1e28
RD
9567 {
9568 PyThreadState* __tstate = wxPyBeginAllowThreads();
9569 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9570
9571 wxPyEndAllowThreads(__tstate);
9572 if (PyErr_Occurred()) SWIG_fail;
9573 }
15afbcd0 9574 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9575 {
9576 if (temp1)
9577 delete arg1;
9578 }
9579 return resultobj;
9580 fail:
9581 {
9582 if (temp1)
9583 delete arg1;
9584 }
9585 return NULL;
9586}
9587
9588
9589static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9590 PyObject *resultobj;
9591 wxImage *arg1 = (wxImage *) 0 ;
9592 wxString *arg2 = 0 ;
9593 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9594 int arg4 = (int) -1 ;
9595 bool result;
e811c8ce 9596 bool temp2 = False ;
d14a1e28
RD
9597 PyObject * obj0 = 0 ;
9598 PyObject * obj1 = 0 ;
994141e6
RD
9599 PyObject * obj2 = 0 ;
9600 PyObject * obj3 = 0 ;
d14a1e28
RD
9601 char *kwnames[] = {
9602 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9603 };
9604
994141e6 9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9608 {
9609 arg2 = wxString_in_helper(obj1);
9610 if (arg2 == NULL) SWIG_fail;
e811c8ce 9611 temp2 = True;
d14a1e28 9612 }
994141e6 9613 if (obj2) {
15afbcd0
RD
9614 arg3 = (long) SWIG_AsLong(obj2);
9615 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9616 }
9617 if (obj3) {
15afbcd0
RD
9618 arg4 = (int) SWIG_AsInt(obj3);
9619 if (PyErr_Occurred()) SWIG_fail;
994141e6 9620 }
d14a1e28
RD
9621 {
9622 PyThreadState* __tstate = wxPyBeginAllowThreads();
9623 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9624
9625 wxPyEndAllowThreads(__tstate);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 }
4f89f6a3
RD
9628 {
9629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9630 }
d14a1e28
RD
9631 {
9632 if (temp2)
9633 delete arg2;
9634 }
9635 return resultobj;
9636 fail:
9637 {
9638 if (temp2)
9639 delete arg2;
9640 }
9641 return NULL;
9642}
9643
9644
9645static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9646 PyObject *resultobj;
9647 wxImage *arg1 = (wxImage *) 0 ;
9648 wxString *arg2 = 0 ;
9649 wxString *arg3 = 0 ;
9650 int arg4 = (int) -1 ;
9651 bool result;
e811c8ce
RD
9652 bool temp2 = False ;
9653 bool temp3 = False ;
d14a1e28
RD
9654 PyObject * obj0 = 0 ;
9655 PyObject * obj1 = 0 ;
9656 PyObject * obj2 = 0 ;
994141e6 9657 PyObject * obj3 = 0 ;
d14a1e28
RD
9658 char *kwnames[] = {
9659 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9660 };
9661
994141e6 9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9665 {
9666 arg2 = wxString_in_helper(obj1);
9667 if (arg2 == NULL) SWIG_fail;
e811c8ce 9668 temp2 = True;
d14a1e28
RD
9669 }
9670 {
9671 arg3 = wxString_in_helper(obj2);
9672 if (arg3 == NULL) SWIG_fail;
e811c8ce 9673 temp3 = True;
d14a1e28 9674 }
994141e6 9675 if (obj3) {
15afbcd0
RD
9676 arg4 = (int) SWIG_AsInt(obj3);
9677 if (PyErr_Occurred()) SWIG_fail;
994141e6 9678 }
d14a1e28
RD
9679 {
9680 PyThreadState* __tstate = wxPyBeginAllowThreads();
9681 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9682
9683 wxPyEndAllowThreads(__tstate);
9684 if (PyErr_Occurred()) SWIG_fail;
9685 }
4f89f6a3
RD
9686 {
9687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9688 }
d14a1e28
RD
9689 {
9690 if (temp2)
9691 delete arg2;
9692 }
9693 {
9694 if (temp3)
9695 delete arg3;
9696 }
9697 return resultobj;
9698 fail:
9699 {
9700 if (temp2)
9701 delete arg2;
9702 }
9703 {
9704 if (temp3)
9705 delete arg3;
9706 }
9707 return NULL;
9708}
9709
9710
9711static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxImage *arg1 = (wxImage *) 0 ;
9714 wxString *arg2 = 0 ;
9715 int arg3 ;
9716 bool result;
e811c8ce 9717 bool temp2 = False ;
d14a1e28
RD
9718 PyObject * obj0 = 0 ;
9719 PyObject * obj1 = 0 ;
994141e6 9720 PyObject * obj2 = 0 ;
d14a1e28
RD
9721 char *kwnames[] = {
9722 (char *) "self",(char *) "name",(char *) "type", NULL
9723 };
9724
994141e6 9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9728 {
9729 arg2 = wxString_in_helper(obj1);
9730 if (arg2 == NULL) SWIG_fail;
e811c8ce 9731 temp2 = True;
d14a1e28 9732 }
15afbcd0
RD
9733 arg3 = (int) SWIG_AsInt(obj2);
9734 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9735 {
9736 PyThreadState* __tstate = wxPyBeginAllowThreads();
9737 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9738
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
4f89f6a3
RD
9742 {
9743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9744 }
d14a1e28
RD
9745 {
9746 if (temp2)
9747 delete arg2;
9748 }
9749 return resultobj;
9750 fail:
9751 {
9752 if (temp2)
9753 delete arg2;
9754 }
9755 return NULL;
9756}
9757
9758
9759static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9760 PyObject *resultobj;
9761 wxImage *arg1 = (wxImage *) 0 ;
9762 wxString *arg2 = 0 ;
9763 wxString *arg3 = 0 ;
9764 bool result;
e811c8ce
RD
9765 bool temp2 = False ;
9766 bool temp3 = False ;
d14a1e28
RD
9767 PyObject * obj0 = 0 ;
9768 PyObject * obj1 = 0 ;
9769 PyObject * obj2 = 0 ;
9770 char *kwnames[] = {
9771 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9772 };
9773
9774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9777 {
9778 arg2 = wxString_in_helper(obj1);
9779 if (arg2 == NULL) SWIG_fail;
e811c8ce 9780 temp2 = True;
d14a1e28
RD
9781 }
9782 {
9783 arg3 = wxString_in_helper(obj2);
9784 if (arg3 == NULL) SWIG_fail;
e811c8ce 9785 temp3 = True;
d14a1e28
RD
9786 }
9787 {
9788 PyThreadState* __tstate = wxPyBeginAllowThreads();
9789 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9790
9791 wxPyEndAllowThreads(__tstate);
9792 if (PyErr_Occurred()) SWIG_fail;
9793 }
4f89f6a3
RD
9794 {
9795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9796 }
d14a1e28
RD
9797 {
9798 if (temp2)
9799 delete arg2;
9800 }
9801 {
9802 if (temp3)
9803 delete arg3;
9804 }
9805 return resultobj;
9806 fail:
9807 {
9808 if (temp2)
9809 delete arg2;
9810 }
9811 {
9812 if (temp3)
9813 delete arg3;
9814 }
9815 return NULL;
9816}
9817
9818
9819static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9820 PyObject *resultobj;
9821 wxInputStream *arg1 = 0 ;
9822 bool result;
9823 wxPyInputStream *temp1 ;
9824 bool created1 ;
9825 PyObject * obj0 = 0 ;
9826 char *kwnames[] = {
9827 (char *) "stream", NULL
9828 };
9829
9830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9831 {
9832 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9833 arg1 = temp1->m_wxis;
e811c8ce 9834 created1 = False;
d14a1e28
RD
9835 } else {
9836 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9837 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
9838 if (arg1 == NULL) {
9839 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9840 SWIG_fail;
9841 }
e811c8ce 9842 created1 = True;
d14a1e28
RD
9843 }
9844 }
9845 {
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 result = (bool)wxImage::CanRead(*arg1);
9848
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
4f89f6a3
RD
9852 {
9853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9854 }
d14a1e28
RD
9855 {
9856 if (created1)
9857 delete arg1;
9858 }
9859 return resultobj;
9860 fail:
9861 {
9862 if (created1)
9863 delete arg1;
9864 }
9865 return NULL;
9866}
9867
9868
9869static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj;
9871 wxImage *arg1 = (wxImage *) 0 ;
9872 wxInputStream *arg2 = 0 ;
9873 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9874 int arg4 = (int) -1 ;
9875 bool result;
9876 wxPyInputStream *temp2 ;
9877 bool created2 ;
9878 PyObject * obj0 = 0 ;
9879 PyObject * obj1 = 0 ;
994141e6
RD
9880 PyObject * obj2 = 0 ;
9881 PyObject * obj3 = 0 ;
d14a1e28
RD
9882 char *kwnames[] = {
9883 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9884 };
9885
994141e6 9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9889 {
9890 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9891 arg2 = temp2->m_wxis;
e811c8ce 9892 created2 = False;
d14a1e28
RD
9893 } else {
9894 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9895 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9896 if (arg2 == NULL) {
9897 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9898 SWIG_fail;
9899 }
e811c8ce 9900 created2 = True;
d14a1e28
RD
9901 }
9902 }
994141e6 9903 if (obj2) {
15afbcd0
RD
9904 arg3 = (long) SWIG_AsLong(obj2);
9905 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9906 }
9907 if (obj3) {
15afbcd0
RD
9908 arg4 = (int) SWIG_AsInt(obj3);
9909 if (PyErr_Occurred()) SWIG_fail;
994141e6 9910 }
d14a1e28
RD
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9914
9915 wxPyEndAllowThreads(__tstate);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
4f89f6a3
RD
9918 {
9919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9920 }
d14a1e28
RD
9921 {
9922 if (created2)
9923 delete arg2;
9924 }
9925 return resultobj;
9926 fail:
9927 {
9928 if (created2)
9929 delete arg2;
9930 }
9931 return NULL;
9932}
9933
9934
9935static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9936 PyObject *resultobj;
9937 wxImage *arg1 = (wxImage *) 0 ;
9938 wxInputStream *arg2 = 0 ;
9939 wxString *arg3 = 0 ;
9940 int arg4 = (int) -1 ;
9941 bool result;
9942 wxPyInputStream *temp2 ;
9943 bool created2 ;
e811c8ce 9944 bool temp3 = False ;
d14a1e28
RD
9945 PyObject * obj0 = 0 ;
9946 PyObject * obj1 = 0 ;
9947 PyObject * obj2 = 0 ;
994141e6 9948 PyObject * obj3 = 0 ;
d14a1e28
RD
9949 char *kwnames[] = {
9950 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9951 };
9952
994141e6 9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9956 {
9957 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9958 arg2 = temp2->m_wxis;
e811c8ce 9959 created2 = False;
d14a1e28
RD
9960 } else {
9961 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9962 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9963 if (arg2 == NULL) {
9964 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9965 SWIG_fail;
9966 }
e811c8ce 9967 created2 = True;
d14a1e28
RD
9968 }
9969 }
9970 {
9971 arg3 = wxString_in_helper(obj2);
9972 if (arg3 == NULL) SWIG_fail;
e811c8ce 9973 temp3 = True;
d14a1e28 9974 }
994141e6 9975 if (obj3) {
15afbcd0
RD
9976 arg4 = (int) SWIG_AsInt(obj3);
9977 if (PyErr_Occurred()) SWIG_fail;
994141e6 9978 }
d14a1e28
RD
9979 {
9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
9981 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9982
9983 wxPyEndAllowThreads(__tstate);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
4f89f6a3
RD
9986 {
9987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9988 }
d14a1e28
RD
9989 {
9990 if (created2)
9991 delete arg2;
9992 }
9993 {
9994 if (temp3)
9995 delete arg3;
9996 }
9997 return resultobj;
9998 fail:
9999 {
10000 if (created2)
10001 delete arg2;
10002 }
10003 {
10004 if (temp3)
10005 delete arg3;
10006 }
10007 return NULL;
10008}
10009
10010
10011static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
10012 PyObject *resultobj;
10013 wxImage *arg1 = (wxImage *) 0 ;
10014 bool result;
10015 PyObject * obj0 = 0 ;
10016 char *kwnames[] = {
10017 (char *) "self", NULL
10018 };
10019
10020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
10021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10023 {
10024 PyThreadState* __tstate = wxPyBeginAllowThreads();
10025 result = (bool)(arg1)->Ok();
10026
10027 wxPyEndAllowThreads(__tstate);
10028 if (PyErr_Occurred()) SWIG_fail;
10029 }
4f89f6a3
RD
10030 {
10031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10032 }
d14a1e28
RD
10033 return resultobj;
10034 fail:
10035 return NULL;
10036}
10037
10038
10039static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10040 PyObject *resultobj;
10041 wxImage *arg1 = (wxImage *) 0 ;
10042 int result;
10043 PyObject * obj0 = 0 ;
10044 char *kwnames[] = {
10045 (char *) "self", NULL
10046 };
10047
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
10049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 result = (int)(arg1)->GetWidth();
10054
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 }
15afbcd0 10058 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10059 return resultobj;
10060 fail:
10061 return NULL;
10062}
10063
10064
10065static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10066 PyObject *resultobj;
10067 wxImage *arg1 = (wxImage *) 0 ;
10068 int result;
10069 PyObject * obj0 = 0 ;
10070 char *kwnames[] = {
10071 (char *) "self", NULL
10072 };
10073
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
10075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10077 {
10078 PyThreadState* __tstate = wxPyBeginAllowThreads();
10079 result = (int)(arg1)->GetHeight();
10080
10081 wxPyEndAllowThreads(__tstate);
10082 if (PyErr_Occurred()) SWIG_fail;
10083 }
15afbcd0 10084 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10085 return resultobj;
10086 fail:
10087 return NULL;
10088}
10089
10090
b2df227b
RD
10091static PyObject *_wrap_Image_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxImage *arg1 = (wxImage *) 0 ;
10094 wxSize result;
10095 PyObject * obj0 = 0 ;
10096 char *kwnames[] = {
10097 (char *) "self", NULL
10098 };
10099
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
10101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 result = wxImage_GetSize(arg1);
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
10110 {
10111 wxSize * resultptr;
10112 resultptr = new wxSize((wxSize &) result);
10113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10114 }
10115 return resultobj;
10116 fail:
10117 return NULL;
10118}
10119
10120
d14a1e28
RD
10121static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj;
10123 wxImage *arg1 = (wxImage *) 0 ;
10124 wxRect *arg2 = 0 ;
10125 SwigValueWrapper< wxImage > result;
10126 wxRect temp2 ;
10127 PyObject * obj0 = 0 ;
10128 PyObject * obj1 = 0 ;
10129 char *kwnames[] = {
10130 (char *) "self",(char *) "rect", NULL
10131 };
10132
10133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10136 {
10137 arg2 = &temp2;
10138 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10139 }
10140 {
10141 PyThreadState* __tstate = wxPyBeginAllowThreads();
10142 result = (arg1)->GetSubImage((wxRect const &)*arg2);
10143
10144 wxPyEndAllowThreads(__tstate);
10145 if (PyErr_Occurred()) SWIG_fail;
10146 }
10147 {
10148 wxImage * resultptr;
10149 resultptr = new wxImage((wxImage &) result);
15afbcd0 10150 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10151 }
10152 return resultobj;
10153 fail:
10154 return NULL;
10155}
10156
10157
10158static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
10159 PyObject *resultobj;
10160 wxImage *arg1 = (wxImage *) 0 ;
10161 SwigValueWrapper< wxImage > result;
10162 PyObject * obj0 = 0 ;
10163 char *kwnames[] = {
10164 (char *) "self", NULL
10165 };
10166
10167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
10168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 result = (arg1)->Copy();
10173
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
10177 {
10178 wxImage * resultptr;
10179 resultptr = new wxImage((wxImage &) result);
15afbcd0 10180 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10181 }
10182 return resultobj;
10183 fail:
10184 return NULL;
10185}
10186
10187
10188static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
10189 PyObject *resultobj;
10190 wxImage *arg1 = (wxImage *) 0 ;
10191 wxImage *arg2 = 0 ;
10192 int arg3 ;
10193 int arg4 ;
10194 PyObject * obj0 = 0 ;
10195 PyObject * obj1 = 0 ;
994141e6
RD
10196 PyObject * obj2 = 0 ;
10197 PyObject * obj3 = 0 ;
d14a1e28
RD
10198 char *kwnames[] = {
10199 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10200 };
10201
994141e6 10202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10206 SWIG_POINTER_EXCEPTION | 0)) == -1)
10207 SWIG_fail;
d14a1e28 10208 if (arg2 == NULL) {
15afbcd0
RD
10209 PyErr_SetString(PyExc_TypeError,"null reference");
10210 SWIG_fail;
994141e6 10211 }
15afbcd0
RD
10212 arg3 = (int) SWIG_AsInt(obj2);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 arg4 = (int) SWIG_AsInt(obj3);
10215 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10219
10220 wxPyEndAllowThreads(__tstate);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 }
10223 Py_INCREF(Py_None); resultobj = Py_None;
10224 return resultobj;
10225 fail:
10226 return NULL;
10227}
10228
10229
10230static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10231 PyObject *resultobj;
10232 wxImage *arg1 = (wxImage *) 0 ;
10233 PyObject *result;
10234 PyObject * obj0 = 0 ;
10235 char *kwnames[] = {
10236 (char *) "self", NULL
10237 };
10238
10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 result = (PyObject *)wxImage_GetData(arg1);
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
10249 resultobj = result;
10250 return resultobj;
10251 fail:
10252 return NULL;
10253}
10254
10255
10256static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10257 PyObject *resultobj;
10258 wxImage *arg1 = (wxImage *) 0 ;
10259 PyObject *arg2 = (PyObject *) 0 ;
10260 PyObject * obj0 = 0 ;
10261 PyObject * obj1 = 0 ;
10262 char *kwnames[] = {
10263 (char *) "self",(char *) "data", NULL
10264 };
10265
10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10269 arg2 = obj1;
10270 {
10271 PyThreadState* __tstate = wxPyBeginAllowThreads();
10272 wxImage_SetData(arg1,arg2);
10273
10274 wxPyEndAllowThreads(__tstate);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 }
10277 Py_INCREF(Py_None); resultobj = Py_None;
10278 return resultobj;
10279 fail:
10280 return NULL;
10281}
10282
10283
10284static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10285 PyObject *resultobj;
10286 wxImage *arg1 = (wxImage *) 0 ;
10287 PyObject *result;
10288 PyObject * obj0 = 0 ;
10289 char *kwnames[] = {
10290 (char *) "self", NULL
10291 };
10292
10293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 resultobj = result;
10304 return resultobj;
10305 fail:
10306 return NULL;
10307}
10308
10309
10310static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10311 PyObject *resultobj;
10312 wxImage *arg1 = (wxImage *) 0 ;
10313 PyObject *arg2 = (PyObject *) 0 ;
10314 PyObject * obj0 = 0 ;
10315 PyObject * obj1 = 0 ;
10316 char *kwnames[] = {
10317 (char *) "self",(char *) "data", NULL
10318 };
10319
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10323 arg2 = obj1;
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 wxImage_SetDataBuffer(arg1,arg2);
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 Py_INCREF(Py_None); resultobj = Py_None;
10332 return resultobj;
10333 fail:
10334 return NULL;
10335}
10336
10337
10338static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10339 PyObject *resultobj;
10340 wxImage *arg1 = (wxImage *) 0 ;
10341 PyObject *result;
10342 PyObject * obj0 = 0 ;
10343 char *kwnames[] = {
10344 (char *) "self", NULL
10345 };
10346
10347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10350 {
10351 PyThreadState* __tstate = wxPyBeginAllowThreads();
10352 result = (PyObject *)wxImage_GetAlphaData(arg1);
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 resultobj = result;
10358 return resultobj;
10359 fail:
10360 return NULL;
10361}
10362
10363
10364static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10365 PyObject *resultobj;
10366 wxImage *arg1 = (wxImage *) 0 ;
10367 PyObject *arg2 = (PyObject *) 0 ;
10368 PyObject * obj0 = 0 ;
10369 PyObject * obj1 = 0 ;
10370 char *kwnames[] = {
10371 (char *) "self",(char *) "data", NULL
10372 };
10373
10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10377 arg2 = obj1;
10378 {
10379 PyThreadState* __tstate = wxPyBeginAllowThreads();
10380 wxImage_SetAlphaData(arg1,arg2);
10381
10382 wxPyEndAllowThreads(__tstate);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 Py_INCREF(Py_None); resultobj = Py_None;
10386 return resultobj;
10387 fail:
10388 return NULL;
10389}
10390
10391
10392static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10393 PyObject *resultobj;
10394 wxImage *arg1 = (wxImage *) 0 ;
10395 PyObject *result;
10396 PyObject * obj0 = 0 ;
10397 char *kwnames[] = {
10398 (char *) "self", NULL
10399 };
10400
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10404 {
10405 PyThreadState* __tstate = wxPyBeginAllowThreads();
10406 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10407
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 resultobj = result;
10412 return resultobj;
10413 fail:
10414 return NULL;
10415}
10416
10417
10418static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj;
10420 wxImage *arg1 = (wxImage *) 0 ;
10421 PyObject *arg2 = (PyObject *) 0 ;
10422 PyObject * obj0 = 0 ;
10423 PyObject * obj1 = 0 ;
10424 char *kwnames[] = {
10425 (char *) "self",(char *) "data", NULL
10426 };
10427
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10431 arg2 = obj1;
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 wxImage_SetAlphaBuffer(arg1,arg2);
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 Py_INCREF(Py_None); resultobj = Py_None;
10440 return resultobj;
10441 fail:
10442 return NULL;
10443}
10444
10445
10446static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxImage *arg1 = (wxImage *) 0 ;
10449 unsigned char arg2 ;
10450 unsigned char arg3 ;
10451 unsigned char arg4 ;
10452 PyObject * obj0 = 0 ;
10453 PyObject * obj1 = 0 ;
10454 PyObject * obj2 = 0 ;
10455 PyObject * obj3 = 0 ;
10456 char *kwnames[] = {
10457 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10458 };
10459
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10463 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10468 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 (arg1)->SetMaskColour(arg2,arg3,arg4);
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 Py_INCREF(Py_None); resultobj = Py_None;
10477 return resultobj;
10478 fail:
10479 return NULL;
10480}
10481
10482
10483static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxImage *arg1 = (wxImage *) 0 ;
10486 unsigned char result;
10487 PyObject * obj0 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
15afbcd0
RD
10493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 result = (unsigned char)(arg1)->GetMaskRed();
10498
10499 wxPyEndAllowThreads(__tstate);
10500 if (PyErr_Occurred()) SWIG_fail;
10501 }
15afbcd0 10502 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10503 return resultobj;
10504 fail:
10505 return NULL;
10506}
10507
10508
10509static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10510 PyObject *resultobj;
10511 wxImage *arg1 = (wxImage *) 0 ;
10512 unsigned char result;
10513 PyObject * obj0 = 0 ;
10514 char *kwnames[] = {
10515 (char *) "self", NULL
10516 };
10517
10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
10519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 result = (unsigned char)(arg1)->GetMaskGreen();
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
15afbcd0 10528 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10529 return resultobj;
10530 fail:
10531 return NULL;
10532}
10533
10534
10535static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
10536 PyObject *resultobj;
10537 wxImage *arg1 = (wxImage *) 0 ;
10538 unsigned char result;
10539 PyObject * obj0 = 0 ;
10540 char *kwnames[] = {
10541 (char *) "self", NULL
10542 };
10543
10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10547 {
10548 PyThreadState* __tstate = wxPyBeginAllowThreads();
10549 result = (unsigned char)(arg1)->GetMaskBlue();
10550
10551 wxPyEndAllowThreads(__tstate);
10552 if (PyErr_Occurred()) SWIG_fail;
10553 }
15afbcd0 10554 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10555 return resultobj;
10556 fail:
10557 return NULL;
10558}
10559
10560
10561static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10562 PyObject *resultobj;
10563 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10564 bool arg2 = (bool) True ;
d14a1e28
RD
10565 PyObject * obj0 = 0 ;
10566 PyObject * obj1 = 0 ;
10567 char *kwnames[] = {
10568 (char *) "self",(char *) "mask", NULL
10569 };
10570
10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10574 if (obj1) {
15afbcd0
RD
10575 arg2 = (bool) SWIG_AsBool(obj1);
10576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10577 }
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 (arg1)->SetMask(arg2);
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 Py_INCREF(Py_None); resultobj = Py_None;
10586 return resultobj;
10587 fail:
10588 return NULL;
10589}
10590
10591
10592static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10593 PyObject *resultobj;
10594 wxImage *arg1 = (wxImage *) 0 ;
10595 bool result;
10596 PyObject * obj0 = 0 ;
10597 char *kwnames[] = {
10598 (char *) "self", NULL
10599 };
10600
10601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
10602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10604 {
10605 PyThreadState* __tstate = wxPyBeginAllowThreads();
10606 result = (bool)(arg1)->HasMask();
10607
10608 wxPyEndAllowThreads(__tstate);
10609 if (PyErr_Occurred()) SWIG_fail;
10610 }
4f89f6a3
RD
10611 {
10612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10613 }
d14a1e28
RD
10614 return resultobj;
10615 fail:
10616 return NULL;
10617}
10618
10619
10620static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj;
10622 wxImage *arg1 = (wxImage *) 0 ;
10623 double arg2 ;
10624 wxPoint *arg3 = 0 ;
e811c8ce 10625 bool arg4 = (bool) True ;
d14a1e28
RD
10626 wxPoint *arg5 = (wxPoint *) NULL ;
10627 SwigValueWrapper< wxImage > result;
10628 wxPoint temp3 ;
10629 PyObject * obj0 = 0 ;
994141e6 10630 PyObject * obj1 = 0 ;
d14a1e28
RD
10631 PyObject * obj2 = 0 ;
10632 PyObject * obj3 = 0 ;
10633 PyObject * obj4 = 0 ;
10634 char *kwnames[] = {
10635 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10636 };
10637
994141e6 10638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10641 arg2 = (double) SWIG_AsDouble(obj1);
10642 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10643 {
10644 arg3 = &temp3;
10645 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10646 }
10647 if (obj3) {
15afbcd0
RD
10648 arg4 = (bool) SWIG_AsBool(obj3);
10649 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10650 }
10651 if (obj4) {
15afbcd0
RD
10652 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10654 }
10655 {
10656 PyThreadState* __tstate = wxPyBeginAllowThreads();
10657 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10658
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) SWIG_fail;
10661 }
10662 {
10663 wxImage * resultptr;
10664 resultptr = new wxImage((wxImage &) result);
15afbcd0 10665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10666 }
10667 return resultobj;
10668 fail:
10669 return NULL;
10670}
10671
10672
10673static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
10674 PyObject *resultobj;
10675 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10676 bool arg2 = (bool) True ;
d14a1e28
RD
10677 SwigValueWrapper< wxImage > result;
10678 PyObject * obj0 = 0 ;
10679 PyObject * obj1 = 0 ;
10680 char *kwnames[] = {
10681 (char *) "self",(char *) "clockwise", NULL
10682 };
10683
10684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10687 if (obj1) {
15afbcd0
RD
10688 arg2 = (bool) SWIG_AsBool(obj1);
10689 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10690 }
10691 {
10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
10693 result = (arg1)->Rotate90(arg2);
10694
10695 wxPyEndAllowThreads(__tstate);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 }
10698 {
10699 wxImage * resultptr;
10700 resultptr = new wxImage((wxImage &) result);
15afbcd0 10701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10702 }
10703 return resultobj;
10704 fail:
10705 return NULL;
10706}
10707
10708
10709static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
10710 PyObject *resultobj;
10711 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10712 bool arg2 = (bool) True ;
d14a1e28
RD
10713 SwigValueWrapper< wxImage > result;
10714 PyObject * obj0 = 0 ;
10715 PyObject * obj1 = 0 ;
10716 char *kwnames[] = {
10717 (char *) "self",(char *) "horizontally", NULL
10718 };
10719
10720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10723 if (obj1) {
15afbcd0
RD
10724 arg2 = (bool) SWIG_AsBool(obj1);
10725 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10726 }
10727 {
10728 PyThreadState* __tstate = wxPyBeginAllowThreads();
10729 result = (arg1)->Mirror(arg2);
10730
10731 wxPyEndAllowThreads(__tstate);
10732 if (PyErr_Occurred()) SWIG_fail;
10733 }
10734 {
10735 wxImage * resultptr;
10736 resultptr = new wxImage((wxImage &) result);
15afbcd0 10737 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10738 }
10739 return resultobj;
10740 fail:
10741 return NULL;
10742}
10743
10744
10745static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
10746 PyObject *resultobj;
10747 wxImage *arg1 = (wxImage *) 0 ;
10748 unsigned char arg2 ;
10749 unsigned char arg3 ;
10750 unsigned char arg4 ;
10751 unsigned char arg5 ;
10752 unsigned char arg6 ;
10753 unsigned char arg7 ;
10754 PyObject * obj0 = 0 ;
10755 PyObject * obj1 = 0 ;
10756 PyObject * obj2 = 0 ;
10757 PyObject * obj3 = 0 ;
10758 PyObject * obj4 = 0 ;
10759 PyObject * obj5 = 0 ;
10760 PyObject * obj6 = 0 ;
10761 char *kwnames[] = {
10762 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10763 };
10764
10765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10768 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10773 if (PyErr_Occurred()) SWIG_fail;
10774 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj6);
10779 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10783
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 }
10787 Py_INCREF(Py_None); resultobj = Py_None;
10788 return resultobj;
10789 fail:
10790 return NULL;
10791}
10792
10793
10794static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
10795 PyObject *resultobj;
10796 wxImage *arg1 = (wxImage *) 0 ;
10797 unsigned char arg2 ;
10798 unsigned char arg3 ;
10799 unsigned char arg4 ;
10800 SwigValueWrapper< wxImage > result;
10801 PyObject * obj0 = 0 ;
10802 PyObject * obj1 = 0 ;
10803 PyObject * obj2 = 0 ;
10804 PyObject * obj3 = 0 ;
10805 char *kwnames[] = {
10806 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10807 };
10808
10809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10812 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10817 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10818 {
10819 PyThreadState* __tstate = wxPyBeginAllowThreads();
10820 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10821
10822 wxPyEndAllowThreads(__tstate);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 }
10825 {
10826 wxImage * resultptr;
10827 resultptr = new wxImage((wxImage &) result);
15afbcd0 10828 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10829 }
10830 return resultobj;
10831 fail:
10832 return NULL;
10833}
10834
10835
10836static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10837 PyObject *resultobj;
10838 wxImage *arg1 = (wxImage *) 0 ;
10839 wxString *arg2 = 0 ;
10840 wxString *arg3 = 0 ;
e811c8ce
RD
10841 bool temp2 = False ;
10842 bool temp3 = False ;
d14a1e28
RD
10843 PyObject * obj0 = 0 ;
10844 PyObject * obj1 = 0 ;
10845 PyObject * obj2 = 0 ;
10846 char *kwnames[] = {
10847 (char *) "self",(char *) "name",(char *) "value", NULL
10848 };
10849
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10853 {
10854 arg2 = wxString_in_helper(obj1);
10855 if (arg2 == NULL) SWIG_fail;
e811c8ce 10856 temp2 = True;
d14a1e28
RD
10857 }
10858 {
10859 arg3 = wxString_in_helper(obj2);
10860 if (arg3 == NULL) SWIG_fail;
e811c8ce 10861 temp3 = True;
d14a1e28
RD
10862 }
10863 {
10864 PyThreadState* __tstate = wxPyBeginAllowThreads();
10865 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10866
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
10870 Py_INCREF(Py_None); resultobj = Py_None;
10871 {
10872 if (temp2)
10873 delete arg2;
10874 }
10875 {
10876 if (temp3)
10877 delete arg3;
10878 }
10879 return resultobj;
10880 fail:
10881 {
10882 if (temp2)
10883 delete arg2;
10884 }
10885 {
10886 if (temp3)
10887 delete arg3;
10888 }
10889 return NULL;
10890}
10891
10892
10893static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj;
10895 wxImage *arg1 = (wxImage *) 0 ;
10896 wxString *arg2 = 0 ;
10897 int arg3 ;
e811c8ce 10898 bool temp2 = False ;
d14a1e28
RD
10899 PyObject * obj0 = 0 ;
10900 PyObject * obj1 = 0 ;
994141e6 10901 PyObject * obj2 = 0 ;
d14a1e28
RD
10902 char *kwnames[] = {
10903 (char *) "self",(char *) "name",(char *) "value", NULL
10904 };
10905
994141e6 10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10909 {
10910 arg2 = wxString_in_helper(obj1);
10911 if (arg2 == NULL) SWIG_fail;
e811c8ce 10912 temp2 = True;
d14a1e28 10913 }
15afbcd0
RD
10914 arg3 = (int) SWIG_AsInt(obj2);
10915 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 (arg1)->SetOption((wxString const &)*arg2,arg3);
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 Py_INCREF(Py_None); resultobj = Py_None;
10924 {
10925 if (temp2)
10926 delete arg2;
10927 }
10928 return resultobj;
10929 fail:
10930 {
10931 if (temp2)
10932 delete arg2;
10933 }
10934 return NULL;
10935}
10936
10937
10938static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10939 PyObject *resultobj;
10940 wxImage *arg1 = (wxImage *) 0 ;
10941 wxString *arg2 = 0 ;
10942 wxString result;
e811c8ce 10943 bool temp2 = False ;
d14a1e28
RD
10944 PyObject * obj0 = 0 ;
10945 PyObject * obj1 = 0 ;
10946 char *kwnames[] = {
10947 (char *) "self",(char *) "name", NULL
10948 };
10949
10950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10953 {
10954 arg2 = wxString_in_helper(obj1);
10955 if (arg2 == NULL) SWIG_fail;
e811c8ce 10956 temp2 = True;
d14a1e28
RD
10957 }
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10961
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 {
10966#if wxUSE_UNICODE
10967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10968#else
10969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10970#endif
10971 }
10972 {
10973 if (temp2)
10974 delete arg2;
10975 }
10976 return resultobj;
10977 fail:
10978 {
10979 if (temp2)
10980 delete arg2;
10981 }
10982 return NULL;
10983}
10984
10985
10986static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10987 PyObject *resultobj;
10988 wxImage *arg1 = (wxImage *) 0 ;
10989 wxString *arg2 = 0 ;
10990 int result;
e811c8ce 10991 bool temp2 = False ;
d14a1e28
RD
10992 PyObject * obj0 = 0 ;
10993 PyObject * obj1 = 0 ;
10994 char *kwnames[] = {
10995 (char *) "self",(char *) "name", NULL
10996 };
10997
10998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11001 {
11002 arg2 = wxString_in_helper(obj1);
11003 if (arg2 == NULL) SWIG_fail;
e811c8ce 11004 temp2 = True;
d14a1e28
RD
11005 }
11006 {
11007 PyThreadState* __tstate = wxPyBeginAllowThreads();
11008 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
11009
11010 wxPyEndAllowThreads(__tstate);
11011 if (PyErr_Occurred()) SWIG_fail;
11012 }
15afbcd0 11013 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11014 {
11015 if (temp2)
11016 delete arg2;
11017 }
11018 return resultobj;
11019 fail:
11020 {
11021 if (temp2)
11022 delete arg2;
11023 }
11024 return NULL;
11025}
11026
11027
11028static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
11029 PyObject *resultobj;
11030 wxImage *arg1 = (wxImage *) 0 ;
11031 wxString *arg2 = 0 ;
11032 bool result;
e811c8ce 11033 bool temp2 = False ;
d14a1e28
RD
11034 PyObject * obj0 = 0 ;
11035 PyObject * obj1 = 0 ;
11036 char *kwnames[] = {
11037 (char *) "self",(char *) "name", NULL
11038 };
11039
11040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11043 {
11044 arg2 = wxString_in_helper(obj1);
11045 if (arg2 == NULL) SWIG_fail;
e811c8ce 11046 temp2 = True;
d14a1e28
RD
11047 }
11048 {
11049 PyThreadState* __tstate = wxPyBeginAllowThreads();
11050 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
11051
11052 wxPyEndAllowThreads(__tstate);
11053 if (PyErr_Occurred()) SWIG_fail;
11054 }
4f89f6a3
RD
11055 {
11056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11057 }
d14a1e28
RD
11058 {
11059 if (temp2)
11060 delete arg2;
11061 }
11062 return resultobj;
11063 fail:
11064 {
11065 if (temp2)
11066 delete arg2;
11067 }
11068 return NULL;
11069}
11070
11071
11072static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
11073 PyObject *resultobj;
11074 wxImage *arg1 = (wxImage *) 0 ;
11075 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
11076 unsigned long result;
11077 PyObject * obj0 = 0 ;
11078 PyObject * obj1 = 0 ;
11079 char *kwnames[] = {
11080 (char *) "self",(char *) "stopafter", NULL
11081 };
11082
11083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11086 if (obj1) {
15afbcd0
RD
11087 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
11088 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11089 }
11090 {
11091 PyThreadState* __tstate = wxPyBeginAllowThreads();
11092 result = (unsigned long)(arg1)->CountColours(arg2);
11093
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
15afbcd0 11097 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
11098 return resultobj;
11099 fail:
11100 return NULL;
11101}
11102
11103
11104static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
11105 PyObject *resultobj;
11106 wxImage *arg1 = (wxImage *) 0 ;
11107 wxImageHistogram *arg2 = 0 ;
11108 unsigned long result;
11109 PyObject * obj0 = 0 ;
11110 PyObject * obj1 = 0 ;
11111 char *kwnames[] = {
11112 (char *) "self",(char *) "h", NULL
11113 };
11114
11115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
11119 SWIG_POINTER_EXCEPTION | 0)) == -1)
11120 SWIG_fail;
d14a1e28 11121 if (arg2 == NULL) {
15afbcd0
RD
11122 PyErr_SetString(PyExc_TypeError,"null reference");
11123 SWIG_fail;
d14a1e28
RD
11124 }
11125 {
11126 PyThreadState* __tstate = wxPyBeginAllowThreads();
11127 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
11128
11129 wxPyEndAllowThreads(__tstate);
11130 if (PyErr_Occurred()) SWIG_fail;
11131 }
15afbcd0 11132 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
11133 return resultobj;
11134 fail:
11135 return NULL;
11136}
11137
11138
11139static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11140 PyObject *resultobj;
11141 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11142 PyObject * obj0 = 0 ;
11143 char *kwnames[] = {
11144 (char *) "handler", NULL
11145 };
11146
11147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 wxImage::AddHandler(arg1);
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 Py_INCREF(Py_None); resultobj = Py_None;
11158 return resultobj;
11159 fail:
11160 return NULL;
11161}
11162
11163
11164static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11165 PyObject *resultobj;
11166 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11167 PyObject * obj0 = 0 ;
11168 char *kwnames[] = {
11169 (char *) "handler", NULL
11170 };
11171
11172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11175 {
11176 PyThreadState* __tstate = wxPyBeginAllowThreads();
11177 wxImage::InsertHandler(arg1);
11178
11179 wxPyEndAllowThreads(__tstate);
11180 if (PyErr_Occurred()) SWIG_fail;
11181 }
11182 Py_INCREF(Py_None); resultobj = Py_None;
11183 return resultobj;
11184 fail:
11185 return NULL;
11186}
11187
11188
11189static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11190 PyObject *resultobj;
11191 wxString *arg1 = 0 ;
11192 bool result;
e811c8ce 11193 bool temp1 = False ;
d14a1e28
RD
11194 PyObject * obj0 = 0 ;
11195 char *kwnames[] = {
11196 (char *) "name", NULL
11197 };
11198
11199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11200 {
11201 arg1 = wxString_in_helper(obj0);
11202 if (arg1 == NULL) SWIG_fail;
e811c8ce 11203 temp1 = True;
d14a1e28
RD
11204 }
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
4f89f6a3
RD
11212 {
11213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11214 }
d14a1e28
RD
11215 {
11216 if (temp1)
11217 delete arg1;
11218 }
11219 return resultobj;
11220 fail:
11221 {
11222 if (temp1)
11223 delete arg1;
11224 }
11225 return NULL;
11226}
11227
11228
11229static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11230 PyObject *resultobj;
11231 wxString result;
11232 char *kwnames[] = {
11233 NULL
11234 };
11235
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 result = wxImage::GetImageExtWildcard();
11240
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 {
11245#if wxUSE_UNICODE
11246 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11247#else
11248 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11249#endif
11250 }
11251 return resultobj;
11252 fail:
11253 return NULL;
11254}
11255
11256
11257static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11258 PyObject *resultobj;
11259 wxImage *arg1 = (wxImage *) 0 ;
11260 wxBitmap result;
11261 PyObject * obj0 = 0 ;
11262 char *kwnames[] = {
11263 (char *) "self", NULL
11264 };
11265
11266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
11267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11269 {
e3b71cb8 11270 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11271 PyThreadState* __tstate = wxPyBeginAllowThreads();
11272 result = wxImage_ConvertToBitmap(arg1);
11273
11274 wxPyEndAllowThreads(__tstate);
110da5b0 11275 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11276 }
11277 {
11278 wxBitmap * resultptr;
11279 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11280 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11281 }
11282 return resultobj;
11283 fail:
11284 return NULL;
11285}
11286
11287
11288static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11289 PyObject *resultobj;
11290 wxImage *arg1 = (wxImage *) 0 ;
11291 unsigned char arg2 ;
11292 unsigned char arg3 ;
11293 unsigned char arg4 ;
11294 wxBitmap result;
11295 PyObject * obj0 = 0 ;
11296 PyObject * obj1 = 0 ;
11297 PyObject * obj2 = 0 ;
11298 PyObject * obj3 = 0 ;
11299 char *kwnames[] = {
11300 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11301 };
11302
11303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11306 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
11311 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11312 {
e3b71cb8 11313 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11316
11317 wxPyEndAllowThreads(__tstate);
110da5b0 11318 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11319 }
11320 {
11321 wxBitmap * resultptr;
11322 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11323 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11324 }
11325 return resultobj;
11326 fail:
11327 return NULL;
11328}
11329
11330
11331static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
11332 PyObject *obj;
11333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11334 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11335 Py_INCREF(obj);
11336 return Py_BuildValue((char *)"");
11337}
d14a1e28
RD
11338static int _wrap_NullImage_set(PyObject *_val) {
11339 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11340 return 1;
11341}
11342
11343
11344static PyObject *_wrap_NullImage_get() {
11345 PyObject *pyobj;
11346
15afbcd0 11347 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
11348 return pyobj;
11349}
11350
11351
11352static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
11353 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11354 return 1;
11355}
11356
11357
11358static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11359 PyObject *pyobj;
11360
11361 {
11362#if wxUSE_UNICODE
11363 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11364#else
11365 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11366#endif
11367 }
11368 return pyobj;
11369}
11370
11371
11372static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
11373 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11374 return 1;
11375}
11376
11377
11378static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11379 PyObject *pyobj;
11380
11381 {
11382#if wxUSE_UNICODE
11383 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11384#else
11385 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11386#endif
11387 }
11388 return pyobj;
11389}
11390
11391
11392static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
11393 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11394 return 1;
11395}
11396
11397
11398static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11399 PyObject *pyobj;
11400
11401 {
11402#if wxUSE_UNICODE
11403 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11404#else
11405 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11406#endif
11407 }
11408 return pyobj;
11409}
11410
11411
11412static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
11413 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11414 return 1;
11415}
11416
11417
11418static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11419 PyObject *pyobj;
11420
11421 {
11422#if wxUSE_UNICODE
11423 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11424#else
11425 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11426#endif
11427 }
11428 return pyobj;
11429}
11430
11431
11432static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
11433 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11434 return 1;
11435}
11436
11437
11438static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11439 PyObject *pyobj;
11440
11441 {
11442#if wxUSE_UNICODE
11443 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11444#else
11445 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11446#endif
11447 }
11448 return pyobj;
11449}
11450
11451
11452static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11453 PyObject *resultobj;
11454 wxBMPHandler *result;
11455 char *kwnames[] = {
11456 NULL
11457 };
11458
11459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
11462 result = (wxBMPHandler *)new wxBMPHandler();
11463
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
15afbcd0 11467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
d14a1e28
RD
11468 return resultobj;
11469 fail:
11470 return NULL;
11471}
11472
11473
11474static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
11475 PyObject *obj;
11476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11477 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11478 Py_INCREF(obj);
11479 return Py_BuildValue((char *)"");
11480}
11481static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11482 PyObject *resultobj;
11483 wxICOHandler *result;
11484 char *kwnames[] = {
11485 NULL
11486 };
11487
11488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11489 {
11490 PyThreadState* __tstate = wxPyBeginAllowThreads();
11491 result = (wxICOHandler *)new wxICOHandler();
11492
11493 wxPyEndAllowThreads(__tstate);
11494 if (PyErr_Occurred()) SWIG_fail;
11495 }
15afbcd0 11496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
d14a1e28
RD
11497 return resultobj;
11498 fail:
11499 return NULL;
11500}
11501
11502
11503static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
11504 PyObject *obj;
11505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11506 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11507 Py_INCREF(obj);
11508 return Py_BuildValue((char *)"");
11509}
11510static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11511 PyObject *resultobj;
11512 wxCURHandler *result;
11513 char *kwnames[] = {
11514 NULL
11515 };
11516
11517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11518 {
11519 PyThreadState* __tstate = wxPyBeginAllowThreads();
11520 result = (wxCURHandler *)new wxCURHandler();
11521
11522 wxPyEndAllowThreads(__tstate);
11523 if (PyErr_Occurred()) SWIG_fail;
11524 }
15afbcd0 11525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
d14a1e28
RD
11526 return resultobj;
11527 fail:
11528 return NULL;
11529}
11530
11531
11532static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
11533 PyObject *obj;
11534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11535 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11536 Py_INCREF(obj);
11537 return Py_BuildValue((char *)"");
11538}
11539static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11540 PyObject *resultobj;
11541 wxANIHandler *result;
11542 char *kwnames[] = {
11543 NULL
11544 };
11545
11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11547 {
11548 PyThreadState* __tstate = wxPyBeginAllowThreads();
11549 result = (wxANIHandler *)new wxANIHandler();
11550
11551 wxPyEndAllowThreads(__tstate);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
15afbcd0 11554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
d14a1e28
RD
11555 return resultobj;
11556 fail:
11557 return NULL;
11558}
11559
11560
11561static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
11562 PyObject *obj;
11563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11564 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11565 Py_INCREF(obj);
11566 return Py_BuildValue((char *)"");
11567}
11568static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11569 PyObject *resultobj;
11570 wxPNGHandler *result;
11571 char *kwnames[] = {
11572 NULL
11573 };
11574
11575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 result = (wxPNGHandler *)new wxPNGHandler();
11579
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
15afbcd0 11583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
d14a1e28
RD
11584 return resultobj;
11585 fail:
11586 return NULL;
11587}
11588
11589
11590static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
11591 PyObject *obj;
11592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11593 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11594 Py_INCREF(obj);
11595 return Py_BuildValue((char *)"");
11596}
11597static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxGIFHandler *result;
11600 char *kwnames[] = {
11601 NULL
11602 };
11603
11604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11605 {
11606 PyThreadState* __tstate = wxPyBeginAllowThreads();
11607 result = (wxGIFHandler *)new wxGIFHandler();
11608
11609 wxPyEndAllowThreads(__tstate);
11610 if (PyErr_Occurred()) SWIG_fail;
11611 }
15afbcd0 11612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
d14a1e28
RD
11613 return resultobj;
11614 fail:
11615 return NULL;
11616}
11617
11618
11619static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
11620 PyObject *obj;
11621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11622 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11623 Py_INCREF(obj);
11624 return Py_BuildValue((char *)"");
11625}
11626static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11627 PyObject *resultobj;
11628 wxPCXHandler *result;
11629 char *kwnames[] = {
11630 NULL
11631 };
11632
11633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11634 {
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 result = (wxPCXHandler *)new wxPCXHandler();
11637
11638 wxPyEndAllowThreads(__tstate);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
15afbcd0 11641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
d14a1e28
RD
11642 return resultobj;
11643 fail:
11644 return NULL;
11645}
11646
11647
11648static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
11649 PyObject *obj;
11650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11651 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11652 Py_INCREF(obj);
11653 return Py_BuildValue((char *)"");
11654}
11655static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11656 PyObject *resultobj;
11657 wxJPEGHandler *result;
11658 char *kwnames[] = {
11659 NULL
11660 };
11661
11662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 result = (wxJPEGHandler *)new wxJPEGHandler();
11666
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
15afbcd0 11670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
d14a1e28
RD
11671 return resultobj;
11672 fail:
11673 return NULL;
11674}
11675
11676
11677static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
11678 PyObject *obj;
11679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11680 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11681 Py_INCREF(obj);
11682 return Py_BuildValue((char *)"");
11683}
11684static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11685 PyObject *resultobj;
11686 wxPNMHandler *result;
11687 char *kwnames[] = {
11688 NULL
11689 };
11690
11691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 result = (wxPNMHandler *)new wxPNMHandler();
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 }
15afbcd0 11699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
d14a1e28
RD
11700 return resultobj;
11701 fail:
11702 return NULL;
11703}
11704
11705
11706static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
11707 PyObject *obj;
11708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11709 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11710 Py_INCREF(obj);
11711 return Py_BuildValue((char *)"");
11712}
11713static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11714 PyObject *resultobj;
11715 wxXPMHandler *result;
11716 char *kwnames[] = {
11717 NULL
11718 };
11719
11720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11721 {
11722 PyThreadState* __tstate = wxPyBeginAllowThreads();
11723 result = (wxXPMHandler *)new wxXPMHandler();
11724
11725 wxPyEndAllowThreads(__tstate);
11726 if (PyErr_Occurred()) SWIG_fail;
11727 }
15afbcd0 11728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
d14a1e28
RD
11729 return resultobj;
11730 fail:
11731 return NULL;
11732}
11733
11734
11735static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
11736 PyObject *obj;
11737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11738 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11739 Py_INCREF(obj);
11740 return Py_BuildValue((char *)"");
11741}
11742static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11743 PyObject *resultobj;
11744 wxTIFFHandler *result;
11745 char *kwnames[] = {
11746 NULL
11747 };
11748
11749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11750 {
11751 PyThreadState* __tstate = wxPyBeginAllowThreads();
11752 result = (wxTIFFHandler *)new wxTIFFHandler();
11753
11754 wxPyEndAllowThreads(__tstate);
11755 if (PyErr_Occurred()) SWIG_fail;
11756 }
15afbcd0 11757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
d14a1e28
RD
11758 return resultobj;
11759 fail:
11760 return NULL;
11761}
11762
11763
11764static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
11765 PyObject *obj;
11766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11767 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11768 Py_INCREF(obj);
11769 return Py_BuildValue((char *)"");
11770}
11771static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11772 PyObject *resultobj;
11773 wxEvtHandler *result;
11774 char *kwnames[] = {
11775 NULL
11776 };
11777
11778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 result = (wxEvtHandler *)new wxEvtHandler();
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 {
412d302d 11787 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
11788 }
11789 return resultobj;
11790 fail:
11791 return NULL;
11792}
11793
11794
11795static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11796 PyObject *resultobj;
11797 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11798 wxEvtHandler *result;
11799 PyObject * obj0 = 0 ;
11800 char *kwnames[] = {
11801 (char *) "self", NULL
11802 };
11803
11804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 {
412d302d 11815 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
11816 }
11817 return resultobj;
11818 fail:
11819 return NULL;
11820}
11821
11822
11823static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj;
11825 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11826 wxEvtHandler *result;
11827 PyObject * obj0 = 0 ;
11828 char *kwnames[] = {
11829 (char *) "self", NULL
11830 };
11831
11832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11835 {
11836 PyThreadState* __tstate = wxPyBeginAllowThreads();
11837 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11838
11839 wxPyEndAllowThreads(__tstate);
11840 if (PyErr_Occurred()) SWIG_fail;
11841 }
11842 {
412d302d 11843 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
11844 }
11845 return resultobj;
11846 fail:
11847 return NULL;
11848}
11849
11850
11851static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11852 PyObject *resultobj;
11853 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11854 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11855 PyObject * obj0 = 0 ;
11856 PyObject * obj1 = 0 ;
11857 char *kwnames[] = {
11858 (char *) "self",(char *) "handler", NULL
11859 };
11860
11861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11864 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11866 {
11867 PyThreadState* __tstate = wxPyBeginAllowThreads();
11868 (arg1)->SetNextHandler(arg2);
11869
11870 wxPyEndAllowThreads(__tstate);
11871 if (PyErr_Occurred()) SWIG_fail;
11872 }
11873 Py_INCREF(Py_None); resultobj = Py_None;
11874 return resultobj;
11875 fail:
11876 return NULL;
11877}
11878
11879
11880static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11881 PyObject *resultobj;
11882 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11883 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11884 PyObject * obj0 = 0 ;
11885 PyObject * obj1 = 0 ;
11886 char *kwnames[] = {
11887 (char *) "self",(char *) "handler", NULL
11888 };
11889
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11893 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11895 {
11896 PyThreadState* __tstate = wxPyBeginAllowThreads();
11897 (arg1)->SetPreviousHandler(arg2);
11898
11899 wxPyEndAllowThreads(__tstate);
11900 if (PyErr_Occurred()) SWIG_fail;
11901 }
11902 Py_INCREF(Py_None); resultobj = Py_None;
11903 return resultobj;
11904 fail:
11905 return NULL;
11906}
11907
11908
11909static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11910 PyObject *resultobj;
11911 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11912 bool result;
11913 PyObject * obj0 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
11919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 result = (bool)(arg1)->GetEvtHandlerEnabled();
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
4f89f6a3
RD
11928 {
11929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11930 }
d14a1e28
RD
11931 return resultobj;
11932 fail:
11933 return NULL;
11934}
11935
11936
11937static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11938 PyObject *resultobj;
11939 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11940 bool arg2 ;
11941 PyObject * obj0 = 0 ;
11942 PyObject * obj1 = 0 ;
11943 char *kwnames[] = {
11944 (char *) "self",(char *) "enabled", NULL
11945 };
11946
11947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11950 arg2 = (bool) SWIG_AsBool(obj1);
11951 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11952 {
11953 PyThreadState* __tstate = wxPyBeginAllowThreads();
11954 (arg1)->SetEvtHandlerEnabled(arg2);
11955
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 Py_INCREF(Py_None); resultobj = Py_None;
11960 return resultobj;
11961 fail:
11962 return NULL;
11963}
11964
11965
11966static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11967 PyObject *resultobj;
11968 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11969 wxEvent *arg2 = 0 ;
11970 bool result;
11971 PyObject * obj0 = 0 ;
11972 PyObject * obj1 = 0 ;
11973 char *kwnames[] = {
11974 (char *) "self",(char *) "event", NULL
11975 };
11976
11977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11981 SWIG_POINTER_EXCEPTION | 0)) == -1)
11982 SWIG_fail;
d14a1e28 11983 if (arg2 == NULL) {
15afbcd0
RD
11984 PyErr_SetString(PyExc_TypeError,"null reference");
11985 SWIG_fail;
d14a1e28
RD
11986 }
11987 {
11988 PyThreadState* __tstate = wxPyBeginAllowThreads();
11989 result = (bool)(arg1)->ProcessEvent(*arg2);
11990
11991 wxPyEndAllowThreads(__tstate);
11992 if (PyErr_Occurred()) SWIG_fail;
11993 }
4f89f6a3
RD
11994 {
11995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11996 }
d14a1e28
RD
11997 return resultobj;
11998 fail:
11999 return NULL;
12000}
12001
12002
12003static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12004 PyObject *resultobj;
12005 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12006 wxEvent *arg2 = 0 ;
12007 PyObject * obj0 = 0 ;
12008 PyObject * obj1 = 0 ;
12009 char *kwnames[] = {
12010 (char *) "self",(char *) "event", NULL
12011 };
12012
12013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12017 SWIG_POINTER_EXCEPTION | 0)) == -1)
12018 SWIG_fail;
d14a1e28 12019 if (arg2 == NULL) {
15afbcd0
RD
12020 PyErr_SetString(PyExc_TypeError,"null reference");
12021 SWIG_fail;
d14a1e28
RD
12022 }
12023 {
12024 PyThreadState* __tstate = wxPyBeginAllowThreads();
12025 (arg1)->AddPendingEvent(*arg2);
12026
12027 wxPyEndAllowThreads(__tstate);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 }
12030 Py_INCREF(Py_None); resultobj = Py_None;
12031 return resultobj;
12032 fail:
12033 return NULL;
12034}
12035
12036
12037static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
12038 PyObject *resultobj;
12039 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12040 PyObject * obj0 = 0 ;
12041 char *kwnames[] = {
12042 (char *) "self", NULL
12043 };
12044
12045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
12046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12048 {
12049 PyThreadState* __tstate = wxPyBeginAllowThreads();
12050 (arg1)->ProcessPendingEvents();
12051
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 Py_INCREF(Py_None); resultobj = Py_None;
12056 return resultobj;
12057 fail:
12058 return NULL;
12059}
12060
12061
12062static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
12063 PyObject *resultobj;
12064 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12065 int arg2 ;
12066 int arg3 ;
12067 int arg4 ;
12068 PyObject *arg5 = (PyObject *) 0 ;
12069 PyObject * obj0 = 0 ;
994141e6
RD
12070 PyObject * obj1 = 0 ;
12071 PyObject * obj2 = 0 ;
12072 PyObject * obj3 = 0 ;
d14a1e28
RD
12073 PyObject * obj4 = 0 ;
12074 char *kwnames[] = {
12075 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12076 };
12077
994141e6 12078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12081 arg2 = (int) SWIG_AsInt(obj1);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 arg3 = (int) SWIG_AsInt(obj2);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 arg4 = (int) SWIG_AsInt(obj3);
12086 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12087 arg5 = obj4;
12088 {
12089 PyThreadState* __tstate = wxPyBeginAllowThreads();
12090 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
12091
12092 wxPyEndAllowThreads(__tstate);
12093 if (PyErr_Occurred()) SWIG_fail;
12094 }
12095 Py_INCREF(Py_None); resultobj = Py_None;
12096 return resultobj;
12097 fail:
12098 return NULL;
12099}
12100
12101
12102static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj;
12104 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12105 int arg2 ;
12106 int arg3 = (int) -1 ;
12107 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
12108 bool result;
12109 PyObject * obj0 = 0 ;
994141e6
RD
12110 PyObject * obj1 = 0 ;
12111 PyObject * obj2 = 0 ;
12112 PyObject * obj3 = 0 ;
d14a1e28
RD
12113 char *kwnames[] = {
12114 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12115 };
12116
994141e6 12117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12120 arg2 = (int) SWIG_AsInt(obj1);
12121 if (PyErr_Occurred()) SWIG_fail;
994141e6 12122 if (obj2) {
15afbcd0
RD
12123 arg3 = (int) SWIG_AsInt(obj2);
12124 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12125 }
12126 if (obj3) {
15afbcd0
RD
12127 arg4 = (wxEventType) SWIG_AsInt(obj3);
12128 if (PyErr_Occurred()) SWIG_fail;
994141e6 12129 }
d14a1e28
RD
12130 {
12131 PyThreadState* __tstate = wxPyBeginAllowThreads();
12132 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
12133
12134 wxPyEndAllowThreads(__tstate);
12135 if (PyErr_Occurred()) SWIG_fail;
12136 }
4f89f6a3
RD
12137 {
12138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12139 }
d14a1e28
RD
12140 return resultobj;
12141 fail:
12142 return NULL;
12143}
12144
12145
12146static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12147 PyObject *resultobj;
12148 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12149 PyObject *arg2 = (PyObject *) 0 ;
12150 PyObject * obj0 = 0 ;
12151 PyObject * obj1 = 0 ;
12152 char *kwnames[] = {
12153 (char *) "self",(char *) "_self", NULL
12154 };
12155
12156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12159 arg2 = obj1;
12160 {
12161 PyThreadState* __tstate = wxPyBeginAllowThreads();
12162 wxEvtHandler__setOORInfo(arg1,arg2);
12163
12164 wxPyEndAllowThreads(__tstate);
12165 if (PyErr_Occurred()) SWIG_fail;
12166 }
12167 Py_INCREF(Py_None); resultobj = Py_None;
12168 return resultobj;
12169 fail:
12170 return NULL;
12171}
12172
12173
12174static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
12175 PyObject *obj;
12176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12177 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12178 Py_INCREF(obj);
12179 return Py_BuildValue((char *)"");
12180}
12181static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj;
12183 wxEventType result;
12184 char *kwnames[] = {
12185 NULL
12186 };
12187
12188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (wxEventType)wxNewEventType();
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 }
15afbcd0 12196 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12197 return resultobj;
12198 fail:
12199 return NULL;
12200}
12201
12202
12203static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
12204 PyObject *resultobj;
12205 wxEvent *arg1 = (wxEvent *) 0 ;
12206 PyObject * obj0 = 0 ;
12207 char *kwnames[] = {
12208 (char *) "self", NULL
12209 };
12210
12211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
15afbcd0
RD
12212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 delete arg1;
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 Py_INCREF(Py_None); resultobj = Py_None;
12222 return resultobj;
12223 fail:
12224 return NULL;
12225}
12226
12227
12228static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12229 PyObject *resultobj;
12230 wxEvent *arg1 = (wxEvent *) 0 ;
12231 wxEventType arg2 ;
12232 PyObject * obj0 = 0 ;
994141e6 12233 PyObject * obj1 = 0 ;
d14a1e28
RD
12234 char *kwnames[] = {
12235 (char *) "self",(char *) "typ", NULL
12236 };
12237
994141e6 12238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12241 arg2 = (wxEventType) SWIG_AsInt(obj1);
12242 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 (arg1)->SetEventType(arg2);
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 Py_INCREF(Py_None); resultobj = Py_None;
12251 return resultobj;
12252 fail:
12253 return NULL;
12254}
12255
12256
12257static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12258 PyObject *resultobj;
12259 wxEvent *arg1 = (wxEvent *) 0 ;
12260 wxEventType result;
12261 PyObject * obj0 = 0 ;
12262 char *kwnames[] = {
12263 (char *) "self", NULL
12264 };
12265
12266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
15afbcd0
RD
12267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12269 {
12270 PyThreadState* __tstate = wxPyBeginAllowThreads();
12271 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12272
12273 wxPyEndAllowThreads(__tstate);
12274 if (PyErr_Occurred()) SWIG_fail;
12275 }
15afbcd0 12276 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12277 return resultobj;
12278 fail:
12279 return NULL;
12280}
12281
12282
12283static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12284 PyObject *resultobj;
12285 wxEvent *arg1 = (wxEvent *) 0 ;
12286 wxObject *result;
12287 PyObject * obj0 = 0 ;
12288 char *kwnames[] = {
12289 (char *) "self", NULL
12290 };
12291
12292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
12293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12295 {
12296 PyThreadState* __tstate = wxPyBeginAllowThreads();
12297 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12298
12299 wxPyEndAllowThreads(__tstate);
12300 if (PyErr_Occurred()) SWIG_fail;
12301 }
12302 {
412d302d 12303 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
12304 }
12305 return resultobj;
12306 fail:
12307 return NULL;
12308}
12309
12310
12311static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12312 PyObject *resultobj;
12313 wxEvent *arg1 = (wxEvent *) 0 ;
12314 wxObject *arg2 = (wxObject *) 0 ;
12315 PyObject * obj0 = 0 ;
12316 PyObject * obj1 = 0 ;
12317 char *kwnames[] = {
12318 (char *) "self",(char *) "obj", NULL
12319 };
12320
12321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12326 {
12327 PyThreadState* __tstate = wxPyBeginAllowThreads();
12328 (arg1)->SetEventObject(arg2);
12329
12330 wxPyEndAllowThreads(__tstate);
12331 if (PyErr_Occurred()) SWIG_fail;
12332 }
12333 Py_INCREF(Py_None); resultobj = Py_None;
12334 return resultobj;
12335 fail:
12336 return NULL;
12337}
12338
12339
12340static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12341 PyObject *resultobj;
12342 wxEvent *arg1 = (wxEvent *) 0 ;
12343 long result;
12344 PyObject * obj0 = 0 ;
12345 char *kwnames[] = {
12346 (char *) "self", NULL
12347 };
12348
12349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
15afbcd0
RD
12350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12355
12356 wxPyEndAllowThreads(__tstate);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
15afbcd0 12359 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12360 return resultobj;
12361 fail:
12362 return NULL;
12363}
12364
12365
12366static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12367 PyObject *resultobj;
12368 wxEvent *arg1 = (wxEvent *) 0 ;
12369 long arg2 = (long) 0 ;
12370 PyObject * obj0 = 0 ;
994141e6 12371 PyObject * obj1 = 0 ;
d14a1e28
RD
12372 char *kwnames[] = {
12373 (char *) "self",(char *) "ts", NULL
12374 };
12375
994141e6 12376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 12379 if (obj1) {
15afbcd0
RD
12380 arg2 = (long) SWIG_AsLong(obj1);
12381 if (PyErr_Occurred()) SWIG_fail;
994141e6 12382 }
d14a1e28
RD
12383 {
12384 PyThreadState* __tstate = wxPyBeginAllowThreads();
12385 (arg1)->SetTimestamp(arg2);
12386
12387 wxPyEndAllowThreads(__tstate);
12388 if (PyErr_Occurred()) SWIG_fail;
12389 }
12390 Py_INCREF(Py_None); resultobj = Py_None;
12391 return resultobj;
12392 fail:
12393 return NULL;
12394}
12395
12396
12397static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12398 PyObject *resultobj;
12399 wxEvent *arg1 = (wxEvent *) 0 ;
12400 int result;
12401 PyObject * obj0 = 0 ;
12402 char *kwnames[] = {
12403 (char *) "self", NULL
12404 };
12405
12406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
12407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12409 {
12410 PyThreadState* __tstate = wxPyBeginAllowThreads();
12411 result = (int)((wxEvent const *)arg1)->GetId();
12412
12413 wxPyEndAllowThreads(__tstate);
12414 if (PyErr_Occurred()) SWIG_fail;
12415 }
15afbcd0 12416 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12417 return resultobj;
12418 fail:
12419 return NULL;
12420}
12421
12422
12423static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12424 PyObject *resultobj;
12425 wxEvent *arg1 = (wxEvent *) 0 ;
12426 int arg2 ;
12427 PyObject * obj0 = 0 ;
994141e6 12428 PyObject * obj1 = 0 ;
d14a1e28
RD
12429 char *kwnames[] = {
12430 (char *) "self",(char *) "Id", NULL
12431 };
12432
994141e6 12433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12436 arg2 = (int) SWIG_AsInt(obj1);
12437 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12438 {
12439 PyThreadState* __tstate = wxPyBeginAllowThreads();
12440 (arg1)->SetId(arg2);
12441
12442 wxPyEndAllowThreads(__tstate);
12443 if (PyErr_Occurred()) SWIG_fail;
12444 }
12445 Py_INCREF(Py_None); resultobj = Py_None;
12446 return resultobj;
12447 fail:
12448 return NULL;
12449}
12450
12451
12452static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12453 PyObject *resultobj;
12454 wxEvent *arg1 = (wxEvent *) 0 ;
12455 bool result;
12456 PyObject * obj0 = 0 ;
12457 char *kwnames[] = {
12458 (char *) "self", NULL
12459 };
12460
12461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
12462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12464 {
12465 PyThreadState* __tstate = wxPyBeginAllowThreads();
12466 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12467
12468 wxPyEndAllowThreads(__tstate);
12469 if (PyErr_Occurred()) SWIG_fail;
12470 }
4f89f6a3
RD
12471 {
12472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12473 }
d14a1e28
RD
12474 return resultobj;
12475 fail:
12476 return NULL;
12477}
12478
12479
12480static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
12481 PyObject *resultobj;
12482 wxEvent *arg1 = (wxEvent *) 0 ;
e811c8ce 12483 bool arg2 = (bool) True ;
d14a1e28
RD
12484 PyObject * obj0 = 0 ;
12485 PyObject * obj1 = 0 ;
12486 char *kwnames[] = {
12487 (char *) "self",(char *) "skip", NULL
12488 };
12489
12490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12493 if (obj1) {
15afbcd0
RD
12494 arg2 = (bool) SWIG_AsBool(obj1);
12495 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12496 }
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 (arg1)->Skip(arg2);
12500
12501 wxPyEndAllowThreads(__tstate);
12502 if (PyErr_Occurred()) SWIG_fail;
12503 }
12504 Py_INCREF(Py_None); resultobj = Py_None;
12505 return resultobj;
12506 fail:
12507 return NULL;
12508}
12509
12510
12511static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
12512 PyObject *resultobj;
12513 wxEvent *arg1 = (wxEvent *) 0 ;
12514 bool result;
12515 PyObject * obj0 = 0 ;
12516 char *kwnames[] = {
12517 (char *) "self", NULL
12518 };
12519
12520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
15afbcd0
RD
12521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
4f89f6a3
RD
12530 {
12531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12532 }
d14a1e28
RD
12533 return resultobj;
12534 fail:
12535 return NULL;
12536}
12537
12538
12539static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
12540 PyObject *resultobj;
12541 wxEvent *arg1 = (wxEvent *) 0 ;
12542 bool result;
12543 PyObject * obj0 = 0 ;
12544 char *kwnames[] = {
12545 (char *) "self", NULL
12546 };
12547
12548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
15afbcd0
RD
12549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12551 {
12552 PyThreadState* __tstate = wxPyBeginAllowThreads();
12553 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12554
12555 wxPyEndAllowThreads(__tstate);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
4f89f6a3
RD
12558 {
12559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12560 }
d14a1e28
RD
12561 return resultobj;
12562 fail:
12563 return NULL;
12564}
12565
12566
12567static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12568 PyObject *resultobj;
12569 wxEvent *arg1 = (wxEvent *) 0 ;
12570 int result;
12571 PyObject * obj0 = 0 ;
12572 char *kwnames[] = {
12573 (char *) "self", NULL
12574 };
12575
12576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
15afbcd0
RD
12577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12579 {
12580 PyThreadState* __tstate = wxPyBeginAllowThreads();
12581 result = (int)(arg1)->StopPropagation();
12582
12583 wxPyEndAllowThreads(__tstate);
12584 if (PyErr_Occurred()) SWIG_fail;
12585 }
15afbcd0 12586 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12587 return resultobj;
12588 fail:
12589 return NULL;
12590}
12591
12592
12593static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12594 PyObject *resultobj;
12595 wxEvent *arg1 = (wxEvent *) 0 ;
12596 int arg2 ;
12597 PyObject * obj0 = 0 ;
994141e6 12598 PyObject * obj1 = 0 ;
d14a1e28
RD
12599 char *kwnames[] = {
12600 (char *) "self",(char *) "propagationLevel", NULL
12601 };
12602
994141e6 12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12606 arg2 = (int) SWIG_AsInt(obj1);
12607 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12608 {
12609 PyThreadState* __tstate = wxPyBeginAllowThreads();
12610 (arg1)->ResumePropagation(arg2);
12611
12612 wxPyEndAllowThreads(__tstate);
12613 if (PyErr_Occurred()) SWIG_fail;
12614 }
12615 Py_INCREF(Py_None); resultobj = Py_None;
12616 return resultobj;
12617 fail:
12618 return NULL;
12619}
12620
12621
12622static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj;
12624 wxEvent *arg1 = (wxEvent *) 0 ;
12625 wxEvent *result;
12626 PyObject * obj0 = 0 ;
12627 char *kwnames[] = {
12628 (char *) "self", NULL
12629 };
12630
12631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
12632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12634 {
12635 PyThreadState* __tstate = wxPyBeginAllowThreads();
12636 result = (wxEvent *)(arg1)->Clone();
12637
12638 wxPyEndAllowThreads(__tstate);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
15afbcd0 12641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
12642 return resultobj;
12643 fail:
12644 return NULL;
12645}
12646
12647
12648static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
12649 PyObject *obj;
12650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12651 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12652 Py_INCREF(obj);
12653 return Py_BuildValue((char *)"");
12654}
12655static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12656 PyObject *resultobj;
12657 wxEvent *arg1 = 0 ;
12658 wxPropagationDisabler *result;
12659 PyObject * obj0 = 0 ;
12660 char *kwnames[] = {
12661 (char *) "event", NULL
12662 };
12663
12664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12666 SWIG_POINTER_EXCEPTION | 0)) == -1)
12667 SWIG_fail;
d14a1e28 12668 if (arg1 == NULL) {
15afbcd0
RD
12669 PyErr_SetString(PyExc_TypeError,"null reference");
12670 SWIG_fail;
d14a1e28
RD
12671 }
12672 {
12673 PyThreadState* __tstate = wxPyBeginAllowThreads();
12674 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12675
12676 wxPyEndAllowThreads(__tstate);
12677 if (PyErr_Occurred()) SWIG_fail;
12678 }
15afbcd0 12679 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
d14a1e28
RD
12680 return resultobj;
12681 fail:
12682 return NULL;
12683}
12684
12685
12686static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12687 PyObject *resultobj;
12688 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12689 PyObject * obj0 = 0 ;
12690 char *kwnames[] = {
12691 (char *) "self", NULL
12692 };
12693
12694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
12696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12697 {
12698 PyThreadState* __tstate = wxPyBeginAllowThreads();
12699 delete arg1;
12700
12701 wxPyEndAllowThreads(__tstate);
12702 if (PyErr_Occurred()) SWIG_fail;
12703 }
12704 Py_INCREF(Py_None); resultobj = Py_None;
12705 return resultobj;
12706 fail:
12707 return NULL;
12708}
12709
12710
12711static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
12712 PyObject *obj;
12713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12714 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12715 Py_INCREF(obj);
12716 return Py_BuildValue((char *)"");
12717}
12718static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12719 PyObject *resultobj;
12720 wxEvent *arg1 = 0 ;
12721 wxPropagateOnce *result;
12722 PyObject * obj0 = 0 ;
12723 char *kwnames[] = {
12724 (char *) "event", NULL
12725 };
12726
12727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
12728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12729 SWIG_POINTER_EXCEPTION | 0)) == -1)
12730 SWIG_fail;
d14a1e28 12731 if (arg1 == NULL) {
15afbcd0
RD
12732 PyErr_SetString(PyExc_TypeError,"null reference");
12733 SWIG_fail;
d14a1e28
RD
12734 }
12735 {
12736 PyThreadState* __tstate = wxPyBeginAllowThreads();
12737 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12738
12739 wxPyEndAllowThreads(__tstate);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
15afbcd0 12742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
d14a1e28
RD
12743 return resultobj;
12744 fail:
12745 return NULL;
12746}
12747
12748
12749static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12750 PyObject *resultobj;
12751 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12752 PyObject * obj0 = 0 ;
12753 char *kwnames[] = {
12754 (char *) "self", NULL
12755 };
12756
12757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
12758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
12759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12760 {
12761 PyThreadState* __tstate = wxPyBeginAllowThreads();
12762 delete arg1;
12763
12764 wxPyEndAllowThreads(__tstate);
12765 if (PyErr_Occurred()) SWIG_fail;
12766 }
12767 Py_INCREF(Py_None); resultobj = Py_None;
12768 return resultobj;
12769 fail:
12770 return NULL;
12771}
12772
12773
12774static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
12775 PyObject *obj;
12776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12777 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12778 Py_INCREF(obj);
12779 return Py_BuildValue((char *)"");
12780}
12781static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12782 PyObject *resultobj;
12783 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12784 int arg2 = (int) 0 ;
12785 wxCommandEvent *result;
994141e6
RD
12786 PyObject * obj0 = 0 ;
12787 PyObject * obj1 = 0 ;
d14a1e28
RD
12788 char *kwnames[] = {
12789 (char *) "commandType",(char *) "winid", NULL
12790 };
12791
994141e6
RD
12792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12793 if (obj0) {
15afbcd0
RD
12794 arg1 = (wxEventType) SWIG_AsInt(obj0);
12795 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12796 }
12797 if (obj1) {
15afbcd0
RD
12798 arg2 = (int) SWIG_AsInt(obj1);
12799 if (PyErr_Occurred()) SWIG_fail;
994141e6 12800 }
d14a1e28
RD
12801 {
12802 PyThreadState* __tstate = wxPyBeginAllowThreads();
12803 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12804
12805 wxPyEndAllowThreads(__tstate);
12806 if (PyErr_Occurred()) SWIG_fail;
12807 }
15afbcd0 12808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
d14a1e28
RD
12809 return resultobj;
12810 fail:
12811 return NULL;
12812}
12813
12814
12815static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12816 PyObject *resultobj;
12817 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12818 int result;
12819 PyObject * obj0 = 0 ;
12820 char *kwnames[] = {
12821 (char *) "self", NULL
12822 };
12823
12824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12827 {
12828 PyThreadState* __tstate = wxPyBeginAllowThreads();
12829 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12830
12831 wxPyEndAllowThreads(__tstate);
12832 if (PyErr_Occurred()) SWIG_fail;
12833 }
15afbcd0 12834 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12835 return resultobj;
12836 fail:
12837 return NULL;
12838}
12839
12840
12841static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12842 PyObject *resultobj;
12843 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12844 wxString *arg2 = 0 ;
e811c8ce 12845 bool temp2 = False ;
d14a1e28
RD
12846 PyObject * obj0 = 0 ;
12847 PyObject * obj1 = 0 ;
12848 char *kwnames[] = {
12849 (char *) "self",(char *) "s", NULL
12850 };
12851
12852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12855 {
12856 arg2 = wxString_in_helper(obj1);
12857 if (arg2 == NULL) SWIG_fail;
e811c8ce 12858 temp2 = True;
d14a1e28
RD
12859 }
12860 {
12861 PyThreadState* __tstate = wxPyBeginAllowThreads();
12862 (arg1)->SetString((wxString const &)*arg2);
12863
12864 wxPyEndAllowThreads(__tstate);
12865 if (PyErr_Occurred()) SWIG_fail;
12866 }
12867 Py_INCREF(Py_None); resultobj = Py_None;
12868 {
12869 if (temp2)
12870 delete arg2;
12871 }
12872 return resultobj;
12873 fail:
12874 {
12875 if (temp2)
12876 delete arg2;
12877 }
12878 return NULL;
12879}
12880
12881
12882static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12883 PyObject *resultobj;
12884 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12885 wxString result;
12886 PyObject * obj0 = 0 ;
12887 char *kwnames[] = {
12888 (char *) "self", NULL
12889 };
12890
12891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
15afbcd0
RD
12892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12894 {
12895 PyThreadState* __tstate = wxPyBeginAllowThreads();
12896 result = ((wxCommandEvent const *)arg1)->GetString();
12897
12898 wxPyEndAllowThreads(__tstate);
12899 if (PyErr_Occurred()) SWIG_fail;
12900 }
12901 {
12902#if wxUSE_UNICODE
12903 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12904#else
12905 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12906#endif
12907 }
12908 return resultobj;
12909 fail:
12910 return NULL;
12911}
12912
12913
12914static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj;
12916 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12917 bool result;
12918 PyObject * obj0 = 0 ;
12919 char *kwnames[] = {
12920 (char *) "self", NULL
12921 };
12922
12923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
12924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12926 {
12927 PyThreadState* __tstate = wxPyBeginAllowThreads();
12928 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
12929
12930 wxPyEndAllowThreads(__tstate);
12931 if (PyErr_Occurred()) SWIG_fail;
12932 }
4f89f6a3
RD
12933 {
12934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12935 }
d14a1e28
RD
12936 return resultobj;
12937 fail:
12938 return NULL;
12939}
12940
12941
12942static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12943 PyObject *resultobj;
12944 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12945 bool result;
12946 PyObject * obj0 = 0 ;
12947 char *kwnames[] = {
12948 (char *) "self", NULL
12949 };
12950
12951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
12956 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
12957
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
4f89f6a3
RD
12961 {
12962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12963 }
d14a1e28
RD
12964 return resultobj;
12965 fail:
12966 return NULL;
12967}
12968
12969
12970static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12971 PyObject *resultobj;
12972 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12973 long arg2 ;
12974 PyObject * obj0 = 0 ;
994141e6 12975 PyObject * obj1 = 0 ;
d14a1e28
RD
12976 char *kwnames[] = {
12977 (char *) "self",(char *) "extraLong", NULL
12978 };
12979
994141e6 12980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12983 arg2 = (long) SWIG_AsLong(obj1);
12984 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 (arg1)->SetExtraLong(arg2);
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 Py_INCREF(Py_None); resultobj = Py_None;
12993 return resultobj;
12994 fail:
12995 return NULL;
12996}
12997
12998
12999static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj;
13001 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13002 long result;
13003 PyObject * obj0 = 0 ;
13004 char *kwnames[] = {
13005 (char *) "self", NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
15afbcd0
RD
13009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13011 {
13012 PyThreadState* __tstate = wxPyBeginAllowThreads();
13013 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
13014
13015 wxPyEndAllowThreads(__tstate);
13016 if (PyErr_Occurred()) SWIG_fail;
13017 }
15afbcd0 13018 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
13019 return resultobj;
13020 fail:
13021 return NULL;
13022}
13023
13024
13025static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13026 PyObject *resultobj;
13027 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13028 int arg2 ;
13029 PyObject * obj0 = 0 ;
994141e6 13030 PyObject * obj1 = 0 ;
d14a1e28
RD
13031 char *kwnames[] = {
13032 (char *) "self",(char *) "i", NULL
13033 };
13034
994141e6 13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13038 arg2 = (int) SWIG_AsInt(obj1);
13039 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13040 {
13041 PyThreadState* __tstate = wxPyBeginAllowThreads();
13042 (arg1)->SetInt(arg2);
13043
13044 wxPyEndAllowThreads(__tstate);
13045 if (PyErr_Occurred()) SWIG_fail;
13046 }
13047 Py_INCREF(Py_None); resultobj = Py_None;
13048 return resultobj;
13049 fail:
13050 return NULL;
13051}
13052
13053
13054static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13055 PyObject *resultobj;
13056 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13057 long result;
13058 PyObject * obj0 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "self", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
15afbcd0
RD
13064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 result = (long)((wxCommandEvent const *)arg1)->GetInt();
13069
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
15afbcd0 13073 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
13074 return resultobj;
13075 fail:
13076 return NULL;
13077}
13078
13079
13080static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
13081 PyObject *resultobj;
13082 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13083 wxEvent *result;
13084 PyObject * obj0 = 0 ;
13085 char *kwnames[] = {
13086 (char *) "self", NULL
13087 };
13088
13089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
13090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
13095
13096 wxPyEndAllowThreads(__tstate);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
15afbcd0 13099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
13100 return resultobj;
13101 fail:
13102 return NULL;
13103}
13104
13105
13106static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
13107 PyObject *obj;
13108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13109 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
13110 Py_INCREF(obj);
13111 return Py_BuildValue((char *)"");
13112}
13113static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj;
13115 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13116 int arg2 = (int) 0 ;
13117 wxNotifyEvent *result;
994141e6
RD
13118 PyObject * obj0 = 0 ;
13119 PyObject * obj1 = 0 ;
d14a1e28
RD
13120 char *kwnames[] = {
13121 (char *) "commandType",(char *) "winid", NULL
13122 };
13123
994141e6
RD
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
13125 if (obj0) {
15afbcd0
RD
13126 arg1 = (wxEventType) SWIG_AsInt(obj0);
13127 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13128 }
13129 if (obj1) {
15afbcd0
RD
13130 arg2 = (int) SWIG_AsInt(obj1);
13131 if (PyErr_Occurred()) SWIG_fail;
994141e6 13132 }
d14a1e28
RD
13133 {
13134 PyThreadState* __tstate = wxPyBeginAllowThreads();
13135 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
13136
13137 wxPyEndAllowThreads(__tstate);
13138 if (PyErr_Occurred()) SWIG_fail;
13139 }
15afbcd0 13140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
d14a1e28
RD
13141 return resultobj;
13142 fail:
13143 return NULL;
13144}
13145
13146
13147static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
13148 PyObject *resultobj;
13149 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13150 PyObject * obj0 = 0 ;
13151 char *kwnames[] = {
13152 (char *) "self", NULL
13153 };
13154
13155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
15afbcd0
RD
13156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13158 {
13159 PyThreadState* __tstate = wxPyBeginAllowThreads();
13160 (arg1)->Veto();
13161
13162 wxPyEndAllowThreads(__tstate);
13163 if (PyErr_Occurred()) SWIG_fail;
13164 }
13165 Py_INCREF(Py_None); resultobj = Py_None;
13166 return resultobj;
13167 fail:
13168 return NULL;
13169}
13170
13171
13172static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
13173 PyObject *resultobj;
13174 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13175 PyObject * obj0 = 0 ;
13176 char *kwnames[] = {
13177 (char *) "self", NULL
13178 };
13179
13180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
15afbcd0
RD
13181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13183 {
13184 PyThreadState* __tstate = wxPyBeginAllowThreads();
13185 (arg1)->Allow();
13186
13187 wxPyEndAllowThreads(__tstate);
13188 if (PyErr_Occurred()) SWIG_fail;
13189 }
13190 Py_INCREF(Py_None); resultobj = Py_None;
13191 return resultobj;
13192 fail:
13193 return NULL;
13194}
13195
13196
13197static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
13198 PyObject *resultobj;
13199 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13200 bool result;
13201 PyObject * obj0 = 0 ;
13202 char *kwnames[] = {
13203 (char *) "self", NULL
13204 };
13205
13206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
15afbcd0
RD
13207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13209 {
13210 PyThreadState* __tstate = wxPyBeginAllowThreads();
13211 result = (bool)(arg1)->IsAllowed();
13212
13213 wxPyEndAllowThreads(__tstate);
13214 if (PyErr_Occurred()) SWIG_fail;
13215 }
4f89f6a3
RD
13216 {
13217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13218 }
d14a1e28
RD
13219 return resultobj;
13220 fail:
13221 return NULL;
13222}
13223
13224
13225static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
13226 PyObject *obj;
13227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13228 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13229 Py_INCREF(obj);
13230 return Py_BuildValue((char *)"");
13231}
13232static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13233 PyObject *resultobj;
13234 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13235 int arg2 = (int) 0 ;
13236 int arg3 = (int) 0 ;
13237 int arg4 = (int) 0 ;
13238 wxScrollEvent *result;
994141e6
RD
13239 PyObject * obj0 = 0 ;
13240 PyObject * obj1 = 0 ;
13241 PyObject * obj2 = 0 ;
13242 PyObject * obj3 = 0 ;
d14a1e28
RD
13243 char *kwnames[] = {
13244 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13245 };
13246
994141e6
RD
13247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13248 if (obj0) {
15afbcd0
RD
13249 arg1 = (wxEventType) SWIG_AsInt(obj0);
13250 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13251 }
13252 if (obj1) {
15afbcd0
RD
13253 arg2 = (int) SWIG_AsInt(obj1);
13254 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13255 }
13256 if (obj2) {
15afbcd0
RD
13257 arg3 = (int) SWIG_AsInt(obj2);
13258 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13259 }
13260 if (obj3) {
15afbcd0
RD
13261 arg4 = (int) SWIG_AsInt(obj3);
13262 if (PyErr_Occurred()) SWIG_fail;
994141e6 13263 }
d14a1e28
RD
13264 {
13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
13266 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13267
13268 wxPyEndAllowThreads(__tstate);
13269 if (PyErr_Occurred()) SWIG_fail;
13270 }
15afbcd0 13271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
d14a1e28
RD
13272 return resultobj;
13273 fail:
13274 return NULL;
13275}
13276
13277
13278static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13279 PyObject *resultobj;
13280 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13281 int result;
13282 PyObject * obj0 = 0 ;
13283 char *kwnames[] = {
13284 (char *) "self", NULL
13285 };
13286
13287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13290 {
13291 PyThreadState* __tstate = wxPyBeginAllowThreads();
13292 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13293
13294 wxPyEndAllowThreads(__tstate);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
15afbcd0 13297 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13298 return resultobj;
13299 fail:
13300 return NULL;
13301}
13302
13303
13304static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13305 PyObject *resultobj;
13306 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13307 int result;
13308 PyObject * obj0 = 0 ;
13309 char *kwnames[] = {
13310 (char *) "self", NULL
13311 };
13312
13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13316 {
13317 PyThreadState* __tstate = wxPyBeginAllowThreads();
13318 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13319
13320 wxPyEndAllowThreads(__tstate);
13321 if (PyErr_Occurred()) SWIG_fail;
13322 }
15afbcd0 13323 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13324 return resultobj;
13325 fail:
13326 return NULL;
13327}
13328
13329
13330static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13331 PyObject *resultobj;
13332 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13333 int arg2 ;
13334 PyObject * obj0 = 0 ;
994141e6 13335 PyObject * obj1 = 0 ;
d14a1e28
RD
13336 char *kwnames[] = {
13337 (char *) "self",(char *) "orient", NULL
13338 };
13339
994141e6 13340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13343 arg2 = (int) SWIG_AsInt(obj1);
13344 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13345 {
13346 PyThreadState* __tstate = wxPyBeginAllowThreads();
13347 (arg1)->SetOrientation(arg2);
13348
13349 wxPyEndAllowThreads(__tstate);
13350 if (PyErr_Occurred()) SWIG_fail;
13351 }
13352 Py_INCREF(Py_None); resultobj = Py_None;
13353 return resultobj;
13354 fail:
13355 return NULL;
13356}
13357
13358
13359static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13360 PyObject *resultobj;
13361 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13362 int arg2 ;
13363 PyObject * obj0 = 0 ;
994141e6 13364 PyObject * obj1 = 0 ;
d14a1e28
RD
13365 char *kwnames[] = {
13366 (char *) "self",(char *) "pos", NULL
13367 };
13368
994141e6 13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13372 arg2 = (int) SWIG_AsInt(obj1);
13373 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13374 {
13375 PyThreadState* __tstate = wxPyBeginAllowThreads();
13376 (arg1)->SetPosition(arg2);
13377
13378 wxPyEndAllowThreads(__tstate);
13379 if (PyErr_Occurred()) SWIG_fail;
13380 }
13381 Py_INCREF(Py_None); resultobj = Py_None;
13382 return resultobj;
13383 fail:
13384 return NULL;
13385}
13386
13387
13388static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
13389 PyObject *obj;
13390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13391 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13392 Py_INCREF(obj);
13393 return Py_BuildValue((char *)"");
13394}
13395static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13396 PyObject *resultobj;
13397 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13398 int arg2 = (int) 0 ;
13399 int arg3 = (int) 0 ;
13400 wxScrollWinEvent *result;
994141e6
RD
13401 PyObject * obj0 = 0 ;
13402 PyObject * obj1 = 0 ;
13403 PyObject * obj2 = 0 ;
d14a1e28
RD
13404 char *kwnames[] = {
13405 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13406 };
13407
994141e6
RD
13408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13409 if (obj0) {
15afbcd0
RD
13410 arg1 = (wxEventType) SWIG_AsInt(obj0);
13411 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13412 }
13413 if (obj1) {
15afbcd0
RD
13414 arg2 = (int) SWIG_AsInt(obj1);
13415 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13416 }
13417 if (obj2) {
15afbcd0
RD
13418 arg3 = (int) SWIG_AsInt(obj2);
13419 if (PyErr_Occurred()) SWIG_fail;
994141e6 13420 }
d14a1e28
RD
13421 {
13422 PyThreadState* __tstate = wxPyBeginAllowThreads();
13423 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13424
13425 wxPyEndAllowThreads(__tstate);
13426 if (PyErr_Occurred()) SWIG_fail;
13427 }
15afbcd0 13428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
d14a1e28
RD
13429 return resultobj;
13430 fail:
13431 return NULL;
13432}
13433
13434
13435static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13436 PyObject *resultobj;
13437 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13438 int result;
13439 PyObject * obj0 = 0 ;
13440 char *kwnames[] = {
13441 (char *) "self", NULL
13442 };
13443
13444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13447 {
13448 PyThreadState* __tstate = wxPyBeginAllowThreads();
13449 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13450
13451 wxPyEndAllowThreads(__tstate);
13452 if (PyErr_Occurred()) SWIG_fail;
13453 }
15afbcd0 13454 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13455 return resultobj;
13456 fail:
13457 return NULL;
13458}
13459
13460
13461static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13462 PyObject *resultobj;
13463 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13464 int result;
13465 PyObject * obj0 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "self", NULL
13468 };
13469
13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13476
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 }
15afbcd0 13480 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13481 return resultobj;
13482 fail:
13483 return NULL;
13484}
13485
13486
13487static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13488 PyObject *resultobj;
13489 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13490 int arg2 ;
13491 PyObject * obj0 = 0 ;
994141e6 13492 PyObject * obj1 = 0 ;
d14a1e28
RD
13493 char *kwnames[] = {
13494 (char *) "self",(char *) "orient", NULL
13495 };
13496
994141e6 13497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13500 arg2 = (int) SWIG_AsInt(obj1);
13501 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13502 {
13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
13504 (arg1)->SetOrientation(arg2);
13505
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 Py_INCREF(Py_None); resultobj = Py_None;
13510 return resultobj;
13511 fail:
13512 return NULL;
13513}
13514
13515
13516static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13517 PyObject *resultobj;
13518 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13519 int arg2 ;
13520 PyObject * obj0 = 0 ;
994141e6 13521 PyObject * obj1 = 0 ;
d14a1e28
RD
13522 char *kwnames[] = {
13523 (char *) "self",(char *) "pos", NULL
13524 };
13525
994141e6 13526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13529 arg2 = (int) SWIG_AsInt(obj1);
13530 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13531 {
13532 PyThreadState* __tstate = wxPyBeginAllowThreads();
13533 (arg1)->SetPosition(arg2);
13534
13535 wxPyEndAllowThreads(__tstate);
13536 if (PyErr_Occurred()) SWIG_fail;
13537 }
13538 Py_INCREF(Py_None); resultobj = Py_None;
13539 return resultobj;
13540 fail:
13541 return NULL;
13542}
13543
13544
13545static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
13546 PyObject *obj;
13547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13548 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13549 Py_INCREF(obj);
13550 return Py_BuildValue((char *)"");
13551}
13552static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13553 PyObject *resultobj;
13554 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13555 wxMouseEvent *result;
994141e6 13556 PyObject * obj0 = 0 ;
d14a1e28
RD
13557 char *kwnames[] = {
13558 (char *) "mouseType", NULL
13559 };
13560
994141e6
RD
13561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13562 if (obj0) {
15afbcd0
RD
13563 arg1 = (wxEventType) SWIG_AsInt(obj0);
13564 if (PyErr_Occurred()) SWIG_fail;
994141e6 13565 }
d14a1e28
RD
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13569
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 {
412d302d 13574 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
13575 }
13576 return resultobj;
13577 fail:
13578 return NULL;
13579}
13580
13581
13582static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13583 PyObject *resultobj;
13584 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13585 bool result;
13586 PyObject * obj0 = 0 ;
13587 char *kwnames[] = {
13588 (char *) "self", NULL
13589 };
13590
13591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
13592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13594 {
13595 PyThreadState* __tstate = wxPyBeginAllowThreads();
13596 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13597
13598 wxPyEndAllowThreads(__tstate);
13599 if (PyErr_Occurred()) SWIG_fail;
13600 }
4f89f6a3
RD
13601 {
13602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13603 }
d14a1e28
RD
13604 return resultobj;
13605 fail:
13606 return NULL;
13607}
13608
13609
13610static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13611 PyObject *resultobj;
13612 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13613 int arg2 = (int) wxMOUSE_BTN_ANY ;
13614 bool result;
13615 PyObject * obj0 = 0 ;
994141e6 13616 PyObject * obj1 = 0 ;
d14a1e28
RD
13617 char *kwnames[] = {
13618 (char *) "self",(char *) "but", NULL
13619 };
13620
994141e6 13621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13624 if (obj1) {
15afbcd0
RD
13625 arg2 = (int) SWIG_AsInt(obj1);
13626 if (PyErr_Occurred()) SWIG_fail;
994141e6 13627 }
d14a1e28
RD
13628 {
13629 PyThreadState* __tstate = wxPyBeginAllowThreads();
13630 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13631
13632 wxPyEndAllowThreads(__tstate);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 }
4f89f6a3
RD
13635 {
13636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13637 }
d14a1e28
RD
13638 return resultobj;
13639 fail:
13640 return NULL;
13641}
13642
13643
13644static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13645 PyObject *resultobj;
13646 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13647 int arg2 = (int) wxMOUSE_BTN_ANY ;
13648 bool result;
13649 PyObject * obj0 = 0 ;
994141e6 13650 PyObject * obj1 = 0 ;
d14a1e28
RD
13651 char *kwnames[] = {
13652 (char *) "self",(char *) "but", NULL
13653 };
13654
994141e6 13655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13658 if (obj1) {
15afbcd0
RD
13659 arg2 = (int) SWIG_AsInt(obj1);
13660 if (PyErr_Occurred()) SWIG_fail;
994141e6 13661 }
d14a1e28
RD
13662 {
13663 PyThreadState* __tstate = wxPyBeginAllowThreads();
13664 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13665
13666 wxPyEndAllowThreads(__tstate);
13667 if (PyErr_Occurred()) SWIG_fail;
13668 }
4f89f6a3
RD
13669 {
13670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13671 }
d14a1e28
RD
13672 return resultobj;
13673 fail:
13674 return NULL;
13675}
13676
13677
13678static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13679 PyObject *resultobj;
13680 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13681 int arg2 = (int) wxMOUSE_BTN_ANY ;
13682 bool result;
13683 PyObject * obj0 = 0 ;
994141e6 13684 PyObject * obj1 = 0 ;
d14a1e28
RD
13685 char *kwnames[] = {
13686 (char *) "self",(char *) "but", NULL
13687 };
13688
994141e6 13689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13692 if (obj1) {
15afbcd0
RD
13693 arg2 = (int) SWIG_AsInt(obj1);
13694 if (PyErr_Occurred()) SWIG_fail;
994141e6 13695 }
d14a1e28
RD
13696 {
13697 PyThreadState* __tstate = wxPyBeginAllowThreads();
13698 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13699
13700 wxPyEndAllowThreads(__tstate);
13701 if (PyErr_Occurred()) SWIG_fail;
13702 }
4f89f6a3
RD
13703 {
13704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13705 }
d14a1e28
RD
13706 return resultobj;
13707 fail:
13708 return NULL;
13709}
13710
13711
13712static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
13713 PyObject *resultobj;
13714 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13715 int arg2 ;
13716 bool result;
13717 PyObject * obj0 = 0 ;
994141e6 13718 PyObject * obj1 = 0 ;
d14a1e28
RD
13719 char *kwnames[] = {
13720 (char *) "self",(char *) "but", NULL
13721 };
13722
994141e6 13723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13726 arg2 = (int) SWIG_AsInt(obj1);
13727 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13728 {
13729 PyThreadState* __tstate = wxPyBeginAllowThreads();
13730 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13731
13732 wxPyEndAllowThreads(__tstate);
13733 if (PyErr_Occurred()) SWIG_fail;
13734 }
4f89f6a3
RD
13735 {
13736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13737 }
d14a1e28
RD
13738 return resultobj;
13739 fail:
13740 return NULL;
13741}
13742
13743
13744static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13745 PyObject *resultobj;
13746 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13747 int arg2 ;
13748 bool result;
13749 PyObject * obj0 = 0 ;
994141e6 13750 PyObject * obj1 = 0 ;
d14a1e28
RD
13751 char *kwnames[] = {
13752 (char *) "self",(char *) "but", NULL
13753 };
13754
994141e6 13755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13758 arg2 = (int) SWIG_AsInt(obj1);
13759 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13760 {
13761 PyThreadState* __tstate = wxPyBeginAllowThreads();
13762 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13763
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
4f89f6a3
RD
13767 {
13768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13769 }
d14a1e28
RD
13770 return resultobj;
13771 fail:
13772 return NULL;
13773}
13774
13775
13776static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13777 PyObject *resultobj;
13778 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13779 int result;
13780 PyObject * obj0 = 0 ;
13781 char *kwnames[] = {
13782 (char *) "self", NULL
13783 };
13784
13785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
13786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13788 {
13789 PyThreadState* __tstate = wxPyBeginAllowThreads();
13790 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13791
13792 wxPyEndAllowThreads(__tstate);
13793 if (PyErr_Occurred()) SWIG_fail;
13794 }
15afbcd0 13795 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13796 return resultobj;
13797 fail:
13798 return NULL;
13799}
13800
13801
13802static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13803 PyObject *resultobj;
13804 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13805 bool result;
13806 PyObject * obj0 = 0 ;
13807 char *kwnames[] = {
13808 (char *) "self", NULL
13809 };
13810
13811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13814 {
13815 PyThreadState* __tstate = wxPyBeginAllowThreads();
13816 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13817
13818 wxPyEndAllowThreads(__tstate);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 }
4f89f6a3
RD
13821 {
13822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13823 }
d14a1e28
RD
13824 return resultobj;
13825 fail:
13826 return NULL;
13827}
13828
13829
13830static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13831 PyObject *resultobj;
13832 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13833 bool result;
13834 PyObject * obj0 = 0 ;
13835 char *kwnames[] = {
13836 (char *) "self", NULL
13837 };
13838
13839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13842 {
13843 PyThreadState* __tstate = wxPyBeginAllowThreads();
13844 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13845
13846 wxPyEndAllowThreads(__tstate);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
4f89f6a3
RD
13849 {
13850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13851 }
d14a1e28
RD
13852 return resultobj;
13853 fail:
13854 return NULL;
13855}
13856
13857
13858static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13859 PyObject *resultobj;
13860 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13861 bool result;
13862 PyObject * obj0 = 0 ;
13863 char *kwnames[] = {
13864 (char *) "self", NULL
13865 };
13866
13867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13870 {
13871 PyThreadState* __tstate = wxPyBeginAllowThreads();
13872 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
13873
13874 wxPyEndAllowThreads(__tstate);
13875 if (PyErr_Occurred()) SWIG_fail;
13876 }
4f89f6a3
RD
13877 {
13878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13879 }
d14a1e28
RD
13880 return resultobj;
13881 fail:
13882 return NULL;
13883}
13884
13885
13886static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13887 PyObject *resultobj;
13888 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13889 bool result;
13890 PyObject * obj0 = 0 ;
13891 char *kwnames[] = {
13892 (char *) "self", NULL
13893 };
13894
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13898 {
13899 PyThreadState* __tstate = wxPyBeginAllowThreads();
13900 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
13901
13902 wxPyEndAllowThreads(__tstate);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
4f89f6a3
RD
13905 {
13906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13907 }
d14a1e28
RD
13908 return resultobj;
13909 fail:
13910 return NULL;
13911}
13912
13913
412d302d
RD
13914static PyObject *_wrap_MouseEvent_CmdDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13915 PyObject *resultobj;
13916 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13917 bool result;
13918 PyObject * obj0 = 0 ;
13919 char *kwnames[] = {
13920 (char *) "self", NULL
13921 };
13922
13923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_CmdDown",kwnames,&obj0)) goto fail;
13924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13926 {
13927 PyThreadState* __tstate = wxPyBeginAllowThreads();
13928 result = (bool)((wxMouseEvent const *)arg1)->CmdDown();
13929
13930 wxPyEndAllowThreads(__tstate);
13931 if (PyErr_Occurred()) SWIG_fail;
13932 }
13933 {
13934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13935 }
13936 return resultobj;
13937 fail:
13938 return NULL;
13939}
13940
13941
d14a1e28
RD
13942static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13943 PyObject *resultobj;
13944 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13945 bool result;
13946 PyObject * obj0 = 0 ;
13947 char *kwnames[] = {
13948 (char *) "self", NULL
13949 };
13950
13951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
13956 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
13957
13958 wxPyEndAllowThreads(__tstate);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 }
4f89f6a3
RD
13961 {
13962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13963 }
d14a1e28
RD
13964 return resultobj;
13965 fail:
13966 return NULL;
13967}
13968
13969
13970static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13971 PyObject *resultobj;
13972 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13973 bool result;
13974 PyObject * obj0 = 0 ;
13975 char *kwnames[] = {
13976 (char *) "self", NULL
13977 };
13978
13979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13982 {
13983 PyThreadState* __tstate = wxPyBeginAllowThreads();
13984 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
13985
13986 wxPyEndAllowThreads(__tstate);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
4f89f6a3
RD
13989 {
13990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13991 }
d14a1e28
RD
13992 return resultobj;
13993 fail:
13994 return NULL;
13995}
13996
13997
13998static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13999 PyObject *resultobj;
14000 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14001 bool result;
14002 PyObject * obj0 = 0 ;
14003 char *kwnames[] = {
14004 (char *) "self", NULL
14005 };
14006
14007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14010 {
14011 PyThreadState* __tstate = wxPyBeginAllowThreads();
14012 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
14013
14014 wxPyEndAllowThreads(__tstate);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 }
4f89f6a3
RD
14017 {
14018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14019 }
d14a1e28
RD
14020 return resultobj;
14021 fail:
14022 return NULL;
14023}
14024
14025
14026static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14027 PyObject *resultobj;
14028 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14029 bool result;
14030 PyObject * obj0 = 0 ;
14031 char *kwnames[] = {
14032 (char *) "self", NULL
14033 };
14034
14035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14038 {
14039 PyThreadState* __tstate = wxPyBeginAllowThreads();
14040 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
14041
14042 wxPyEndAllowThreads(__tstate);
14043 if (PyErr_Occurred()) SWIG_fail;
14044 }
4f89f6a3
RD
14045 {
14046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14047 }
d14a1e28
RD
14048 return resultobj;
14049 fail:
14050 return NULL;
14051}
14052
14053
14054static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14055 PyObject *resultobj;
14056 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14057 bool result;
14058 PyObject * obj0 = 0 ;
14059 char *kwnames[] = {
14060 (char *) "self", NULL
14061 };
14062
14063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
14069
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
4f89f6a3
RD
14073 {
14074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14075 }
d14a1e28
RD
14076 return resultobj;
14077 fail:
14078 return NULL;
14079}
14080
14081
14082static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14083 PyObject *resultobj;
14084 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14085 bool result;
14086 PyObject * obj0 = 0 ;
14087 char *kwnames[] = {
14088 (char *) "self", NULL
14089 };
14090
14091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14094 {
14095 PyThreadState* __tstate = wxPyBeginAllowThreads();
14096 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
14097
14098 wxPyEndAllowThreads(__tstate);
14099 if (PyErr_Occurred()) SWIG_fail;
14100 }
4f89f6a3
RD
14101 {
14102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14103 }
d14a1e28
RD
14104 return resultobj;
14105 fail:
14106 return NULL;
14107}
14108
14109
14110static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14111 PyObject *resultobj;
14112 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14113 bool result;
14114 PyObject * obj0 = 0 ;
14115 char *kwnames[] = {
14116 (char *) "self", NULL
14117 };
14118
14119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14122 {
14123 PyThreadState* __tstate = wxPyBeginAllowThreads();
14124 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
14125
14126 wxPyEndAllowThreads(__tstate);
14127 if (PyErr_Occurred()) SWIG_fail;
14128 }
4f89f6a3
RD
14129 {
14130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14131 }
d14a1e28
RD
14132 return resultobj;
14133 fail:
14134 return NULL;
14135}
14136
14137
14138static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14139 PyObject *resultobj;
14140 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14141 bool result;
14142 PyObject * obj0 = 0 ;
14143 char *kwnames[] = {
14144 (char *) "self", NULL
14145 };
14146
14147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14150 {
14151 PyThreadState* __tstate = wxPyBeginAllowThreads();
14152 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
14153
14154 wxPyEndAllowThreads(__tstate);
14155 if (PyErr_Occurred()) SWIG_fail;
14156 }
4f89f6a3
RD
14157 {
14158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14159 }
d14a1e28
RD
14160 return resultobj;
14161 fail:
14162 return NULL;
14163}
14164
14165
14166static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14167 PyObject *resultobj;
14168 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14169 bool result;
14170 PyObject * obj0 = 0 ;
14171 char *kwnames[] = {
14172 (char *) "self", NULL
14173 };
14174
14175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14178 {
14179 PyThreadState* __tstate = wxPyBeginAllowThreads();
14180 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
14181
14182 wxPyEndAllowThreads(__tstate);
14183 if (PyErr_Occurred()) SWIG_fail;
14184 }
4f89f6a3
RD
14185 {
14186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14187 }
d14a1e28
RD
14188 return resultobj;
14189 fail:
14190 return NULL;
14191}
14192
14193
14194static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14195 PyObject *resultobj;
14196 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14197 bool result;
14198 PyObject * obj0 = 0 ;
14199 char *kwnames[] = {
14200 (char *) "self", NULL
14201 };
14202
14203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14206 {
14207 PyThreadState* __tstate = wxPyBeginAllowThreads();
14208 result = (bool)(arg1)->LeftIsDown();
14209
14210 wxPyEndAllowThreads(__tstate);
14211 if (PyErr_Occurred()) SWIG_fail;
14212 }
4f89f6a3
RD
14213 {
14214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14215 }
d14a1e28
RD
14216 return resultobj;
14217 fail:
14218 return NULL;
14219}
14220
14221
14222static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14223 PyObject *resultobj;
14224 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14225 bool result;
14226 PyObject * obj0 = 0 ;
14227 char *kwnames[] = {
14228 (char *) "self", NULL
14229 };
14230
14231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14234 {
14235 PyThreadState* __tstate = wxPyBeginAllowThreads();
14236 result = (bool)(arg1)->MiddleIsDown();
14237
14238 wxPyEndAllowThreads(__tstate);
14239 if (PyErr_Occurred()) SWIG_fail;
14240 }
4f89f6a3
RD
14241 {
14242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14243 }
d14a1e28
RD
14244 return resultobj;
14245 fail:
14246 return NULL;
14247}
14248
14249
14250static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14251 PyObject *resultobj;
14252 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14253 bool result;
14254 PyObject * obj0 = 0 ;
14255 char *kwnames[] = {
14256 (char *) "self", NULL
14257 };
14258
14259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14262 {
14263 PyThreadState* __tstate = wxPyBeginAllowThreads();
14264 result = (bool)(arg1)->RightIsDown();
14265
14266 wxPyEndAllowThreads(__tstate);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 }
4f89f6a3
RD
14269 {
14270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14271 }
d14a1e28
RD
14272 return resultobj;
14273 fail:
14274 return NULL;
14275}
14276
14277
14278static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
14279 PyObject *resultobj;
14280 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14281 bool result;
14282 PyObject * obj0 = 0 ;
14283 char *kwnames[] = {
14284 (char *) "self", NULL
14285 };
14286
14287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
15afbcd0
RD
14288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14290 {
14291 PyThreadState* __tstate = wxPyBeginAllowThreads();
14292 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
14293
14294 wxPyEndAllowThreads(__tstate);
14295 if (PyErr_Occurred()) SWIG_fail;
14296 }
4f89f6a3
RD
14297 {
14298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14299 }
d14a1e28
RD
14300 return resultobj;
14301 fail:
14302 return NULL;
14303}
14304
14305
14306static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
14307 PyObject *resultobj;
14308 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14309 bool result;
14310 PyObject * obj0 = 0 ;
14311 char *kwnames[] = {
14312 (char *) "self", NULL
14313 };
14314
14315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
15afbcd0
RD
14316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14318 {
14319 PyThreadState* __tstate = wxPyBeginAllowThreads();
14320 result = (bool)((wxMouseEvent const *)arg1)->Moving();
14321
14322 wxPyEndAllowThreads(__tstate);
14323 if (PyErr_Occurred()) SWIG_fail;
14324 }
4f89f6a3
RD
14325 {
14326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14327 }
d14a1e28
RD
14328 return resultobj;
14329 fail:
14330 return NULL;
14331}
14332
14333
14334static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
14335 PyObject *resultobj;
14336 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14337 bool result;
14338 PyObject * obj0 = 0 ;
14339 char *kwnames[] = {
14340 (char *) "self", NULL
14341 };
14342
14343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
15afbcd0
RD
14344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14349
14350 wxPyEndAllowThreads(__tstate);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 }
4f89f6a3
RD
14353 {
14354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14355 }
d14a1e28
RD
14356 return resultobj;
14357 fail:
14358 return NULL;
14359}
14360
14361
14362static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
14363 PyObject *resultobj;
14364 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14365 bool result;
14366 PyObject * obj0 = 0 ;
14367 char *kwnames[] = {
14368 (char *) "self", NULL
14369 };
14370
14371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
15afbcd0
RD
14372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14374 {
14375 PyThreadState* __tstate = wxPyBeginAllowThreads();
14376 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14377
14378 wxPyEndAllowThreads(__tstate);
14379 if (PyErr_Occurred()) SWIG_fail;
14380 }
4f89f6a3
RD
14381 {
14382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14383 }
d14a1e28
RD
14384 return resultobj;
14385 fail:
14386 return NULL;
14387}
14388
14389
14390static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14391 PyObject *resultobj;
14392 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14393 wxPoint result;
14394 PyObject * obj0 = 0 ;
14395 char *kwnames[] = {
14396 (char *) "self", NULL
14397 };
14398
14399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
14400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14402 {
14403 PyThreadState* __tstate = wxPyBeginAllowThreads();
14404 result = (arg1)->GetPosition();
14405
14406 wxPyEndAllowThreads(__tstate);
14407 if (PyErr_Occurred()) SWIG_fail;
14408 }
14409 {
14410 wxPoint * resultptr;
14411 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14413 }
14414 return resultobj;
14415 fail:
14416 return NULL;
14417}
14418
14419
14420static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
14421 PyObject *resultobj;
14422 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14423 long *arg2 = (long *) 0 ;
14424 long *arg3 = (long *) 0 ;
14425 long temp2 ;
14426 long temp3 ;
14427 PyObject * obj0 = 0 ;
14428 char *kwnames[] = {
14429 (char *) "self", NULL
14430 };
14431
14432 arg2 = &temp2;
14433 arg3 = &temp3;
14434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14437 {
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 (arg1)->GetPosition(arg2,arg3);
14440
14441 wxPyEndAllowThreads(__tstate);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 Py_INCREF(Py_None); resultobj = Py_None;
14445 {
14446 PyObject *o = PyInt_FromLong((long) (*arg2));
14447 resultobj = t_output_helper(resultobj,o);
14448 }
14449 {
14450 PyObject *o = PyInt_FromLong((long) (*arg3));
14451 resultobj = t_output_helper(resultobj,o);
14452 }
14453 return resultobj;
14454 fail:
14455 return NULL;
14456}
14457
14458
14459static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14460 PyObject *resultobj;
14461 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14462 wxDC *arg2 = 0 ;
14463 wxPoint result;
14464 PyObject * obj0 = 0 ;
14465 PyObject * obj1 = 0 ;
14466 char *kwnames[] = {
14467 (char *) "self",(char *) "dc", NULL
14468 };
14469
14470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14473 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14474 SWIG_POINTER_EXCEPTION | 0)) == -1)
14475 SWIG_fail;
d14a1e28 14476 if (arg2 == NULL) {
15afbcd0
RD
14477 PyErr_SetString(PyExc_TypeError,"null reference");
14478 SWIG_fail;
d14a1e28
RD
14479 }
14480 {
14481 PyThreadState* __tstate = wxPyBeginAllowThreads();
14482 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14483
14484 wxPyEndAllowThreads(__tstate);
14485 if (PyErr_Occurred()) SWIG_fail;
14486 }
14487 {
14488 wxPoint * resultptr;
14489 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14490 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14491 }
14492 return resultobj;
14493 fail:
14494 return NULL;
14495}
14496
14497
14498static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14499 PyObject *resultobj;
14500 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14501 int result;
d14a1e28
RD
14502 PyObject * obj0 = 0 ;
14503 char *kwnames[] = {
14504 (char *) "self", NULL
14505 };
14506
14507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14510 {
14511 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14512 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
14513
14514 wxPyEndAllowThreads(__tstate);
14515 if (PyErr_Occurred()) SWIG_fail;
14516 }
15afbcd0 14517 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14518 return resultobj;
14519 fail:
14520 return NULL;
14521}
14522
14523
14524static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14525 PyObject *resultobj;
14526 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14527 int result;
d14a1e28
RD
14528 PyObject * obj0 = 0 ;
14529 char *kwnames[] = {
14530 (char *) "self", NULL
14531 };
14532
14533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14536 {
14537 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14538 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
14539
14540 wxPyEndAllowThreads(__tstate);
14541 if (PyErr_Occurred()) SWIG_fail;
14542 }
15afbcd0 14543 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14544 return resultobj;
14545 fail:
14546 return NULL;
14547}
14548
14549
14550static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
14551 PyObject *resultobj;
14552 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14553 int result;
14554 PyObject * obj0 = 0 ;
14555 char *kwnames[] = {
14556 (char *) "self", NULL
14557 };
14558
14559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
15afbcd0
RD
14560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14562 {
14563 PyThreadState* __tstate = wxPyBeginAllowThreads();
14564 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14565
14566 wxPyEndAllowThreads(__tstate);
14567 if (PyErr_Occurred()) SWIG_fail;
14568 }
15afbcd0 14569 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14570 return resultobj;
14571 fail:
14572 return NULL;
14573}
14574
14575
14576static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
14577 PyObject *resultobj;
14578 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14579 int result;
14580 PyObject * obj0 = 0 ;
14581 char *kwnames[] = {
14582 (char *) "self", NULL
14583 };
14584
14585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
15afbcd0
RD
14586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14588 {
14589 PyThreadState* __tstate = wxPyBeginAllowThreads();
14590 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14591
14592 wxPyEndAllowThreads(__tstate);
14593 if (PyErr_Occurred()) SWIG_fail;
14594 }
15afbcd0 14595 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14596 return resultobj;
14597 fail:
14598 return NULL;
14599}
14600
14601
14602static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
14603 PyObject *resultobj;
14604 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14605 int result;
14606 PyObject * obj0 = 0 ;
14607 char *kwnames[] = {
14608 (char *) "self", NULL
14609 };
14610
14611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
15afbcd0
RD
14612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14617
14618 wxPyEndAllowThreads(__tstate);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 }
15afbcd0 14621 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14622 return resultobj;
14623 fail:
14624 return NULL;
14625}
14626
14627
14628static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
14629 PyObject *resultobj;
14630 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14631 bool result;
14632 PyObject * obj0 = 0 ;
14633 char *kwnames[] = {
14634 (char *) "self", NULL
14635 };
14636
14637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
15afbcd0
RD
14638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14640 {
14641 PyThreadState* __tstate = wxPyBeginAllowThreads();
14642 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14643
14644 wxPyEndAllowThreads(__tstate);
14645 if (PyErr_Occurred()) SWIG_fail;
14646 }
4f89f6a3
RD
14647 {
14648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14649 }
d14a1e28
RD
14650 return resultobj;
14651 fail:
14652 return NULL;
14653}
14654
14655
14656static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14657 PyObject *resultobj;
14658 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14659 int arg2 ;
d14a1e28 14660 PyObject * obj0 = 0 ;
994141e6 14661 PyObject * obj1 = 0 ;
d14a1e28
RD
14662 char *kwnames[] = {
14663 (char *) "self",(char *) "m_x", NULL
14664 };
14665
994141e6 14666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14669 arg2 = (int) SWIG_AsInt(obj1);
14670 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14671 if (arg1) (arg1)->m_x = arg2;
14672
14673 Py_INCREF(Py_None); resultobj = Py_None;
14674 return resultobj;
14675 fail:
14676 return NULL;
14677}
14678
14679
14680static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14681 PyObject *resultobj;
14682 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14683 int result;
d14a1e28
RD
14684 PyObject * obj0 = 0 ;
14685 char *kwnames[] = {
14686 (char *) "self", NULL
14687 };
14688
14689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 14692 result = (int) ((arg1)->m_x);
d14a1e28 14693
15afbcd0 14694 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14695 return resultobj;
14696 fail:
14697 return NULL;
14698}
14699
14700
14701static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14702 PyObject *resultobj;
14703 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14704 int arg2 ;
d14a1e28 14705 PyObject * obj0 = 0 ;
994141e6 14706 PyObject * obj1 = 0 ;
d14a1e28
RD
14707 char *kwnames[] = {
14708 (char *) "self",(char *) "m_y", NULL
14709 };
14710
994141e6 14711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14714 arg2 = (int) SWIG_AsInt(obj1);
14715 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14716 if (arg1) (arg1)->m_y = arg2;
14717
14718 Py_INCREF(Py_None); resultobj = Py_None;
14719 return resultobj;
14720 fail:
14721 return NULL;
14722}
14723
14724
14725static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14726 PyObject *resultobj;
14727 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14728 int result;
d14a1e28
RD
14729 PyObject * obj0 = 0 ;
14730 char *kwnames[] = {
14731 (char *) "self", NULL
14732 };
14733
14734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 14737 result = (int) ((arg1)->m_y);
d14a1e28 14738
15afbcd0 14739 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14740 return resultobj;
14741 fail:
14742 return NULL;
14743}
14744
14745
14746static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14747 PyObject *resultobj;
14748 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14749 bool arg2 ;
14750 PyObject * obj0 = 0 ;
14751 PyObject * obj1 = 0 ;
14752 char *kwnames[] = {
14753 (char *) "self",(char *) "m_leftDown", NULL
14754 };
14755
14756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14759 arg2 = (bool) SWIG_AsBool(obj1);
14760 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14761 if (arg1) (arg1)->m_leftDown = arg2;
14762
14763 Py_INCREF(Py_None); resultobj = Py_None;
14764 return resultobj;
14765 fail:
14766 return NULL;
14767}
14768
14769
14770static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14771 PyObject *resultobj;
14772 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14773 bool result;
14774 PyObject * obj0 = 0 ;
14775 char *kwnames[] = {
14776 (char *) "self", NULL
14777 };
14778
14779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14782 result = (bool) ((arg1)->m_leftDown);
14783
4f89f6a3
RD
14784 {
14785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14786 }
d14a1e28
RD
14787 return resultobj;
14788 fail:
14789 return NULL;
14790}
14791
14792
14793static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14794 PyObject *resultobj;
14795 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14796 bool arg2 ;
14797 PyObject * obj0 = 0 ;
14798 PyObject * obj1 = 0 ;
14799 char *kwnames[] = {
14800 (char *) "self",(char *) "m_middleDown", NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14806 arg2 = (bool) SWIG_AsBool(obj1);
14807 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14808 if (arg1) (arg1)->m_middleDown = arg2;
14809
14810 Py_INCREF(Py_None); resultobj = Py_None;
14811 return resultobj;
14812 fail:
14813 return NULL;
14814}
14815
14816
14817static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14820 bool result;
14821 PyObject * obj0 = 0 ;
14822 char *kwnames[] = {
14823 (char *) "self", NULL
14824 };
14825
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14829 result = (bool) ((arg1)->m_middleDown);
14830
4f89f6a3
RD
14831 {
14832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14833 }
d14a1e28
RD
14834 return resultobj;
14835 fail:
14836 return NULL;
14837}
14838
14839
14840static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14841 PyObject *resultobj;
14842 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14843 bool arg2 ;
14844 PyObject * obj0 = 0 ;
14845 PyObject * obj1 = 0 ;
14846 char *kwnames[] = {
14847 (char *) "self",(char *) "m_rightDown", NULL
14848 };
14849
14850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14853 arg2 = (bool) SWIG_AsBool(obj1);
14854 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14855 if (arg1) (arg1)->m_rightDown = arg2;
14856
14857 Py_INCREF(Py_None); resultobj = Py_None;
14858 return resultobj;
14859 fail:
14860 return NULL;
14861}
14862
14863
14864static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14865 PyObject *resultobj;
14866 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14867 bool result;
14868 PyObject * obj0 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "self", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14876 result = (bool) ((arg1)->m_rightDown);
14877
4f89f6a3
RD
14878 {
14879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14880 }
d14a1e28
RD
14881 return resultobj;
14882 fail:
14883 return NULL;
14884}
14885
14886
14887static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14888 PyObject *resultobj;
14889 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14890 bool arg2 ;
14891 PyObject * obj0 = 0 ;
14892 PyObject * obj1 = 0 ;
14893 char *kwnames[] = {
14894 (char *) "self",(char *) "m_controlDown", NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14900 arg2 = (bool) SWIG_AsBool(obj1);
14901 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14902 if (arg1) (arg1)->m_controlDown = arg2;
14903
14904 Py_INCREF(Py_None); resultobj = Py_None;
14905 return resultobj;
14906 fail:
14907 return NULL;
14908}
14909
14910
14911static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14912 PyObject *resultobj;
14913 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14914 bool result;
14915 PyObject * obj0 = 0 ;
14916 char *kwnames[] = {
14917 (char *) "self", NULL
14918 };
14919
14920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14923 result = (bool) ((arg1)->m_controlDown);
14924
4f89f6a3
RD
14925 {
14926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14927 }
d14a1e28
RD
14928 return resultobj;
14929 fail:
14930 return NULL;
14931}
14932
14933
14934static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14935 PyObject *resultobj;
14936 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14937 bool arg2 ;
14938 PyObject * obj0 = 0 ;
14939 PyObject * obj1 = 0 ;
14940 char *kwnames[] = {
14941 (char *) "self",(char *) "m_shiftDown", NULL
14942 };
14943
14944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14947 arg2 = (bool) SWIG_AsBool(obj1);
14948 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14949 if (arg1) (arg1)->m_shiftDown = arg2;
14950
14951 Py_INCREF(Py_None); resultobj = Py_None;
14952 return resultobj;
14953 fail:
14954 return NULL;
14955}
14956
14957
14958static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14959 PyObject *resultobj;
14960 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14961 bool result;
14962 PyObject * obj0 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14970 result = (bool) ((arg1)->m_shiftDown);
14971
4f89f6a3
RD
14972 {
14973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14974 }
d14a1e28
RD
14975 return resultobj;
14976 fail:
14977 return NULL;
14978}
14979
14980
14981static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14982 PyObject *resultobj;
14983 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14984 bool arg2 ;
14985 PyObject * obj0 = 0 ;
14986 PyObject * obj1 = 0 ;
14987 char *kwnames[] = {
14988 (char *) "self",(char *) "m_altDown", NULL
14989 };
14990
14991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14994 arg2 = (bool) SWIG_AsBool(obj1);
14995 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14996 if (arg1) (arg1)->m_altDown = arg2;
14997
14998 Py_INCREF(Py_None); resultobj = Py_None;
14999 return resultobj;
15000 fail:
15001 return NULL;
15002}
15003
15004
15005static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15006 PyObject *resultobj;
15007 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15008 bool result;
15009 PyObject * obj0 = 0 ;
15010 char *kwnames[] = {
15011 (char *) "self", NULL
15012 };
15013
15014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15017 result = (bool) ((arg1)->m_altDown);
15018
4f89f6a3
RD
15019 {
15020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15021 }
d14a1e28
RD
15022 return resultobj;
15023 fail:
15024 return NULL;
15025}
15026
15027
15028static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15029 PyObject *resultobj;
15030 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15031 bool arg2 ;
15032 PyObject * obj0 = 0 ;
15033 PyObject * obj1 = 0 ;
15034 char *kwnames[] = {
15035 (char *) "self",(char *) "m_metaDown", NULL
15036 };
15037
15038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15041 arg2 = (bool) SWIG_AsBool(obj1);
15042 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15043 if (arg1) (arg1)->m_metaDown = arg2;
15044
15045 Py_INCREF(Py_None); resultobj = Py_None;
15046 return resultobj;
15047 fail:
15048 return NULL;
15049}
15050
15051
15052static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15053 PyObject *resultobj;
15054 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15055 bool result;
15056 PyObject * obj0 = 0 ;
15057 char *kwnames[] = {
15058 (char *) "self", NULL
15059 };
15060
15061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15064 result = (bool) ((arg1)->m_metaDown);
15065
4f89f6a3
RD
15066 {
15067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15068 }
d14a1e28
RD
15069 return resultobj;
15070 fail:
15071 return NULL;
15072}
15073
15074
15075static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15076 PyObject *resultobj;
15077 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15078 int arg2 ;
15079 PyObject * obj0 = 0 ;
994141e6 15080 PyObject * obj1 = 0 ;
d14a1e28
RD
15081 char *kwnames[] = {
15082 (char *) "self",(char *) "m_wheelRotation", NULL
15083 };
15084
994141e6 15085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15088 arg2 = (int) SWIG_AsInt(obj1);
15089 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15090 if (arg1) (arg1)->m_wheelRotation = arg2;
15091
15092 Py_INCREF(Py_None); resultobj = Py_None;
15093 return resultobj;
15094 fail:
15095 return NULL;
15096}
15097
15098
15099static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15100 PyObject *resultobj;
15101 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15102 int result;
15103 PyObject * obj0 = 0 ;
15104 char *kwnames[] = {
15105 (char *) "self", NULL
15106 };
15107
15108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15111 result = (int) ((arg1)->m_wheelRotation);
15112
15afbcd0 15113 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15114 return resultobj;
15115 fail:
15116 return NULL;
15117}
15118
15119
15120static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15121 PyObject *resultobj;
15122 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15123 int arg2 ;
15124 PyObject * obj0 = 0 ;
994141e6 15125 PyObject * obj1 = 0 ;
d14a1e28
RD
15126 char *kwnames[] = {
15127 (char *) "self",(char *) "m_wheelDelta", NULL
15128 };
15129
994141e6 15130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15133 arg2 = (int) SWIG_AsInt(obj1);
15134 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15135 if (arg1) (arg1)->m_wheelDelta = arg2;
15136
15137 Py_INCREF(Py_None); resultobj = Py_None;
15138 return resultobj;
15139 fail:
15140 return NULL;
15141}
15142
15143
15144static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15145 PyObject *resultobj;
15146 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15147 int result;
15148 PyObject * obj0 = 0 ;
15149 char *kwnames[] = {
15150 (char *) "self", NULL
15151 };
15152
15153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15156 result = (int) ((arg1)->m_wheelDelta);
15157
15afbcd0 15158 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15159 return resultobj;
15160 fail:
15161 return NULL;
15162}
15163
15164
15165static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15166 PyObject *resultobj;
15167 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15168 int arg2 ;
15169 PyObject * obj0 = 0 ;
994141e6 15170 PyObject * obj1 = 0 ;
d14a1e28
RD
15171 char *kwnames[] = {
15172 (char *) "self",(char *) "m_linesPerAction", NULL
15173 };
15174
994141e6 15175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15178 arg2 = (int) SWIG_AsInt(obj1);
15179 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15180 if (arg1) (arg1)->m_linesPerAction = arg2;
15181
15182 Py_INCREF(Py_None); resultobj = Py_None;
15183 return resultobj;
15184 fail:
15185 return NULL;
15186}
15187
15188
15189static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15190 PyObject *resultobj;
15191 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15192 int result;
15193 PyObject * obj0 = 0 ;
15194 char *kwnames[] = {
15195 (char *) "self", NULL
15196 };
15197
15198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15201 result = (int) ((arg1)->m_linesPerAction);
15202
15afbcd0 15203 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15204 return resultobj;
15205 fail:
15206 return NULL;
15207}
15208
15209
15210static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
15211 PyObject *obj;
15212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15213 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15214 Py_INCREF(obj);
15215 return Py_BuildValue((char *)"");
15216}
15217static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15218 PyObject *resultobj;
e811c8ce
RD
15219 int arg1 = (int) 0 ;
15220 int arg2 = (int) 0 ;
d14a1e28 15221 wxSetCursorEvent *result;
994141e6
RD
15222 PyObject * obj0 = 0 ;
15223 PyObject * obj1 = 0 ;
d14a1e28
RD
15224 char *kwnames[] = {
15225 (char *) "x",(char *) "y", NULL
15226 };
15227
994141e6
RD
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15229 if (obj0) {
15afbcd0
RD
15230 arg1 = (int) SWIG_AsInt(obj0);
15231 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15232 }
15233 if (obj1) {
15afbcd0
RD
15234 arg2 = (int) SWIG_AsInt(obj1);
15235 if (PyErr_Occurred()) SWIG_fail;
994141e6 15236 }
d14a1e28
RD
15237 {
15238 PyThreadState* __tstate = wxPyBeginAllowThreads();
15239 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15240
15241 wxPyEndAllowThreads(__tstate);
15242 if (PyErr_Occurred()) SWIG_fail;
15243 }
15afbcd0 15244 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
d14a1e28
RD
15245 return resultobj;
15246 fail:
15247 return NULL;
15248}
15249
15250
15251static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15252 PyObject *resultobj;
15253 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15254 int result;
d14a1e28
RD
15255 PyObject * obj0 = 0 ;
15256 char *kwnames[] = {
15257 (char *) "self", NULL
15258 };
15259
15260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
15261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15263 {
15264 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15265 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
15266
15267 wxPyEndAllowThreads(__tstate);
15268 if (PyErr_Occurred()) SWIG_fail;
15269 }
15afbcd0 15270 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15271 return resultobj;
15272 fail:
15273 return NULL;
15274}
15275
15276
15277static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15278 PyObject *resultobj;
15279 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15280 int result;
d14a1e28
RD
15281 PyObject * obj0 = 0 ;
15282 char *kwnames[] = {
15283 (char *) "self", NULL
15284 };
15285
15286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15289 {
15290 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15291 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
15292
15293 wxPyEndAllowThreads(__tstate);
15294 if (PyErr_Occurred()) SWIG_fail;
15295 }
15afbcd0 15296 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15297 return resultobj;
15298 fail:
15299 return NULL;
15300}
15301
15302
15303static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15304 PyObject *resultobj;
15305 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15306 wxCursor *arg2 = 0 ;
15307 PyObject * obj0 = 0 ;
15308 PyObject * obj1 = 0 ;
15309 char *kwnames[] = {
15310 (char *) "self",(char *) "cursor", NULL
15311 };
15312
15313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15317 SWIG_POINTER_EXCEPTION | 0)) == -1)
15318 SWIG_fail;
d14a1e28 15319 if (arg2 == NULL) {
15afbcd0
RD
15320 PyErr_SetString(PyExc_TypeError,"null reference");
15321 SWIG_fail;
d14a1e28
RD
15322 }
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 (arg1)->SetCursor((wxCursor const &)*arg2);
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 Py_INCREF(Py_None); resultobj = Py_None;
15331 return resultobj;
15332 fail:
15333 return NULL;
15334}
15335
15336
15337static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15338 PyObject *resultobj;
15339 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15340 wxCursor *result;
15341 PyObject * obj0 = 0 ;
15342 char *kwnames[] = {
15343 (char *) "self", NULL
15344 };
15345
15346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15349 {
15350 PyThreadState* __tstate = wxPyBeginAllowThreads();
15351 {
15352 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15353 result = (wxCursor *) &_result_ref;
15354 }
15355
15356 wxPyEndAllowThreads(__tstate);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
4276dc52
RD
15359 {
15360 wxCursor* resultptr = new wxCursor(*result);
15361 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15362 }
d14a1e28
RD
15363 return resultobj;
15364 fail:
15365 return NULL;
15366}
15367
15368
15369static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15370 PyObject *resultobj;
15371 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15372 bool result;
15373 PyObject * obj0 = 0 ;
15374 char *kwnames[] = {
15375 (char *) "self", NULL
15376 };
15377
15378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15381 {
15382 PyThreadState* __tstate = wxPyBeginAllowThreads();
15383 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15384
15385 wxPyEndAllowThreads(__tstate);
15386 if (PyErr_Occurred()) SWIG_fail;
15387 }
4f89f6a3
RD
15388 {
15389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15390 }
d14a1e28
RD
15391 return resultobj;
15392 fail:
15393 return NULL;
15394}
15395
15396
15397static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
15398 PyObject *obj;
15399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15400 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15401 Py_INCREF(obj);
15402 return Py_BuildValue((char *)"");
15403}
15404static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15405 PyObject *resultobj;
15406 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15407 wxKeyEvent *result;
994141e6 15408 PyObject * obj0 = 0 ;
d14a1e28
RD
15409 char *kwnames[] = {
15410 (char *) "keyType", NULL
15411 };
15412
994141e6
RD
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15414 if (obj0) {
15afbcd0
RD
15415 arg1 = (wxEventType) SWIG_AsInt(obj0);
15416 if (PyErr_Occurred()) SWIG_fail;
994141e6 15417 }
d14a1e28
RD
15418 {
15419 PyThreadState* __tstate = wxPyBeginAllowThreads();
15420 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15421
15422 wxPyEndAllowThreads(__tstate);
15423 if (PyErr_Occurred()) SWIG_fail;
15424 }
15afbcd0 15425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
d14a1e28
RD
15426 return resultobj;
15427 fail:
15428 return NULL;
15429}
15430
15431
15432static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15433 PyObject *resultobj;
15434 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15435 bool result;
15436 PyObject * obj0 = 0 ;
15437 char *kwnames[] = {
15438 (char *) "self", NULL
15439 };
15440
15441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15447
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
4f89f6a3
RD
15451 {
15452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15453 }
d14a1e28
RD
15454 return resultobj;
15455 fail:
15456 return NULL;
15457}
15458
15459
15460static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15461 PyObject *resultobj;
15462 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15463 bool result;
15464 PyObject * obj0 = 0 ;
15465 char *kwnames[] = {
15466 (char *) "self", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15472 {
15473 PyThreadState* __tstate = wxPyBeginAllowThreads();
15474 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15475
15476 wxPyEndAllowThreads(__tstate);
15477 if (PyErr_Occurred()) SWIG_fail;
15478 }
4f89f6a3
RD
15479 {
15480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15481 }
d14a1e28
RD
15482 return resultobj;
15483 fail:
15484 return NULL;
15485}
15486
15487
15488static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15489 PyObject *resultobj;
15490 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15491 bool result;
15492 PyObject * obj0 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
4f89f6a3
RD
15507 {
15508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15509 }
d14a1e28
RD
15510 return resultobj;
15511 fail:
15512 return NULL;
15513}
15514
15515
15516static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15517 PyObject *resultobj;
15518 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15519 bool result;
15520 PyObject * obj0 = 0 ;
15521 char *kwnames[] = {
15522 (char *) "self", NULL
15523 };
15524
15525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15528 {
15529 PyThreadState* __tstate = wxPyBeginAllowThreads();
15530 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15531
15532 wxPyEndAllowThreads(__tstate);
15533 if (PyErr_Occurred()) SWIG_fail;
15534 }
4f89f6a3
RD
15535 {
15536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15537 }
d14a1e28
RD
15538 return resultobj;
15539 fail:
15540 return NULL;
15541}
15542
15543
412d302d
RD
15544static PyObject *_wrap_KeyEvent_CmdDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15545 PyObject *resultobj;
15546 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15547 bool result;
15548 PyObject * obj0 = 0 ;
15549 char *kwnames[] = {
15550 (char *) "self", NULL
15551 };
15552
15553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_CmdDown",kwnames,&obj0)) goto fail;
15554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15556 {
15557 PyThreadState* __tstate = wxPyBeginAllowThreads();
15558 result = (bool)((wxKeyEvent const *)arg1)->CmdDown();
15559
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 {
15564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15565 }
15566 return resultobj;
15567 fail:
15568 return NULL;
15569}
15570
15571
d14a1e28
RD
15572static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
15573 PyObject *resultobj;
15574 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15575 bool result;
15576 PyObject * obj0 = 0 ;
15577 char *kwnames[] = {
15578 (char *) "self", NULL
15579 };
15580
15581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
15afbcd0
RD
15582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15584 {
15585 PyThreadState* __tstate = wxPyBeginAllowThreads();
15586 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15587
15588 wxPyEndAllowThreads(__tstate);
15589 if (PyErr_Occurred()) SWIG_fail;
15590 }
4f89f6a3
RD
15591 {
15592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15593 }
d14a1e28
RD
15594 return resultobj;
15595 fail:
15596 return NULL;
15597}
15598
15599
15600static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15601 PyObject *resultobj;
15602 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15603 int result;
15604 PyObject * obj0 = 0 ;
15605 char *kwnames[] = {
15606 (char *) "self", NULL
15607 };
15608
15609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
15610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15612 {
15613 PyThreadState* __tstate = wxPyBeginAllowThreads();
15614 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15afbcd0 15619 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15620 return resultobj;
15621 fail:
15622 return NULL;
15623}
15624
15625
19272049 15626static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15627 PyObject *resultobj;
15628 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15629 int result;
15630 PyObject * obj0 = 0 ;
15631 char *kwnames[] = {
15632 (char *) "self", NULL
15633 };
15634
19272049 15635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUnicodeKey",kwnames,&obj0)) goto fail;
15afbcd0
RD
15636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15638 {
15639 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272049 15640 result = (int)wxKeyEvent_GetUnicodeKey(arg1);
d14a1e28
RD
15641
15642 wxPyEndAllowThreads(__tstate);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 }
15afbcd0 15645 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15646 return resultobj;
15647 fail:
15648 return NULL;
15649}
15650
15651
15652static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15653 PyObject *resultobj;
15654 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15655 unsigned int result;
d14a1e28
RD
15656 PyObject * obj0 = 0 ;
15657 char *kwnames[] = {
15658 (char *) "self", NULL
15659 };
15660
15661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
15662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15664 {
15665 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15666 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
15667
15668 wxPyEndAllowThreads(__tstate);
15669 if (PyErr_Occurred()) SWIG_fail;
15670 }
15afbcd0 15671 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15672 return resultobj;
15673 fail:
15674 return NULL;
15675}
15676
15677
15678static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
15679 PyObject *resultobj;
15680 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15681 unsigned int result;
d14a1e28
RD
15682 PyObject * obj0 = 0 ;
15683 char *kwnames[] = {
15684 (char *) "self", NULL
15685 };
15686
15687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
15688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15692 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
15693
15694 wxPyEndAllowThreads(__tstate);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 }
15afbcd0 15697 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15698 return resultobj;
15699 fail:
15700 return NULL;
15701}
15702
15703
15704static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15705 PyObject *resultobj;
15706 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15707 wxPoint result;
15708 PyObject * obj0 = 0 ;
15709 char *kwnames[] = {
15710 (char *) "self", NULL
15711 };
15712
15713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
15714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15716 {
15717 PyThreadState* __tstate = wxPyBeginAllowThreads();
15718 result = (arg1)->GetPosition();
15719
15720 wxPyEndAllowThreads(__tstate);
15721 if (PyErr_Occurred()) SWIG_fail;
15722 }
15723 {
15724 wxPoint * resultptr;
15725 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 15726 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
15727 }
15728 return resultobj;
15729 fail:
15730 return NULL;
15731}
15732
15733
15734static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
15735 PyObject *resultobj;
15736 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15737 long *arg2 = (long *) 0 ;
15738 long *arg3 = (long *) 0 ;
15739 long temp2 ;
15740 long temp3 ;
15741 PyObject * obj0 = 0 ;
15742 char *kwnames[] = {
15743 (char *) "self", NULL
15744 };
15745
15746 arg2 = &temp2;
15747 arg3 = &temp3;
15748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
15749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15751 {
15752 PyThreadState* __tstate = wxPyBeginAllowThreads();
15753 (arg1)->GetPosition(arg2,arg3);
15754
15755 wxPyEndAllowThreads(__tstate);
15756 if (PyErr_Occurred()) SWIG_fail;
15757 }
15758 Py_INCREF(Py_None); resultobj = Py_None;
15759 {
15760 PyObject *o = PyInt_FromLong((long) (*arg2));
15761 resultobj = t_output_helper(resultobj,o);
15762 }
15763 {
15764 PyObject *o = PyInt_FromLong((long) (*arg3));
15765 resultobj = t_output_helper(resultobj,o);
15766 }
15767 return resultobj;
15768 fail:
15769 return NULL;
15770}
15771
15772
15773static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15774 PyObject *resultobj;
15775 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15776 int result;
d14a1e28
RD
15777 PyObject * obj0 = 0 ;
15778 char *kwnames[] = {
15779 (char *) "self", NULL
15780 };
15781
15782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
15783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15785 {
15786 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15787 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
15788
15789 wxPyEndAllowThreads(__tstate);
15790 if (PyErr_Occurred()) SWIG_fail;
15791 }
15afbcd0 15792 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15793 return resultobj;
15794 fail:
15795 return NULL;
15796}
15797
15798
15799static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15800 PyObject *resultobj;
15801 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15802 int result;
d14a1e28
RD
15803 PyObject * obj0 = 0 ;
15804 char *kwnames[] = {
15805 (char *) "self", NULL
15806 };
15807
15808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15813 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15afbcd0 15818 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15819 return resultobj;
15820 fail:
15821 return NULL;
15822}
15823
15824
15825static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15826 PyObject *resultobj;
15827 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15828 int arg2 ;
d14a1e28 15829 PyObject * obj0 = 0 ;
994141e6 15830 PyObject * obj1 = 0 ;
d14a1e28
RD
15831 char *kwnames[] = {
15832 (char *) "self",(char *) "m_x", NULL
15833 };
15834
994141e6 15835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15838 arg2 = (int) SWIG_AsInt(obj1);
15839 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15840 if (arg1) (arg1)->m_x = arg2;
15841
15842 Py_INCREF(Py_None); resultobj = Py_None;
15843 return resultobj;
15844 fail:
15845 return NULL;
15846}
15847
15848
15849static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15850 PyObject *resultobj;
15851 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15852 int result;
d14a1e28
RD
15853 PyObject * obj0 = 0 ;
15854 char *kwnames[] = {
15855 (char *) "self", NULL
15856 };
15857
15858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15861 result = (int) ((arg1)->m_x);
d14a1e28 15862
15afbcd0 15863 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15864 return resultobj;
15865 fail:
15866 return NULL;
15867}
15868
15869
15870static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15871 PyObject *resultobj;
15872 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15873 int arg2 ;
d14a1e28 15874 PyObject * obj0 = 0 ;
994141e6 15875 PyObject * obj1 = 0 ;
d14a1e28
RD
15876 char *kwnames[] = {
15877 (char *) "self",(char *) "m_y", NULL
15878 };
15879
994141e6 15880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15883 arg2 = (int) SWIG_AsInt(obj1);
15884 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15885 if (arg1) (arg1)->m_y = arg2;
15886
15887 Py_INCREF(Py_None); resultobj = Py_None;
15888 return resultobj;
15889 fail:
15890 return NULL;
15891}
15892
15893
15894static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15895 PyObject *resultobj;
15896 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15897 int result;
d14a1e28
RD
15898 PyObject * obj0 = 0 ;
15899 char *kwnames[] = {
15900 (char *) "self", NULL
15901 };
15902
15903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15906 result = (int) ((arg1)->m_y);
d14a1e28 15907
15afbcd0 15908 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15909 return resultobj;
15910 fail:
15911 return NULL;
15912}
15913
15914
15915static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15916 PyObject *resultobj;
15917 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15918 long arg2 ;
15919 PyObject * obj0 = 0 ;
994141e6 15920 PyObject * obj1 = 0 ;
d14a1e28
RD
15921 char *kwnames[] = {
15922 (char *) "self",(char *) "m_keyCode", NULL
15923 };
15924
994141e6 15925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15928 arg2 = (long) SWIG_AsLong(obj1);
15929 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15930 if (arg1) (arg1)->m_keyCode = arg2;
15931
15932 Py_INCREF(Py_None); resultobj = Py_None;
15933 return resultobj;
15934 fail:
15935 return NULL;
15936}
15937
15938
15939static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15940 PyObject *resultobj;
15941 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15942 long result;
15943 PyObject * obj0 = 0 ;
15944 char *kwnames[] = {
15945 (char *) "self", NULL
15946 };
15947
15948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15951 result = (long) ((arg1)->m_keyCode);
15952
15afbcd0 15953 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
15954 return resultobj;
15955 fail:
15956 return NULL;
15957}
15958
15959
15960static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15961 PyObject *resultobj;
15962 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15963 bool arg2 ;
15964 PyObject * obj0 = 0 ;
15965 PyObject * obj1 = 0 ;
15966 char *kwnames[] = {
15967 (char *) "self",(char *) "m_controlDown", NULL
15968 };
15969
15970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15973 arg2 = (bool) SWIG_AsBool(obj1);
15974 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15975 if (arg1) (arg1)->m_controlDown = arg2;
15976
15977 Py_INCREF(Py_None); resultobj = Py_None;
15978 return resultobj;
15979 fail:
15980 return NULL;
15981}
15982
15983
15984static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15985 PyObject *resultobj;
15986 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15987 bool result;
15988 PyObject * obj0 = 0 ;
15989 char *kwnames[] = {
15990 (char *) "self", NULL
15991 };
15992
15993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15996 result = (bool) ((arg1)->m_controlDown);
15997
4f89f6a3
RD
15998 {
15999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16000 }
d14a1e28
RD
16001 return resultobj;
16002 fail:
16003 return NULL;
16004}
16005
16006
16007static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16008 PyObject *resultobj;
16009 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16010 bool arg2 ;
16011 PyObject * obj0 = 0 ;
16012 PyObject * obj1 = 0 ;
16013 char *kwnames[] = {
16014 (char *) "self",(char *) "m_shiftDown", NULL
16015 };
16016
16017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16020 arg2 = (bool) SWIG_AsBool(obj1);
16021 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16022 if (arg1) (arg1)->m_shiftDown = arg2;
16023
16024 Py_INCREF(Py_None); resultobj = Py_None;
16025 return resultobj;
16026 fail:
16027 return NULL;
16028}
16029
16030
16031static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16032 PyObject *resultobj;
16033 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16034 bool result;
16035 PyObject * obj0 = 0 ;
16036 char *kwnames[] = {
16037 (char *) "self", NULL
16038 };
16039
16040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16043 result = (bool) ((arg1)->m_shiftDown);
16044
4f89f6a3
RD
16045 {
16046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16047 }
d14a1e28
RD
16048 return resultobj;
16049 fail:
16050 return NULL;
16051}
16052
16053
16054static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16055 PyObject *resultobj;
16056 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16057 bool arg2 ;
16058 PyObject * obj0 = 0 ;
16059 PyObject * obj1 = 0 ;
16060 char *kwnames[] = {
16061 (char *) "self",(char *) "m_altDown", NULL
16062 };
16063
16064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16067 arg2 = (bool) SWIG_AsBool(obj1);
16068 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16069 if (arg1) (arg1)->m_altDown = arg2;
16070
16071 Py_INCREF(Py_None); resultobj = Py_None;
16072 return resultobj;
16073 fail:
16074 return NULL;
16075}
16076
16077
16078static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16079 PyObject *resultobj;
16080 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16081 bool result;
16082 PyObject * obj0 = 0 ;
16083 char *kwnames[] = {
16084 (char *) "self", NULL
16085 };
16086
16087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16090 result = (bool) ((arg1)->m_altDown);
16091
4f89f6a3
RD
16092 {
16093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16094 }
d14a1e28
RD
16095 return resultobj;
16096 fail:
16097 return NULL;
16098}
16099
16100
16101static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16102 PyObject *resultobj;
16103 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16104 bool arg2 ;
16105 PyObject * obj0 = 0 ;
16106 PyObject * obj1 = 0 ;
16107 char *kwnames[] = {
16108 (char *) "self",(char *) "m_metaDown", NULL
16109 };
16110
16111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16114 arg2 = (bool) SWIG_AsBool(obj1);
16115 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16116 if (arg1) (arg1)->m_metaDown = arg2;
16117
16118 Py_INCREF(Py_None); resultobj = Py_None;
16119 return resultobj;
16120 fail:
16121 return NULL;
16122}
16123
16124
16125static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16126 PyObject *resultobj;
16127 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16128 bool result;
16129 PyObject * obj0 = 0 ;
16130 char *kwnames[] = {
16131 (char *) "self", NULL
16132 };
16133
16134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16137 result = (bool) ((arg1)->m_metaDown);
16138
4f89f6a3
RD
16139 {
16140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16141 }
d14a1e28
RD
16142 return resultobj;
16143 fail:
16144 return NULL;
16145}
16146
16147
16148static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16149 PyObject *resultobj;
16150 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16151 bool arg2 ;
16152 PyObject * obj0 = 0 ;
16153 PyObject * obj1 = 0 ;
16154 char *kwnames[] = {
16155 (char *) "self",(char *) "m_scanCode", NULL
16156 };
16157
16158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16161 arg2 = (bool) SWIG_AsBool(obj1);
16162 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16163 if (arg1) (arg1)->m_scanCode = arg2;
16164
16165 Py_INCREF(Py_None); resultobj = Py_None;
16166 return resultobj;
16167 fail:
16168 return NULL;
16169}
16170
16171
16172static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16173 PyObject *resultobj;
16174 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16175 bool result;
16176 PyObject * obj0 = 0 ;
16177 char *kwnames[] = {
16178 (char *) "self", NULL
16179 };
16180
16181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16184 result = (bool) ((arg1)->m_scanCode);
16185
4f89f6a3
RD
16186 {
16187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16188 }
d14a1e28
RD
16189 return resultobj;
16190 fail:
16191 return NULL;
16192}
16193
16194
16195static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16196 PyObject *resultobj;
16197 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16198 unsigned int arg2 ;
d14a1e28
RD
16199 PyObject * obj0 = 0 ;
16200 PyObject * obj1 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self",(char *) "m_rawCode", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16208 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16209 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16210 if (arg1) (arg1)->m_rawCode = arg2;
16211
16212 Py_INCREF(Py_None); resultobj = Py_None;
16213 return resultobj;
16214 fail:
16215 return NULL;
16216}
16217
16218
16219static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16220 PyObject *resultobj;
16221 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16222 unsigned int result;
d14a1e28
RD
16223 PyObject * obj0 = 0 ;
16224 char *kwnames[] = {
16225 (char *) "self", NULL
16226 };
16227
16228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16231 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28 16232
15afbcd0 16233 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16234 return resultobj;
16235 fail:
16236 return NULL;
16237}
16238
16239
16240static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16241 PyObject *resultobj;
16242 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16243 unsigned int arg2 ;
d14a1e28
RD
16244 PyObject * obj0 = 0 ;
16245 PyObject * obj1 = 0 ;
16246 char *kwnames[] = {
16247 (char *) "self",(char *) "m_rawFlags", NULL
16248 };
16249
16250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16253 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16254 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16255 if (arg1) (arg1)->m_rawFlags = arg2;
16256
16257 Py_INCREF(Py_None); resultobj = Py_None;
16258 return resultobj;
16259 fail:
16260 return NULL;
16261}
16262
16263
16264static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16265 PyObject *resultobj;
16266 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16267 unsigned int result;
d14a1e28
RD
16268 PyObject * obj0 = 0 ;
16269 char *kwnames[] = {
16270 (char *) "self", NULL
16271 };
16272
16273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16276 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28 16277
15afbcd0 16278 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16279 return resultobj;
16280 fail:
16281 return NULL;
16282}
16283
16284
16285static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
16286 PyObject *obj;
16287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16288 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16289 Py_INCREF(obj);
16290 return Py_BuildValue((char *)"");
16291}
16292static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16293 PyObject *resultobj;
16294 wxSize const &arg1_defvalue = wxDefaultSize ;
16295 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16296 int arg2 = (int) 0 ;
16297 wxSizeEvent *result;
16298 wxSize temp1 ;
16299 PyObject * obj0 = 0 ;
994141e6 16300 PyObject * obj1 = 0 ;
d14a1e28
RD
16301 char *kwnames[] = {
16302 (char *) "sz",(char *) "winid", NULL
16303 };
16304
994141e6 16305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16306 if (obj0) {
16307 {
16308 arg1 = &temp1;
16309 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16310 }
16311 }
994141e6 16312 if (obj1) {
15afbcd0
RD
16313 arg2 = (int) SWIG_AsInt(obj1);
16314 if (PyErr_Occurred()) SWIG_fail;
994141e6 16315 }
d14a1e28
RD
16316 {
16317 PyThreadState* __tstate = wxPyBeginAllowThreads();
16318 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16319
16320 wxPyEndAllowThreads(__tstate);
16321 if (PyErr_Occurred()) SWIG_fail;
16322 }
15afbcd0 16323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
d14a1e28
RD
16324 return resultobj;
16325 fail:
16326 return NULL;
16327}
16328
16329
16330static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16331 PyObject *resultobj;
16332 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16333 wxSize result;
16334 PyObject * obj0 = 0 ;
16335 char *kwnames[] = {
16336 (char *) "self", NULL
16337 };
16338
16339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16342 {
16343 PyThreadState* __tstate = wxPyBeginAllowThreads();
16344 result = ((wxSizeEvent const *)arg1)->GetSize();
16345
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
16349 {
16350 wxSize * resultptr;
16351 resultptr = new wxSize((wxSize &) result);
15afbcd0 16352 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16353 }
16354 return resultobj;
16355 fail:
16356 return NULL;
16357}
16358
16359
16360static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj;
16362 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16363 wxRect result;
16364 PyObject * obj0 = 0 ;
16365 char *kwnames[] = {
16366 (char *) "self", NULL
16367 };
16368
16369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
16370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16372 {
16373 PyThreadState* __tstate = wxPyBeginAllowThreads();
16374 result = ((wxSizeEvent const *)arg1)->GetRect();
16375
16376 wxPyEndAllowThreads(__tstate);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 {
16380 wxRect * resultptr;
16381 resultptr = new wxRect((wxRect &) result);
15afbcd0 16382 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16383 }
16384 return resultobj;
16385 fail:
16386 return NULL;
16387}
16388
16389
16390static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16391 PyObject *resultobj;
16392 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16393 wxRect arg2 ;
16394 wxRect *argp2 ;
16395 PyObject * obj0 = 0 ;
16396 PyObject * obj1 = 0 ;
16397 char *kwnames[] = {
16398 (char *) "self",(char *) "rect", NULL
16399 };
16400
16401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16404 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16405 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16406 arg2 = *argp2;
d14a1e28
RD
16407 {
16408 PyThreadState* __tstate = wxPyBeginAllowThreads();
16409 (arg1)->SetRect(arg2);
16410
16411 wxPyEndAllowThreads(__tstate);
16412 if (PyErr_Occurred()) SWIG_fail;
16413 }
16414 Py_INCREF(Py_None); resultobj = Py_None;
16415 return resultobj;
16416 fail:
16417 return NULL;
16418}
16419
16420
16421static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16422 PyObject *resultobj;
16423 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16424 wxSize arg2 ;
16425 wxSize *argp2 ;
16426 PyObject * obj0 = 0 ;
16427 PyObject * obj1 = 0 ;
16428 char *kwnames[] = {
16429 (char *) "self",(char *) "size", NULL
16430 };
16431
16432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16435 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16436 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16437 arg2 = *argp2;
d14a1e28
RD
16438 {
16439 PyThreadState* __tstate = wxPyBeginAllowThreads();
16440 wxSizeEvent_SetSize(arg1,arg2);
16441
16442 wxPyEndAllowThreads(__tstate);
16443 if (PyErr_Occurred()) SWIG_fail;
16444 }
16445 Py_INCREF(Py_None); resultobj = Py_None;
16446 return resultobj;
16447 fail:
16448 return NULL;
16449}
16450
16451
16452static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16453 PyObject *resultobj;
16454 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16455 wxSize *arg2 = (wxSize *) 0 ;
16456 PyObject * obj0 = 0 ;
16457 PyObject * obj1 = 0 ;
16458 char *kwnames[] = {
16459 (char *) "self",(char *) "m_size", NULL
16460 };
16461
16462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16465 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16467 if (arg1) (arg1)->m_size = *arg2;
16468
16469 Py_INCREF(Py_None); resultobj = Py_None;
16470 return resultobj;
16471 fail:
16472 return NULL;
16473}
16474
16475
16476static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj;
16478 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16479 wxSize *result;
16480 PyObject * obj0 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16488 result = (wxSize *)& ((arg1)->m_size);
16489
15afbcd0 16490 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
16491 return resultobj;
16492 fail:
16493 return NULL;
16494}
16495
16496
16497static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16498 PyObject *resultobj;
16499 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16500 wxRect *arg2 = (wxRect *) 0 ;
16501 PyObject * obj0 = 0 ;
16502 PyObject * obj1 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self",(char *) "m_rect", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16512 if (arg1) (arg1)->m_rect = *arg2;
16513
16514 Py_INCREF(Py_None); resultobj = Py_None;
16515 return resultobj;
16516 fail:
16517 return NULL;
16518}
16519
16520
16521static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16522 PyObject *resultobj;
16523 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16524 wxRect *result;
16525 PyObject * obj0 = 0 ;
16526 char *kwnames[] = {
16527 (char *) "self", NULL
16528 };
16529
16530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16533 result = (wxRect *)& ((arg1)->m_rect);
16534
15afbcd0 16535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16536 return resultobj;
16537 fail:
16538 return NULL;
16539}
16540
16541
16542static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
16543 PyObject *obj;
16544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16545 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16546 Py_INCREF(obj);
16547 return Py_BuildValue((char *)"");
16548}
16549static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16550 PyObject *resultobj;
16551 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16552 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16553 int arg2 = (int) 0 ;
16554 wxMoveEvent *result;
16555 wxPoint temp1 ;
16556 PyObject * obj0 = 0 ;
994141e6 16557 PyObject * obj1 = 0 ;
d14a1e28
RD
16558 char *kwnames[] = {
16559 (char *) "pos",(char *) "winid", NULL
16560 };
16561
994141e6 16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16563 if (obj0) {
16564 {
16565 arg1 = &temp1;
16566 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16567 }
16568 }
994141e6 16569 if (obj1) {
15afbcd0
RD
16570 arg2 = (int) SWIG_AsInt(obj1);
16571 if (PyErr_Occurred()) SWIG_fail;
994141e6 16572 }
d14a1e28
RD
16573 {
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16576
16577 wxPyEndAllowThreads(__tstate);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
15afbcd0 16580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
d14a1e28
RD
16581 return resultobj;
16582 fail:
16583 return NULL;
16584}
16585
16586
16587static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16588 PyObject *resultobj;
16589 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16590 wxPoint result;
16591 PyObject * obj0 = 0 ;
16592 char *kwnames[] = {
16593 (char *) "self", NULL
16594 };
16595
16596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16599 {
16600 PyThreadState* __tstate = wxPyBeginAllowThreads();
16601 result = ((wxMoveEvent const *)arg1)->GetPosition();
16602
16603 wxPyEndAllowThreads(__tstate);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 }
16606 {
16607 wxPoint * resultptr;
16608 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 16609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
16610 }
16611 return resultobj;
16612 fail:
16613 return NULL;
16614}
16615
16616
16617static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16618 PyObject *resultobj;
16619 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16620 wxRect result;
16621 PyObject * obj0 = 0 ;
16622 char *kwnames[] = {
16623 (char *) "self", NULL
16624 };
16625
16626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
16627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16629 {
16630 PyThreadState* __tstate = wxPyBeginAllowThreads();
16631 result = ((wxMoveEvent const *)arg1)->GetRect();
16632
16633 wxPyEndAllowThreads(__tstate);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
16636 {
16637 wxRect * resultptr;
16638 resultptr = new wxRect((wxRect &) result);
15afbcd0 16639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16640 }
16641 return resultobj;
16642 fail:
16643 return NULL;
16644}
16645
16646
16647static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16648 PyObject *resultobj;
16649 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16650 wxRect arg2 ;
16651 wxRect *argp2 ;
16652 PyObject * obj0 = 0 ;
16653 PyObject * obj1 = 0 ;
16654 char *kwnames[] = {
16655 (char *) "self",(char *) "rect", NULL
16656 };
16657
16658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16661 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16662 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16663 arg2 = *argp2;
d14a1e28
RD
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 (arg1)->SetRect(arg2);
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 Py_INCREF(Py_None); resultobj = Py_None;
16672 return resultobj;
16673 fail:
16674 return NULL;
16675}
16676
16677
16678static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16679 PyObject *resultobj;
16680 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16681 wxPoint arg2 ;
16682 wxPoint *argp2 ;
16683 PyObject * obj0 = 0 ;
16684 PyObject * obj1 = 0 ;
16685 char *kwnames[] = {
16686 (char *) "self",(char *) "pos", NULL
16687 };
16688
16689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16692 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
16693 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16694 arg2 = *argp2;
d14a1e28
RD
16695 {
16696 PyThreadState* __tstate = wxPyBeginAllowThreads();
16697 wxMoveEvent_SetPosition(arg1,arg2);
16698
16699 wxPyEndAllowThreads(__tstate);
16700 if (PyErr_Occurred()) SWIG_fail;
16701 }
16702 Py_INCREF(Py_None); resultobj = Py_None;
16703 return resultobj;
16704 fail:
16705 return NULL;
16706}
16707
16708
16709static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16710 PyObject *resultobj;
16711 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16712 wxPoint *arg2 = (wxPoint *) 0 ;
16713 PyObject * obj0 = 0 ;
16714 PyObject * obj1 = 0 ;
16715 char *kwnames[] = {
16716 (char *) "self",(char *) "m_pos", NULL
16717 };
16718
16719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16722 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
16723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16724 if (arg1) (arg1)->m_pos = *arg2;
16725
16726 Py_INCREF(Py_None); resultobj = Py_None;
16727 return resultobj;
16728 fail:
16729 return NULL;
16730}
16731
16732
16733static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16734 PyObject *resultobj;
16735 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16736 wxPoint *result;
16737 PyObject * obj0 = 0 ;
16738 char *kwnames[] = {
16739 (char *) "self", NULL
16740 };
16741
16742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16745 result = (wxPoint *)& ((arg1)->m_pos);
16746
15afbcd0 16747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
16748 return resultobj;
16749 fail:
16750 return NULL;
16751}
16752
16753
16754static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16755 PyObject *resultobj;
16756 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16757 wxRect *arg2 = (wxRect *) 0 ;
16758 PyObject * obj0 = 0 ;
16759 PyObject * obj1 = 0 ;
16760 char *kwnames[] = {
16761 (char *) "self",(char *) "m_rect", NULL
16762 };
16763
16764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16769 if (arg1) (arg1)->m_rect = *arg2;
16770
16771 Py_INCREF(Py_None); resultobj = Py_None;
16772 return resultobj;
16773 fail:
16774 return NULL;
16775}
16776
16777
16778static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16779 PyObject *resultobj;
16780 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16781 wxRect *result;
16782 PyObject * obj0 = 0 ;
16783 char *kwnames[] = {
16784 (char *) "self", NULL
16785 };
16786
16787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16790 result = (wxRect *)& ((arg1)->m_rect);
16791
15afbcd0 16792 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16793 return resultobj;
16794 fail:
16795 return NULL;
16796}
16797
16798
16799static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
16800 PyObject *obj;
16801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16802 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16803 Py_INCREF(obj);
16804 return Py_BuildValue((char *)"");
16805}
16806static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj;
16808 int arg1 = (int) 0 ;
16809 wxPaintEvent *result;
994141e6 16810 PyObject * obj0 = 0 ;
d14a1e28
RD
16811 char *kwnames[] = {
16812 (char *) "Id", NULL
16813 };
16814
994141e6
RD
16815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16816 if (obj0) {
15afbcd0
RD
16817 arg1 = (int) SWIG_AsInt(obj0);
16818 if (PyErr_Occurred()) SWIG_fail;
994141e6 16819 }
d14a1e28
RD
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16823
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
15afbcd0 16827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
d14a1e28
RD
16828 return resultobj;
16829 fail:
16830 return NULL;
16831}
16832
16833
16834static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
16835 PyObject *obj;
16836 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16837 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16838 Py_INCREF(obj);
16839 return Py_BuildValue((char *)"");
16840}
16841static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16842 PyObject *resultobj;
16843 int arg1 = (int) 0 ;
16844 wxNcPaintEvent *result;
994141e6 16845 PyObject * obj0 = 0 ;
d14a1e28
RD
16846 char *kwnames[] = {
16847 (char *) "winid", NULL
16848 };
16849
994141e6
RD
16850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16851 if (obj0) {
15afbcd0
RD
16852 arg1 = (int) SWIG_AsInt(obj0);
16853 if (PyErr_Occurred()) SWIG_fail;
994141e6 16854 }
d14a1e28
RD
16855 {
16856 PyThreadState* __tstate = wxPyBeginAllowThreads();
16857 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16858
16859 wxPyEndAllowThreads(__tstate);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
15afbcd0 16862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
d14a1e28
RD
16863 return resultobj;
16864 fail:
16865 return NULL;
16866}
16867
16868
16869static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
16870 PyObject *obj;
16871 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16872 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16873 Py_INCREF(obj);
16874 return Py_BuildValue((char *)"");
16875}
16876static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj;
16878 int arg1 = (int) 0 ;
16879 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16880 wxEraseEvent *result;
994141e6 16881 PyObject * obj0 = 0 ;
d14a1e28
RD
16882 PyObject * obj1 = 0 ;
16883 char *kwnames[] = {
16884 (char *) "Id",(char *) "dc", NULL
16885 };
16886
994141e6
RD
16887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16888 if (obj0) {
15afbcd0
RD
16889 arg1 = (int) SWIG_AsInt(obj0);
16890 if (PyErr_Occurred()) SWIG_fail;
994141e6 16891 }
d14a1e28 16892 if (obj1) {
15afbcd0
RD
16893 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16895 }
16896 {
16897 PyThreadState* __tstate = wxPyBeginAllowThreads();
16898 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16899
16900 wxPyEndAllowThreads(__tstate);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
15afbcd0 16903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
d14a1e28
RD
16904 return resultobj;
16905 fail:
16906 return NULL;
16907}
16908
16909
16910static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
16911 PyObject *resultobj;
16912 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16913 wxDC *result;
16914 PyObject * obj0 = 0 ;
16915 char *kwnames[] = {
16916 (char *) "self", NULL
16917 };
16918
16919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
16920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
16921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16922 {
16923 PyThreadState* __tstate = wxPyBeginAllowThreads();
16924 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16925
16926 wxPyEndAllowThreads(__tstate);
16927 if (PyErr_Occurred()) SWIG_fail;
16928 }
16929 {
412d302d 16930 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
16931 }
16932 return resultobj;
16933 fail:
16934 return NULL;
16935}
16936
16937
16938static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
16939 PyObject *obj;
16940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16941 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
16942 Py_INCREF(obj);
16943 return Py_BuildValue((char *)"");
16944}
16945static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16946 PyObject *resultobj;
16947 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16948 int arg2 = (int) 0 ;
16949 wxFocusEvent *result;
994141e6
RD
16950 PyObject * obj0 = 0 ;
16951 PyObject * obj1 = 0 ;
d14a1e28
RD
16952 char *kwnames[] = {
16953 (char *) "type",(char *) "winid", NULL
16954 };
16955
994141e6
RD
16956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
16957 if (obj0) {
15afbcd0
RD
16958 arg1 = (wxEventType) SWIG_AsInt(obj0);
16959 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
16960 }
16961 if (obj1) {
15afbcd0
RD
16962 arg2 = (int) SWIG_AsInt(obj1);
16963 if (PyErr_Occurred()) SWIG_fail;
994141e6 16964 }
d14a1e28
RD
16965 {
16966 PyThreadState* __tstate = wxPyBeginAllowThreads();
16967 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
16968
16969 wxPyEndAllowThreads(__tstate);
16970 if (PyErr_Occurred()) SWIG_fail;
16971 }
15afbcd0 16972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
d14a1e28
RD
16973 return resultobj;
16974 fail:
16975 return NULL;
16976}
16977
16978
16979static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16980 PyObject *resultobj;
16981 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16982 wxWindow *result;
16983 PyObject * obj0 = 0 ;
16984 char *kwnames[] = {
16985 (char *) "self", NULL
16986 };
16987
16988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16991 {
16992 PyThreadState* __tstate = wxPyBeginAllowThreads();
16993 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
16994
16995 wxPyEndAllowThreads(__tstate);
16996 if (PyErr_Occurred()) SWIG_fail;
16997 }
16998 {
412d302d 16999 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17000 }
17001 return resultobj;
17002 fail:
17003 return NULL;
17004}
17005
17006
17007static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17008 PyObject *resultobj;
17009 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
17010 wxWindow *arg2 = (wxWindow *) 0 ;
17011 PyObject * obj0 = 0 ;
17012 PyObject * obj1 = 0 ;
17013 char *kwnames[] = {
17014 (char *) "self",(char *) "win", NULL
17015 };
17016
17017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
17019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 (arg1)->SetWindow(arg2);
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 Py_INCREF(Py_None); resultobj = Py_None;
17030 return resultobj;
17031 fail:
17032 return NULL;
17033}
17034
17035
17036static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
17037 PyObject *obj;
17038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17039 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
17040 Py_INCREF(obj);
17041 return Py_BuildValue((char *)"");
17042}
17043static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17044 PyObject *resultobj;
17045 wxWindow *arg1 = (wxWindow *) NULL ;
17046 wxChildFocusEvent *result;
17047 PyObject * obj0 = 0 ;
17048 char *kwnames[] = {
17049 (char *) "win", NULL
17050 };
17051
17052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
17053 if (obj0) {
15afbcd0
RD
17054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17056 }
17057 {
17058 PyThreadState* __tstate = wxPyBeginAllowThreads();
17059 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
17060
17061 wxPyEndAllowThreads(__tstate);
17062 if (PyErr_Occurred()) SWIG_fail;
17063 }
15afbcd0 17064 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
d14a1e28
RD
17065 return resultobj;
17066 fail:
17067 return NULL;
17068}
17069
17070
17071static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17072 PyObject *resultobj;
17073 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
17074 wxWindow *result;
17075 PyObject * obj0 = 0 ;
17076 char *kwnames[] = {
17077 (char *) "self", NULL
17078 };
17079
17080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
17082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17083 {
17084 PyThreadState* __tstate = wxPyBeginAllowThreads();
17085 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
17086
17087 wxPyEndAllowThreads(__tstate);
17088 if (PyErr_Occurred()) SWIG_fail;
17089 }
17090 {
412d302d 17091 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17092 }
17093 return resultobj;
17094 fail:
17095 return NULL;
17096}
17097
17098
17099static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
17100 PyObject *obj;
17101 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17102 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
17103 Py_INCREF(obj);
17104 return Py_BuildValue((char *)"");
17105}
17106static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17107 PyObject *resultobj;
17108 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 17109 bool arg2 = (bool) True ;
d14a1e28
RD
17110 int arg3 = (int) 0 ;
17111 wxActivateEvent *result;
994141e6 17112 PyObject * obj0 = 0 ;
d14a1e28 17113 PyObject * obj1 = 0 ;
994141e6 17114 PyObject * obj2 = 0 ;
d14a1e28
RD
17115 char *kwnames[] = {
17116 (char *) "type",(char *) "active",(char *) "Id", NULL
17117 };
17118
994141e6
RD
17119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17120 if (obj0) {
15afbcd0
RD
17121 arg1 = (wxEventType) SWIG_AsInt(obj0);
17122 if (PyErr_Occurred()) SWIG_fail;
994141e6 17123 }
d14a1e28 17124 if (obj1) {
15afbcd0
RD
17125 arg2 = (bool) SWIG_AsBool(obj1);
17126 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17127 }
17128 if (obj2) {
15afbcd0
RD
17129 arg3 = (int) SWIG_AsInt(obj2);
17130 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17131 }
17132 {
17133 PyThreadState* __tstate = wxPyBeginAllowThreads();
17134 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
17135
17136 wxPyEndAllowThreads(__tstate);
17137 if (PyErr_Occurred()) SWIG_fail;
17138 }
15afbcd0 17139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
d14a1e28
RD
17140 return resultobj;
17141 fail:
17142 return NULL;
17143}
17144
17145
17146static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17147 PyObject *resultobj;
17148 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
17149 bool result;
17150 PyObject * obj0 = 0 ;
17151 char *kwnames[] = {
17152 (char *) "self", NULL
17153 };
17154
17155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
17156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
17157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17158 {
17159 PyThreadState* __tstate = wxPyBeginAllowThreads();
17160 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
17161
17162 wxPyEndAllowThreads(__tstate);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
4f89f6a3
RD
17165 {
17166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17167 }
d14a1e28
RD
17168 return resultobj;
17169 fail:
17170 return NULL;
17171}
17172
17173
17174static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
17175 PyObject *obj;
17176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17177 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
17178 Py_INCREF(obj);
17179 return Py_BuildValue((char *)"");
17180}
17181static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17182 PyObject *resultobj;
17183 int arg1 = (int) 0 ;
17184 wxInitDialogEvent *result;
994141e6 17185 PyObject * obj0 = 0 ;
d14a1e28
RD
17186 char *kwnames[] = {
17187 (char *) "Id", NULL
17188 };
17189
994141e6
RD
17190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
17191 if (obj0) {
15afbcd0
RD
17192 arg1 = (int) SWIG_AsInt(obj0);
17193 if (PyErr_Occurred()) SWIG_fail;
994141e6 17194 }
d14a1e28
RD
17195 {
17196 PyThreadState* __tstate = wxPyBeginAllowThreads();
17197 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
17198
17199 wxPyEndAllowThreads(__tstate);
17200 if (PyErr_Occurred()) SWIG_fail;
17201 }
15afbcd0 17202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
d14a1e28
RD
17203 return resultobj;
17204 fail:
17205 return NULL;
17206}
17207
17208
17209static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
17210 PyObject *obj;
17211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17212 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
17213 Py_INCREF(obj);
17214 return Py_BuildValue((char *)"");
17215}
17216static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17217 PyObject *resultobj;
17218 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17219 int arg2 = (int) 0 ;
17220 wxMenu *arg3 = (wxMenu *) NULL ;
17221 wxMenuEvent *result;
994141e6
RD
17222 PyObject * obj0 = 0 ;
17223 PyObject * obj1 = 0 ;
d14a1e28
RD
17224 PyObject * obj2 = 0 ;
17225 char *kwnames[] = {
17226 (char *) "type",(char *) "winid",(char *) "menu", NULL
17227 };
17228
994141e6
RD
17229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17230 if (obj0) {
15afbcd0
RD
17231 arg1 = (wxEventType) SWIG_AsInt(obj0);
17232 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17233 }
17234 if (obj1) {
15afbcd0
RD
17235 arg2 = (int) SWIG_AsInt(obj1);
17236 if (PyErr_Occurred()) SWIG_fail;
994141e6 17237 }
d14a1e28 17238 if (obj2) {
15afbcd0
RD
17239 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17241 }
17242 {
17243 PyThreadState* __tstate = wxPyBeginAllowThreads();
17244 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17245
17246 wxPyEndAllowThreads(__tstate);
17247 if (PyErr_Occurred()) SWIG_fail;
17248 }
15afbcd0 17249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
d14a1e28
RD
17250 return resultobj;
17251 fail:
17252 return NULL;
17253}
17254
17255
17256static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
17257 PyObject *resultobj;
17258 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17259 int result;
17260 PyObject * obj0 = 0 ;
17261 char *kwnames[] = {
17262 (char *) "self", NULL
17263 };
17264
17265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15afbcd0
RD
17266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17268 {
17269 PyThreadState* __tstate = wxPyBeginAllowThreads();
17270 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17271
17272 wxPyEndAllowThreads(__tstate);
17273 if (PyErr_Occurred()) SWIG_fail;
17274 }
15afbcd0 17275 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17276 return resultobj;
17277 fail:
17278 return NULL;
17279}
17280
17281
17282static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
17283 PyObject *resultobj;
17284 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17285 bool result;
17286 PyObject * obj0 = 0 ;
17287 char *kwnames[] = {
17288 (char *) "self", NULL
17289 };
17290
17291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15afbcd0
RD
17292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17294 {
17295 PyThreadState* __tstate = wxPyBeginAllowThreads();
17296 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17297
17298 wxPyEndAllowThreads(__tstate);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 }
4f89f6a3
RD
17301 {
17302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17303 }
d14a1e28
RD
17304 return resultobj;
17305 fail:
17306 return NULL;
17307}
17308
17309
17310static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
17311 PyObject *resultobj;
17312 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17313 wxMenu *result;
17314 PyObject * obj0 = 0 ;
17315 char *kwnames[] = {
17316 (char *) "self", NULL
17317 };
17318
17319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
17320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17322 {
17323 PyThreadState* __tstate = wxPyBeginAllowThreads();
17324 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17325
17326 wxPyEndAllowThreads(__tstate);
17327 if (PyErr_Occurred()) SWIG_fail;
17328 }
17329 {
412d302d 17330 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17331 }
17332 return resultobj;
17333 fail:
17334 return NULL;
17335}
17336
17337
17338static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
17339 PyObject *obj;
17340 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17341 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17342 Py_INCREF(obj);
17343 return Py_BuildValue((char *)"");
17344}
17345static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
17347 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17348 int arg2 = (int) 0 ;
17349 wxCloseEvent *result;
994141e6
RD
17350 PyObject * obj0 = 0 ;
17351 PyObject * obj1 = 0 ;
d14a1e28
RD
17352 char *kwnames[] = {
17353 (char *) "type",(char *) "winid", NULL
17354 };
17355
994141e6
RD
17356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17357 if (obj0) {
15afbcd0
RD
17358 arg1 = (wxEventType) SWIG_AsInt(obj0);
17359 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17360 }
17361 if (obj1) {
15afbcd0
RD
17362 arg2 = (int) SWIG_AsInt(obj1);
17363 if (PyErr_Occurred()) SWIG_fail;
994141e6 17364 }
d14a1e28
RD
17365 {
17366 PyThreadState* __tstate = wxPyBeginAllowThreads();
17367 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17368
17369 wxPyEndAllowThreads(__tstate);
17370 if (PyErr_Occurred()) SWIG_fail;
17371 }
15afbcd0 17372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
d14a1e28
RD
17373 return resultobj;
17374 fail:
17375 return NULL;
17376}
17377
17378
17379static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17380 PyObject *resultobj;
17381 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17382 bool arg2 ;
17383 PyObject * obj0 = 0 ;
17384 PyObject * obj1 = 0 ;
17385 char *kwnames[] = {
17386 (char *) "self",(char *) "logOff", NULL
17387 };
17388
17389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17392 arg2 = (bool) SWIG_AsBool(obj1);
17393 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17394 {
17395 PyThreadState* __tstate = wxPyBeginAllowThreads();
17396 (arg1)->SetLoggingOff(arg2);
17397
17398 wxPyEndAllowThreads(__tstate);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 }
17401 Py_INCREF(Py_None); resultobj = Py_None;
17402 return resultobj;
17403 fail:
17404 return NULL;
17405}
17406
17407
17408static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17409 PyObject *resultobj;
17410 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17411 bool result;
17412 PyObject * obj0 = 0 ;
17413 char *kwnames[] = {
17414 (char *) "self", NULL
17415 };
17416
17417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15afbcd0
RD
17418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17420 {
17421 PyThreadState* __tstate = wxPyBeginAllowThreads();
17422 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17423
17424 wxPyEndAllowThreads(__tstate);
17425 if (PyErr_Occurred()) SWIG_fail;
17426 }
4f89f6a3
RD
17427 {
17428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17429 }
d14a1e28
RD
17430 return resultobj;
17431 fail:
17432 return NULL;
17433}
17434
17435
17436static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
17437 PyObject *resultobj;
17438 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
e811c8ce 17439 bool arg2 = (bool) True ;
d14a1e28
RD
17440 PyObject * obj0 = 0 ;
17441 PyObject * obj1 = 0 ;
17442 char *kwnames[] = {
17443 (char *) "self",(char *) "veto", NULL
17444 };
17445
17446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 17449 if (obj1) {
15afbcd0
RD
17450 arg2 = (bool) SWIG_AsBool(obj1);
17451 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17452 }
17453 {
17454 PyThreadState* __tstate = wxPyBeginAllowThreads();
17455 (arg1)->Veto(arg2);
17456
17457 wxPyEndAllowThreads(__tstate);
17458 if (PyErr_Occurred()) SWIG_fail;
17459 }
17460 Py_INCREF(Py_None); resultobj = Py_None;
17461 return resultobj;
17462 fail:
17463 return NULL;
17464}
17465
17466
17467static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17468 PyObject *resultobj;
17469 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17470 bool arg2 ;
17471 PyObject * obj0 = 0 ;
17472 PyObject * obj1 = 0 ;
17473 char *kwnames[] = {
17474 (char *) "self",(char *) "canVeto", NULL
17475 };
17476
17477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17480 arg2 = (bool) SWIG_AsBool(obj1);
17481 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17482 {
17483 PyThreadState* __tstate = wxPyBeginAllowThreads();
17484 (arg1)->SetCanVeto(arg2);
17485
17486 wxPyEndAllowThreads(__tstate);
17487 if (PyErr_Occurred()) SWIG_fail;
17488 }
17489 Py_INCREF(Py_None); resultobj = Py_None;
17490 return resultobj;
17491 fail:
17492 return NULL;
17493}
17494
17495
17496static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17497 PyObject *resultobj;
17498 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17499 bool result;
17500 PyObject * obj0 = 0 ;
17501 char *kwnames[] = {
17502 (char *) "self", NULL
17503 };
17504
17505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17508 {
17509 PyThreadState* __tstate = wxPyBeginAllowThreads();
17510 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17511
17512 wxPyEndAllowThreads(__tstate);
17513 if (PyErr_Occurred()) SWIG_fail;
17514 }
4f89f6a3
RD
17515 {
17516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17517 }
d14a1e28
RD
17518 return resultobj;
17519 fail:
17520 return NULL;
17521}
17522
17523
17524static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17525 PyObject *resultobj;
17526 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17527 bool result;
17528 PyObject * obj0 = 0 ;
17529 char *kwnames[] = {
17530 (char *) "self", NULL
17531 };
17532
17533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17536 {
17537 PyThreadState* __tstate = wxPyBeginAllowThreads();
17538 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17539
17540 wxPyEndAllowThreads(__tstate);
17541 if (PyErr_Occurred()) SWIG_fail;
17542 }
4f89f6a3
RD
17543 {
17544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17545 }
d14a1e28
RD
17546 return resultobj;
17547 fail:
17548 return NULL;
17549}
17550
17551
17552static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
17553 PyObject *obj;
17554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17555 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17556 Py_INCREF(obj);
17557 return Py_BuildValue((char *)"");
17558}
17559static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17560 PyObject *resultobj;
17561 int arg1 = (int) 0 ;
e811c8ce 17562 bool arg2 = (bool) False ;
d14a1e28 17563 wxShowEvent *result;
994141e6 17564 PyObject * obj0 = 0 ;
d14a1e28
RD
17565 PyObject * obj1 = 0 ;
17566 char *kwnames[] = {
17567 (char *) "winid",(char *) "show", NULL
17568 };
17569
994141e6
RD
17570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17571 if (obj0) {
15afbcd0
RD
17572 arg1 = (int) SWIG_AsInt(obj0);
17573 if (PyErr_Occurred()) SWIG_fail;
994141e6 17574 }
d14a1e28 17575 if (obj1) {
15afbcd0
RD
17576 arg2 = (bool) SWIG_AsBool(obj1);
17577 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17578 }
17579 {
17580 PyThreadState* __tstate = wxPyBeginAllowThreads();
17581 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17582
17583 wxPyEndAllowThreads(__tstate);
17584 if (PyErr_Occurred()) SWIG_fail;
17585 }
15afbcd0 17586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
d14a1e28
RD
17587 return resultobj;
17588 fail:
17589 return NULL;
17590}
17591
17592
17593static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17594 PyObject *resultobj;
17595 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17596 bool arg2 ;
17597 PyObject * obj0 = 0 ;
17598 PyObject * obj1 = 0 ;
17599 char *kwnames[] = {
17600 (char *) "self",(char *) "show", NULL
17601 };
17602
17603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17606 arg2 = (bool) SWIG_AsBool(obj1);
17607 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17608 {
17609 PyThreadState* __tstate = wxPyBeginAllowThreads();
17610 (arg1)->SetShow(arg2);
17611
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 Py_INCREF(Py_None); resultobj = Py_None;
17616 return resultobj;
17617 fail:
17618 return NULL;
17619}
17620
17621
17622static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17623 PyObject *resultobj;
17624 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17625 bool result;
17626 PyObject * obj0 = 0 ;
17627 char *kwnames[] = {
17628 (char *) "self", NULL
17629 };
17630
17631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17634 {
17635 PyThreadState* __tstate = wxPyBeginAllowThreads();
17636 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17637
17638 wxPyEndAllowThreads(__tstate);
17639 if (PyErr_Occurred()) SWIG_fail;
17640 }
4f89f6a3
RD
17641 {
17642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17643 }
d14a1e28
RD
17644 return resultobj;
17645 fail:
17646 return NULL;
17647}
17648
17649
17650static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
17651 PyObject *obj;
17652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17653 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17654 Py_INCREF(obj);
17655 return Py_BuildValue((char *)"");
17656}
17657static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17658 PyObject *resultobj;
17659 int arg1 = (int) 0 ;
e811c8ce 17660 bool arg2 = (bool) True ;
d14a1e28 17661 wxIconizeEvent *result;
994141e6 17662 PyObject * obj0 = 0 ;
d14a1e28
RD
17663 PyObject * obj1 = 0 ;
17664 char *kwnames[] = {
17665 (char *) "id",(char *) "iconized", NULL
17666 };
17667
994141e6
RD
17668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17669 if (obj0) {
15afbcd0
RD
17670 arg1 = (int) SWIG_AsInt(obj0);
17671 if (PyErr_Occurred()) SWIG_fail;
994141e6 17672 }
d14a1e28 17673 if (obj1) {
15afbcd0
RD
17674 arg2 = (bool) SWIG_AsBool(obj1);
17675 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17676 }
17677 {
17678 PyThreadState* __tstate = wxPyBeginAllowThreads();
17679 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
17680
17681 wxPyEndAllowThreads(__tstate);
17682 if (PyErr_Occurred()) SWIG_fail;
17683 }
15afbcd0 17684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
d14a1e28
RD
17685 return resultobj;
17686 fail:
17687 return NULL;
17688}
17689
17690
17691static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
17692 PyObject *resultobj;
17693 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17694 bool result;
17695 PyObject * obj0 = 0 ;
17696 char *kwnames[] = {
17697 (char *) "self", NULL
17698 };
17699
17700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15afbcd0
RD
17701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
17702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17703 {
17704 PyThreadState* __tstate = wxPyBeginAllowThreads();
17705 result = (bool)(arg1)->Iconized();
17706
17707 wxPyEndAllowThreads(__tstate);
17708 if (PyErr_Occurred()) SWIG_fail;
17709 }
4f89f6a3
RD
17710 {
17711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17712 }
d14a1e28
RD
17713 return resultobj;
17714 fail:
17715 return NULL;
17716}
17717
17718
17719static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
17720 PyObject *obj;
17721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17722 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17723 Py_INCREF(obj);
17724 return Py_BuildValue((char *)"");
17725}
17726static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17727 PyObject *resultobj;
17728 int arg1 = (int) 0 ;
17729 wxMaximizeEvent *result;
994141e6 17730 PyObject * obj0 = 0 ;
d14a1e28
RD
17731 char *kwnames[] = {
17732 (char *) "id", NULL
17733 };
17734
994141e6
RD
17735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17736 if (obj0) {
15afbcd0
RD
17737 arg1 = (int) SWIG_AsInt(obj0);
17738 if (PyErr_Occurred()) SWIG_fail;
994141e6 17739 }
d14a1e28
RD
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17743
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
15afbcd0 17747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
d14a1e28
RD
17748 return resultobj;
17749 fail:
17750 return NULL;
17751}
17752
17753
17754static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
17755 PyObject *obj;
17756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17757 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17758 Py_INCREF(obj);
17759 return Py_BuildValue((char *)"");
17760}
17761static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17762 PyObject *resultobj;
17763 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17764 wxPoint result;
17765 PyObject * obj0 = 0 ;
17766 char *kwnames[] = {
17767 (char *) "self", NULL
17768 };
17769
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
17771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17773 {
17774 PyThreadState* __tstate = wxPyBeginAllowThreads();
17775 result = (arg1)->GetPosition();
17776
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 {
17781 wxPoint * resultptr;
17782 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 17783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
17784 }
17785 return resultobj;
17786 fail:
17787 return NULL;
17788}
17789
17790
17791static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17792 PyObject *resultobj;
17793 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17794 int result;
17795 PyObject * obj0 = 0 ;
17796 char *kwnames[] = {
17797 (char *) "self", NULL
17798 };
17799
17800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
17801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17803 {
17804 PyThreadState* __tstate = wxPyBeginAllowThreads();
17805 result = (int)(arg1)->GetNumberOfFiles();
17806
17807 wxPyEndAllowThreads(__tstate);
17808 if (PyErr_Occurred()) SWIG_fail;
17809 }
15afbcd0 17810 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17811 return resultobj;
17812 fail:
17813 return NULL;
17814}
17815
17816
17817static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17818 PyObject *resultobj;
17819 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17820 PyObject *result;
17821 PyObject * obj0 = 0 ;
17822 char *kwnames[] = {
17823 (char *) "self", NULL
17824 };
17825
17826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
17827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17832
17833 wxPyEndAllowThreads(__tstate);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 }
17836 resultobj = result;
17837 return resultobj;
17838 fail:
17839 return NULL;
17840}
17841
17842
17843static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
17844 PyObject *obj;
17845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17846 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17847 Py_INCREF(obj);
17848 return Py_BuildValue((char *)"");
17849}
17850static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj;
e811c8ce 17852 int arg1 = (int) 0 ;
d14a1e28 17853 wxUpdateUIEvent *result;
994141e6 17854 PyObject * obj0 = 0 ;
d14a1e28
RD
17855 char *kwnames[] = {
17856 (char *) "commandId", NULL
17857 };
17858
994141e6
RD
17859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17860 if (obj0) {
15afbcd0
RD
17861 arg1 = (int) SWIG_AsInt(obj0);
17862 if (PyErr_Occurred()) SWIG_fail;
994141e6 17863 }
d14a1e28
RD
17864 {
17865 PyThreadState* __tstate = wxPyBeginAllowThreads();
17866 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17867
17868 wxPyEndAllowThreads(__tstate);
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
15afbcd0 17871 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
d14a1e28
RD
17872 return resultobj;
17873 fail:
17874 return NULL;
17875}
17876
17877
17878static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17879 PyObject *resultobj;
17880 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17881 bool result;
17882 PyObject * obj0 = 0 ;
17883 char *kwnames[] = {
17884 (char *) "self", NULL
17885 };
17886
17887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
17888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17890 {
17891 PyThreadState* __tstate = wxPyBeginAllowThreads();
17892 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
17893
17894 wxPyEndAllowThreads(__tstate);
17895 if (PyErr_Occurred()) SWIG_fail;
17896 }
4f89f6a3
RD
17897 {
17898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17899 }
d14a1e28
RD
17900 return resultobj;
17901 fail:
17902 return NULL;
17903}
17904
17905
17906static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17907 PyObject *resultobj;
17908 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17909 bool result;
17910 PyObject * obj0 = 0 ;
17911 char *kwnames[] = {
17912 (char *) "self", NULL
17913 };
17914
17915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
17916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17918 {
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17921
17922 wxPyEndAllowThreads(__tstate);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 }
4f89f6a3
RD
17925 {
17926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17927 }
d14a1e28
RD
17928 return resultobj;
17929 fail:
17930 return NULL;
17931}
17932
17933
17934static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17935 PyObject *resultobj;
17936 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17937 wxString result;
17938 PyObject * obj0 = 0 ;
17939 char *kwnames[] = {
17940 (char *) "self", NULL
17941 };
17942
17943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
17944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17946 {
17947 PyThreadState* __tstate = wxPyBeginAllowThreads();
17948 result = ((wxUpdateUIEvent const *)arg1)->GetText();
17949
17950 wxPyEndAllowThreads(__tstate);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 }
17953 {
17954#if wxUSE_UNICODE
17955 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17956#else
17957 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17958#endif
17959 }
17960 return resultobj;
17961 fail:
17962 return NULL;
17963}
17964
17965
17966static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17967 PyObject *resultobj;
17968 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17969 bool result;
17970 PyObject * obj0 = 0 ;
17971 char *kwnames[] = {
17972 (char *) "self", NULL
17973 };
17974
17975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
17976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17978 {
17979 PyThreadState* __tstate = wxPyBeginAllowThreads();
17980 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
17981
17982 wxPyEndAllowThreads(__tstate);
17983 if (PyErr_Occurred()) SWIG_fail;
17984 }
4f89f6a3
RD
17985 {
17986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17987 }
d14a1e28
RD
17988 return resultobj;
17989 fail:
17990 return NULL;
17991}
17992
17993
17994static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17995 PyObject *resultobj;
17996 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17997 bool result;
17998 PyObject * obj0 = 0 ;
17999 char *kwnames[] = {
18000 (char *) "self", NULL
18001 };
18002
18003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
18004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18006 {
18007 PyThreadState* __tstate = wxPyBeginAllowThreads();
18008 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
18009
18010 wxPyEndAllowThreads(__tstate);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
4f89f6a3
RD
18013 {
18014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18015 }
d14a1e28
RD
18016 return resultobj;
18017 fail:
18018 return NULL;
18019}
18020
18021
18022static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
18023 PyObject *resultobj;
18024 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18025 bool result;
18026 PyObject * obj0 = 0 ;
18027 char *kwnames[] = {
18028 (char *) "self", NULL
18029 };
18030
18031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
18032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18034 {
18035 PyThreadState* __tstate = wxPyBeginAllowThreads();
18036 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
18037
18038 wxPyEndAllowThreads(__tstate);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 }
4f89f6a3
RD
18041 {
18042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18043 }
d14a1e28
RD
18044 return resultobj;
18045 fail:
18046 return NULL;
18047}
18048
18049
18050static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
18051 PyObject *resultobj;
18052 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18053 bool arg2 ;
18054 PyObject * obj0 = 0 ;
18055 PyObject * obj1 = 0 ;
18056 char *kwnames[] = {
18057 (char *) "self",(char *) "check", NULL
18058 };
18059
18060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18063 arg2 = (bool) SWIG_AsBool(obj1);
18064 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 (arg1)->Check(arg2);
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 Py_INCREF(Py_None); resultobj = Py_None;
18073 return resultobj;
18074 fail:
18075 return NULL;
18076}
18077
18078
18079static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
18080 PyObject *resultobj;
18081 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18082 bool arg2 ;
18083 PyObject * obj0 = 0 ;
18084 PyObject * obj1 = 0 ;
18085 char *kwnames[] = {
18086 (char *) "self",(char *) "enable", NULL
18087 };
18088
18089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18092 arg2 = (bool) SWIG_AsBool(obj1);
18093 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18094 {
18095 PyThreadState* __tstate = wxPyBeginAllowThreads();
18096 (arg1)->Enable(arg2);
18097
18098 wxPyEndAllowThreads(__tstate);
18099 if (PyErr_Occurred()) SWIG_fail;
18100 }
18101 Py_INCREF(Py_None); resultobj = Py_None;
18102 return resultobj;
18103 fail:
18104 return NULL;
18105}
18106
18107
18108static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18109 PyObject *resultobj;
18110 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18111 wxString *arg2 = 0 ;
e811c8ce 18112 bool temp2 = False ;
d14a1e28
RD
18113 PyObject * obj0 = 0 ;
18114 PyObject * obj1 = 0 ;
18115 char *kwnames[] = {
18116 (char *) "self",(char *) "text", NULL
18117 };
18118
18119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18122 {
18123 arg2 = wxString_in_helper(obj1);
18124 if (arg2 == NULL) SWIG_fail;
e811c8ce 18125 temp2 = True;
d14a1e28
RD
18126 }
18127 {
18128 PyThreadState* __tstate = wxPyBeginAllowThreads();
18129 (arg1)->SetText((wxString const &)*arg2);
18130
18131 wxPyEndAllowThreads(__tstate);
18132 if (PyErr_Occurred()) SWIG_fail;
18133 }
18134 Py_INCREF(Py_None); resultobj = Py_None;
18135 {
18136 if (temp2)
18137 delete arg2;
18138 }
18139 return resultobj;
18140 fail:
18141 {
18142 if (temp2)
18143 delete arg2;
18144 }
18145 return NULL;
18146}
18147
18148
18149static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18150 PyObject *resultobj;
18151 long arg1 ;
994141e6 18152 PyObject * obj0 = 0 ;
d14a1e28
RD
18153 char *kwnames[] = {
18154 (char *) "updateInterval", NULL
18155 };
18156
994141e6 18157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
15afbcd0
RD
18158 arg1 = (long) SWIG_AsLong(obj0);
18159 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18160 {
18161 PyThreadState* __tstate = wxPyBeginAllowThreads();
18162 wxUpdateUIEvent::SetUpdateInterval(arg1);
18163
18164 wxPyEndAllowThreads(__tstate);
18165 if (PyErr_Occurred()) SWIG_fail;
18166 }
18167 Py_INCREF(Py_None); resultobj = Py_None;
18168 return resultobj;
18169 fail:
18170 return NULL;
18171}
18172
18173
18174static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18175 PyObject *resultobj;
18176 long result;
18177 char *kwnames[] = {
18178 NULL
18179 };
18180
18181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
18182 {
18183 PyThreadState* __tstate = wxPyBeginAllowThreads();
18184 result = (long)wxUpdateUIEvent::GetUpdateInterval();
18185
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
15afbcd0 18189 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18190 return resultobj;
18191 fail:
18192 return NULL;
18193}
18194
18195
18196static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
18197 PyObject *resultobj;
18198 wxWindow *arg1 = (wxWindow *) 0 ;
18199 bool result;
18200 PyObject * obj0 = 0 ;
18201 char *kwnames[] = {
18202 (char *) "win", NULL
18203 };
18204
18205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
15afbcd0
RD
18206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18208 {
18209 PyThreadState* __tstate = wxPyBeginAllowThreads();
18210 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
18211
18212 wxPyEndAllowThreads(__tstate);
18213 if (PyErr_Occurred()) SWIG_fail;
18214 }
4f89f6a3
RD
18215 {
18216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18217 }
d14a1e28
RD
18218 return resultobj;
18219 fail:
18220 return NULL;
18221}
18222
18223
18224static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj;
18226 char *kwnames[] = {
18227 NULL
18228 };
18229
18230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18231 {
18232 PyThreadState* __tstate = wxPyBeginAllowThreads();
18233 wxUpdateUIEvent::ResetUpdateTime();
18234
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 Py_INCREF(Py_None); resultobj = Py_None;
18239 return resultobj;
18240 fail:
18241 return NULL;
18242}
18243
18244
18245static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18246 PyObject *resultobj;
18247 int arg1 ;
994141e6 18248 PyObject * obj0 = 0 ;
d14a1e28
RD
18249 char *kwnames[] = {
18250 (char *) "mode", NULL
18251 };
18252
994141e6 18253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
18254 arg1 = (wxUpdateUIMode) SWIG_AsInt(obj0);
18255 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18256 {
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18259
18260 wxPyEndAllowThreads(__tstate);
18261 if (PyErr_Occurred()) SWIG_fail;
18262 }
18263 Py_INCREF(Py_None); resultobj = Py_None;
18264 return resultobj;
18265 fail:
18266 return NULL;
18267}
18268
18269
18270static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18271 PyObject *resultobj;
18272 int result;
18273 char *kwnames[] = {
18274 NULL
18275 };
18276
18277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18278 {
18279 PyThreadState* __tstate = wxPyBeginAllowThreads();
18280 result = (int)wxUpdateUIEvent::GetMode();
18281
18282 wxPyEndAllowThreads(__tstate);
18283 if (PyErr_Occurred()) SWIG_fail;
18284 }
15afbcd0 18285 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18286 return resultobj;
18287 fail:
18288 return NULL;
18289}
18290
18291
18292static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
18293 PyObject *obj;
18294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18295 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18296 Py_INCREF(obj);
18297 return Py_BuildValue((char *)"");
18298}
18299static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18300 PyObject *resultobj;
18301 wxSysColourChangedEvent *result;
18302 char *kwnames[] = {
18303 NULL
18304 };
18305
18306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18307 {
18308 PyThreadState* __tstate = wxPyBeginAllowThreads();
18309 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18310
18311 wxPyEndAllowThreads(__tstate);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 }
15afbcd0 18314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
d14a1e28
RD
18315 return resultobj;
18316 fail:
18317 return NULL;
18318}
18319
18320
18321static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
18322 PyObject *obj;
18323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18324 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18325 Py_INCREF(obj);
18326 return Py_BuildValue((char *)"");
18327}
18328static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18329 PyObject *resultobj;
e811c8ce 18330 int arg1 = (int) 0 ;
d14a1e28
RD
18331 wxWindow *arg2 = (wxWindow *) NULL ;
18332 wxMouseCaptureChangedEvent *result;
994141e6 18333 PyObject * obj0 = 0 ;
d14a1e28
RD
18334 PyObject * obj1 = 0 ;
18335 char *kwnames[] = {
18336 (char *) "winid",(char *) "gainedCapture", NULL
18337 };
18338
994141e6
RD
18339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18340 if (obj0) {
15afbcd0
RD
18341 arg1 = (int) SWIG_AsInt(obj0);
18342 if (PyErr_Occurred()) SWIG_fail;
994141e6 18343 }
d14a1e28 18344 if (obj1) {
15afbcd0
RD
18345 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18347 }
18348 {
18349 PyThreadState* __tstate = wxPyBeginAllowThreads();
18350 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18351
18352 wxPyEndAllowThreads(__tstate);
18353 if (PyErr_Occurred()) SWIG_fail;
18354 }
15afbcd0 18355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
d14a1e28
RD
18356 return resultobj;
18357 fail:
18358 return NULL;
18359}
18360
18361
18362static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18363 PyObject *resultobj;
18364 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18365 wxWindow *result;
18366 PyObject * obj0 = 0 ;
18367 char *kwnames[] = {
18368 (char *) "self", NULL
18369 };
18370
18371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18374 {
18375 PyThreadState* __tstate = wxPyBeginAllowThreads();
18376 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18377
18378 wxPyEndAllowThreads(__tstate);
18379 if (PyErr_Occurred()) SWIG_fail;
18380 }
18381 {
412d302d 18382 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18383 }
18384 return resultobj;
18385 fail:
18386 return NULL;
18387}
18388
18389
18390static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
18391 PyObject *obj;
18392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18393 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18394 Py_INCREF(obj);
18395 return Py_BuildValue((char *)"");
18396}
18397static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj;
18399 wxDisplayChangedEvent *result;
18400 char *kwnames[] = {
18401 NULL
18402 };
18403
18404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18405 {
18406 PyThreadState* __tstate = wxPyBeginAllowThreads();
18407 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18408
18409 wxPyEndAllowThreads(__tstate);
18410 if (PyErr_Occurred()) SWIG_fail;
18411 }
15afbcd0 18412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
d14a1e28
RD
18413 return resultobj;
18414 fail:
18415 return NULL;
18416}
18417
18418
18419static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
18420 PyObject *obj;
18421 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18422 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18423 Py_INCREF(obj);
18424 return Py_BuildValue((char *)"");
18425}
18426static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18427 PyObject *resultobj;
e811c8ce 18428 int arg1 = (int) 0 ;
d14a1e28 18429 wxPaletteChangedEvent *result;
994141e6 18430 PyObject * obj0 = 0 ;
d14a1e28
RD
18431 char *kwnames[] = {
18432 (char *) "id", NULL
18433 };
18434
994141e6
RD
18435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18436 if (obj0) {
15afbcd0
RD
18437 arg1 = (int) SWIG_AsInt(obj0);
18438 if (PyErr_Occurred()) SWIG_fail;
994141e6 18439 }
d14a1e28
RD
18440 {
18441 PyThreadState* __tstate = wxPyBeginAllowThreads();
18442 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18443
18444 wxPyEndAllowThreads(__tstate);
18445 if (PyErr_Occurred()) SWIG_fail;
18446 }
15afbcd0 18447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
d14a1e28
RD
18448 return resultobj;
18449 fail:
18450 return NULL;
18451}
18452
18453
18454static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18455 PyObject *resultobj;
18456 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18457 wxWindow *arg2 = (wxWindow *) 0 ;
18458 PyObject * obj0 = 0 ;
18459 PyObject * obj1 = 0 ;
18460 char *kwnames[] = {
18461 (char *) "self",(char *) "win", NULL
18462 };
18463
18464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18469 {
18470 PyThreadState* __tstate = wxPyBeginAllowThreads();
18471 (arg1)->SetChangedWindow(arg2);
18472
18473 wxPyEndAllowThreads(__tstate);
18474 if (PyErr_Occurred()) SWIG_fail;
18475 }
18476 Py_INCREF(Py_None); resultobj = Py_None;
18477 return resultobj;
18478 fail:
18479 return NULL;
18480}
18481
18482
18483static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18484 PyObject *resultobj;
18485 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18486 wxWindow *result;
18487 PyObject * obj0 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self", NULL
18490 };
18491
18492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18495 {
18496 PyThreadState* __tstate = wxPyBeginAllowThreads();
18497 result = (wxWindow *)(arg1)->GetChangedWindow();
18498
18499 wxPyEndAllowThreads(__tstate);
18500 if (PyErr_Occurred()) SWIG_fail;
18501 }
18502 {
412d302d 18503 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18504 }
18505 return resultobj;
18506 fail:
18507 return NULL;
18508}
18509
18510
18511static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
18512 PyObject *obj;
18513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18514 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18515 Py_INCREF(obj);
18516 return Py_BuildValue((char *)"");
18517}
18518static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj;
e811c8ce 18520 int arg1 = (int) 0 ;
d14a1e28 18521 wxQueryNewPaletteEvent *result;
994141e6 18522 PyObject * obj0 = 0 ;
d14a1e28
RD
18523 char *kwnames[] = {
18524 (char *) "winid", NULL
18525 };
18526
994141e6
RD
18527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18528 if (obj0) {
15afbcd0
RD
18529 arg1 = (int) SWIG_AsInt(obj0);
18530 if (PyErr_Occurred()) SWIG_fail;
994141e6 18531 }
d14a1e28
RD
18532 {
18533 PyThreadState* __tstate = wxPyBeginAllowThreads();
18534 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18535
18536 wxPyEndAllowThreads(__tstate);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 }
15afbcd0 18539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
d14a1e28
RD
18540 return resultobj;
18541 fail:
18542 return NULL;
18543}
18544
18545
18546static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18547 PyObject *resultobj;
18548 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18549 bool arg2 ;
18550 PyObject * obj0 = 0 ;
18551 PyObject * obj1 = 0 ;
18552 char *kwnames[] = {
18553 (char *) "self",(char *) "realized", NULL
18554 };
18555
18556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18559 arg2 = (bool) SWIG_AsBool(obj1);
18560 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18561 {
18562 PyThreadState* __tstate = wxPyBeginAllowThreads();
18563 (arg1)->SetPaletteRealized(arg2);
18564
18565 wxPyEndAllowThreads(__tstate);
18566 if (PyErr_Occurred()) SWIG_fail;
18567 }
18568 Py_INCREF(Py_None); resultobj = Py_None;
18569 return resultobj;
18570 fail:
18571 return NULL;
18572}
18573
18574
18575static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18576 PyObject *resultobj;
18577 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18578 bool result;
18579 PyObject * obj0 = 0 ;
18580 char *kwnames[] = {
18581 (char *) "self", NULL
18582 };
18583
18584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
15afbcd0
RD
18585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18587 {
18588 PyThreadState* __tstate = wxPyBeginAllowThreads();
18589 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18590
18591 wxPyEndAllowThreads(__tstate);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 }
4f89f6a3
RD
18594 {
18595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18596 }
d14a1e28
RD
18597 return resultobj;
18598 fail:
18599 return NULL;
18600}
18601
18602
18603static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
18604 PyObject *obj;
18605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18606 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18607 Py_INCREF(obj);
18608 return Py_BuildValue((char *)"");
18609}
18610static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18611 PyObject *resultobj;
18612 wxNavigationKeyEvent *result;
18613 char *kwnames[] = {
18614 NULL
18615 };
18616
18617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18618 {
18619 PyThreadState* __tstate = wxPyBeginAllowThreads();
18620 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18621
18622 wxPyEndAllowThreads(__tstate);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 }
15afbcd0 18625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
d14a1e28
RD
18626 return resultobj;
18627 fail:
18628 return NULL;
18629}
18630
18631
18632static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18633 PyObject *resultobj;
18634 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18635 bool result;
18636 PyObject * obj0 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
18642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18644 {
18645 PyThreadState* __tstate = wxPyBeginAllowThreads();
18646 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18647
18648 wxPyEndAllowThreads(__tstate);
18649 if (PyErr_Occurred()) SWIG_fail;
18650 }
4f89f6a3
RD
18651 {
18652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18653 }
d14a1e28
RD
18654 return resultobj;
18655 fail:
18656 return NULL;
18657}
18658
18659
18660static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18661 PyObject *resultobj;
18662 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18663 bool arg2 ;
18664 PyObject * obj0 = 0 ;
18665 PyObject * obj1 = 0 ;
18666 char *kwnames[] = {
908b74cd 18667 (char *) "self",(char *) "forward", NULL
d14a1e28
RD
18668 };
18669
18670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18673 arg2 = (bool) SWIG_AsBool(obj1);
18674 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18675 {
18676 PyThreadState* __tstate = wxPyBeginAllowThreads();
18677 (arg1)->SetDirection(arg2);
18678
18679 wxPyEndAllowThreads(__tstate);
18680 if (PyErr_Occurred()) SWIG_fail;
18681 }
18682 Py_INCREF(Py_None); resultobj = Py_None;
18683 return resultobj;
18684 fail:
18685 return NULL;
18686}
18687
18688
18689static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18690 PyObject *resultobj;
18691 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18692 bool result;
18693 PyObject * obj0 = 0 ;
18694 char *kwnames[] = {
18695 (char *) "self", NULL
18696 };
18697
18698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
15afbcd0
RD
18699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18701 {
18702 PyThreadState* __tstate = wxPyBeginAllowThreads();
18703 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
18704
18705 wxPyEndAllowThreads(__tstate);
18706 if (PyErr_Occurred()) SWIG_fail;
18707 }
4f89f6a3
RD
18708 {
18709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18710 }
d14a1e28
RD
18711 return resultobj;
18712 fail:
18713 return NULL;
18714}
18715
18716
18717static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18718 PyObject *resultobj;
18719 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18720 bool arg2 ;
18721 PyObject * obj0 = 0 ;
18722 PyObject * obj1 = 0 ;
18723 char *kwnames[] = {
908b74cd 18724 (char *) "self",(char *) "ischange", NULL
d14a1e28
RD
18725 };
18726
18727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18730 arg2 = (bool) SWIG_AsBool(obj1);
18731 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 (arg1)->SetWindowChange(arg2);
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
18739 Py_INCREF(Py_None); resultobj = Py_None;
18740 return resultobj;
18741 fail:
18742 return NULL;
18743}
18744
18745
908b74cd
RD
18746static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
18747 PyObject *resultobj;
18748 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18749 long arg2 ;
18750 PyObject * obj0 = 0 ;
18751 PyObject * obj1 = 0 ;
18752 char *kwnames[] = {
18753 (char *) "self",(char *) "flags", NULL
18754 };
18755
18756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
18757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18759 arg2 = (long) SWIG_AsLong(obj1);
18760 if (PyErr_Occurred()) SWIG_fail;
18761 {
18762 PyThreadState* __tstate = wxPyBeginAllowThreads();
18763 (arg1)->SetFlags(arg2);
18764
18765 wxPyEndAllowThreads(__tstate);
18766 if (PyErr_Occurred()) SWIG_fail;
18767 }
18768 Py_INCREF(Py_None); resultobj = Py_None;
18769 return resultobj;
18770 fail:
18771 return NULL;
18772}
18773
18774
d14a1e28
RD
18775static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18776 PyObject *resultobj;
18777 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18778 wxWindow *result;
18779 PyObject * obj0 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "self", NULL
18782 };
18783
18784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
18785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18787 {
18788 PyThreadState* __tstate = wxPyBeginAllowThreads();
18789 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18790
18791 wxPyEndAllowThreads(__tstate);
18792 if (PyErr_Occurred()) SWIG_fail;
18793 }
18794 {
412d302d 18795 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18796 }
18797 return resultobj;
18798 fail:
18799 return NULL;
18800}
18801
18802
18803static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18804 PyObject *resultobj;
18805 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18806 wxWindow *arg2 = (wxWindow *) 0 ;
18807 PyObject * obj0 = 0 ;
18808 PyObject * obj1 = 0 ;
18809 char *kwnames[] = {
18810 (char *) "self",(char *) "win", NULL
18811 };
18812
18813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18818 {
18819 PyThreadState* __tstate = wxPyBeginAllowThreads();
18820 (arg1)->SetCurrentFocus(arg2);
18821
18822 wxPyEndAllowThreads(__tstate);
18823 if (PyErr_Occurred()) SWIG_fail;
18824 }
18825 Py_INCREF(Py_None); resultobj = Py_None;
18826 return resultobj;
18827 fail:
18828 return NULL;
18829}
18830
18831
18832static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
18833 PyObject *obj;
18834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18835 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18836 Py_INCREF(obj);
18837 return Py_BuildValue((char *)"");
18838}
18839static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18840 PyObject *resultobj;
18841 wxWindow *arg1 = (wxWindow *) NULL ;
18842 wxWindowCreateEvent *result;
18843 PyObject * obj0 = 0 ;
18844 char *kwnames[] = {
18845 (char *) "win", NULL
18846 };
18847
18848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18849 if (obj0) {
15afbcd0
RD
18850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18852 }
18853 {
18854 PyThreadState* __tstate = wxPyBeginAllowThreads();
18855 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18856
18857 wxPyEndAllowThreads(__tstate);
18858 if (PyErr_Occurred()) SWIG_fail;
18859 }
15afbcd0 18860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
d14a1e28
RD
18861 return resultobj;
18862 fail:
18863 return NULL;
18864}
18865
18866
18867static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18868 PyObject *resultobj;
18869 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18870 wxWindow *result;
18871 PyObject * obj0 = 0 ;
18872 char *kwnames[] = {
18873 (char *) "self", NULL
18874 };
18875
18876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
18878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 {
412d302d 18887 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18888 }
18889 return resultobj;
18890 fail:
18891 return NULL;
18892}
18893
18894
18895static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
18896 PyObject *obj;
18897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18898 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18899 Py_INCREF(obj);
18900 return Py_BuildValue((char *)"");
18901}
18902static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18903 PyObject *resultobj;
18904 wxWindow *arg1 = (wxWindow *) NULL ;
18905 wxWindowDestroyEvent *result;
18906 PyObject * obj0 = 0 ;
18907 char *kwnames[] = {
18908 (char *) "win", NULL
18909 };
18910
18911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18912 if (obj0) {
15afbcd0
RD
18913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18915 }
18916 {
18917 PyThreadState* __tstate = wxPyBeginAllowThreads();
18918 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18919
18920 wxPyEndAllowThreads(__tstate);
18921 if (PyErr_Occurred()) SWIG_fail;
18922 }
15afbcd0 18923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
d14a1e28
RD
18924 return resultobj;
18925 fail:
18926 return NULL;
18927}
18928
18929
18930static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18931 PyObject *resultobj;
18932 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
18933 wxWindow *result;
18934 PyObject * obj0 = 0 ;
18935 char *kwnames[] = {
18936 (char *) "self", NULL
18937 };
18938
18939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
18941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18942 {
18943 PyThreadState* __tstate = wxPyBeginAllowThreads();
18944 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
18945
18946 wxPyEndAllowThreads(__tstate);
18947 if (PyErr_Occurred()) SWIG_fail;
18948 }
18949 {
412d302d 18950 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18951 }
18952 return resultobj;
18953 fail:
18954 return NULL;
18955}
18956
18957
18958static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
18959 PyObject *obj;
18960 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18961 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
18962 Py_INCREF(obj);
18963 return Py_BuildValue((char *)"");
18964}
18965static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18966 PyObject *resultobj;
18967 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 18968 int arg2 = (int) 0 ;
d14a1e28
RD
18969 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18970 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18971 wxContextMenuEvent *result;
18972 wxPoint temp3 ;
994141e6
RD
18973 PyObject * obj0 = 0 ;
18974 PyObject * obj1 = 0 ;
d14a1e28
RD
18975 PyObject * obj2 = 0 ;
18976 char *kwnames[] = {
18977 (char *) "type",(char *) "winid",(char *) "pt", NULL
18978 };
18979
994141e6
RD
18980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
18981 if (obj0) {
15afbcd0
RD
18982 arg1 = (wxEventType) SWIG_AsInt(obj0);
18983 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18984 }
18985 if (obj1) {
15afbcd0
RD
18986 arg2 = (int) SWIG_AsInt(obj1);
18987 if (PyErr_Occurred()) SWIG_fail;
994141e6 18988 }
d14a1e28
RD
18989 if (obj2) {
18990 {
18991 arg3 = &temp3;
18992 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18993 }
18994 }
18995 {
18996 PyThreadState* __tstate = wxPyBeginAllowThreads();
18997 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
18998
18999 wxPyEndAllowThreads(__tstate);
19000 if (PyErr_Occurred()) SWIG_fail;
19001 }
15afbcd0 19002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
d14a1e28
RD
19003 return resultobj;
19004 fail:
19005 return NULL;
19006}
19007
19008
19009static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19010 PyObject *resultobj;
19011 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
19012 wxPoint *result;
19013 PyObject * obj0 = 0 ;
19014 char *kwnames[] = {
19015 (char *) "self", NULL
19016 };
19017
19018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
19019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
19020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19021 {
19022 PyThreadState* __tstate = wxPyBeginAllowThreads();
19023 {
19024 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
19025 result = (wxPoint *) &_result_ref;
19026 }
19027
19028 wxPyEndAllowThreads(__tstate);
19029 if (PyErr_Occurred()) SWIG_fail;
19030 }
15afbcd0 19031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
19032 return resultobj;
19033 fail:
19034 return NULL;
19035}
19036
19037
19038static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
19039 PyObject *resultobj;
19040 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
19041 wxPoint *arg2 = 0 ;
19042 wxPoint temp2 ;
19043 PyObject * obj0 = 0 ;
19044 PyObject * obj1 = 0 ;
19045 char *kwnames[] = {
19046 (char *) "self",(char *) "pos", NULL
19047 };
19048
19049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
19051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19052 {
19053 arg2 = &temp2;
19054 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19055 }
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 (arg1)->SetPosition((wxPoint const &)*arg2);
19059
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 Py_INCREF(Py_None); resultobj = Py_None;
19064 return resultobj;
19065 fail:
19066 return NULL;
19067}
19068
19069
19070static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
19071 PyObject *obj;
19072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19073 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
19074 Py_INCREF(obj);
19075 return Py_BuildValue((char *)"");
19076}
19077static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19078 PyObject *resultobj;
19079 wxIdleEvent *result;
19080 char *kwnames[] = {
19081 NULL
19082 };
19083
19084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
19085 {
19086 PyThreadState* __tstate = wxPyBeginAllowThreads();
19087 result = (wxIdleEvent *)new wxIdleEvent();
19088
19089 wxPyEndAllowThreads(__tstate);
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
15afbcd0 19092 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
d14a1e28
RD
19093 return resultobj;
19094 fail:
19095 return NULL;
19096}
19097
19098
19099static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
19100 PyObject *resultobj;
19101 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
e811c8ce 19102 bool arg2 = (bool) True ;
d14a1e28
RD
19103 PyObject * obj0 = 0 ;
19104 PyObject * obj1 = 0 ;
19105 char *kwnames[] = {
19106 (char *) "self",(char *) "needMore", NULL
19107 };
19108
19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19112 if (obj1) {
15afbcd0
RD
19113 arg2 = (bool) SWIG_AsBool(obj1);
19114 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19115 }
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 (arg1)->RequestMore(arg2);
19119
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 Py_INCREF(Py_None); resultobj = Py_None;
19124 return resultobj;
19125 fail:
19126 return NULL;
19127}
19128
19129
19130static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
19131 PyObject *resultobj;
19132 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
19133 bool result;
19134 PyObject * obj0 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
15afbcd0
RD
19140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
4f89f6a3
RD
19149 {
19150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19151 }
d14a1e28
RD
19152 return resultobj;
19153 fail:
19154 return NULL;
19155}
19156
19157
19158static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19159 PyObject *resultobj;
19160 int arg1 ;
994141e6 19161 PyObject * obj0 = 0 ;
d14a1e28
RD
19162 char *kwnames[] = {
19163 (char *) "mode", NULL
19164 };
19165
994141e6 19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
19167 arg1 = (wxIdleMode) SWIG_AsInt(obj0);
19168 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 wxIdleEvent::SetMode((wxIdleMode )arg1);
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 Py_INCREF(Py_None); resultobj = Py_None;
19177 return resultobj;
19178 fail:
19179 return NULL;
19180}
19181
19182
19183static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19184 PyObject *resultobj;
19185 int result;
19186 char *kwnames[] = {
19187 NULL
19188 };
19189
19190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
19191 {
19192 PyThreadState* __tstate = wxPyBeginAllowThreads();
19193 result = (int)wxIdleEvent::GetMode();
19194
19195 wxPyEndAllowThreads(__tstate);
19196 if (PyErr_Occurred()) SWIG_fail;
19197 }
15afbcd0 19198 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19199 return resultobj;
19200 fail:
19201 return NULL;
19202}
19203
19204
19205static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
19206 PyObject *resultobj;
19207 wxWindow *arg1 = (wxWindow *) 0 ;
19208 bool result;
19209 PyObject * obj0 = 0 ;
19210 char *kwnames[] = {
19211 (char *) "win", NULL
19212 };
19213
19214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
15afbcd0
RD
19215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19217 {
19218 PyThreadState* __tstate = wxPyBeginAllowThreads();
19219 result = (bool)wxIdleEvent::CanSend(arg1);
19220
19221 wxPyEndAllowThreads(__tstate);
19222 if (PyErr_Occurred()) SWIG_fail;
19223 }
4f89f6a3
RD
19224 {
19225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19226 }
d14a1e28
RD
19227 return resultobj;
19228 fail:
19229 return NULL;
19230}
19231
19232
19233static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
19234 PyObject *obj;
19235 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19236 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
19237 Py_INCREF(obj);
19238 return Py_BuildValue((char *)"");
19239}
19240static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19241 PyObject *resultobj;
19242 int arg1 = (int) 0 ;
19243 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
19244 wxPyEvent *result;
994141e6
RD
19245 PyObject * obj0 = 0 ;
19246 PyObject * obj1 = 0 ;
d14a1e28
RD
19247 char *kwnames[] = {
19248 (char *) "winid",(char *) "commandType", NULL
19249 };
19250
994141e6
RD
19251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19252 if (obj0) {
15afbcd0
RD
19253 arg1 = (int) SWIG_AsInt(obj0);
19254 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19255 }
19256 if (obj1) {
15afbcd0
RD
19257 arg2 = (wxEventType) SWIG_AsInt(obj1);
19258 if (PyErr_Occurred()) SWIG_fail;
994141e6 19259 }
d14a1e28
RD
19260 {
19261 PyThreadState* __tstate = wxPyBeginAllowThreads();
19262 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19263
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
15afbcd0 19267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
d14a1e28
RD
19268 return resultobj;
19269 fail:
19270 return NULL;
19271}
19272
19273
19274static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19275 PyObject *resultobj;
19276 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19277 PyObject * obj0 = 0 ;
19278 char *kwnames[] = {
19279 (char *) "self", NULL
19280 };
19281
19282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19285 {
19286 PyThreadState* __tstate = wxPyBeginAllowThreads();
19287 delete arg1;
19288
19289 wxPyEndAllowThreads(__tstate);
19290 if (PyErr_Occurred()) SWIG_fail;
19291 }
19292 Py_INCREF(Py_None); resultobj = Py_None;
19293 return resultobj;
19294 fail:
19295 return NULL;
19296}
19297
19298
19299static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19300 PyObject *resultobj;
19301 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19302 PyObject *arg2 = (PyObject *) 0 ;
19303 PyObject * obj0 = 0 ;
19304 PyObject * obj1 = 0 ;
19305 char *kwnames[] = {
19306 (char *) "self",(char *) "self", NULL
19307 };
19308
19309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19312 arg2 = obj1;
19313 {
19314 PyThreadState* __tstate = wxPyBeginAllowThreads();
19315 (arg1)->SetSelf(arg2);
19316
19317 wxPyEndAllowThreads(__tstate);
19318 if (PyErr_Occurred()) SWIG_fail;
19319 }
19320 Py_INCREF(Py_None); resultobj = Py_None;
19321 return resultobj;
19322 fail:
19323 return NULL;
19324}
19325
19326
19327static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19328 PyObject *resultobj;
19329 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19330 PyObject *result;
19331 PyObject * obj0 = 0 ;
19332 char *kwnames[] = {
19333 (char *) "self", NULL
19334 };
19335
19336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19339 {
19340 PyThreadState* __tstate = wxPyBeginAllowThreads();
19341 result = (PyObject *)(arg1)->GetSelf();
19342
19343 wxPyEndAllowThreads(__tstate);
19344 if (PyErr_Occurred()) SWIG_fail;
19345 }
19346 resultobj = result;
19347 return resultobj;
19348 fail:
19349 return NULL;
19350}
19351
19352
19353static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
19354 PyObject *obj;
19355 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19356 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19357 Py_INCREF(obj);
19358 return Py_BuildValue((char *)"");
19359}
19360static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19361 PyObject *resultobj;
19362 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19363 int arg2 = (int) 0 ;
19364 wxPyCommandEvent *result;
994141e6
RD
19365 PyObject * obj0 = 0 ;
19366 PyObject * obj1 = 0 ;
d14a1e28
RD
19367 char *kwnames[] = {
19368 (char *) "commandType",(char *) "id", NULL
19369 };
19370
994141e6
RD
19371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19372 if (obj0) {
15afbcd0
RD
19373 arg1 = (wxEventType) SWIG_AsInt(obj0);
19374 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19375 }
19376 if (obj1) {
15afbcd0
RD
19377 arg2 = (int) SWIG_AsInt(obj1);
19378 if (PyErr_Occurred()) SWIG_fail;
994141e6 19379 }
d14a1e28
RD
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
15afbcd0 19387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
d14a1e28
RD
19388 return resultobj;
19389 fail:
19390 return NULL;
19391}
19392
19393
19394static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19395 PyObject *resultobj;
19396 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19397 PyObject * obj0 = 0 ;
19398 char *kwnames[] = {
19399 (char *) "self", NULL
19400 };
19401
19402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19405 {
19406 PyThreadState* __tstate = wxPyBeginAllowThreads();
19407 delete arg1;
19408
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 Py_INCREF(Py_None); resultobj = Py_None;
19413 return resultobj;
19414 fail:
19415 return NULL;
19416}
19417
19418
19419static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19420 PyObject *resultobj;
19421 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19422 PyObject *arg2 = (PyObject *) 0 ;
19423 PyObject * obj0 = 0 ;
19424 PyObject * obj1 = 0 ;
19425 char *kwnames[] = {
19426 (char *) "self",(char *) "self", NULL
19427 };
19428
19429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19432 arg2 = obj1;
19433 {
19434 PyThreadState* __tstate = wxPyBeginAllowThreads();
19435 (arg1)->SetSelf(arg2);
19436
19437 wxPyEndAllowThreads(__tstate);
19438 if (PyErr_Occurred()) SWIG_fail;
19439 }
19440 Py_INCREF(Py_None); resultobj = Py_None;
19441 return resultobj;
19442 fail:
19443 return NULL;
19444}
19445
19446
19447static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19448 PyObject *resultobj;
19449 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19450 PyObject *result;
19451 PyObject * obj0 = 0 ;
19452 char *kwnames[] = {
19453 (char *) "self", NULL
19454 };
19455
19456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19459 {
19460 PyThreadState* __tstate = wxPyBeginAllowThreads();
19461 result = (PyObject *)(arg1)->GetSelf();
19462
19463 wxPyEndAllowThreads(__tstate);
19464 if (PyErr_Occurred()) SWIG_fail;
19465 }
19466 resultobj = result;
19467 return resultobj;
19468 fail:
19469 return NULL;
19470}
19471
19472
19473static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
19474 PyObject *obj;
19475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19476 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19477 Py_INCREF(obj);
19478 return Py_BuildValue((char *)"");
19479}
19480static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19481 PyObject *resultobj;
19482 wxPyApp *result;
19483 char *kwnames[] = {
19484 NULL
19485 };
19486
19487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19488 {
19489 PyThreadState* __tstate = wxPyBeginAllowThreads();
19490 result = (wxPyApp *)new_wxPyApp();
19491
19492 wxPyEndAllowThreads(__tstate);
19493 if (PyErr_Occurred()) SWIG_fail;
19494 }
19495 {
412d302d 19496 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
19497 }
19498 return resultobj;
19499 fail:
19500 return NULL;
19501}
19502
19503
19504static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19505 PyObject *resultobj;
19506 wxPyApp *arg1 = (wxPyApp *) 0 ;
19507 PyObject * obj0 = 0 ;
19508 char *kwnames[] = {
19509 (char *) "self", NULL
19510 };
19511
19512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
19513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19515 {
19516 PyThreadState* __tstate = wxPyBeginAllowThreads();
19517 delete arg1;
19518
19519 wxPyEndAllowThreads(__tstate);
19520 if (PyErr_Occurred()) SWIG_fail;
19521 }
19522 Py_INCREF(Py_None); resultobj = Py_None;
19523 return resultobj;
19524 fail:
19525 return NULL;
19526}
19527
19528
19529static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19530 PyObject *resultobj;
19531 wxPyApp *arg1 = (wxPyApp *) 0 ;
19532 PyObject *arg2 = (PyObject *) 0 ;
19533 PyObject *arg3 = (PyObject *) 0 ;
19534 PyObject * obj0 = 0 ;
19535 PyObject * obj1 = 0 ;
19536 PyObject * obj2 = 0 ;
19537 char *kwnames[] = {
19538 (char *) "self",(char *) "self",(char *) "_class", NULL
19539 };
19540
19541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19544 arg2 = obj1;
19545 arg3 = obj2;
19546 {
19547 PyThreadState* __tstate = wxPyBeginAllowThreads();
19548 (arg1)->_setCallbackInfo(arg2,arg3);
19549
19550 wxPyEndAllowThreads(__tstate);
19551 if (PyErr_Occurred()) SWIG_fail;
19552 }
19553 Py_INCREF(Py_None); resultobj = Py_None;
19554 return resultobj;
19555 fail:
19556 return NULL;
19557}
19558
19559
19560static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19561 PyObject *resultobj;
19562 wxPyApp *arg1 = (wxPyApp *) 0 ;
19563 wxString result;
19564 PyObject * obj0 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "self", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19572 {
19573 PyThreadState* __tstate = wxPyBeginAllowThreads();
19574 result = ((wxPyApp const *)arg1)->GetAppName();
19575
19576 wxPyEndAllowThreads(__tstate);
19577 if (PyErr_Occurred()) SWIG_fail;
19578 }
19579 {
19580#if wxUSE_UNICODE
19581 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19582#else
19583 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19584#endif
19585 }
19586 return resultobj;
19587 fail:
19588 return NULL;
19589}
19590
19591
19592static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19593 PyObject *resultobj;
19594 wxPyApp *arg1 = (wxPyApp *) 0 ;
19595 wxString *arg2 = 0 ;
e811c8ce 19596 bool temp2 = False ;
d14a1e28
RD
19597 PyObject * obj0 = 0 ;
19598 PyObject * obj1 = 0 ;
19599 char *kwnames[] = {
19600 (char *) "self",(char *) "name", NULL
19601 };
19602
19603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19606 {
19607 arg2 = wxString_in_helper(obj1);
19608 if (arg2 == NULL) SWIG_fail;
e811c8ce 19609 temp2 = True;
d14a1e28
RD
19610 }
19611 {
19612 PyThreadState* __tstate = wxPyBeginAllowThreads();
19613 (arg1)->SetAppName((wxString const &)*arg2);
19614
19615 wxPyEndAllowThreads(__tstate);
19616 if (PyErr_Occurred()) SWIG_fail;
19617 }
19618 Py_INCREF(Py_None); resultobj = Py_None;
19619 {
19620 if (temp2)
19621 delete arg2;
19622 }
19623 return resultobj;
19624 fail:
19625 {
19626 if (temp2)
19627 delete arg2;
19628 }
19629 return NULL;
19630}
19631
19632
19633static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19634 PyObject *resultobj;
19635 wxPyApp *arg1 = (wxPyApp *) 0 ;
19636 wxString result;
19637 PyObject * obj0 = 0 ;
19638 char *kwnames[] = {
19639 (char *) "self", NULL
19640 };
19641
19642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19645 {
19646 PyThreadState* __tstate = wxPyBeginAllowThreads();
19647 result = ((wxPyApp const *)arg1)->GetClassName();
19648
19649 wxPyEndAllowThreads(__tstate);
19650 if (PyErr_Occurred()) SWIG_fail;
19651 }
19652 {
19653#if wxUSE_UNICODE
19654 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19655#else
19656 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19657#endif
19658 }
19659 return resultobj;
19660 fail:
19661 return NULL;
19662}
19663
19664
19665static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19666 PyObject *resultobj;
19667 wxPyApp *arg1 = (wxPyApp *) 0 ;
19668 wxString *arg2 = 0 ;
e811c8ce 19669 bool temp2 = False ;
d14a1e28
RD
19670 PyObject * obj0 = 0 ;
19671 PyObject * obj1 = 0 ;
19672 char *kwnames[] = {
19673 (char *) "self",(char *) "name", NULL
19674 };
19675
19676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19679 {
19680 arg2 = wxString_in_helper(obj1);
19681 if (arg2 == NULL) SWIG_fail;
e811c8ce 19682 temp2 = True;
d14a1e28
RD
19683 }
19684 {
19685 PyThreadState* __tstate = wxPyBeginAllowThreads();
19686 (arg1)->SetClassName((wxString const &)*arg2);
19687
19688 wxPyEndAllowThreads(__tstate);
19689 if (PyErr_Occurred()) SWIG_fail;
19690 }
19691 Py_INCREF(Py_None); resultobj = Py_None;
19692 {
19693 if (temp2)
19694 delete arg2;
19695 }
19696 return resultobj;
19697 fail:
19698 {
19699 if (temp2)
19700 delete arg2;
19701 }
19702 return NULL;
19703}
19704
19705
19706static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19707 PyObject *resultobj;
19708 wxPyApp *arg1 = (wxPyApp *) 0 ;
19709 wxString *result;
19710 PyObject * obj0 = 0 ;
19711 char *kwnames[] = {
19712 (char *) "self", NULL
19713 };
19714
19715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19718 {
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 {
19721 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
19722 result = (wxString *) &_result_ref;
19723 }
19724
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
cc6dd355
RD
19728 {
19729#if wxUSE_UNICODE
19730 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19731#else
19732 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19733#endif
19734 }
d14a1e28
RD
19735 return resultobj;
19736 fail:
19737 return NULL;
19738}
19739
19740
19741static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19742 PyObject *resultobj;
19743 wxPyApp *arg1 = (wxPyApp *) 0 ;
19744 wxString *arg2 = 0 ;
e811c8ce 19745 bool temp2 = False ;
d14a1e28
RD
19746 PyObject * obj0 = 0 ;
19747 PyObject * obj1 = 0 ;
19748 char *kwnames[] = {
19749 (char *) "self",(char *) "name", NULL
19750 };
19751
19752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19755 {
19756 arg2 = wxString_in_helper(obj1);
19757 if (arg2 == NULL) SWIG_fail;
e811c8ce 19758 temp2 = True;
d14a1e28
RD
19759 }
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 (arg1)->SetVendorName((wxString const &)*arg2);
19763
19764 wxPyEndAllowThreads(__tstate);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 Py_INCREF(Py_None); resultobj = Py_None;
19768 {
19769 if (temp2)
19770 delete arg2;
19771 }
19772 return resultobj;
19773 fail:
19774 {
19775 if (temp2)
19776 delete arg2;
19777 }
19778 return NULL;
19779}
19780
19781
19782static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
19783 PyObject *resultobj;
19784 wxPyApp *arg1 = (wxPyApp *) 0 ;
19785 wxAppTraits *result;
19786 PyObject * obj0 = 0 ;
19787 char *kwnames[] = {
19788 (char *) "self", NULL
19789 };
19790
19791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
15afbcd0
RD
19792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19794 {
19795 PyThreadState* __tstate = wxPyBeginAllowThreads();
19796 result = (wxAppTraits *)(arg1)->GetTraits();
19797
19798 wxPyEndAllowThreads(__tstate);
19799 if (PyErr_Occurred()) SWIG_fail;
19800 }
15afbcd0 19801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
d14a1e28
RD
19802 return resultobj;
19803 fail:
19804 return NULL;
19805}
19806
19807
19808static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19809 PyObject *resultobj;
19810 wxPyApp *arg1 = (wxPyApp *) 0 ;
19811 PyObject * obj0 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
19817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 (arg1)->ProcessPendingEvents();
19822
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 Py_INCREF(Py_None); resultobj = Py_None;
19827 return resultobj;
19828 fail:
19829 return NULL;
19830}
19831
19832
19833static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
19834 PyObject *resultobj;
19835 wxPyApp *arg1 = (wxPyApp *) 0 ;
e811c8ce 19836 bool arg2 = (bool) False ;
d14a1e28
RD
19837 bool result;
19838 PyObject * obj0 = 0 ;
19839 PyObject * obj1 = 0 ;
19840 char *kwnames[] = {
19841 (char *) "self",(char *) "onlyIfNeeded", NULL
19842 };
19843
19844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19847 if (obj1) {
15afbcd0
RD
19848 arg2 = (bool) SWIG_AsBool(obj1);
19849 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19850 }
19851 {
19852 PyThreadState* __tstate = wxPyBeginAllowThreads();
19853 result = (bool)(arg1)->Yield(arg2);
19854
19855 wxPyEndAllowThreads(__tstate);
19856 if (PyErr_Occurred()) SWIG_fail;
19857 }
4f89f6a3
RD
19858 {
19859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19860 }
d14a1e28
RD
19861 return resultobj;
19862 fail:
19863 return NULL;
19864}
19865
19866
19867static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19868 PyObject *resultobj;
19869 wxPyApp *arg1 = (wxPyApp *) 0 ;
19870 PyObject * obj0 = 0 ;
19871 char *kwnames[] = {
19872 (char *) "self", NULL
19873 };
19874
19875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
19876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19878 {
19879 PyThreadState* __tstate = wxPyBeginAllowThreads();
19880 (arg1)->WakeUpIdle();
19881
19882 wxPyEndAllowThreads(__tstate);
19883 if (PyErr_Occurred()) SWIG_fail;
19884 }
19885 Py_INCREF(Py_None); resultobj = Py_None;
19886 return resultobj;
19887 fail:
19888 return NULL;
19889}
19890
19891
19892static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19893 PyObject *resultobj;
19894 wxPyApp *arg1 = (wxPyApp *) 0 ;
19895 int result;
19896 PyObject * obj0 = 0 ;
19897 char *kwnames[] = {
19898 (char *) "self", NULL
19899 };
19900
19901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
19902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19904 {
19905 PyThreadState* __tstate = wxPyBeginAllowThreads();
19906 result = (int)(arg1)->MainLoop();
19907
19908 wxPyEndAllowThreads(__tstate);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 }
15afbcd0 19911 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19912 return resultobj;
19913 fail:
19914 return NULL;
19915}
19916
19917
19918static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
19919 PyObject *resultobj;
19920 wxPyApp *arg1 = (wxPyApp *) 0 ;
19921 PyObject * obj0 = 0 ;
19922 char *kwnames[] = {
19923 (char *) "self", NULL
19924 };
19925
19926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
15afbcd0
RD
19927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19929 {
19930 PyThreadState* __tstate = wxPyBeginAllowThreads();
19931 (arg1)->Exit();
19932
19933 wxPyEndAllowThreads(__tstate);
19934 if (PyErr_Occurred()) SWIG_fail;
19935 }
19936 Py_INCREF(Py_None); resultobj = Py_None;
19937 return resultobj;
19938 fail:
19939 return NULL;
19940}
19941
19942
19943static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19944 PyObject *resultobj;
19945 wxPyApp *arg1 = (wxPyApp *) 0 ;
19946 PyObject * obj0 = 0 ;
19947 char *kwnames[] = {
19948 (char *) "self", NULL
19949 };
19950
19951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
19952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19954 {
19955 PyThreadState* __tstate = wxPyBeginAllowThreads();
19956 (arg1)->ExitMainLoop();
19957
19958 wxPyEndAllowThreads(__tstate);
19959 if (PyErr_Occurred()) SWIG_fail;
19960 }
19961 Py_INCREF(Py_None); resultobj = Py_None;
19962 return resultobj;
19963 fail:
19964 return NULL;
19965}
19966
19967
19968static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
19969 PyObject *resultobj;
19970 wxPyApp *arg1 = (wxPyApp *) 0 ;
19971 bool result;
19972 PyObject * obj0 = 0 ;
19973 char *kwnames[] = {
19974 (char *) "self", NULL
19975 };
19976
19977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
15afbcd0
RD
19978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19980 {
19981 PyThreadState* __tstate = wxPyBeginAllowThreads();
19982 result = (bool)(arg1)->Pending();
19983
19984 wxPyEndAllowThreads(__tstate);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 }
4f89f6a3
RD
19987 {
19988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19989 }
d14a1e28
RD
19990 return resultobj;
19991 fail:
19992 return NULL;
19993}
19994
19995
19996static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
19997 PyObject *resultobj;
19998 wxPyApp *arg1 = (wxPyApp *) 0 ;
19999 bool result;
20000 PyObject * obj0 = 0 ;
20001 char *kwnames[] = {
20002 (char *) "self", NULL
20003 };
20004
20005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
20006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20008 {
20009 PyThreadState* __tstate = wxPyBeginAllowThreads();
20010 result = (bool)(arg1)->Dispatch();
20011
20012 wxPyEndAllowThreads(__tstate);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
4f89f6a3
RD
20015 {
20016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20017 }
d14a1e28
RD
20018 return resultobj;
20019 fail:
20020 return NULL;
20021}
20022
20023
20024static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20025 PyObject *resultobj;
20026 wxPyApp *arg1 = (wxPyApp *) 0 ;
20027 bool result;
20028 PyObject * obj0 = 0 ;
20029 char *kwnames[] = {
20030 (char *) "self", NULL
20031 };
20032
20033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
20034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20036 {
20037 PyThreadState* __tstate = wxPyBeginAllowThreads();
20038 result = (bool)(arg1)->ProcessIdle();
20039
20040 wxPyEndAllowThreads(__tstate);
20041 if (PyErr_Occurred()) SWIG_fail;
20042 }
4f89f6a3
RD
20043 {
20044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20045 }
d14a1e28
RD
20046 return resultobj;
20047 fail:
20048 return NULL;
20049}
20050
20051
20052static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
20053 PyObject *resultobj;
20054 wxPyApp *arg1 = (wxPyApp *) 0 ;
20055 wxWindow *arg2 = (wxWindow *) 0 ;
20056 wxIdleEvent *arg3 = 0 ;
20057 bool result;
20058 PyObject * obj0 = 0 ;
20059 PyObject * obj1 = 0 ;
20060 PyObject * obj2 = 0 ;
20061 char *kwnames[] = {
20062 (char *) "self",(char *) "win",(char *) "event", NULL
20063 };
20064
20065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20068 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20070 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
20071 SWIG_POINTER_EXCEPTION | 0)) == -1)
20072 SWIG_fail;
d14a1e28 20073 if (arg3 == NULL) {
15afbcd0
RD
20074 PyErr_SetString(PyExc_TypeError,"null reference");
20075 SWIG_fail;
d14a1e28
RD
20076 }
20077 {
20078 PyThreadState* __tstate = wxPyBeginAllowThreads();
20079 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
20080
20081 wxPyEndAllowThreads(__tstate);
20082 if (PyErr_Occurred()) SWIG_fail;
20083 }
4f89f6a3
RD
20084 {
20085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20086 }
d14a1e28
RD
20087 return resultobj;
20088 fail:
20089 return NULL;
20090}
20091
20092
d14a1e28
RD
20093static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
20094 PyObject *resultobj;
20095 wxPyApp *arg1 = (wxPyApp *) 0 ;
20096 bool result;
20097 PyObject * obj0 = 0 ;
20098 char *kwnames[] = {
20099 (char *) "self", NULL
20100 };
20101
20102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
20103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20105 {
20106 PyThreadState* __tstate = wxPyBeginAllowThreads();
20107 result = (bool)((wxPyApp const *)arg1)->IsActive();
20108
20109 wxPyEndAllowThreads(__tstate);
20110 if (PyErr_Occurred()) SWIG_fail;
20111 }
4f89f6a3
RD
20112 {
20113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20114 }
d14a1e28
RD
20115 return resultobj;
20116 fail:
20117 return NULL;
20118}
20119
20120
20121static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20122 PyObject *resultobj;
20123 wxPyApp *arg1 = (wxPyApp *) 0 ;
20124 wxWindow *arg2 = (wxWindow *) 0 ;
20125 PyObject * obj0 = 0 ;
20126 PyObject * obj1 = 0 ;
20127 char *kwnames[] = {
20128 (char *) "self",(char *) "win", NULL
20129 };
20130
20131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20136 {
20137 PyThreadState* __tstate = wxPyBeginAllowThreads();
20138 (arg1)->SetTopWindow(arg2);
20139
20140 wxPyEndAllowThreads(__tstate);
20141 if (PyErr_Occurred()) SWIG_fail;
20142 }
20143 Py_INCREF(Py_None); resultobj = Py_None;
20144 return resultobj;
20145 fail:
20146 return NULL;
20147}
20148
20149
20150static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20151 PyObject *resultobj;
20152 wxPyApp *arg1 = (wxPyApp *) 0 ;
20153 wxWindow *result;
20154 PyObject * obj0 = 0 ;
20155 char *kwnames[] = {
20156 (char *) "self", NULL
20157 };
20158
20159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
20160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20162 {
20163 PyThreadState* __tstate = wxPyBeginAllowThreads();
20164 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
20165
20166 wxPyEndAllowThreads(__tstate);
20167 if (PyErr_Occurred()) SWIG_fail;
20168 }
20169 {
412d302d 20170 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
20171 }
20172 return resultobj;
20173 fail:
20174 return NULL;
20175}
20176
20177
20178static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20179 PyObject *resultobj;
20180 wxPyApp *arg1 = (wxPyApp *) 0 ;
20181 bool arg2 ;
20182 PyObject * obj0 = 0 ;
20183 PyObject * obj1 = 0 ;
20184 char *kwnames[] = {
20185 (char *) "self",(char *) "flag", NULL
20186 };
20187
20188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20191 arg2 = (bool) SWIG_AsBool(obj1);
20192 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 (arg1)->SetExitOnFrameDelete(arg2);
20196
20197 wxPyEndAllowThreads(__tstate);
20198 if (PyErr_Occurred()) SWIG_fail;
20199 }
20200 Py_INCREF(Py_None); resultobj = Py_None;
20201 return resultobj;
20202 fail:
20203 return NULL;
20204}
20205
20206
20207static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20208 PyObject *resultobj;
20209 wxPyApp *arg1 = (wxPyApp *) 0 ;
20210 bool result;
20211 PyObject * obj0 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
15afbcd0
RD
20217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20219 {
20220 PyThreadState* __tstate = wxPyBeginAllowThreads();
20221 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
20222
20223 wxPyEndAllowThreads(__tstate);
20224 if (PyErr_Occurred()) SWIG_fail;
20225 }
4f89f6a3
RD
20226 {
20227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20228 }
d14a1e28
RD
20229 return resultobj;
20230 fail:
20231 return NULL;
20232}
20233
20234
20235static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20236 PyObject *resultobj;
20237 wxPyApp *arg1 = (wxPyApp *) 0 ;
20238 bool arg2 ;
20239 PyObject * obj0 = 0 ;
20240 PyObject * obj1 = 0 ;
20241 char *kwnames[] = {
20242 (char *) "self",(char *) "flag", NULL
20243 };
20244
20245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20248 arg2 = (bool) SWIG_AsBool(obj1);
20249 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 (arg1)->SetUseBestVisual(arg2);
20253
20254 wxPyEndAllowThreads(__tstate);
20255 if (PyErr_Occurred()) SWIG_fail;
20256 }
20257 Py_INCREF(Py_None); resultobj = Py_None;
20258 return resultobj;
20259 fail:
20260 return NULL;
20261}
20262
20263
20264static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20265 PyObject *resultobj;
20266 wxPyApp *arg1 = (wxPyApp *) 0 ;
20267 bool result;
20268 PyObject * obj0 = 0 ;
20269 char *kwnames[] = {
20270 (char *) "self", NULL
20271 };
20272
20273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
15afbcd0
RD
20274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20279
20280 wxPyEndAllowThreads(__tstate);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 }
4f89f6a3
RD
20283 {
20284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20285 }
d14a1e28
RD
20286 return resultobj;
20287 fail:
20288 return NULL;
20289}
20290
20291
20292static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20293 PyObject *resultobj;
20294 wxPyApp *arg1 = (wxPyApp *) 0 ;
20295 int arg2 ;
20296 PyObject * obj0 = 0 ;
994141e6 20297 PyObject * obj1 = 0 ;
d14a1e28
RD
20298 char *kwnames[] = {
20299 (char *) "self",(char *) "mode", NULL
20300 };
20301
994141e6 20302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20305 arg2 = (int) SWIG_AsInt(obj1);
20306 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20307 {
20308 PyThreadState* __tstate = wxPyBeginAllowThreads();
20309 (arg1)->SetPrintMode(arg2);
20310
20311 wxPyEndAllowThreads(__tstate);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 Py_INCREF(Py_None); resultobj = Py_None;
20315 return resultobj;
20316 fail:
20317 return NULL;
20318}
20319
20320
20321static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20322 PyObject *resultobj;
20323 wxPyApp *arg1 = (wxPyApp *) 0 ;
20324 int result;
20325 PyObject * obj0 = 0 ;
20326 char *kwnames[] = {
20327 (char *) "self", NULL
20328 };
20329
20330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20333 {
20334 PyThreadState* __tstate = wxPyBeginAllowThreads();
20335 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20336
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
15afbcd0 20340 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20341 return resultobj;
20342 fail:
20343 return NULL;
20344}
20345
20346
6c3b4aae 20347static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20348 PyObject *resultobj;
20349 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20350 int arg2 ;
d14a1e28 20351 PyObject * obj0 = 0 ;
994141e6 20352 PyObject * obj1 = 0 ;
d14a1e28 20353 char *kwnames[] = {
6c3b4aae 20354 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
20355 };
20356
994141e6 20357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20360 arg2 = (int) SWIG_AsInt(obj1);
20361 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20362 {
20363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20364 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
20365
20366 wxPyEndAllowThreads(__tstate);
20367 if (PyErr_Occurred()) SWIG_fail;
20368 }
6c3b4aae 20369 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
20370 return resultobj;
20371 fail:
20372 return NULL;
20373}
20374
20375
6c3b4aae 20376static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20377 PyObject *resultobj;
20378 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20379 int result;
d14a1e28
RD
20380 PyObject * obj0 = 0 ;
20381 char *kwnames[] = {
6c3b4aae 20382 (char *) "self", NULL
d14a1e28
RD
20383 };
20384
6c3b4aae 20385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20388 {
20389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20390 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
20391
20392 wxPyEndAllowThreads(__tstate);
20393 if (PyErr_Occurred()) SWIG_fail;
20394 }
15afbcd0 20395 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20396 return resultobj;
20397 fail:
20398 return NULL;
20399}
20400
20401
20402static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20403 PyObject *resultobj;
20404 bool result;
20405 char *kwnames[] = {
20406 NULL
20407 };
20408
20409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20410 {
20411 PyThreadState* __tstate = wxPyBeginAllowThreads();
20412 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20413
20414 wxPyEndAllowThreads(__tstate);
20415 if (PyErr_Occurred()) SWIG_fail;
20416 }
4f89f6a3
RD
20417 {
20418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20419 }
d14a1e28
RD
20420 return resultobj;
20421 fail:
20422 return NULL;
20423}
20424
20425
20426static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20427 PyObject *resultobj;
20428 long result;
20429 char *kwnames[] = {
20430 NULL
20431 };
20432
20433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20434 {
20435 PyThreadState* __tstate = wxPyBeginAllowThreads();
20436 result = (long)wxPyApp::GetMacAboutMenuItemId();
20437
20438 wxPyEndAllowThreads(__tstate);
20439 if (PyErr_Occurred()) SWIG_fail;
20440 }
15afbcd0 20441 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20442 return resultobj;
20443 fail:
20444 return NULL;
20445}
20446
20447
20448static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20449 PyObject *resultobj;
20450 long result;
20451 char *kwnames[] = {
20452 NULL
20453 };
20454
20455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20456 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20459
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
15afbcd0 20463 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20464 return resultobj;
20465 fail:
20466 return NULL;
20467}
20468
20469
20470static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20471 PyObject *resultobj;
20472 long result;
20473 char *kwnames[] = {
20474 NULL
20475 };
20476
20477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 result = (long)wxPyApp::GetMacExitMenuItemId();
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
15afbcd0 20485 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20486 return resultobj;
20487 fail:
20488 return NULL;
20489}
20490
20491
20492static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20493 PyObject *resultobj;
20494 wxString result;
20495 char *kwnames[] = {
20496 NULL
20497 };
20498
20499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20500 {
20501 PyThreadState* __tstate = wxPyBeginAllowThreads();
20502 result = wxPyApp::GetMacHelpMenuTitleName();
20503
20504 wxPyEndAllowThreads(__tstate);
20505 if (PyErr_Occurred()) SWIG_fail;
20506 }
20507 {
20508#if wxUSE_UNICODE
20509 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20510#else
20511 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20512#endif
20513 }
20514 return resultobj;
20515 fail:
20516 return NULL;
20517}
20518
20519
20520static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20521 PyObject *resultobj;
20522 bool arg1 ;
20523 PyObject * obj0 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "val", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
15afbcd0
RD
20529 arg1 = (bool) SWIG_AsBool(obj0);
20530 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20534
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 Py_INCREF(Py_None); resultobj = Py_None;
20539 return resultobj;
20540 fail:
20541 return NULL;
20542}
20543
20544
20545static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj;
20547 long arg1 ;
994141e6 20548 PyObject * obj0 = 0 ;
d14a1e28
RD
20549 char *kwnames[] = {
20550 (char *) "val", NULL
20551 };
20552
994141e6 20553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20554 arg1 = (long) SWIG_AsLong(obj0);
20555 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20556 {
20557 PyThreadState* __tstate = wxPyBeginAllowThreads();
20558 wxPyApp::SetMacAboutMenuItemId(arg1);
20559
20560 wxPyEndAllowThreads(__tstate);
20561 if (PyErr_Occurred()) SWIG_fail;
20562 }
20563 Py_INCREF(Py_None); resultobj = Py_None;
20564 return resultobj;
20565 fail:
20566 return NULL;
20567}
20568
20569
20570static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20571 PyObject *resultobj;
20572 long arg1 ;
994141e6 20573 PyObject * obj0 = 0 ;
d14a1e28
RD
20574 char *kwnames[] = {
20575 (char *) "val", NULL
20576 };
20577
994141e6 20578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20579 arg1 = (long) SWIG_AsLong(obj0);
20580 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20581 {
20582 PyThreadState* __tstate = wxPyBeginAllowThreads();
20583 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20584
20585 wxPyEndAllowThreads(__tstate);
20586 if (PyErr_Occurred()) SWIG_fail;
20587 }
20588 Py_INCREF(Py_None); resultobj = Py_None;
20589 return resultobj;
20590 fail:
20591 return NULL;
20592}
20593
20594
20595static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20596 PyObject *resultobj;
20597 long arg1 ;
994141e6 20598 PyObject * obj0 = 0 ;
d14a1e28
RD
20599 char *kwnames[] = {
20600 (char *) "val", NULL
20601 };
20602
994141e6 20603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20604 arg1 = (long) SWIG_AsLong(obj0);
20605 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20606 {
20607 PyThreadState* __tstate = wxPyBeginAllowThreads();
20608 wxPyApp::SetMacExitMenuItemId(arg1);
20609
20610 wxPyEndAllowThreads(__tstate);
20611 if (PyErr_Occurred()) SWIG_fail;
20612 }
20613 Py_INCREF(Py_None); resultobj = Py_None;
20614 return resultobj;
20615 fail:
20616 return NULL;
20617}
20618
20619
20620static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20621 PyObject *resultobj;
20622 wxString *arg1 = 0 ;
e811c8ce 20623 bool temp1 = False ;
d14a1e28
RD
20624 PyObject * obj0 = 0 ;
20625 char *kwnames[] = {
20626 (char *) "val", NULL
20627 };
20628
20629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20630 {
20631 arg1 = wxString_in_helper(obj0);
20632 if (arg1 == NULL) SWIG_fail;
e811c8ce 20633 temp1 = True;
d14a1e28
RD
20634 }
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
20637 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20638
20639 wxPyEndAllowThreads(__tstate);
20640 if (PyErr_Occurred()) SWIG_fail;
20641 }
20642 Py_INCREF(Py_None); resultobj = Py_None;
20643 {
20644 if (temp1)
20645 delete arg1;
20646 }
20647 return resultobj;
20648 fail:
20649 {
20650 if (temp1)
20651 delete arg1;
20652 }
20653 return NULL;
20654}
20655
20656
20657static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20658 PyObject *resultobj;
20659 wxPyApp *arg1 = (wxPyApp *) 0 ;
20660 PyObject * obj0 = 0 ;
20661 char *kwnames[] = {
20662 (char *) "self", NULL
20663 };
20664
20665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
20666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20668 {
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 (arg1)->_BootstrapApp();
20671
20672 wxPyEndAllowThreads(__tstate);
20673 if (PyErr_Occurred()) SWIG_fail;
20674 }
20675 Py_INCREF(Py_None); resultobj = Py_None;
20676 return resultobj;
20677 fail:
20678 return NULL;
20679}
20680
20681
20682static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
20683 PyObject *resultobj;
20684 int result;
20685 char *kwnames[] = {
20686 NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
20690 {
20691 PyThreadState* __tstate = wxPyBeginAllowThreads();
20692 result = (int)PyApp_GetComCtl32Version();
20693
20694 wxPyEndAllowThreads(__tstate);
20695 if (PyErr_Occurred()) SWIG_fail;
20696 }
15afbcd0 20697 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20698 return resultobj;
20699 fail:
20700 return NULL;
20701}
20702
20703
20704static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
20705 PyObject *obj;
20706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20707 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
20708 Py_INCREF(obj);
20709 return Py_BuildValue((char *)"");
20710}
20711static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
20712 PyObject *resultobj;
20713 char *kwnames[] = {
20714 NULL
20715 };
20716
20717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
20718 {
20719 PyThreadState* __tstate = wxPyBeginAllowThreads();
20720 wxExit();
20721
20722 wxPyEndAllowThreads(__tstate);
20723 if (PyErr_Occurred()) SWIG_fail;
20724 }
20725 Py_INCREF(Py_None); resultobj = Py_None;
20726 return resultobj;
20727 fail:
20728 return NULL;
20729}
20730
20731
20732static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
20733 PyObject *resultobj;
20734 bool result;
20735 char *kwnames[] = {
20736 NULL
20737 };
20738
20739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 result = (bool)wxYield();
20743
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
4f89f6a3
RD
20747 {
20748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20749 }
d14a1e28
RD
20750 return resultobj;
20751 fail:
20752 return NULL;
20753}
20754
20755
20756static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
20757 PyObject *resultobj;
20758 bool result;
20759 char *kwnames[] = {
20760 NULL
20761 };
20762
20763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 result = (bool)wxYieldIfNeeded();
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
4f89f6a3
RD
20771 {
20772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20773 }
d14a1e28
RD
20774 return resultobj;
20775 fail:
20776 return NULL;
20777}
20778
20779
20780static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
20781 PyObject *resultobj;
20782 wxWindow *arg1 = (wxWindow *) NULL ;
e811c8ce 20783 bool arg2 = (bool) False ;
d14a1e28
RD
20784 bool result;
20785 PyObject * obj0 = 0 ;
20786 PyObject * obj1 = 0 ;
20787 char *kwnames[] = {
20788 (char *) "win",(char *) "onlyIfNeeded", NULL
20789 };
20790
20791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20792 if (obj0) {
15afbcd0
RD
20793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20795 }
20796 if (obj1) {
15afbcd0
RD
20797 arg2 = (bool) SWIG_AsBool(obj1);
20798 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20799 }
20800 {
20801 PyThreadState* __tstate = wxPyBeginAllowThreads();
20802 result = (bool)wxSafeYield(arg1,arg2);
20803
20804 wxPyEndAllowThreads(__tstate);
20805 if (PyErr_Occurred()) SWIG_fail;
20806 }
4f89f6a3
RD
20807 {
20808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20809 }
d14a1e28
RD
20810 return resultobj;
20811 fail:
20812 return NULL;
20813}
20814
20815
20816static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20817 PyObject *resultobj;
20818 char *kwnames[] = {
20819 NULL
20820 };
20821
20822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20823 {
20824 PyThreadState* __tstate = wxPyBeginAllowThreads();
20825 wxWakeUpIdle();
20826
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 Py_INCREF(Py_None); resultobj = Py_None;
20831 return resultobj;
20832 fail:
20833 return NULL;
20834}
20835
20836
20837static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20838 PyObject *resultobj;
20839 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20840 wxEvent *arg2 = 0 ;
20841 PyObject * obj0 = 0 ;
20842 PyObject * obj1 = 0 ;
20843 char *kwnames[] = {
20844 (char *) "dest",(char *) "event", NULL
20845 };
20846
20847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
20849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20850 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
20851 SWIG_POINTER_EXCEPTION | 0)) == -1)
20852 SWIG_fail;
d14a1e28 20853 if (arg2 == NULL) {
15afbcd0
RD
20854 PyErr_SetString(PyExc_TypeError,"null reference");
20855 SWIG_fail;
d14a1e28
RD
20856 }
20857 {
20858 PyThreadState* __tstate = wxPyBeginAllowThreads();
20859 wxPostEvent(arg1,*arg2);
20860
20861 wxPyEndAllowThreads(__tstate);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 }
20864 Py_INCREF(Py_None); resultobj = Py_None;
20865 return resultobj;
20866 fail:
20867 return NULL;
20868}
20869
20870
20871static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
20872 PyObject *resultobj;
20873 char *kwnames[] = {
20874 NULL
20875 };
20876
20877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20878 {
20879 PyThreadState* __tstate = wxPyBeginAllowThreads();
20880 wxApp_CleanUp();
20881
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 Py_INCREF(Py_None); resultobj = Py_None;
20886 return resultobj;
20887 fail:
20888 return NULL;
20889}
20890
20891
20892static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20893 PyObject *resultobj;
20894 wxPyApp *result;
20895 char *kwnames[] = {
20896 NULL
20897 };
20898
20899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20900 {
20901 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 20902 result = (wxPyApp *)wxPyGetApp();
d14a1e28
RD
20903
20904 wxPyEndAllowThreads(__tstate);
20905 if (PyErr_Occurred()) SWIG_fail;
20906 }
20907 {
412d302d 20908 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
20909 }
20910 return resultobj;
20911 fail:
20912 return NULL;
20913}
20914
20915
1e0c8722
RD
20916static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20917 PyObject *resultobj;
20918 int arg1 = (int) 0 ;
20919 int arg2 = (int) 0 ;
20920 int arg3 = (int) 0 ;
1e0c8722 20921 wxAcceleratorEntry *result;
994141e6
RD
20922 PyObject * obj0 = 0 ;
20923 PyObject * obj1 = 0 ;
20924 PyObject * obj2 = 0 ;
1e0c8722 20925 char *kwnames[] = {
66c033b4 20926 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
1e0c8722
RD
20927 };
20928
66c033b4 20929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 20930 if (obj0) {
15afbcd0
RD
20931 arg1 = (int) SWIG_AsInt(obj0);
20932 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
20933 }
20934 if (obj1) {
15afbcd0
RD
20935 arg2 = (int) SWIG_AsInt(obj1);
20936 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
20937 }
20938 if (obj2) {
15afbcd0
RD
20939 arg3 = (int) SWIG_AsInt(obj2);
20940 if (PyErr_Occurred()) SWIG_fail;
994141e6 20941 }
1e0c8722
RD
20942 {
20943 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 20944 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3);
1e0c8722
RD
20945
20946 wxPyEndAllowThreads(__tstate);
20947 if (PyErr_Occurred()) SWIG_fail;
20948 }
15afbcd0 20949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
1e0c8722
RD
20950 return resultobj;
20951 fail:
20952 return NULL;
20953}
20954
20955
20956static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20957 PyObject *resultobj;
20958 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20959 PyObject * obj0 = 0 ;
20960 char *kwnames[] = {
20961 (char *) "self", NULL
20962 };
20963
20964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
15afbcd0
RD
20965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20967 {
20968 PyThreadState* __tstate = wxPyBeginAllowThreads();
20969 delete arg1;
20970
20971 wxPyEndAllowThreads(__tstate);
20972 if (PyErr_Occurred()) SWIG_fail;
20973 }
20974 Py_INCREF(Py_None); resultobj = Py_None;
20975 return resultobj;
20976 fail:
20977 return NULL;
20978}
20979
20980
20981static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
20982 PyObject *resultobj;
20983 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20984 int arg2 ;
20985 int arg3 ;
20986 int arg4 ;
1e0c8722 20987 PyObject * obj0 = 0 ;
994141e6
RD
20988 PyObject * obj1 = 0 ;
20989 PyObject * obj2 = 0 ;
20990 PyObject * obj3 = 0 ;
1e0c8722 20991 char *kwnames[] = {
66c033b4 20992 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
1e0c8722
RD
20993 };
20994
66c033b4 20995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
20996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20998 arg2 = (int) SWIG_AsInt(obj1);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 arg3 = (int) SWIG_AsInt(obj2);
21001 if (PyErr_Occurred()) SWIG_fail;
21002 arg4 = (int) SWIG_AsInt(obj3);
21003 if (PyErr_Occurred()) SWIG_fail;
1e0c8722
RD
21004 {
21005 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 21006 (arg1)->Set(arg2,arg3,arg4);
1e0c8722
RD
21007
21008 wxPyEndAllowThreads(__tstate);
21009 if (PyErr_Occurred()) SWIG_fail;
21010 }
21011 Py_INCREF(Py_None); resultobj = Py_None;
21012 return resultobj;
21013 fail:
21014 return NULL;
21015}
21016
21017
1e0c8722
RD
21018static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
21019 PyObject *resultobj;
21020 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21021 int result;
21022 PyObject * obj0 = 0 ;
21023 char *kwnames[] = {
21024 (char *) "self", NULL
21025 };
21026
21027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
21028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21030 {
21031 PyThreadState* __tstate = wxPyBeginAllowThreads();
21032 result = (int)(arg1)->GetFlags();
21033
21034 wxPyEndAllowThreads(__tstate);
21035 if (PyErr_Occurred()) SWIG_fail;
21036 }
15afbcd0 21037 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
21038 return resultobj;
21039 fail:
21040 return NULL;
21041}
21042
21043
21044static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
21045 PyObject *resultobj;
21046 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21047 int result;
21048 PyObject * obj0 = 0 ;
21049 char *kwnames[] = {
21050 (char *) "self", NULL
21051 };
21052
21053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
21054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21056 {
21057 PyThreadState* __tstate = wxPyBeginAllowThreads();
21058 result = (int)(arg1)->GetKeyCode();
21059
21060 wxPyEndAllowThreads(__tstate);
21061 if (PyErr_Occurred()) SWIG_fail;
21062 }
15afbcd0 21063 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
21064 return resultobj;
21065 fail:
21066 return NULL;
21067}
21068
21069
21070static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
21071 PyObject *resultobj;
21072 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21073 int result;
21074 PyObject * obj0 = 0 ;
21075 char *kwnames[] = {
21076 (char *) "self", NULL
21077 };
21078
21079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
21080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21082 {
21083 PyThreadState* __tstate = wxPyBeginAllowThreads();
21084 result = (int)(arg1)->GetCommand();
21085
21086 wxPyEndAllowThreads(__tstate);
21087 if (PyErr_Occurred()) SWIG_fail;
21088 }
15afbcd0 21089 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
21090 return resultobj;
21091 fail:
21092 return NULL;
21093}
21094
21095
21096static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
21097 PyObject *obj;
21098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21099 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
21100 Py_INCREF(obj);
21101 return Py_BuildValue((char *)"");
21102}
21103static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21104 PyObject *resultobj;
21105 int arg1 ;
21106 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
21107 wxAcceleratorTable *result;
21108 PyObject * obj0 = 0 ;
21109 char *kwnames[] = {
21110 (char *) "n", NULL
21111 };
21112
21113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
21114 {
21115 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
21116 if (arg2) arg1 = PyList_Size(obj0);
21117 else arg1 = 0;
21118 }
21119 {
21120 PyThreadState* __tstate = wxPyBeginAllowThreads();
21121 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
21122
21123 wxPyEndAllowThreads(__tstate);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 }
15afbcd0 21126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
1e0c8722
RD
21127 {
21128 delete [] arg2;
21129 }
21130 return resultobj;
21131 fail:
21132 {
21133 delete [] arg2;
21134 }
21135 return NULL;
21136}
21137
21138
21139static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21140 PyObject *resultobj;
21141 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21142 PyObject * obj0 = 0 ;
21143 char *kwnames[] = {
21144 (char *) "self", NULL
21145 };
21146
21147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
21148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21150 {
21151 PyThreadState* __tstate = wxPyBeginAllowThreads();
21152 delete arg1;
21153
21154 wxPyEndAllowThreads(__tstate);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 Py_INCREF(Py_None); resultobj = Py_None;
21158 return resultobj;
21159 fail:
21160 return NULL;
21161}
21162
21163
21164static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21165 PyObject *resultobj;
21166 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21167 bool result;
21168 PyObject * obj0 = 0 ;
21169 char *kwnames[] = {
21170 (char *) "self", NULL
21171 };
21172
21173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
21174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21176 {
21177 PyThreadState* __tstate = wxPyBeginAllowThreads();
21178 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21179
21180 wxPyEndAllowThreads(__tstate);
21181 if (PyErr_Occurred()) SWIG_fail;
21182 }
4f89f6a3
RD
21183 {
21184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21185 }
1e0c8722
RD
21186 return resultobj;
21187 fail:
21188 return NULL;
21189}
21190
21191
21192static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
21193 PyObject *obj;
21194 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21195 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21196 Py_INCREF(obj);
21197 return Py_BuildValue((char *)"");
21198}
21199static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
21200 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21201 return 1;
21202}
21203
21204
21205static PyObject *_wrap_NullAcceleratorTable_get() {
21206 PyObject *pyobj;
21207
15afbcd0 21208 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
1e0c8722
RD
21209 return pyobj;
21210}
21211
21212
21213static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
21214 PyObject *resultobj;
21215 wxString *arg1 = 0 ;
21216 wxAcceleratorEntry *result;
21217 bool temp1 = False ;
21218 PyObject * obj0 = 0 ;
21219 char *kwnames[] = {
21220 (char *) "label", NULL
21221 };
21222
21223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21224 {
21225 arg1 = wxString_in_helper(obj0);
21226 if (arg1 == NULL) SWIG_fail;
21227 temp1 = True;
21228 }
21229 {
21230 PyThreadState* __tstate = wxPyBeginAllowThreads();
21231 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21232
21233 wxPyEndAllowThreads(__tstate);
21234 if (PyErr_Occurred()) SWIG_fail;
21235 }
15afbcd0 21236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
1e0c8722
RD
21237 {
21238 if (temp1)
21239 delete arg1;
21240 }
21241 return resultobj;
21242 fail:
21243 {
21244 if (temp1)
21245 delete arg1;
21246 }
21247 return NULL;
21248}
21249
21250
e811c8ce
RD
21251static int _wrap_PanelNameStr_set(PyObject *_val) {
21252 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21253 return 1;
21254}
21255
21256
21257static PyObject *_wrap_PanelNameStr_get() {
21258 PyObject *pyobj;
21259
21260 {
21261#if wxUSE_UNICODE
21262 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21263#else
21264 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21265#endif
21266 }
21267 return pyobj;
21268}
21269
21270
74a57fcd
RD
21271static PyObject *_wrap_new_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21272 PyObject *resultobj;
21273 wxVisualAttributes *result;
21274 char *kwnames[] = {
21275 NULL
21276 };
21277
21278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
21279 {
21280 PyThreadState* __tstate = wxPyBeginAllowThreads();
21281 result = (wxVisualAttributes *)new_wxVisualAttributes();
21282
21283 wxPyEndAllowThreads(__tstate);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 }
21286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
21287 return resultobj;
21288 fail:
21289 return NULL;
21290}
21291
21292
21293static PyObject *_wrap_delete_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21294 PyObject *resultobj;
21295 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21296 PyObject * obj0 = 0 ;
21297 char *kwnames[] = {
21298 (char *) "self", NULL
21299 };
21300
21301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
21302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21304 {
21305 PyThreadState* __tstate = wxPyBeginAllowThreads();
21306 delete_wxVisualAttributes(arg1);
21307
21308 wxPyEndAllowThreads(__tstate);
21309 if (PyErr_Occurred()) SWIG_fail;
21310 }
21311 Py_INCREF(Py_None); resultobj = Py_None;
21312 return resultobj;
21313 fail:
21314 return NULL;
21315}
21316
21317
21318static PyObject *_wrap_VisualAttributes_font_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21319 PyObject *resultobj;
21320 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21321 wxFont *arg2 = (wxFont *) 0 ;
21322 PyObject * obj0 = 0 ;
21323 PyObject * obj1 = 0 ;
21324 char *kwnames[] = {
21325 (char *) "self",(char *) "font", NULL
21326 };
21327
21328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
21329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
21332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21333 if (arg1) (arg1)->font = *arg2;
21334
21335 Py_INCREF(Py_None); resultobj = Py_None;
21336 return resultobj;
21337 fail:
21338 return NULL;
21339}
21340
21341
21342static PyObject *_wrap_VisualAttributes_font_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21343 PyObject *resultobj;
21344 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21345 wxFont *result;
21346 PyObject * obj0 = 0 ;
21347 char *kwnames[] = {
21348 (char *) "self", NULL
21349 };
21350
21351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
21352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21354 result = (wxFont *)& ((arg1)->font);
21355
21356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
21357 return resultobj;
21358 fail:
21359 return NULL;
21360}
21361
21362
21363static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj;
21365 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21366 wxColour *arg2 = (wxColour *) 0 ;
21367 PyObject * obj0 = 0 ;
21368 PyObject * obj1 = 0 ;
21369 char *kwnames[] = {
21370 (char *) "self",(char *) "colFg", NULL
21371 };
21372
21373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
21374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21378 if (arg1) (arg1)->colFg = *arg2;
21379
21380 Py_INCREF(Py_None); resultobj = Py_None;
21381 return resultobj;
21382 fail:
21383 return NULL;
21384}
21385
21386
21387static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21388 PyObject *resultobj;
21389 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21390 wxColour *result;
21391 PyObject * obj0 = 0 ;
21392 char *kwnames[] = {
21393 (char *) "self", NULL
21394 };
21395
21396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
21397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21399 result = (wxColour *)& ((arg1)->colFg);
21400
21401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21402 return resultobj;
21403 fail:
21404 return NULL;
21405}
21406
21407
21408static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21409 PyObject *resultobj;
21410 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21411 wxColour *arg2 = (wxColour *) 0 ;
21412 PyObject * obj0 = 0 ;
21413 PyObject * obj1 = 0 ;
21414 char *kwnames[] = {
21415 (char *) "self",(char *) "colBg", NULL
21416 };
21417
21418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
21419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21421 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21423 if (arg1) (arg1)->colBg = *arg2;
21424
21425 Py_INCREF(Py_None); resultobj = Py_None;
21426 return resultobj;
21427 fail:
21428 return NULL;
21429}
21430
21431
21432static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21433 PyObject *resultobj;
21434 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21435 wxColour *result;
21436 PyObject * obj0 = 0 ;
21437 char *kwnames[] = {
21438 (char *) "self", NULL
21439 };
21440
21441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
21442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21444 result = (wxColour *)& ((arg1)->colBg);
21445
21446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21447 return resultobj;
21448 fail:
21449 return NULL;
21450}
21451
21452
21453static PyObject * VisualAttributes_swigregister(PyObject *self, PyObject *args) {
21454 PyObject *obj;
21455 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21456 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
21457 Py_INCREF(obj);
21458 return Py_BuildValue((char *)"");
21459}
d14a1e28
RD
21460static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
21461 PyObject *resultobj;
21462 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 21463 int arg2 = (int) (int)-1 ;
d14a1e28
RD
21464 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21465 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21466 wxSize const &arg4_defvalue = wxDefaultSize ;
21467 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21468 long arg5 = (long) 0 ;
21469 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21470 wxString *arg6 = (wxString *) &arg6_defvalue ;
21471 wxWindow *result;
21472 wxPoint temp3 ;
21473 wxSize temp4 ;
e811c8ce 21474 bool temp6 = False ;
d14a1e28 21475 PyObject * obj0 = 0 ;
994141e6 21476 PyObject * obj1 = 0 ;
d14a1e28
RD
21477 PyObject * obj2 = 0 ;
21478 PyObject * obj3 = 0 ;
994141e6 21479 PyObject * obj4 = 0 ;
d14a1e28
RD
21480 PyObject * obj5 = 0 ;
21481 char *kwnames[] = {
21482 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21483 };
21484
74a57fcd 21485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
21486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
21488 if (obj1) {
21489 arg2 = (int const) SWIG_AsInt(obj1);
21490 if (PyErr_Occurred()) SWIG_fail;
21491 }
d14a1e28
RD
21492 if (obj2) {
21493 {
21494 arg3 = &temp3;
21495 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21496 }
21497 }
21498 if (obj3) {
21499 {
21500 arg4 = &temp4;
21501 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21502 }
21503 }
994141e6 21504 if (obj4) {
15afbcd0
RD
21505 arg5 = (long) SWIG_AsLong(obj4);
21506 if (PyErr_Occurred()) SWIG_fail;
994141e6 21507 }
d14a1e28
RD
21508 if (obj5) {
21509 {
21510 arg6 = wxString_in_helper(obj5);
21511 if (arg6 == NULL) SWIG_fail;
e811c8ce 21512 temp6 = True;
d14a1e28
RD
21513 }
21514 }
21515 {
e3b71cb8 21516 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21517 PyThreadState* __tstate = wxPyBeginAllowThreads();
21518 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21519
21520 wxPyEndAllowThreads(__tstate);
110da5b0 21521 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21522 }
21523 {
412d302d 21524 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
21525 }
21526 {
21527 if (temp6)
21528 delete arg6;
21529 }
21530 return resultobj;
21531 fail:
21532 {
21533 if (temp6)
21534 delete arg6;
21535 }
21536 return NULL;
21537}
21538
21539
21540static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21541 PyObject *resultobj;
21542 wxWindow *result;
21543 char *kwnames[] = {
21544 NULL
21545 };
21546
21547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
21548 {
e3b71cb8 21549 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 result = (wxWindow *)new wxWindow();
21552
21553 wxPyEndAllowThreads(__tstate);
110da5b0 21554 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21555 }
21556 {
412d302d 21557 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
21558 }
21559 return resultobj;
21560 fail:
21561 return NULL;
21562}
21563
21564
21565static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21566 PyObject *resultobj;
21567 wxWindow *arg1 = (wxWindow *) 0 ;
21568 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 21569 int arg3 = (int) (int)-1 ;
d14a1e28
RD
21570 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21571 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21572 wxSize const &arg5_defvalue = wxDefaultSize ;
21573 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21574 long arg6 = (long) 0 ;
21575 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21576 wxString *arg7 = (wxString *) &arg7_defvalue ;
21577 bool result;
21578 wxPoint temp4 ;
21579 wxSize temp5 ;
e811c8ce 21580 bool temp7 = False ;
d14a1e28
RD
21581 PyObject * obj0 = 0 ;
21582 PyObject * obj1 = 0 ;
994141e6 21583 PyObject * obj2 = 0 ;
d14a1e28
RD
21584 PyObject * obj3 = 0 ;
21585 PyObject * obj4 = 0 ;
994141e6 21586 PyObject * obj5 = 0 ;
d14a1e28
RD
21587 PyObject * obj6 = 0 ;
21588 char *kwnames[] = {
21589 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21590 };
21591
74a57fcd 21592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
21593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd
RD
21597 if (obj2) {
21598 arg3 = (int const) SWIG_AsInt(obj2);
21599 if (PyErr_Occurred()) SWIG_fail;
21600 }
d14a1e28
RD
21601 if (obj3) {
21602 {
21603 arg4 = &temp4;
21604 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21605 }
21606 }
21607 if (obj4) {
21608 {
21609 arg5 = &temp5;
21610 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21611 }
21612 }
994141e6 21613 if (obj5) {
15afbcd0
RD
21614 arg6 = (long) SWIG_AsLong(obj5);
21615 if (PyErr_Occurred()) SWIG_fail;
994141e6 21616 }
d14a1e28
RD
21617 if (obj6) {
21618 {
21619 arg7 = wxString_in_helper(obj6);
21620 if (arg7 == NULL) SWIG_fail;
e811c8ce 21621 temp7 = True;
d14a1e28
RD
21622 }
21623 }
21624 {
21625 PyThreadState* __tstate = wxPyBeginAllowThreads();
21626 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21627
21628 wxPyEndAllowThreads(__tstate);
21629 if (PyErr_Occurred()) SWIG_fail;
21630 }
4f89f6a3
RD
21631 {
21632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21633 }
d14a1e28
RD
21634 {
21635 if (temp7)
21636 delete arg7;
21637 }
21638 return resultobj;
21639 fail:
21640 {
21641 if (temp7)
21642 delete arg7;
21643 }
21644 return NULL;
21645}
21646
21647
21648static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
21649 PyObject *resultobj;
21650 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21651 bool arg2 = (bool) False ;
d14a1e28
RD
21652 bool result;
21653 PyObject * obj0 = 0 ;
21654 PyObject * obj1 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self",(char *) "force", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 21662 if (obj1) {
15afbcd0
RD
21663 arg2 = (bool) SWIG_AsBool(obj1);
21664 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21665 }
21666 {
21667 PyThreadState* __tstate = wxPyBeginAllowThreads();
21668 result = (bool)(arg1)->Close(arg2);
21669
21670 wxPyEndAllowThreads(__tstate);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
4f89f6a3
RD
21673 {
21674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21675 }
d14a1e28
RD
21676 return resultobj;
21677 fail:
21678 return NULL;
21679}
21680
21681
21682static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
21683 PyObject *resultobj;
21684 wxWindow *arg1 = (wxWindow *) 0 ;
21685 bool result;
21686 PyObject * obj0 = 0 ;
21687 char *kwnames[] = {
21688 (char *) "self", NULL
21689 };
21690
21691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
21692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21694 {
21695 PyThreadState* __tstate = wxPyBeginAllowThreads();
21696 result = (bool)(arg1)->Destroy();
21697
21698 wxPyEndAllowThreads(__tstate);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
4f89f6a3
RD
21701 {
21702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21703 }
d14a1e28
RD
21704 return resultobj;
21705 fail:
21706 return NULL;
21707}
21708
21709
21710static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21711 PyObject *resultobj;
21712 wxWindow *arg1 = (wxWindow *) 0 ;
21713 bool result;
21714 PyObject * obj0 = 0 ;
21715 char *kwnames[] = {
21716 (char *) "self", NULL
21717 };
21718
21719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
21720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21722 {
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 result = (bool)(arg1)->DestroyChildren();
21725
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
4f89f6a3
RD
21729 {
21730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21731 }
d14a1e28
RD
21732 return resultobj;
21733 fail:
21734 return NULL;
21735}
21736
21737
21738static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
21739 PyObject *resultobj;
21740 wxWindow *arg1 = (wxWindow *) 0 ;
21741 bool result;
21742 PyObject * obj0 = 0 ;
21743 char *kwnames[] = {
21744 (char *) "self", NULL
21745 };
21746
21747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
15afbcd0
RD
21748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21750 {
21751 PyThreadState* __tstate = wxPyBeginAllowThreads();
21752 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
21753
21754 wxPyEndAllowThreads(__tstate);
21755 if (PyErr_Occurred()) SWIG_fail;
21756 }
4f89f6a3
RD
21757 {
21758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21759 }
d14a1e28
RD
21760 return resultobj;
21761 fail:
21762 return NULL;
21763}
21764
21765
21766static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21767 PyObject *resultobj;
21768 wxWindow *arg1 = (wxWindow *) 0 ;
21769 wxString *arg2 = 0 ;
e811c8ce 21770 bool temp2 = False ;
d14a1e28
RD
21771 PyObject * obj0 = 0 ;
21772 PyObject * obj1 = 0 ;
21773 char *kwnames[] = {
21774 (char *) "self",(char *) "title", NULL
21775 };
21776
21777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21780 {
21781 arg2 = wxString_in_helper(obj1);
21782 if (arg2 == NULL) SWIG_fail;
e811c8ce 21783 temp2 = True;
d14a1e28
RD
21784 }
21785 {
21786 PyThreadState* __tstate = wxPyBeginAllowThreads();
21787 (arg1)->SetTitle((wxString const &)*arg2);
21788
21789 wxPyEndAllowThreads(__tstate);
21790 if (PyErr_Occurred()) SWIG_fail;
21791 }
21792 Py_INCREF(Py_None); resultobj = Py_None;
21793 {
21794 if (temp2)
21795 delete arg2;
21796 }
21797 return resultobj;
21798 fail:
21799 {
21800 if (temp2)
21801 delete arg2;
21802 }
21803 return NULL;
21804}
21805
21806
21807static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21808 PyObject *resultobj;
21809 wxWindow *arg1 = (wxWindow *) 0 ;
21810 wxString result;
21811 PyObject * obj0 = 0 ;
21812 char *kwnames[] = {
21813 (char *) "self", NULL
21814 };
21815
21816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
21817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21819 {
21820 PyThreadState* __tstate = wxPyBeginAllowThreads();
21821 result = ((wxWindow const *)arg1)->GetTitle();
21822
21823 wxPyEndAllowThreads(__tstate);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 }
21826 {
21827#if wxUSE_UNICODE
21828 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21829#else
21830 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21831#endif
21832 }
21833 return resultobj;
21834 fail:
21835 return NULL;
21836}
21837
21838
21839static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21840 PyObject *resultobj;
21841 wxWindow *arg1 = (wxWindow *) 0 ;
21842 wxString *arg2 = 0 ;
e811c8ce 21843 bool temp2 = False ;
d14a1e28
RD
21844 PyObject * obj0 = 0 ;
21845 PyObject * obj1 = 0 ;
21846 char *kwnames[] = {
21847 (char *) "self",(char *) "label", NULL
21848 };
21849
21850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21853 {
21854 arg2 = wxString_in_helper(obj1);
21855 if (arg2 == NULL) SWIG_fail;
e811c8ce 21856 temp2 = True;
d14a1e28
RD
21857 }
21858 {
21859 PyThreadState* __tstate = wxPyBeginAllowThreads();
21860 (arg1)->SetLabel((wxString const &)*arg2);
21861
21862 wxPyEndAllowThreads(__tstate);
21863 if (PyErr_Occurred()) SWIG_fail;
21864 }
21865 Py_INCREF(Py_None); resultobj = Py_None;
21866 {
21867 if (temp2)
21868 delete arg2;
21869 }
21870 return resultobj;
21871 fail:
21872 {
21873 if (temp2)
21874 delete arg2;
21875 }
21876 return NULL;
21877}
21878
21879
21880static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21881 PyObject *resultobj;
21882 wxWindow *arg1 = (wxWindow *) 0 ;
21883 wxString result;
21884 PyObject * obj0 = 0 ;
21885 char *kwnames[] = {
21886 (char *) "self", NULL
21887 };
21888
21889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
21890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21892 {
21893 PyThreadState* __tstate = wxPyBeginAllowThreads();
21894 result = ((wxWindow const *)arg1)->GetLabel();
21895
21896 wxPyEndAllowThreads(__tstate);
21897 if (PyErr_Occurred()) SWIG_fail;
21898 }
21899 {
21900#if wxUSE_UNICODE
21901 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21902#else
21903 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21904#endif
21905 }
21906 return resultobj;
21907 fail:
21908 return NULL;
21909}
21910
21911
21912static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21913 PyObject *resultobj;
21914 wxWindow *arg1 = (wxWindow *) 0 ;
21915 wxString *arg2 = 0 ;
e811c8ce 21916 bool temp2 = False ;
d14a1e28
RD
21917 PyObject * obj0 = 0 ;
21918 PyObject * obj1 = 0 ;
21919 char *kwnames[] = {
21920 (char *) "self",(char *) "name", NULL
21921 };
21922
21923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21926 {
21927 arg2 = wxString_in_helper(obj1);
21928 if (arg2 == NULL) SWIG_fail;
e811c8ce 21929 temp2 = True;
d14a1e28
RD
21930 }
21931 {
21932 PyThreadState* __tstate = wxPyBeginAllowThreads();
21933 (arg1)->SetName((wxString const &)*arg2);
21934
21935 wxPyEndAllowThreads(__tstate);
21936 if (PyErr_Occurred()) SWIG_fail;
21937 }
21938 Py_INCREF(Py_None); resultobj = Py_None;
21939 {
21940 if (temp2)
21941 delete arg2;
21942 }
21943 return resultobj;
21944 fail:
21945 {
21946 if (temp2)
21947 delete arg2;
21948 }
21949 return NULL;
21950}
21951
21952
21953static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21954 PyObject *resultobj;
21955 wxWindow *arg1 = (wxWindow *) 0 ;
21956 wxString result;
21957 PyObject * obj0 = 0 ;
21958 char *kwnames[] = {
21959 (char *) "self", NULL
21960 };
21961
21962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
21963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21965 {
21966 PyThreadState* __tstate = wxPyBeginAllowThreads();
21967 result = ((wxWindow const *)arg1)->GetName();
21968
21969 wxPyEndAllowThreads(__tstate);
21970 if (PyErr_Occurred()) SWIG_fail;
21971 }
21972 {
21973#if wxUSE_UNICODE
21974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21975#else
21976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21977#endif
21978 }
21979 return resultobj;
21980 fail:
21981 return NULL;
21982}
21983
21984
4276dc52
RD
21985static PyObject *_wrap_Window_SetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21986 PyObject *resultobj;
21987 wxWindow *arg1 = (wxWindow *) 0 ;
21988 int arg2 ;
21989 PyObject * obj0 = 0 ;
21990 PyObject * obj1 = 0 ;
21991 char *kwnames[] = {
21992 (char *) "self",(char *) "variant", NULL
21993 };
21994
21995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
21996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21998 arg2 = (wxWindowVariant) SWIG_AsInt(obj1);
21999 if (PyErr_Occurred()) SWIG_fail;
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
22003
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 Py_INCREF(Py_None); resultobj = Py_None;
22008 return resultobj;
22009 fail:
22010 return NULL;
22011}
22012
22013
22014static PyObject *_wrap_Window_GetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
22015 PyObject *resultobj;
22016 wxWindow *arg1 = (wxWindow *) 0 ;
22017 int result;
22018 PyObject * obj0 = 0 ;
22019 char *kwnames[] = {
22020 (char *) "self", NULL
22021 };
22022
22023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
22024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22026 {
22027 PyThreadState* __tstate = wxPyBeginAllowThreads();
22028 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
22029
22030 wxPyEndAllowThreads(__tstate);
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 resultobj = SWIG_FromInt((int)result);
22034 return resultobj;
22035 fail:
22036 return NULL;
22037}
22038
22039
d14a1e28
RD
22040static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22041 PyObject *resultobj;
22042 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22043 int arg2 ;
d14a1e28 22044 PyObject * obj0 = 0 ;
994141e6 22045 PyObject * obj1 = 0 ;
d14a1e28
RD
22046 char *kwnames[] = {
22047 (char *) "self",(char *) "winid", NULL
22048 };
22049
994141e6 22050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22053 arg2 = (int) SWIG_AsInt(obj1);
22054 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22055 {
22056 PyThreadState* __tstate = wxPyBeginAllowThreads();
22057 (arg1)->SetId(arg2);
22058
22059 wxPyEndAllowThreads(__tstate);
22060 if (PyErr_Occurred()) SWIG_fail;
22061 }
22062 Py_INCREF(Py_None); resultobj = Py_None;
22063 return resultobj;
22064 fail:
22065 return NULL;
22066}
22067
22068
22069static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22070 PyObject *resultobj;
22071 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22072 int result;
d14a1e28
RD
22073 PyObject * obj0 = 0 ;
22074 char *kwnames[] = {
22075 (char *) "self", NULL
22076 };
22077
22078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
22079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22081 {
22082 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22083 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
22084
22085 wxPyEndAllowThreads(__tstate);
22086 if (PyErr_Occurred()) SWIG_fail;
22087 }
15afbcd0 22088 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22089 return resultobj;
22090 fail:
22091 return NULL;
22092}
22093
22094
22095static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22096 PyObject *resultobj;
22097 int result;
22098 char *kwnames[] = {
22099 NULL
22100 };
22101
22102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
22103 {
22104 PyThreadState* __tstate = wxPyBeginAllowThreads();
22105 result = (int)wxWindow::NewControlId();
22106
22107 wxPyEndAllowThreads(__tstate);
22108 if (PyErr_Occurred()) SWIG_fail;
22109 }
15afbcd0 22110 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22111 return resultobj;
22112 fail:
22113 return NULL;
22114}
22115
22116
22117static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22118 PyObject *resultobj;
22119 int arg1 ;
22120 int result;
994141e6 22121 PyObject * obj0 = 0 ;
d14a1e28
RD
22122 char *kwnames[] = {
22123 (char *) "winid", NULL
22124 };
22125
994141e6 22126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
15afbcd0
RD
22127 arg1 = (int) SWIG_AsInt(obj0);
22128 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22129 {
22130 PyThreadState* __tstate = wxPyBeginAllowThreads();
22131 result = (int)wxWindow::NextControlId(arg1);
22132
22133 wxPyEndAllowThreads(__tstate);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 }
15afbcd0 22136 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22137 return resultobj;
22138 fail:
22139 return NULL;
22140}
22141
22142
22143static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22144 PyObject *resultobj;
22145 int arg1 ;
22146 int result;
994141e6 22147 PyObject * obj0 = 0 ;
d14a1e28
RD
22148 char *kwnames[] = {
22149 (char *) "winid", NULL
22150 };
22151
994141e6 22152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
15afbcd0
RD
22153 arg1 = (int) SWIG_AsInt(obj0);
22154 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22155 {
22156 PyThreadState* __tstate = wxPyBeginAllowThreads();
22157 result = (int)wxWindow::PrevControlId(arg1);
22158
22159 wxPyEndAllowThreads(__tstate);
22160 if (PyErr_Occurred()) SWIG_fail;
22161 }
15afbcd0 22162 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22163 return resultobj;
22164 fail:
22165 return NULL;
22166}
22167
22168
22169static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22170 PyObject *resultobj;
22171 wxWindow *arg1 = (wxWindow *) 0 ;
22172 wxSize *arg2 = 0 ;
22173 wxSize temp2 ;
22174 PyObject * obj0 = 0 ;
22175 PyObject * obj1 = 0 ;
22176 char *kwnames[] = {
22177 (char *) "self",(char *) "size", NULL
22178 };
22179
22180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22183 {
22184 arg2 = &temp2;
22185 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22186 }
22187 {
22188 PyThreadState* __tstate = wxPyBeginAllowThreads();
22189 (arg1)->SetSize((wxSize const &)*arg2);
22190
22191 wxPyEndAllowThreads(__tstate);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 }
22194 Py_INCREF(Py_None); resultobj = Py_None;
22195 return resultobj;
22196 fail:
22197 return NULL;
22198}
22199
22200
22201static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
22202 PyObject *resultobj;
22203 wxWindow *arg1 = (wxWindow *) 0 ;
22204 int arg2 ;
22205 int arg3 ;
22206 int arg4 ;
22207 int arg5 ;
22208 int arg6 = (int) wxSIZE_AUTO ;
22209 PyObject * obj0 = 0 ;
994141e6
RD
22210 PyObject * obj1 = 0 ;
22211 PyObject * obj2 = 0 ;
22212 PyObject * obj3 = 0 ;
22213 PyObject * obj4 = 0 ;
22214 PyObject * obj5 = 0 ;
d14a1e28
RD
22215 char *kwnames[] = {
22216 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22217 };
22218
994141e6 22219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
22220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22222 arg2 = (int) SWIG_AsInt(obj1);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 arg3 = (int) SWIG_AsInt(obj2);
22225 if (PyErr_Occurred()) SWIG_fail;
22226 arg4 = (int) SWIG_AsInt(obj3);
22227 if (PyErr_Occurred()) SWIG_fail;
22228 arg5 = (int) SWIG_AsInt(obj4);
22229 if (PyErr_Occurred()) SWIG_fail;
994141e6 22230 if (obj5) {
15afbcd0
RD
22231 arg6 = (int) SWIG_AsInt(obj5);
22232 if (PyErr_Occurred()) SWIG_fail;
994141e6 22233 }
d14a1e28
RD
22234 {
22235 PyThreadState* __tstate = wxPyBeginAllowThreads();
22236 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
22237
22238 wxPyEndAllowThreads(__tstate);
22239 if (PyErr_Occurred()) SWIG_fail;
22240 }
22241 Py_INCREF(Py_None); resultobj = Py_None;
22242 return resultobj;
22243 fail:
22244 return NULL;
22245}
22246
22247
22248static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22249 PyObject *resultobj;
22250 wxWindow *arg1 = (wxWindow *) 0 ;
22251 wxRect *arg2 = 0 ;
22252 int arg3 = (int) wxSIZE_AUTO ;
22253 wxRect temp2 ;
22254 PyObject * obj0 = 0 ;
22255 PyObject * obj1 = 0 ;
994141e6 22256 PyObject * obj2 = 0 ;
d14a1e28
RD
22257 char *kwnames[] = {
22258 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22259 };
22260
994141e6 22261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22264 {
22265 arg2 = &temp2;
22266 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22267 }
994141e6 22268 if (obj2) {
15afbcd0
RD
22269 arg3 = (int) SWIG_AsInt(obj2);
22270 if (PyErr_Occurred()) SWIG_fail;
994141e6 22271 }
d14a1e28
RD
22272 {
22273 PyThreadState* __tstate = wxPyBeginAllowThreads();
22274 (arg1)->SetSize((wxRect const &)*arg2,arg3);
22275
22276 wxPyEndAllowThreads(__tstate);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 }
22279 Py_INCREF(Py_None); resultobj = Py_None;
22280 return resultobj;
22281 fail:
22282 return NULL;
22283}
22284
22285
22286static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22287 PyObject *resultobj;
22288 wxWindow *arg1 = (wxWindow *) 0 ;
22289 int arg2 ;
22290 int arg3 ;
22291 PyObject * obj0 = 0 ;
994141e6
RD
22292 PyObject * obj1 = 0 ;
22293 PyObject * obj2 = 0 ;
d14a1e28
RD
22294 char *kwnames[] = {
22295 (char *) "self",(char *) "width",(char *) "height", NULL
22296 };
22297
994141e6 22298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22301 arg2 = (int) SWIG_AsInt(obj1);
22302 if (PyErr_Occurred()) SWIG_fail;
22303 arg3 = (int) SWIG_AsInt(obj2);
22304 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22305 {
22306 PyThreadState* __tstate = wxPyBeginAllowThreads();
22307 (arg1)->SetSize(arg2,arg3);
22308
22309 wxPyEndAllowThreads(__tstate);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
22312 Py_INCREF(Py_None); resultobj = Py_None;
22313 return resultobj;
22314 fail:
22315 return NULL;
22316}
22317
22318
22319static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
22320 PyObject *resultobj;
22321 wxWindow *arg1 = (wxWindow *) 0 ;
22322 wxPoint *arg2 = 0 ;
22323 int arg3 = (int) wxSIZE_USE_EXISTING ;
22324 wxPoint temp2 ;
22325 PyObject * obj0 = 0 ;
22326 PyObject * obj1 = 0 ;
994141e6 22327 PyObject * obj2 = 0 ;
d14a1e28
RD
22328 char *kwnames[] = {
22329 (char *) "self",(char *) "pt",(char *) "flags", NULL
22330 };
22331
994141e6 22332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22335 {
22336 arg2 = &temp2;
22337 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22338 }
994141e6 22339 if (obj2) {
15afbcd0
RD
22340 arg3 = (int) SWIG_AsInt(obj2);
22341 if (PyErr_Occurred()) SWIG_fail;
994141e6 22342 }
d14a1e28
RD
22343 {
22344 PyThreadState* __tstate = wxPyBeginAllowThreads();
22345 (arg1)->Move((wxPoint const &)*arg2,arg3);
22346
22347 wxPyEndAllowThreads(__tstate);
22348 if (PyErr_Occurred()) SWIG_fail;
22349 }
22350 Py_INCREF(Py_None); resultobj = Py_None;
22351 return resultobj;
22352 fail:
22353 return NULL;
22354}
22355
22356
22357static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22358 PyObject *resultobj;
22359 wxWindow *arg1 = (wxWindow *) 0 ;
22360 int arg2 ;
22361 int arg3 ;
22362 int arg4 = (int) wxSIZE_USE_EXISTING ;
22363 PyObject * obj0 = 0 ;
994141e6
RD
22364 PyObject * obj1 = 0 ;
22365 PyObject * obj2 = 0 ;
22366 PyObject * obj3 = 0 ;
d14a1e28
RD
22367 char *kwnames[] = {
22368 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22369 };
22370
994141e6 22371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22374 arg2 = (int) SWIG_AsInt(obj1);
22375 if (PyErr_Occurred()) SWIG_fail;
22376 arg3 = (int) SWIG_AsInt(obj2);
22377 if (PyErr_Occurred()) SWIG_fail;
994141e6 22378 if (obj3) {
15afbcd0
RD
22379 arg4 = (int) SWIG_AsInt(obj3);
22380 if (PyErr_Occurred()) SWIG_fail;
994141e6 22381 }
d14a1e28
RD
22382 {
22383 PyThreadState* __tstate = wxPyBeginAllowThreads();
22384 (arg1)->Move(arg2,arg3,arg4);
22385
22386 wxPyEndAllowThreads(__tstate);
22387 if (PyErr_Occurred()) SWIG_fail;
22388 }
22389 Py_INCREF(Py_None); resultobj = Py_None;
22390 return resultobj;
22391 fail:
22392 return NULL;
22393}
22394
22395
f8167d6e
RD
22396static PyObject *_wrap_Window_SetBestFittingSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22397 PyObject *resultobj;
22398 wxWindow *arg1 = (wxWindow *) 0 ;
22399 wxSize const &arg2_defvalue = wxDefaultSize ;
22400 wxSize *arg2 = (wxSize *) &arg2_defvalue ;
22401 wxSize temp2 ;
22402 PyObject * obj0 = 0 ;
22403 PyObject * obj1 = 0 ;
22404 char *kwnames[] = {
22405 (char *) "self",(char *) "size", NULL
22406 };
22407
22408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_SetBestFittingSize",kwnames,&obj0,&obj1)) goto fail;
22409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22411 if (obj1) {
22412 {
22413 arg2 = &temp2;
22414 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22415 }
22416 }
22417 {
22418 PyThreadState* __tstate = wxPyBeginAllowThreads();
22419 (arg1)->SetBestFittingSize((wxSize const &)*arg2);
22420
22421 wxPyEndAllowThreads(__tstate);
22422 if (PyErr_Occurred()) SWIG_fail;
22423 }
22424 Py_INCREF(Py_None); resultobj = Py_None;
22425 return resultobj;
22426 fail:
22427 return NULL;
22428}
22429
22430
d14a1e28
RD
22431static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
22432 PyObject *resultobj;
22433 wxWindow *arg1 = (wxWindow *) 0 ;
22434 PyObject * obj0 = 0 ;
22435 char *kwnames[] = {
22436 (char *) "self", NULL
22437 };
22438
22439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
15afbcd0
RD
22440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22442 {
22443 PyThreadState* __tstate = wxPyBeginAllowThreads();
22444 (arg1)->Raise();
22445
22446 wxPyEndAllowThreads(__tstate);
22447 if (PyErr_Occurred()) SWIG_fail;
22448 }
22449 Py_INCREF(Py_None); resultobj = Py_None;
22450 return resultobj;
22451 fail:
22452 return NULL;
22453}
22454
22455
22456static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
22457 PyObject *resultobj;
22458 wxWindow *arg1 = (wxWindow *) 0 ;
22459 PyObject * obj0 = 0 ;
22460 char *kwnames[] = {
22461 (char *) "self", NULL
22462 };
22463
22464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
15afbcd0
RD
22465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22467 {
22468 PyThreadState* __tstate = wxPyBeginAllowThreads();
22469 (arg1)->Lower();
22470
22471 wxPyEndAllowThreads(__tstate);
22472 if (PyErr_Occurred()) SWIG_fail;
22473 }
22474 Py_INCREF(Py_None); resultobj = Py_None;
22475 return resultobj;
22476 fail:
22477 return NULL;
22478}
22479
22480
22481static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22482 PyObject *resultobj;
22483 wxWindow *arg1 = (wxWindow *) 0 ;
22484 wxSize *arg2 = 0 ;
22485 wxSize temp2 ;
22486 PyObject * obj0 = 0 ;
22487 PyObject * obj1 = 0 ;
22488 char *kwnames[] = {
22489 (char *) "self",(char *) "size", NULL
22490 };
22491
22492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22495 {
22496 arg2 = &temp2;
22497 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22498 }
22499 {
22500 PyThreadState* __tstate = wxPyBeginAllowThreads();
22501 (arg1)->SetClientSize((wxSize const &)*arg2);
22502
22503 wxPyEndAllowThreads(__tstate);
22504 if (PyErr_Occurred()) SWIG_fail;
22505 }
22506 Py_INCREF(Py_None); resultobj = Py_None;
22507 return resultobj;
22508 fail:
22509 return NULL;
22510}
22511
22512
22513static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22514 PyObject *resultobj;
22515 wxWindow *arg1 = (wxWindow *) 0 ;
22516 int arg2 ;
22517 int arg3 ;
22518 PyObject * obj0 = 0 ;
994141e6
RD
22519 PyObject * obj1 = 0 ;
22520 PyObject * obj2 = 0 ;
d14a1e28
RD
22521 char *kwnames[] = {
22522 (char *) "self",(char *) "width",(char *) "height", NULL
22523 };
22524
994141e6 22525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22528 arg2 = (int) SWIG_AsInt(obj1);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 arg3 = (int) SWIG_AsInt(obj2);
22531 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22532 {
22533 PyThreadState* __tstate = wxPyBeginAllowThreads();
22534 (arg1)->SetClientSize(arg2,arg3);
22535
22536 wxPyEndAllowThreads(__tstate);
22537 if (PyErr_Occurred()) SWIG_fail;
22538 }
22539 Py_INCREF(Py_None); resultobj = Py_None;
22540 return resultobj;
22541 fail:
22542 return NULL;
22543}
22544
22545
22546static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22547 PyObject *resultobj;
22548 wxWindow *arg1 = (wxWindow *) 0 ;
22549 wxRect *arg2 = 0 ;
22550 wxRect temp2 ;
22551 PyObject * obj0 = 0 ;
22552 PyObject * obj1 = 0 ;
22553 char *kwnames[] = {
22554 (char *) "self",(char *) "rect", NULL
22555 };
22556
22557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22560 {
22561 arg2 = &temp2;
22562 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22563 }
22564 {
22565 PyThreadState* __tstate = wxPyBeginAllowThreads();
22566 (arg1)->SetClientSize((wxRect const &)*arg2);
22567
22568 wxPyEndAllowThreads(__tstate);
22569 if (PyErr_Occurred()) SWIG_fail;
22570 }
22571 Py_INCREF(Py_None); resultobj = Py_None;
22572 return resultobj;
22573 fail:
22574 return NULL;
22575}
22576
22577
22578static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22579 PyObject *resultobj;
22580 wxWindow *arg1 = (wxWindow *) 0 ;
22581 wxPoint result;
22582 PyObject * obj0 = 0 ;
22583 char *kwnames[] = {
22584 (char *) "self", NULL
22585 };
22586
22587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
22588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22590 {
22591 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22592 result = (arg1)->GetPosition();
d14a1e28
RD
22593
22594 wxPyEndAllowThreads(__tstate);
22595 if (PyErr_Occurred()) SWIG_fail;
22596 }
22597 {
22598 wxPoint * resultptr;
22599 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 22600 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22601 }
22602 return resultobj;
22603 fail:
22604 return NULL;
22605}
22606
22607
22608static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22609 PyObject *resultobj;
22610 wxWindow *arg1 = (wxWindow *) 0 ;
22611 int *arg2 = (int *) 0 ;
22612 int *arg3 = (int *) 0 ;
22613 int temp2 ;
22614 int temp3 ;
22615 PyObject * obj0 = 0 ;
22616 char *kwnames[] = {
22617 (char *) "self", NULL
22618 };
22619
22620 arg2 = &temp2;
22621 arg3 = &temp3;
22622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22625 {
22626 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22627 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
22628
22629 wxPyEndAllowThreads(__tstate);
22630 if (PyErr_Occurred()) SWIG_fail;
22631 }
22632 Py_INCREF(Py_None); resultobj = Py_None;
22633 {
22634 PyObject *o = PyInt_FromLong((long) (*arg2));
22635 resultobj = t_output_helper(resultobj,o);
22636 }
22637 {
22638 PyObject *o = PyInt_FromLong((long) (*arg3));
22639 resultobj = t_output_helper(resultobj,o);
22640 }
22641 return resultobj;
22642 fail:
22643 return NULL;
22644}
22645
22646
22647static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22648 PyObject *resultobj;
22649 wxWindow *arg1 = (wxWindow *) 0 ;
22650 wxSize result;
22651 PyObject * obj0 = 0 ;
22652 char *kwnames[] = {
22653 (char *) "self", NULL
22654 };
22655
22656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22659 {
22660 PyThreadState* __tstate = wxPyBeginAllowThreads();
22661 result = ((wxWindow const *)arg1)->GetSize();
22662
22663 wxPyEndAllowThreads(__tstate);
22664 if (PyErr_Occurred()) SWIG_fail;
22665 }
22666 {
22667 wxSize * resultptr;
22668 resultptr = new wxSize((wxSize &) result);
15afbcd0 22669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22670 }
22671 return resultobj;
22672 fail:
22673 return NULL;
22674}
22675
22676
22677static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22678 PyObject *resultobj;
22679 wxWindow *arg1 = (wxWindow *) 0 ;
22680 int *arg2 = (int *) 0 ;
22681 int *arg3 = (int *) 0 ;
22682 int temp2 ;
22683 int temp3 ;
22684 PyObject * obj0 = 0 ;
22685 char *kwnames[] = {
22686 (char *) "self", NULL
22687 };
22688
22689 arg2 = &temp2;
22690 arg3 = &temp3;
22691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22694 {
22695 PyThreadState* __tstate = wxPyBeginAllowThreads();
22696 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
22697
22698 wxPyEndAllowThreads(__tstate);
22699 if (PyErr_Occurred()) SWIG_fail;
22700 }
22701 Py_INCREF(Py_None); resultobj = Py_None;
22702 {
22703 PyObject *o = PyInt_FromLong((long) (*arg2));
22704 resultobj = t_output_helper(resultobj,o);
22705 }
22706 {
22707 PyObject *o = PyInt_FromLong((long) (*arg3));
22708 resultobj = t_output_helper(resultobj,o);
22709 }
22710 return resultobj;
22711 fail:
22712 return NULL;
22713}
22714
22715
22716static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22717 PyObject *resultobj;
22718 wxWindow *arg1 = (wxWindow *) 0 ;
22719 wxRect result;
22720 PyObject * obj0 = 0 ;
22721 char *kwnames[] = {
22722 (char *) "self", NULL
22723 };
22724
22725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
22726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22728 {
22729 PyThreadState* __tstate = wxPyBeginAllowThreads();
22730 result = ((wxWindow const *)arg1)->GetRect();
22731
22732 wxPyEndAllowThreads(__tstate);
22733 if (PyErr_Occurred()) SWIG_fail;
22734 }
22735 {
22736 wxRect * resultptr;
22737 resultptr = new wxRect((wxRect &) result);
15afbcd0 22738 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22739 }
22740 return resultobj;
22741 fail:
22742 return NULL;
22743}
22744
22745
22746static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22747 PyObject *resultobj;
22748 wxWindow *arg1 = (wxWindow *) 0 ;
22749 wxSize result;
22750 PyObject * obj0 = 0 ;
22751 char *kwnames[] = {
22752 (char *) "self", NULL
22753 };
22754
22755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22758 {
22759 PyThreadState* __tstate = wxPyBeginAllowThreads();
22760 result = ((wxWindow const *)arg1)->GetClientSize();
22761
22762 wxPyEndAllowThreads(__tstate);
22763 if (PyErr_Occurred()) SWIG_fail;
22764 }
22765 {
22766 wxSize * resultptr;
22767 resultptr = new wxSize((wxSize &) result);
15afbcd0 22768 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22769 }
22770 return resultobj;
22771 fail:
22772 return NULL;
22773}
22774
22775
22776static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22777 PyObject *resultobj;
22778 wxWindow *arg1 = (wxWindow *) 0 ;
22779 int *arg2 = (int *) 0 ;
22780 int *arg3 = (int *) 0 ;
22781 int temp2 ;
22782 int temp3 ;
22783 PyObject * obj0 = 0 ;
22784 char *kwnames[] = {
22785 (char *) "self", NULL
22786 };
22787
22788 arg2 = &temp2;
22789 arg3 = &temp3;
22790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22793 {
22794 PyThreadState* __tstate = wxPyBeginAllowThreads();
22795 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
22796
22797 wxPyEndAllowThreads(__tstate);
22798 if (PyErr_Occurred()) SWIG_fail;
22799 }
22800 Py_INCREF(Py_None); resultobj = Py_None;
22801 {
22802 PyObject *o = PyInt_FromLong((long) (*arg2));
22803 resultobj = t_output_helper(resultobj,o);
22804 }
22805 {
22806 PyObject *o = PyInt_FromLong((long) (*arg3));
22807 resultobj = t_output_helper(resultobj,o);
22808 }
22809 return resultobj;
22810 fail:
22811 return NULL;
22812}
22813
22814
22815static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
22816 PyObject *resultobj;
22817 wxWindow *arg1 = (wxWindow *) 0 ;
22818 wxPoint result;
22819 PyObject * obj0 = 0 ;
22820 char *kwnames[] = {
22821 (char *) "self", NULL
22822 };
22823
22824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
22825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
22830
22831 wxPyEndAllowThreads(__tstate);
22832 if (PyErr_Occurred()) SWIG_fail;
22833 }
22834 {
22835 wxPoint * resultptr;
22836 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 22837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22838 }
22839 return resultobj;
22840 fail:
22841 return NULL;
22842}
22843
22844
22845static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22846 PyObject *resultobj;
22847 wxWindow *arg1 = (wxWindow *) 0 ;
22848 wxRect result;
22849 PyObject * obj0 = 0 ;
22850 char *kwnames[] = {
22851 (char *) "self", NULL
22852 };
22853
22854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
22855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22857 {
22858 PyThreadState* __tstate = wxPyBeginAllowThreads();
22859 result = ((wxWindow const *)arg1)->GetClientRect();
22860
22861 wxPyEndAllowThreads(__tstate);
22862 if (PyErr_Occurred()) SWIG_fail;
22863 }
22864 {
22865 wxRect * resultptr;
22866 resultptr = new wxRect((wxRect &) result);
15afbcd0 22867 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22868 }
22869 return resultobj;
22870 fail:
22871 return NULL;
22872}
22873
22874
22875static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22876 PyObject *resultobj;
22877 wxWindow *arg1 = (wxWindow *) 0 ;
22878 wxSize result;
22879 PyObject * obj0 = 0 ;
22880 char *kwnames[] = {
22881 (char *) "self", NULL
22882 };
22883
22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22887 {
22888 PyThreadState* __tstate = wxPyBeginAllowThreads();
22889 result = ((wxWindow const *)arg1)->GetBestSize();
22890
22891 wxPyEndAllowThreads(__tstate);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 }
22894 {
22895 wxSize * resultptr;
22896 resultptr = new wxSize((wxSize &) result);
15afbcd0 22897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22898 }
22899 return resultobj;
22900 fail:
22901 return NULL;
22902}
22903
22904
22905static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22906 PyObject *resultobj;
22907 wxWindow *arg1 = (wxWindow *) 0 ;
22908 int *arg2 = (int *) 0 ;
22909 int *arg3 = (int *) 0 ;
22910 int temp2 ;
22911 int temp3 ;
22912 PyObject * obj0 = 0 ;
22913 char *kwnames[] = {
22914 (char *) "self", NULL
22915 };
22916
22917 arg2 = &temp2;
22918 arg3 = &temp3;
22919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22922 {
22923 PyThreadState* __tstate = wxPyBeginAllowThreads();
22924 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
22925
22926 wxPyEndAllowThreads(__tstate);
22927 if (PyErr_Occurred()) SWIG_fail;
22928 }
22929 Py_INCREF(Py_None); resultobj = Py_None;
22930 {
22931 PyObject *o = PyInt_FromLong((long) (*arg2));
22932 resultobj = t_output_helper(resultobj,o);
22933 }
22934 {
22935 PyObject *o = PyInt_FromLong((long) (*arg3));
22936 resultobj = t_output_helper(resultobj,o);
22937 }
22938 return resultobj;
22939 fail:
22940 return NULL;
22941}
22942
22943
dfbb5885
RD
22944static PyObject *_wrap_Window_InvalidateBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22945 PyObject *resultobj;
22946 wxWindow *arg1 = (wxWindow *) 0 ;
22947 PyObject * obj0 = 0 ;
22948 char *kwnames[] = {
22949 (char *) "self", NULL
22950 };
22951
22952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InvalidateBestSize",kwnames,&obj0)) goto fail;
22953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22955 {
22956 PyThreadState* __tstate = wxPyBeginAllowThreads();
22957 (arg1)->InvalidateBestSize();
22958
22959 wxPyEndAllowThreads(__tstate);
22960 if (PyErr_Occurred()) SWIG_fail;
22961 }
22962 Py_INCREF(Py_None); resultobj = Py_None;
22963 return resultobj;
22964 fail:
22965 return NULL;
22966}
22967
22968
22969static PyObject *_wrap_Window_GetBestFittingSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22970 PyObject *resultobj;
22971 wxWindow *arg1 = (wxWindow *) 0 ;
22972 wxSize result;
22973 PyObject * obj0 = 0 ;
22974 char *kwnames[] = {
22975 (char *) "self", NULL
22976 };
22977
22978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestFittingSize",kwnames,&obj0)) goto fail;
22979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22981 {
22982 PyThreadState* __tstate = wxPyBeginAllowThreads();
22983 result = ((wxWindow const *)arg1)->GetBestFittingSize();
22984
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 {
22989 wxSize * resultptr;
22990 resultptr = new wxSize((wxSize &) result);
22991 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22992 }
22993 return resultobj;
22994 fail:
22995 return NULL;
22996}
22997
22998
d14a1e28
RD
22999static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23000 PyObject *resultobj;
23001 wxWindow *arg1 = (wxWindow *) 0 ;
23002 wxSize result;
23003 PyObject * obj0 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "self", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23011 {
23012 PyThreadState* __tstate = wxPyBeginAllowThreads();
23013 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
23014
23015 wxPyEndAllowThreads(__tstate);
23016 if (PyErr_Occurred()) SWIG_fail;
23017 }
23018 {
23019 wxSize * resultptr;
23020 resultptr = new wxSize((wxSize &) result);
15afbcd0 23021 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23022 }
23023 return resultobj;
23024 fail:
23025 return NULL;
23026}
23027
23028
23029static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
23030 PyObject *resultobj;
23031 wxWindow *arg1 = (wxWindow *) 0 ;
23032 int arg2 = (int) wxBOTH ;
23033 PyObject * obj0 = 0 ;
994141e6 23034 PyObject * obj1 = 0 ;
d14a1e28
RD
23035 char *kwnames[] = {
23036 (char *) "self",(char *) "direction", NULL
23037 };
23038
994141e6 23039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23042 if (obj1) {
15afbcd0
RD
23043 arg2 = (int) SWIG_AsInt(obj1);
23044 if (PyErr_Occurred()) SWIG_fail;
994141e6 23045 }
d14a1e28
RD
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 (arg1)->Center(arg2);
23049
23050 wxPyEndAllowThreads(__tstate);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 }
23053 Py_INCREF(Py_None); resultobj = Py_None;
23054 return resultobj;
23055 fail:
23056 return NULL;
23057}
23058
23059
23060static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
23061 PyObject *resultobj;
23062 wxWindow *arg1 = (wxWindow *) 0 ;
23063 int arg2 = (int) wxBOTH ;
23064 PyObject * obj0 = 0 ;
994141e6 23065 PyObject * obj1 = 0 ;
d14a1e28
RD
23066 char *kwnames[] = {
23067 (char *) "self",(char *) "dir", NULL
23068 };
23069
994141e6 23070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23073 if (obj1) {
15afbcd0
RD
23074 arg2 = (int) SWIG_AsInt(obj1);
23075 if (PyErr_Occurred()) SWIG_fail;
994141e6 23076 }
d14a1e28
RD
23077 {
23078 PyThreadState* __tstate = wxPyBeginAllowThreads();
23079 (arg1)->CenterOnScreen(arg2);
23080
23081 wxPyEndAllowThreads(__tstate);
23082 if (PyErr_Occurred()) SWIG_fail;
23083 }
23084 Py_INCREF(Py_None); resultobj = Py_None;
23085 return resultobj;
23086 fail:
23087 return NULL;
23088}
23089
23090
23091static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
23092 PyObject *resultobj;
23093 wxWindow *arg1 = (wxWindow *) 0 ;
23094 int arg2 = (int) wxBOTH ;
23095 PyObject * obj0 = 0 ;
994141e6 23096 PyObject * obj1 = 0 ;
d14a1e28
RD
23097 char *kwnames[] = {
23098 (char *) "self",(char *) "dir", NULL
23099 };
23100
994141e6 23101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23104 if (obj1) {
15afbcd0
RD
23105 arg2 = (int) SWIG_AsInt(obj1);
23106 if (PyErr_Occurred()) SWIG_fail;
994141e6 23107 }
d14a1e28
RD
23108 {
23109 PyThreadState* __tstate = wxPyBeginAllowThreads();
23110 (arg1)->CenterOnParent(arg2);
23111
23112 wxPyEndAllowThreads(__tstate);
23113 if (PyErr_Occurred()) SWIG_fail;
23114 }
23115 Py_INCREF(Py_None); resultobj = Py_None;
23116 return resultobj;
23117 fail:
23118 return NULL;
23119}
23120
23121
23122static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
23123 PyObject *resultobj;
23124 wxWindow *arg1 = (wxWindow *) 0 ;
23125 PyObject * obj0 = 0 ;
23126 char *kwnames[] = {
23127 (char *) "self", NULL
23128 };
23129
23130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
15afbcd0
RD
23131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23133 {
23134 PyThreadState* __tstate = wxPyBeginAllowThreads();
23135 (arg1)->Fit();
23136
23137 wxPyEndAllowThreads(__tstate);
23138 if (PyErr_Occurred()) SWIG_fail;
23139 }
23140 Py_INCREF(Py_None); resultobj = Py_None;
23141 return resultobj;
23142 fail:
23143 return NULL;
23144}
23145
23146
23147static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
23148 PyObject *resultobj;
23149 wxWindow *arg1 = (wxWindow *) 0 ;
23150 PyObject * obj0 = 0 ;
23151 char *kwnames[] = {
23152 (char *) "self", NULL
23153 };
23154
23155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
15afbcd0
RD
23156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23158 {
23159 PyThreadState* __tstate = wxPyBeginAllowThreads();
23160 (arg1)->FitInside();
23161
23162 wxPyEndAllowThreads(__tstate);
23163 if (PyErr_Occurred()) SWIG_fail;
23164 }
23165 Py_INCREF(Py_None); resultobj = Py_None;
23166 return resultobj;
23167 fail:
23168 return NULL;
23169}
23170
23171
74a57fcd 23172static PyObject *_wrap_Window_SetSizeHints__SWIG_0(PyObject *self, PyObject *args) {
908b74cd
RD
23173 PyObject *resultobj;
23174 wxWindow *arg1 = (wxWindow *) 0 ;
23175 wxSize *arg2 = 0 ;
23176 wxSize const &arg3_defvalue = wxDefaultSize ;
23177 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23178 wxSize const &arg4_defvalue = wxDefaultSize ;
23179 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23180 wxSize temp2 ;
23181 wxSize temp3 ;
23182 wxSize temp4 ;
23183 PyObject * obj0 = 0 ;
23184 PyObject * obj1 = 0 ;
23185 PyObject * obj2 = 0 ;
23186 PyObject * obj3 = 0 ;
23187
23188 if(!PyArg_ParseTuple(args,(char *)"OO|OO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3)) goto fail;
23189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23191 {
23192 arg2 = &temp2;
23193 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23194 }
23195 if (obj2) {
23196 {
23197 arg3 = &temp3;
23198 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23199 }
23200 }
23201 if (obj3) {
23202 {
23203 arg4 = &temp4;
23204 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23205 }
23206 }
23207 {
23208 PyThreadState* __tstate = wxPyBeginAllowThreads();
23209 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
23210
23211 wxPyEndAllowThreads(__tstate);
23212 if (PyErr_Occurred()) SWIG_fail;
23213 }
23214 Py_INCREF(Py_None); resultobj = Py_None;
23215 return resultobj;
23216 fail:
23217 return NULL;
23218}
23219
23220
23221static PyObject *_wrap_Window_SetSizeHints__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
23222 PyObject *resultobj;
23223 wxWindow *arg1 = (wxWindow *) 0 ;
23224 int arg2 ;
23225 int arg3 ;
23226 int arg4 = (int) -1 ;
23227 int arg5 = (int) -1 ;
23228 int arg6 = (int) -1 ;
23229 int arg7 = (int) -1 ;
23230 PyObject * obj0 = 0 ;
994141e6
RD
23231 PyObject * obj1 = 0 ;
23232 PyObject * obj2 = 0 ;
23233 PyObject * obj3 = 0 ;
23234 PyObject * obj4 = 0 ;
23235 PyObject * obj5 = 0 ;
23236 PyObject * obj6 = 0 ;
d14a1e28 23237
74a57fcd 23238 if(!PyArg_ParseTuple(args,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
23239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23241 arg2 = (int) SWIG_AsInt(obj1);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 arg3 = (int) SWIG_AsInt(obj2);
23244 if (PyErr_Occurred()) SWIG_fail;
994141e6 23245 if (obj3) {
15afbcd0
RD
23246 arg4 = (int) SWIG_AsInt(obj3);
23247 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23248 }
23249 if (obj4) {
15afbcd0
RD
23250 arg5 = (int) SWIG_AsInt(obj4);
23251 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23252 }
23253 if (obj5) {
15afbcd0
RD
23254 arg6 = (int) SWIG_AsInt(obj5);
23255 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23256 }
23257 if (obj6) {
15afbcd0
RD
23258 arg7 = (int) SWIG_AsInt(obj6);
23259 if (PyErr_Occurred()) SWIG_fail;
994141e6 23260 }
d14a1e28
RD
23261 {
23262 PyThreadState* __tstate = wxPyBeginAllowThreads();
23263 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
23264
23265 wxPyEndAllowThreads(__tstate);
23266 if (PyErr_Occurred()) SWIG_fail;
23267 }
23268 Py_INCREF(Py_None); resultobj = Py_None;
23269 return resultobj;
23270 fail:
23271 return NULL;
23272}
23273
23274
74a57fcd
RD
23275static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args) {
23276 int argc;
23277 PyObject *argv[8];
23278 int ii;
23279
23280 argc = PyObject_Length(args);
23281 for (ii = 0; (ii < argc) && (ii < 7); ii++) {
23282 argv[ii] = PyTuple_GetItem(args,ii);
23283 }
23284 if ((argc >= 2) && (argc <= 4)) {
23285 int _v;
23286 {
23287 void *ptr;
23288 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23289 _v = 0;
23290 PyErr_Clear();
23291 } else {
23292 _v = 1;
23293 }
23294 }
23295 if (_v) {
23296 {
23297 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23298 }
23299 if (_v) {
23300 if (argc <= 2) {
908b74cd 23301 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
74a57fcd
RD
23302 }
23303 {
23304 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23305 }
23306 if (_v) {
23307 if (argc <= 3) {
908b74cd 23308 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
74a57fcd
RD
23309 }
23310 {
23311 _v = wxPySimple_typecheck(argv[3], wxT("wxSize"), 2);
23312 }
23313 if (_v) {
908b74cd 23314 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
74a57fcd
RD
23315 }
23316 }
23317 }
23318 }
23319 }
23320 if ((argc >= 3) && (argc <= 7)) {
23321 int _v;
23322 {
23323 void *ptr;
23324 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23325 _v = 0;
23326 PyErr_Clear();
23327 } else {
23328 _v = 1;
23329 }
23330 }
23331 if (_v) {
23332 _v = SWIG_CheckInt(argv[1]);
23333 if (_v) {
23334 _v = SWIG_CheckInt(argv[2]);
23335 if (_v) {
23336 if (argc <= 3) {
908b74cd 23337 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
74a57fcd
RD
23338 }
23339 _v = SWIG_CheckInt(argv[3]);
23340 if (_v) {
23341 if (argc <= 4) {
908b74cd 23342 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
74a57fcd
RD
23343 }
23344 _v = SWIG_CheckInt(argv[4]);
23345 if (_v) {
23346 if (argc <= 5) {
908b74cd 23347 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
74a57fcd
RD
23348 }
23349 _v = SWIG_CheckInt(argv[5]);
23350 if (_v) {
23351 if (argc <= 6) {
908b74cd 23352 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
74a57fcd
RD
23353 }
23354 _v = SWIG_CheckInt(argv[6]);
23355 if (_v) {
908b74cd 23356 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
74a57fcd
RD
23357 }
23358 }
23359 }
23360 }
23361 }
23362 }
23363 }
23364 }
23365
23366 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetSizeHints'");
23367 return NULL;
23368}
23369
23370
23371static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
23372 PyObject *resultobj;
23373 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
23374 wxSize *arg2 = 0 ;
23375 wxSize const &arg3_defvalue = wxDefaultSize ;
23376 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23377 wxSize temp2 ;
23378 wxSize temp3 ;
d14a1e28 23379 PyObject * obj0 = 0 ;
994141e6
RD
23380 PyObject * obj1 = 0 ;
23381 PyObject * obj2 = 0 ;
d14a1e28 23382
908b74cd 23383 if(!PyArg_ParseTuple(args,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
908b74cd
RD
23386 {
23387 arg2 = &temp2;
23388 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
994141e6 23389 }
908b74cd
RD
23390 if (obj2) {
23391 {
23392 arg3 = &temp3;
23393 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23394 }
994141e6 23395 }
d14a1e28
RD
23396 {
23397 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23398 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
23399
23400 wxPyEndAllowThreads(__tstate);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 }
23403 Py_INCREF(Py_None); resultobj = Py_None;
23404 return resultobj;
23405 fail:
23406 return NULL;
23407}
23408
23409
74a57fcd
RD
23410static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject *self, PyObject *args) {
23411 PyObject *resultobj;
23412 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
23413 int arg2 ;
23414 int arg3 ;
23415 int arg4 = (int) -1 ;
23416 int arg5 = (int) -1 ;
74a57fcd
RD
23417 PyObject * obj0 = 0 ;
23418 PyObject * obj1 = 0 ;
23419 PyObject * obj2 = 0 ;
908b74cd
RD
23420 PyObject * obj3 = 0 ;
23421 PyObject * obj4 = 0 ;
74a57fcd 23422
908b74cd 23423 if(!PyArg_ParseTuple(args,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
74a57fcd
RD
23424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
908b74cd
RD
23426 arg2 = (int) SWIG_AsInt(obj1);
23427 if (PyErr_Occurred()) SWIG_fail;
23428 arg3 = (int) SWIG_AsInt(obj2);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 if (obj3) {
23431 arg4 = (int) SWIG_AsInt(obj3);
23432 if (PyErr_Occurred()) SWIG_fail;
74a57fcd 23433 }
908b74cd
RD
23434 if (obj4) {
23435 arg5 = (int) SWIG_AsInt(obj4);
23436 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
23437 }
23438 {
23439 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23440 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
74a57fcd
RD
23441
23442 wxPyEndAllowThreads(__tstate);
23443 if (PyErr_Occurred()) SWIG_fail;
23444 }
23445 Py_INCREF(Py_None); resultobj = Py_None;
23446 return resultobj;
23447 fail:
23448 return NULL;
23449}
23450
23451
23452static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args) {
23453 int argc;
23454 PyObject *argv[6];
23455 int ii;
23456
23457 argc = PyObject_Length(args);
23458 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
23459 argv[ii] = PyTuple_GetItem(args,ii);
23460 }
23461 if ((argc >= 2) && (argc <= 3)) {
23462 int _v;
23463 {
23464 void *ptr;
23465 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23466 _v = 0;
23467 PyErr_Clear();
23468 } else {
23469 _v = 1;
23470 }
23471 }
23472 if (_v) {
23473 {
23474 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23475 }
23476 if (_v) {
23477 if (argc <= 2) {
908b74cd 23478 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
74a57fcd
RD
23479 }
23480 {
23481 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23482 }
23483 if (_v) {
908b74cd 23484 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
74a57fcd
RD
23485 }
23486 }
23487 }
23488 }
23489 if ((argc >= 3) && (argc <= 5)) {
23490 int _v;
23491 {
23492 void *ptr;
23493 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23494 _v = 0;
23495 PyErr_Clear();
23496 } else {
23497 _v = 1;
23498 }
23499 }
23500 if (_v) {
23501 _v = SWIG_CheckInt(argv[1]);
23502 if (_v) {
23503 _v = SWIG_CheckInt(argv[2]);
23504 if (_v) {
23505 if (argc <= 3) {
908b74cd 23506 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
74a57fcd
RD
23507 }
23508 _v = SWIG_CheckInt(argv[3]);
23509 if (_v) {
23510 if (argc <= 4) {
908b74cd 23511 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
74a57fcd
RD
23512 }
23513 _v = SWIG_CheckInt(argv[4]);
23514 if (_v) {
908b74cd 23515 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
74a57fcd
RD
23516 }
23517 }
23518 }
23519 }
23520 }
23521 }
23522
23523 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23524 return NULL;
23525}
23526
23527
908b74cd 23528static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23529 PyObject *resultobj;
23530 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23531 wxSize result;
d14a1e28
RD
23532 PyObject * obj0 = 0 ;
23533 char *kwnames[] = {
23534 (char *) "self", NULL
23535 };
23536
908b74cd 23537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23540 {
23541 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23542 result = ((wxWindow const *)arg1)->GetMaxSize();
d14a1e28
RD
23543
23544 wxPyEndAllowThreads(__tstate);
23545 if (PyErr_Occurred()) SWIG_fail;
23546 }
908b74cd
RD
23547 {
23548 wxSize * resultptr;
23549 resultptr = new wxSize((wxSize &) result);
23550 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23551 }
d14a1e28
RD
23552 return resultobj;
23553 fail:
23554 return NULL;
23555}
23556
23557
908b74cd 23558static PyObject *_wrap_Window_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23559 PyObject *resultobj;
23560 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23561 wxSize result;
d14a1e28
RD
23562 PyObject * obj0 = 0 ;
23563 char *kwnames[] = {
23564 (char *) "self", NULL
23565 };
23566
908b74cd 23567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23572 result = ((wxWindow const *)arg1)->GetMinSize();
d14a1e28
RD
23573
23574 wxPyEndAllowThreads(__tstate);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
908b74cd
RD
23577 {
23578 wxSize * resultptr;
23579 resultptr = new wxSize((wxSize &) result);
23580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23581 }
d14a1e28
RD
23582 return resultobj;
23583 fail:
23584 return NULL;
23585}
23586
23587
908b74cd
RD
23588static PyObject *_wrap_Window_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23589 PyObject *resultobj;
23590 wxWindow *arg1 = (wxWindow *) 0 ;
23591 wxSize *arg2 = 0 ;
23592 wxSize temp2 ;
23593 PyObject * obj0 = 0 ;
23594 PyObject * obj1 = 0 ;
23595 char *kwnames[] = {
23596 (char *) "self",(char *) "minSize", NULL
23597 };
23598
23599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
23600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23602 {
23603 arg2 = &temp2;
23604 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23605 }
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 (arg1)->SetMinSize((wxSize const &)*arg2);
23609
23610 wxPyEndAllowThreads(__tstate);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 Py_INCREF(Py_None); resultobj = Py_None;
23614 return resultobj;
23615 fail:
23616 return NULL;
23617}
23618
23619
23620static PyObject *_wrap_Window_SetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23621 PyObject *resultobj;
23622 wxWindow *arg1 = (wxWindow *) 0 ;
23623 wxSize *arg2 = 0 ;
23624 wxSize temp2 ;
23625 PyObject * obj0 = 0 ;
23626 PyObject * obj1 = 0 ;
23627 char *kwnames[] = {
23628 (char *) "self",(char *) "maxSize", NULL
23629 };
23630
23631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMaxSize",kwnames,&obj0,&obj1)) goto fail;
23632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23634 {
23635 arg2 = &temp2;
23636 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23637 }
23638 {
23639 PyThreadState* __tstate = wxPyBeginAllowThreads();
23640 (arg1)->SetMaxSize((wxSize const &)*arg2);
23641
23642 wxPyEndAllowThreads(__tstate);
23643 if (PyErr_Occurred()) SWIG_fail;
23644 }
23645 Py_INCREF(Py_None); resultobj = Py_None;
23646 return resultobj;
23647 fail:
23648 return NULL;
23649}
23650
23651
23652static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23653 PyObject *resultobj;
23654 wxWindow *arg1 = (wxWindow *) 0 ;
23655 int result;
23656 PyObject * obj0 = 0 ;
23657 char *kwnames[] = {
23658 (char *) "self", NULL
23659 };
23660
908b74cd 23661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
23662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23664 {
23665 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23666 result = (int)((wxWindow const *)arg1)->GetMinWidth();
d14a1e28
RD
23667
23668 wxPyEndAllowThreads(__tstate);
23669 if (PyErr_Occurred()) SWIG_fail;
23670 }
15afbcd0 23671 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23672 return resultobj;
23673 fail:
23674 return NULL;
23675}
23676
23677
908b74cd 23678static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23679 PyObject *resultobj;
23680 wxWindow *arg1 = (wxWindow *) 0 ;
23681 int result;
23682 PyObject * obj0 = 0 ;
23683 char *kwnames[] = {
23684 (char *) "self", NULL
23685 };
23686
908b74cd 23687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
23688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23690 {
23691 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23692 result = (int)((wxWindow const *)arg1)->GetMinHeight();
d14a1e28
RD
23693
23694 wxPyEndAllowThreads(__tstate);
23695 if (PyErr_Occurred()) SWIG_fail;
23696 }
15afbcd0 23697 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23698 return resultobj;
23699 fail:
23700 return NULL;
23701}
23702
23703
908b74cd 23704static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23705 PyObject *resultobj;
23706 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23707 int result;
d14a1e28
RD
23708 PyObject * obj0 = 0 ;
23709 char *kwnames[] = {
23710 (char *) "self", NULL
23711 };
23712
908b74cd 23713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
23714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23716 {
23717 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23718 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
d14a1e28
RD
23719
23720 wxPyEndAllowThreads(__tstate);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 }
908b74cd 23723 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23724 return resultobj;
23725 fail:
23726 return NULL;
23727}
23728
23729
908b74cd 23730static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
23731 PyObject *resultobj;
23732 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23733 int result;
74a57fcd
RD
23734 PyObject * obj0 = 0 ;
23735 char *kwnames[] = {
23736 (char *) "self", NULL
23737 };
23738
908b74cd 23739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
74a57fcd
RD
23740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23742 {
23743 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23744 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
74a57fcd
RD
23745
23746 wxPyEndAllowThreads(__tstate);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 }
908b74cd 23749 resultobj = SWIG_FromInt((int)result);
74a57fcd
RD
23750 return resultobj;
23751 fail:
23752 return NULL;
23753}
23754
23755
d14a1e28
RD
23756static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23757 PyObject *resultobj;
23758 wxWindow *arg1 = (wxWindow *) 0 ;
23759 wxSize *arg2 = 0 ;
23760 wxSize temp2 ;
23761 PyObject * obj0 = 0 ;
23762 PyObject * obj1 = 0 ;
23763 char *kwnames[] = {
23764 (char *) "self",(char *) "size", NULL
23765 };
23766
23767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23770 {
23771 arg2 = &temp2;
23772 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23773 }
23774 {
23775 PyThreadState* __tstate = wxPyBeginAllowThreads();
23776 (arg1)->SetVirtualSize((wxSize const &)*arg2);
23777
23778 wxPyEndAllowThreads(__tstate);
23779 if (PyErr_Occurred()) SWIG_fail;
23780 }
23781 Py_INCREF(Py_None); resultobj = Py_None;
23782 return resultobj;
23783 fail:
23784 return NULL;
23785}
23786
23787
23788static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
23789 PyObject *resultobj;
23790 wxWindow *arg1 = (wxWindow *) 0 ;
23791 int arg2 ;
23792 int arg3 ;
23793 PyObject * obj0 = 0 ;
994141e6
RD
23794 PyObject * obj1 = 0 ;
23795 PyObject * obj2 = 0 ;
d14a1e28
RD
23796 char *kwnames[] = {
23797 (char *) "self",(char *) "w",(char *) "h", NULL
23798 };
23799
994141e6 23800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23803 arg2 = (int) SWIG_AsInt(obj1);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 arg3 = (int) SWIG_AsInt(obj2);
23806 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23807 {
23808 PyThreadState* __tstate = wxPyBeginAllowThreads();
23809 (arg1)->SetVirtualSize(arg2,arg3);
23810
23811 wxPyEndAllowThreads(__tstate);
23812 if (PyErr_Occurred()) SWIG_fail;
23813 }
23814 Py_INCREF(Py_None); resultobj = Py_None;
23815 return resultobj;
23816 fail:
23817 return NULL;
23818}
23819
23820
23821static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23822 PyObject *resultobj;
23823 wxWindow *arg1 = (wxWindow *) 0 ;
23824 wxSize result;
23825 PyObject * obj0 = 0 ;
23826 char *kwnames[] = {
23827 (char *) "self", NULL
23828 };
23829
23830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23833 {
23834 PyThreadState* __tstate = wxPyBeginAllowThreads();
23835 result = ((wxWindow const *)arg1)->GetVirtualSize();
23836
23837 wxPyEndAllowThreads(__tstate);
23838 if (PyErr_Occurred()) SWIG_fail;
23839 }
23840 {
23841 wxSize * resultptr;
23842 resultptr = new wxSize((wxSize &) result);
15afbcd0 23843 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23844 }
23845 return resultobj;
23846 fail:
23847 return NULL;
23848}
23849
23850
23851static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
23852 PyObject *resultobj;
23853 wxWindow *arg1 = (wxWindow *) 0 ;
23854 int *arg2 = (int *) 0 ;
23855 int *arg3 = (int *) 0 ;
23856 int temp2 ;
23857 int temp3 ;
23858 PyObject * obj0 = 0 ;
23859 char *kwnames[] = {
23860 (char *) "self", NULL
23861 };
23862
23863 arg2 = &temp2;
23864 arg3 = &temp3;
23865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
23866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23868 {
23869 PyThreadState* __tstate = wxPyBeginAllowThreads();
23870 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
23871
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 Py_INCREF(Py_None); resultobj = Py_None;
23876 {
23877 PyObject *o = PyInt_FromLong((long) (*arg2));
23878 resultobj = t_output_helper(resultobj,o);
23879 }
23880 {
23881 PyObject *o = PyInt_FromLong((long) (*arg3));
23882 resultobj = t_output_helper(resultobj,o);
23883 }
23884 return resultobj;
23885 fail:
23886 return NULL;
23887}
23888
23889
23890static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23891 PyObject *resultobj;
23892 wxWindow *arg1 = (wxWindow *) 0 ;
23893 wxSize result;
23894 PyObject * obj0 = 0 ;
23895 char *kwnames[] = {
23896 (char *) "self", NULL
23897 };
23898
23899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23902 {
23903 PyThreadState* __tstate = wxPyBeginAllowThreads();
23904 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
23905
23906 wxPyEndAllowThreads(__tstate);
23907 if (PyErr_Occurred()) SWIG_fail;
23908 }
23909 {
23910 wxSize * resultptr;
23911 resultptr = new wxSize((wxSize &) result);
15afbcd0 23912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23913 }
23914 return resultobj;
23915 fail:
23916 return NULL;
23917}
23918
23919
23920static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
23921 PyObject *resultobj;
23922 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23923 bool arg2 = (bool) True ;
d14a1e28
RD
23924 bool result;
23925 PyObject * obj0 = 0 ;
23926 PyObject * obj1 = 0 ;
23927 char *kwnames[] = {
23928 (char *) "self",(char *) "show", NULL
23929 };
23930
23931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23934 if (obj1) {
15afbcd0
RD
23935 arg2 = (bool) SWIG_AsBool(obj1);
23936 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23937 }
23938 {
23939 PyThreadState* __tstate = wxPyBeginAllowThreads();
23940 result = (bool)(arg1)->Show(arg2);
23941
23942 wxPyEndAllowThreads(__tstate);
23943 if (PyErr_Occurred()) SWIG_fail;
23944 }
4f89f6a3
RD
23945 {
23946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23947 }
d14a1e28
RD
23948 return resultobj;
23949 fail:
23950 return NULL;
23951}
23952
23953
23954static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
23955 PyObject *resultobj;
23956 wxWindow *arg1 = (wxWindow *) 0 ;
23957 bool result;
23958 PyObject * obj0 = 0 ;
23959 char *kwnames[] = {
23960 (char *) "self", NULL
23961 };
23962
23963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
23964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23966 {
23967 PyThreadState* __tstate = wxPyBeginAllowThreads();
23968 result = (bool)(arg1)->Hide();
23969
23970 wxPyEndAllowThreads(__tstate);
23971 if (PyErr_Occurred()) SWIG_fail;
23972 }
4f89f6a3
RD
23973 {
23974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23975 }
d14a1e28
RD
23976 return resultobj;
23977 fail:
23978 return NULL;
23979}
23980
23981
23982static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
23983 PyObject *resultobj;
23984 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23985 bool arg2 = (bool) True ;
d14a1e28
RD
23986 bool result;
23987 PyObject * obj0 = 0 ;
23988 PyObject * obj1 = 0 ;
23989 char *kwnames[] = {
23990 (char *) "self",(char *) "enable", NULL
23991 };
23992
23993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23996 if (obj1) {
15afbcd0
RD
23997 arg2 = (bool) SWIG_AsBool(obj1);
23998 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23999 }
24000 {
24001 PyThreadState* __tstate = wxPyBeginAllowThreads();
24002 result = (bool)(arg1)->Enable(arg2);
24003
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
4f89f6a3
RD
24007 {
24008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24009 }
d14a1e28
RD
24010 return resultobj;
24011 fail:
24012 return NULL;
24013}
24014
24015
24016static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
24017 PyObject *resultobj;
24018 wxWindow *arg1 = (wxWindow *) 0 ;
24019 bool result;
24020 PyObject * obj0 = 0 ;
24021 char *kwnames[] = {
24022 (char *) "self", NULL
24023 };
24024
24025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
15afbcd0
RD
24026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24028 {
24029 PyThreadState* __tstate = wxPyBeginAllowThreads();
24030 result = (bool)(arg1)->Disable();
24031
24032 wxPyEndAllowThreads(__tstate);
24033 if (PyErr_Occurred()) SWIG_fail;
24034 }
4f89f6a3
RD
24035 {
24036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24037 }
d14a1e28
RD
24038 return resultobj;
24039 fail:
24040 return NULL;
24041}
24042
24043
24044static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
24045 PyObject *resultobj;
24046 wxWindow *arg1 = (wxWindow *) 0 ;
24047 bool result;
24048 PyObject * obj0 = 0 ;
24049 char *kwnames[] = {
24050 (char *) "self", NULL
24051 };
24052
24053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
24054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24056 {
24057 PyThreadState* __tstate = wxPyBeginAllowThreads();
24058 result = (bool)((wxWindow const *)arg1)->IsShown();
24059
24060 wxPyEndAllowThreads(__tstate);
24061 if (PyErr_Occurred()) SWIG_fail;
24062 }
4f89f6a3
RD
24063 {
24064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24065 }
d14a1e28
RD
24066 return resultobj;
24067 fail:
24068 return NULL;
24069}
24070
24071
24072static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24073 PyObject *resultobj;
24074 wxWindow *arg1 = (wxWindow *) 0 ;
24075 bool result;
24076 PyObject * obj0 = 0 ;
24077 char *kwnames[] = {
24078 (char *) "self", NULL
24079 };
24080
24081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
24082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24084 {
24085 PyThreadState* __tstate = wxPyBeginAllowThreads();
24086 result = (bool)((wxWindow const *)arg1)->IsEnabled();
24087
24088 wxPyEndAllowThreads(__tstate);
24089 if (PyErr_Occurred()) SWIG_fail;
24090 }
4f89f6a3
RD
24091 {
24092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24093 }
d14a1e28
RD
24094 return resultobj;
24095 fail:
24096 return NULL;
24097}
24098
24099
24100static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
24101 PyObject *resultobj;
24102 wxWindow *arg1 = (wxWindow *) 0 ;
24103 long arg2 ;
24104 PyObject * obj0 = 0 ;
994141e6 24105 PyObject * obj1 = 0 ;
d14a1e28
RD
24106 char *kwnames[] = {
24107 (char *) "self",(char *) "style", NULL
24108 };
24109
994141e6 24110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24113 arg2 = (long) SWIG_AsLong(obj1);
24114 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24115 {
24116 PyThreadState* __tstate = wxPyBeginAllowThreads();
24117 (arg1)->SetWindowStyleFlag(arg2);
24118
24119 wxPyEndAllowThreads(__tstate);
24120 if (PyErr_Occurred()) SWIG_fail;
24121 }
24122 Py_INCREF(Py_None); resultobj = Py_None;
24123 return resultobj;
24124 fail:
24125 return NULL;
24126}
24127
24128
24129static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
24130 PyObject *resultobj;
24131 wxWindow *arg1 = (wxWindow *) 0 ;
24132 long result;
24133 PyObject * obj0 = 0 ;
24134 char *kwnames[] = {
24135 (char *) "self", NULL
24136 };
24137
24138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
24139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24141 {
24142 PyThreadState* __tstate = wxPyBeginAllowThreads();
24143 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
24144
24145 wxPyEndAllowThreads(__tstate);
24146 if (PyErr_Occurred()) SWIG_fail;
24147 }
15afbcd0 24148 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
24149 return resultobj;
24150 fail:
24151 return NULL;
24152}
24153
24154
24155static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
24156 PyObject *resultobj;
24157 wxWindow *arg1 = (wxWindow *) 0 ;
24158 int arg2 ;
24159 bool result;
24160 PyObject * obj0 = 0 ;
994141e6 24161 PyObject * obj1 = 0 ;
d14a1e28
RD
24162 char *kwnames[] = {
24163 (char *) "self",(char *) "flag", NULL
24164 };
24165
994141e6 24166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24169 arg2 = (int) SWIG_AsInt(obj1);
24170 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24171 {
24172 PyThreadState* __tstate = wxPyBeginAllowThreads();
24173 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
24174
24175 wxPyEndAllowThreads(__tstate);
24176 if (PyErr_Occurred()) SWIG_fail;
24177 }
4f89f6a3
RD
24178 {
24179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24180 }
d14a1e28
RD
24181 return resultobj;
24182 fail:
24183 return NULL;
24184}
24185
24186
24187static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
24188 PyObject *resultobj;
24189 wxWindow *arg1 = (wxWindow *) 0 ;
24190 bool result;
24191 PyObject * obj0 = 0 ;
24192 char *kwnames[] = {
24193 (char *) "self", NULL
24194 };
24195
24196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
15afbcd0
RD
24197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24199 {
24200 PyThreadState* __tstate = wxPyBeginAllowThreads();
24201 result = (bool)((wxWindow const *)arg1)->IsRetained();
24202
24203 wxPyEndAllowThreads(__tstate);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 }
4f89f6a3
RD
24206 {
24207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24208 }
d14a1e28
RD
24209 return resultobj;
24210 fail:
24211 return NULL;
24212}
24213
24214
24215static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj;
24217 wxWindow *arg1 = (wxWindow *) 0 ;
24218 long arg2 ;
24219 PyObject * obj0 = 0 ;
994141e6 24220 PyObject * obj1 = 0 ;
d14a1e28
RD
24221 char *kwnames[] = {
24222 (char *) "self",(char *) "exStyle", NULL
24223 };
24224
994141e6 24225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24228 arg2 = (long) SWIG_AsLong(obj1);
24229 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24230 {
24231 PyThreadState* __tstate = wxPyBeginAllowThreads();
24232 (arg1)->SetExtraStyle(arg2);
24233
24234 wxPyEndAllowThreads(__tstate);
24235 if (PyErr_Occurred()) SWIG_fail;
24236 }
24237 Py_INCREF(Py_None); resultobj = Py_None;
24238 return resultobj;
24239 fail:
24240 return NULL;
24241}
24242
24243
24244static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
24245 PyObject *resultobj;
24246 wxWindow *arg1 = (wxWindow *) 0 ;
24247 long result;
24248 PyObject * obj0 = 0 ;
24249 char *kwnames[] = {
24250 (char *) "self", NULL
24251 };
24252
24253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
24254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24256 {
24257 PyThreadState* __tstate = wxPyBeginAllowThreads();
24258 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
24259
24260 wxPyEndAllowThreads(__tstate);
24261 if (PyErr_Occurred()) SWIG_fail;
24262 }
15afbcd0 24263 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
24264 return resultobj;
24265 fail:
24266 return NULL;
24267}
24268
24269
24270static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
24271 PyObject *resultobj;
24272 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24273 bool arg2 = (bool) True ;
d14a1e28
RD
24274 PyObject * obj0 = 0 ;
24275 PyObject * obj1 = 0 ;
24276 char *kwnames[] = {
24277 (char *) "self",(char *) "modal", NULL
24278 };
24279
24280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24283 if (obj1) {
15afbcd0
RD
24284 arg2 = (bool) SWIG_AsBool(obj1);
24285 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24286 }
24287 {
24288 PyThreadState* __tstate = wxPyBeginAllowThreads();
24289 (arg1)->MakeModal(arg2);
24290
24291 wxPyEndAllowThreads(__tstate);
24292 if (PyErr_Occurred()) SWIG_fail;
24293 }
24294 Py_INCREF(Py_None); resultobj = Py_None;
24295 return resultobj;
24296 fail:
24297 return NULL;
24298}
24299
24300
24301static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24302 PyObject *resultobj;
24303 wxWindow *arg1 = (wxWindow *) 0 ;
24304 bool arg2 ;
24305 PyObject * obj0 = 0 ;
24306 PyObject * obj1 = 0 ;
24307 char *kwnames[] = {
24308 (char *) "self",(char *) "enableTheme", NULL
24309 };
24310
24311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24314 arg2 = (bool) SWIG_AsBool(obj1);
24315 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24316 {
24317 PyThreadState* __tstate = wxPyBeginAllowThreads();
24318 (arg1)->SetThemeEnabled(arg2);
24319
24320 wxPyEndAllowThreads(__tstate);
24321 if (PyErr_Occurred()) SWIG_fail;
24322 }
24323 Py_INCREF(Py_None); resultobj = Py_None;
24324 return resultobj;
24325 fail:
24326 return NULL;
24327}
24328
24329
24330static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24331 PyObject *resultobj;
24332 wxWindow *arg1 = (wxWindow *) 0 ;
24333 bool result;
24334 PyObject * obj0 = 0 ;
24335 char *kwnames[] = {
24336 (char *) "self", NULL
24337 };
24338
24339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
24340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24342 {
24343 PyThreadState* __tstate = wxPyBeginAllowThreads();
24344 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
24345
24346 wxPyEndAllowThreads(__tstate);
24347 if (PyErr_Occurred()) SWIG_fail;
24348 }
4f89f6a3
RD
24349 {
24350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24351 }
d14a1e28
RD
24352 return resultobj;
24353 fail:
24354 return NULL;
24355}
24356
24357
d14a1e28
RD
24358static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24359 PyObject *resultobj;
24360 wxWindow *arg1 = (wxWindow *) 0 ;
24361 PyObject * obj0 = 0 ;
24362 char *kwnames[] = {
24363 (char *) "self", NULL
24364 };
24365
24366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
24367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24369 {
24370 PyThreadState* __tstate = wxPyBeginAllowThreads();
24371 (arg1)->SetFocus();
24372
24373 wxPyEndAllowThreads(__tstate);
24374 if (PyErr_Occurred()) SWIG_fail;
24375 }
24376 Py_INCREF(Py_None); resultobj = Py_None;
24377 return resultobj;
24378 fail:
24379 return NULL;
24380}
24381
24382
24383static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
24384 PyObject *resultobj;
24385 wxWindow *arg1 = (wxWindow *) 0 ;
24386 PyObject * obj0 = 0 ;
24387 char *kwnames[] = {
24388 (char *) "self", NULL
24389 };
24390
24391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
15afbcd0
RD
24392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24394 {
24395 PyThreadState* __tstate = wxPyBeginAllowThreads();
24396 (arg1)->SetFocusFromKbd();
24397
24398 wxPyEndAllowThreads(__tstate);
24399 if (PyErr_Occurred()) SWIG_fail;
24400 }
24401 Py_INCREF(Py_None); resultobj = Py_None;
24402 return resultobj;
24403 fail:
24404 return NULL;
24405}
24406
24407
24408static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24409 PyObject *resultobj;
24410 wxWindow *result;
24411 char *kwnames[] = {
24412 NULL
24413 };
24414
24415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
24416 {
e3b71cb8 24417 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 result = (wxWindow *)wxWindow::FindFocus();
24420
24421 wxPyEndAllowThreads(__tstate);
110da5b0 24422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24423 }
24424 {
412d302d 24425 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24426 }
24427 return resultobj;
24428 fail:
24429 return NULL;
24430}
24431
24432
24433static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24434 PyObject *resultobj;
24435 wxWindow *arg1 = (wxWindow *) 0 ;
24436 bool result;
24437 PyObject * obj0 = 0 ;
24438 char *kwnames[] = {
24439 (char *) "self", NULL
24440 };
24441
24442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
24443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24445 {
24446 PyThreadState* __tstate = wxPyBeginAllowThreads();
24447 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
24448
24449 wxPyEndAllowThreads(__tstate);
24450 if (PyErr_Occurred()) SWIG_fail;
24451 }
4f89f6a3
RD
24452 {
24453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24454 }
d14a1e28
RD
24455 return resultobj;
24456 fail:
24457 return NULL;
24458}
24459
24460
24461static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24462 PyObject *resultobj;
24463 wxWindow *arg1 = (wxWindow *) 0 ;
24464 bool result;
24465 PyObject * obj0 = 0 ;
24466 char *kwnames[] = {
24467 (char *) "self", NULL
24468 };
24469
24470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
24471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24473 {
24474 PyThreadState* __tstate = wxPyBeginAllowThreads();
24475 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
24476
24477 wxPyEndAllowThreads(__tstate);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
4f89f6a3
RD
24480 {
24481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24482 }
d14a1e28
RD
24483 return resultobj;
24484 fail:
24485 return NULL;
24486}
24487
24488
24489static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24490 PyObject *resultobj;
24491 wxWindow *arg1 = (wxWindow *) 0 ;
24492 wxWindow *result;
24493 PyObject * obj0 = 0 ;
24494 char *kwnames[] = {
24495 (char *) "self", NULL
24496 };
24497
24498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
24499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24501 {
24502 PyThreadState* __tstate = wxPyBeginAllowThreads();
24503 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
24504
24505 wxPyEndAllowThreads(__tstate);
24506 if (PyErr_Occurred()) SWIG_fail;
24507 }
24508 {
412d302d 24509 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24510 }
24511 return resultobj;
24512 fail:
24513 return NULL;
24514}
24515
24516
24517static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24518 PyObject *resultobj;
24519 wxWindow *arg1 = (wxWindow *) 0 ;
24520 wxWindow *arg2 = (wxWindow *) 0 ;
24521 wxWindow *result;
24522 PyObject * obj0 = 0 ;
24523 PyObject * obj1 = 0 ;
24524 char *kwnames[] = {
24525 (char *) "self",(char *) "child", NULL
24526 };
24527
24528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24533 {
24534 PyThreadState* __tstate = wxPyBeginAllowThreads();
24535 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
24536
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 {
412d302d 24541 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24542 }
24543 return resultobj;
24544 fail:
24545 return NULL;
24546}
24547
24548
24549static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24550 PyObject *resultobj;
24551 wxWindow *arg1 = (wxWindow *) 0 ;
24552 wxWindow *arg2 = (wxWindow *) 0 ;
24553 PyObject * obj0 = 0 ;
24554 PyObject * obj1 = 0 ;
24555 char *kwnames[] = {
24556 (char *) "self",(char *) "win", NULL
24557 };
24558
24559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24564 {
24565 PyThreadState* __tstate = wxPyBeginAllowThreads();
24566 (arg1)->SetTmpDefaultItem(arg2);
24567
24568 wxPyEndAllowThreads(__tstate);
24569 if (PyErr_Occurred()) SWIG_fail;
24570 }
24571 Py_INCREF(Py_None); resultobj = Py_None;
24572 return resultobj;
24573 fail:
24574 return NULL;
24575}
24576
24577
908b74cd
RD
24578static PyObject *_wrap_Window_Navigate(PyObject *self, PyObject *args, PyObject *kwargs) {
24579 PyObject *resultobj;
24580 wxWindow *arg1 = (wxWindow *) 0 ;
24581 int arg2 = (int) wxNavigationKeyEvent::IsForward ;
24582 bool result;
24583 PyObject * obj0 = 0 ;
24584 PyObject * obj1 = 0 ;
24585 char *kwnames[] = {
24586 (char *) "self",(char *) "flags", NULL
24587 };
24588
24589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Navigate",kwnames,&obj0,&obj1)) goto fail;
24590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24592 if (obj1) {
24593 arg2 = (int) SWIG_AsInt(obj1);
24594 if (PyErr_Occurred()) SWIG_fail;
24595 }
24596 {
24597 PyThreadState* __tstate = wxPyBeginAllowThreads();
24598 result = (bool)(arg1)->Navigate(arg2);
24599
24600 wxPyEndAllowThreads(__tstate);
24601 if (PyErr_Occurred()) SWIG_fail;
24602 }
24603 {
24604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24605 }
24606 return resultobj;
24607 fail:
24608 return NULL;
24609}
24610
24611
d14a1e28
RD
24612static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24613 PyObject *resultobj;
24614 wxWindow *arg1 = (wxWindow *) 0 ;
24615 PyObject *result;
24616 PyObject * obj0 = 0 ;
24617 char *kwnames[] = {
24618 (char *) "self", NULL
24619 };
24620
24621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
24622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24624 {
24625 PyThreadState* __tstate = wxPyBeginAllowThreads();
24626 result = (PyObject *)wxWindow_GetChildren(arg1);
24627
24628 wxPyEndAllowThreads(__tstate);
24629 if (PyErr_Occurred()) SWIG_fail;
24630 }
24631 resultobj = result;
24632 return resultobj;
24633 fail:
24634 return NULL;
24635}
24636
24637
24638static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24639 PyObject *resultobj;
24640 wxWindow *arg1 = (wxWindow *) 0 ;
24641 wxWindow *result;
24642 PyObject * obj0 = 0 ;
24643 char *kwnames[] = {
24644 (char *) "self", NULL
24645 };
24646
24647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
24648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24650 {
24651 PyThreadState* __tstate = wxPyBeginAllowThreads();
24652 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
24653
24654 wxPyEndAllowThreads(__tstate);
24655 if (PyErr_Occurred()) SWIG_fail;
24656 }
24657 {
412d302d 24658 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24659 }
24660 return resultobj;
24661 fail:
24662 return NULL;
24663}
24664
24665
24666static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24667 PyObject *resultobj;
24668 wxWindow *arg1 = (wxWindow *) 0 ;
24669 wxWindow *result;
24670 PyObject * obj0 = 0 ;
24671 char *kwnames[] = {
24672 (char *) "self", NULL
24673 };
24674
24675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
24676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24678 {
24679 PyThreadState* __tstate = wxPyBeginAllowThreads();
24680 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
24681
24682 wxPyEndAllowThreads(__tstate);
24683 if (PyErr_Occurred()) SWIG_fail;
24684 }
24685 {
412d302d 24686 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24687 }
24688 return resultobj;
24689 fail:
24690 return NULL;
24691}
24692
24693
24694static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
24695 PyObject *resultobj;
24696 wxWindow *arg1 = (wxWindow *) 0 ;
24697 bool result;
24698 PyObject * obj0 = 0 ;
24699 char *kwnames[] = {
24700 (char *) "self", NULL
24701 };
24702
24703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
15afbcd0
RD
24704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24706 {
24707 PyThreadState* __tstate = wxPyBeginAllowThreads();
24708 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
24709
24710 wxPyEndAllowThreads(__tstate);
24711 if (PyErr_Occurred()) SWIG_fail;
24712 }
4f89f6a3
RD
24713 {
24714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24715 }
d14a1e28
RD
24716 return resultobj;
24717 fail:
24718 return NULL;
24719}
24720
24721
24722static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
24723 PyObject *resultobj;
24724 wxWindow *arg1 = (wxWindow *) 0 ;
24725 wxWindow *arg2 = (wxWindow *) 0 ;
24726 bool result;
24727 PyObject * obj0 = 0 ;
24728 PyObject * obj1 = 0 ;
24729 char *kwnames[] = {
24730 (char *) "self",(char *) "newParent", NULL
24731 };
24732
24733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24738 {
24739 PyThreadState* __tstate = wxPyBeginAllowThreads();
24740 result = (bool)(arg1)->Reparent(arg2);
24741
24742 wxPyEndAllowThreads(__tstate);
24743 if (PyErr_Occurred()) SWIG_fail;
24744 }
4f89f6a3
RD
24745 {
24746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24747 }
d14a1e28
RD
24748 return resultobj;
24749 fail:
24750 return NULL;
24751}
24752
24753
24754static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24755 PyObject *resultobj;
24756 wxWindow *arg1 = (wxWindow *) 0 ;
24757 wxWindow *arg2 = (wxWindow *) 0 ;
24758 PyObject * obj0 = 0 ;
24759 PyObject * obj1 = 0 ;
24760 char *kwnames[] = {
24761 (char *) "self",(char *) "child", NULL
24762 };
24763
24764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24769 {
24770 PyThreadState* __tstate = wxPyBeginAllowThreads();
24771 (arg1)->AddChild(arg2);
24772
24773 wxPyEndAllowThreads(__tstate);
24774 if (PyErr_Occurred()) SWIG_fail;
24775 }
24776 Py_INCREF(Py_None); resultobj = Py_None;
24777 return resultobj;
24778 fail:
24779 return NULL;
24780}
24781
24782
24783static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24784 PyObject *resultobj;
24785 wxWindow *arg1 = (wxWindow *) 0 ;
24786 wxWindow *arg2 = (wxWindow *) 0 ;
24787 PyObject * obj0 = 0 ;
24788 PyObject * obj1 = 0 ;
24789 char *kwnames[] = {
24790 (char *) "self",(char *) "child", NULL
24791 };
24792
24793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24796 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24798 {
24799 PyThreadState* __tstate = wxPyBeginAllowThreads();
24800 (arg1)->RemoveChild(arg2);
24801
24802 wxPyEndAllowThreads(__tstate);
24803 if (PyErr_Occurred()) SWIG_fail;
24804 }
24805 Py_INCREF(Py_None); resultobj = Py_None;
24806 return resultobj;
24807 fail:
24808 return NULL;
24809}
24810
24811
24812static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24813 PyObject *resultobj;
24814 wxWindow *arg1 = (wxWindow *) 0 ;
24815 long arg2 ;
24816 wxWindow *result;
24817 PyObject * obj0 = 0 ;
994141e6 24818 PyObject * obj1 = 0 ;
d14a1e28
RD
24819 char *kwnames[] = {
24820 (char *) "self",(char *) "winid", NULL
24821 };
24822
994141e6 24823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24826 arg2 = (long) SWIG_AsLong(obj1);
24827 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24828 {
24829 PyThreadState* __tstate = wxPyBeginAllowThreads();
24830 result = (wxWindow *)(arg1)->FindWindow(arg2);
24831
24832 wxPyEndAllowThreads(__tstate);
24833 if (PyErr_Occurred()) SWIG_fail;
24834 }
24835 {
412d302d 24836 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24837 }
24838 return resultobj;
24839 fail:
24840 return NULL;
24841}
24842
24843
24844static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24845 PyObject *resultobj;
24846 wxWindow *arg1 = (wxWindow *) 0 ;
24847 wxString *arg2 = 0 ;
24848 wxWindow *result;
e811c8ce 24849 bool temp2 = False ;
d14a1e28
RD
24850 PyObject * obj0 = 0 ;
24851 PyObject * obj1 = 0 ;
24852 char *kwnames[] = {
24853 (char *) "self",(char *) "name", NULL
24854 };
24855
24856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24859 {
24860 arg2 = wxString_in_helper(obj1);
24861 if (arg2 == NULL) SWIG_fail;
e811c8ce 24862 temp2 = True;
d14a1e28
RD
24863 }
24864 {
24865 PyThreadState* __tstate = wxPyBeginAllowThreads();
24866 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
24867
24868 wxPyEndAllowThreads(__tstate);
24869 if (PyErr_Occurred()) SWIG_fail;
24870 }
24871 {
412d302d 24872 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24873 }
24874 {
24875 if (temp2)
24876 delete arg2;
24877 }
24878 return resultobj;
24879 fail:
24880 {
24881 if (temp2)
24882 delete arg2;
24883 }
24884 return NULL;
24885}
24886
24887
24888static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24889 PyObject *resultobj;
24890 wxWindow *arg1 = (wxWindow *) 0 ;
24891 wxEvtHandler *result;
24892 PyObject * obj0 = 0 ;
24893 char *kwnames[] = {
24894 (char *) "self", NULL
24895 };
24896
24897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
24898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24900 {
24901 PyThreadState* __tstate = wxPyBeginAllowThreads();
24902 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
24903
24904 wxPyEndAllowThreads(__tstate);
24905 if (PyErr_Occurred()) SWIG_fail;
24906 }
24907 {
412d302d 24908 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24909 }
24910 return resultobj;
24911 fail:
24912 return NULL;
24913}
24914
24915
24916static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24917 PyObject *resultobj;
24918 wxWindow *arg1 = (wxWindow *) 0 ;
24919 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24920 PyObject * obj0 = 0 ;
24921 PyObject * obj1 = 0 ;
24922 char *kwnames[] = {
24923 (char *) "self",(char *) "handler", NULL
24924 };
24925
24926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24931 {
24932 PyThreadState* __tstate = wxPyBeginAllowThreads();
24933 (arg1)->SetEventHandler(arg2);
24934
24935 wxPyEndAllowThreads(__tstate);
24936 if (PyErr_Occurred()) SWIG_fail;
24937 }
24938 Py_INCREF(Py_None); resultobj = Py_None;
24939 return resultobj;
24940 fail:
24941 return NULL;
24942}
24943
24944
24945static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24946 PyObject *resultobj;
24947 wxWindow *arg1 = (wxWindow *) 0 ;
24948 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24949 PyObject * obj0 = 0 ;
24950 PyObject * obj1 = 0 ;
24951 char *kwnames[] = {
24952 (char *) "self",(char *) "handler", NULL
24953 };
24954
24955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24958 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24960 {
24961 PyThreadState* __tstate = wxPyBeginAllowThreads();
24962 (arg1)->PushEventHandler(arg2);
24963
24964 wxPyEndAllowThreads(__tstate);
24965 if (PyErr_Occurred()) SWIG_fail;
24966 }
24967 Py_INCREF(Py_None); resultobj = Py_None;
24968 return resultobj;
24969 fail:
24970 return NULL;
24971}
24972
24973
24974static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24975 PyObject *resultobj;
24976 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24977 bool arg2 = (bool) False ;
d14a1e28
RD
24978 wxEvtHandler *result;
24979 PyObject * obj0 = 0 ;
24980 PyObject * obj1 = 0 ;
24981 char *kwnames[] = {
24982 (char *) "self",(char *) "deleteHandler", NULL
24983 };
24984
24985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24988 if (obj1) {
15afbcd0
RD
24989 arg2 = (bool) SWIG_AsBool(obj1);
24990 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24991 }
24992 {
24993 PyThreadState* __tstate = wxPyBeginAllowThreads();
24994 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
24995
24996 wxPyEndAllowThreads(__tstate);
24997 if (PyErr_Occurred()) SWIG_fail;
24998 }
24999 {
412d302d 25000 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25001 }
25002 return resultobj;
25003 fail:
25004 return NULL;
25005}
25006
25007
25008static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
25009 PyObject *resultobj;
25010 wxWindow *arg1 = (wxWindow *) 0 ;
25011 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
25012 bool result;
25013 PyObject * obj0 = 0 ;
25014 PyObject * obj1 = 0 ;
25015 char *kwnames[] = {
25016 (char *) "self",(char *) "handler", NULL
25017 };
25018
25019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25022 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
25023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25024 {
25025 PyThreadState* __tstate = wxPyBeginAllowThreads();
25026 result = (bool)(arg1)->RemoveEventHandler(arg2);
25027
25028 wxPyEndAllowThreads(__tstate);
25029 if (PyErr_Occurred()) SWIG_fail;
25030 }
4f89f6a3
RD
25031 {
25032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25033 }
d14a1e28
RD
25034 return resultobj;
25035 fail:
25036 return NULL;
25037}
25038
25039
25040static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
25041 PyObject *resultobj;
25042 wxWindow *arg1 = (wxWindow *) 0 ;
25043 wxValidator *arg2 = 0 ;
25044 PyObject * obj0 = 0 ;
25045 PyObject * obj1 = 0 ;
25046 char *kwnames[] = {
25047 (char *) "self",(char *) "validator", NULL
25048 };
25049
25050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25053 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
25054 SWIG_POINTER_EXCEPTION | 0)) == -1)
25055 SWIG_fail;
d14a1e28 25056 if (arg2 == NULL) {
15afbcd0
RD
25057 PyErr_SetString(PyExc_TypeError,"null reference");
25058 SWIG_fail;
d14a1e28
RD
25059 }
25060 {
25061 PyThreadState* __tstate = wxPyBeginAllowThreads();
25062 (arg1)->SetValidator((wxValidator const &)*arg2);
25063
25064 wxPyEndAllowThreads(__tstate);
25065 if (PyErr_Occurred()) SWIG_fail;
25066 }
25067 Py_INCREF(Py_None); resultobj = Py_None;
25068 return resultobj;
25069 fail:
25070 return NULL;
25071}
25072
25073
25074static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
25075 PyObject *resultobj;
25076 wxWindow *arg1 = (wxWindow *) 0 ;
25077 wxValidator *result;
25078 PyObject * obj0 = 0 ;
25079 char *kwnames[] = {
25080 (char *) "self", NULL
25081 };
25082
25083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
15afbcd0
RD
25084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25086 {
25087 PyThreadState* __tstate = wxPyBeginAllowThreads();
25088 result = (wxValidator *)(arg1)->GetValidator();
25089
25090 wxPyEndAllowThreads(__tstate);
25091 if (PyErr_Occurred()) SWIG_fail;
25092 }
25093 {
412d302d 25094 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25095 }
25096 return resultobj;
25097 fail:
25098 return NULL;
25099}
25100
25101
74a57fcd
RD
25102static PyObject *_wrap_Window_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
25103 PyObject *resultobj;
25104 wxWindow *arg1 = (wxWindow *) 0 ;
25105 bool result;
25106 PyObject * obj0 = 0 ;
25107 char *kwnames[] = {
25108 (char *) "self", NULL
25109 };
25110
25111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
25112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25114 {
25115 PyThreadState* __tstate = wxPyBeginAllowThreads();
25116 result = (bool)(arg1)->Validate();
25117
25118 wxPyEndAllowThreads(__tstate);
25119 if (PyErr_Occurred()) SWIG_fail;
25120 }
25121 {
25122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25123 }
25124 return resultobj;
25125 fail:
25126 return NULL;
25127}
25128
25129
25130static PyObject *_wrap_Window_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25131 PyObject *resultobj;
25132 wxWindow *arg1 = (wxWindow *) 0 ;
25133 bool result;
25134 PyObject * obj0 = 0 ;
25135 char *kwnames[] = {
25136 (char *) "self", NULL
25137 };
25138
25139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
25140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25142 {
25143 PyThreadState* __tstate = wxPyBeginAllowThreads();
25144 result = (bool)(arg1)->TransferDataToWindow();
25145
25146 wxPyEndAllowThreads(__tstate);
25147 if (PyErr_Occurred()) SWIG_fail;
25148 }
25149 {
25150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25151 }
25152 return resultobj;
25153 fail:
25154 return NULL;
25155}
25156
25157
25158static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25159 PyObject *resultobj;
25160 wxWindow *arg1 = (wxWindow *) 0 ;
25161 bool result;
25162 PyObject * obj0 = 0 ;
25163 char *kwnames[] = {
25164 (char *) "self", NULL
25165 };
25166
25167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
25168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25170 {
25171 PyThreadState* __tstate = wxPyBeginAllowThreads();
25172 result = (bool)(arg1)->TransferDataFromWindow();
25173
25174 wxPyEndAllowThreads(__tstate);
25175 if (PyErr_Occurred()) SWIG_fail;
25176 }
25177 {
25178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25179 }
25180 return resultobj;
25181 fail:
25182 return NULL;
25183}
25184
25185
25186static PyObject *_wrap_Window_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25187 PyObject *resultobj;
25188 wxWindow *arg1 = (wxWindow *) 0 ;
25189 PyObject * obj0 = 0 ;
25190 char *kwnames[] = {
25191 (char *) "self", NULL
25192 };
25193
25194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
25195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25197 {
25198 PyThreadState* __tstate = wxPyBeginAllowThreads();
25199 (arg1)->InitDialog();
25200
25201 wxPyEndAllowThreads(__tstate);
25202 if (PyErr_Occurred()) SWIG_fail;
25203 }
25204 Py_INCREF(Py_None); resultobj = Py_None;
25205 return resultobj;
25206 fail:
25207 return NULL;
25208}
25209
25210
d14a1e28
RD
25211static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
25212 PyObject *resultobj;
25213 wxWindow *arg1 = (wxWindow *) 0 ;
25214 wxAcceleratorTable *arg2 = 0 ;
25215 PyObject * obj0 = 0 ;
25216 PyObject * obj1 = 0 ;
25217 char *kwnames[] = {
25218 (char *) "self",(char *) "accel", NULL
25219 };
25220
25221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
25225 SWIG_POINTER_EXCEPTION | 0)) == -1)
25226 SWIG_fail;
d14a1e28 25227 if (arg2 == NULL) {
15afbcd0
RD
25228 PyErr_SetString(PyExc_TypeError,"null reference");
25229 SWIG_fail;
d14a1e28
RD
25230 }
25231 {
25232 PyThreadState* __tstate = wxPyBeginAllowThreads();
25233 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
25234
25235 wxPyEndAllowThreads(__tstate);
25236 if (PyErr_Occurred()) SWIG_fail;
25237 }
25238 Py_INCREF(Py_None); resultobj = Py_None;
25239 return resultobj;
25240 fail:
25241 return NULL;
25242}
25243
25244
25245static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
25246 PyObject *resultobj;
25247 wxWindow *arg1 = (wxWindow *) 0 ;
25248 wxAcceleratorTable *result;
25249 PyObject * obj0 = 0 ;
25250 char *kwnames[] = {
25251 (char *) "self", NULL
25252 };
25253
25254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
25255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25257 {
25258 PyThreadState* __tstate = wxPyBeginAllowThreads();
25259 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
25260
25261 wxPyEndAllowThreads(__tstate);
25262 if (PyErr_Occurred()) SWIG_fail;
25263 }
15afbcd0 25264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
d14a1e28
RD
25265 return resultobj;
25266 fail:
25267 return NULL;
25268}
25269
25270
25271static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
25272 PyObject *resultobj;
25273 wxWindow *arg1 = (wxWindow *) 0 ;
25274 int arg2 ;
25275 int arg3 ;
25276 int arg4 ;
25277 bool result;
25278 PyObject * obj0 = 0 ;
994141e6
RD
25279 PyObject * obj1 = 0 ;
25280 PyObject * obj2 = 0 ;
25281 PyObject * obj3 = 0 ;
d14a1e28
RD
25282 char *kwnames[] = {
25283 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25284 };
25285
994141e6 25286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
25287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25289 arg2 = (int) SWIG_AsInt(obj1);
25290 if (PyErr_Occurred()) SWIG_fail;
25291 arg3 = (int) SWIG_AsInt(obj2);
25292 if (PyErr_Occurred()) SWIG_fail;
25293 arg4 = (int) SWIG_AsInt(obj3);
25294 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25295 {
25296 PyThreadState* __tstate = wxPyBeginAllowThreads();
25297 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
25298
25299 wxPyEndAllowThreads(__tstate);
25300 if (PyErr_Occurred()) SWIG_fail;
25301 }
4f89f6a3
RD
25302 {
25303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25304 }
d14a1e28
RD
25305 return resultobj;
25306 fail:
25307 return NULL;
25308}
25309
25310
25311static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
25312 PyObject *resultobj;
25313 wxWindow *arg1 = (wxWindow *) 0 ;
25314 int arg2 ;
25315 bool result;
25316 PyObject * obj0 = 0 ;
994141e6 25317 PyObject * obj1 = 0 ;
d14a1e28
RD
25318 char *kwnames[] = {
25319 (char *) "self",(char *) "hotkeyId", NULL
25320 };
25321
994141e6 25322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25325 arg2 = (int) SWIG_AsInt(obj1);
25326 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25327 {
25328 PyThreadState* __tstate = wxPyBeginAllowThreads();
25329 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
25330
25331 wxPyEndAllowThreads(__tstate);
25332 if (PyErr_Occurred()) SWIG_fail;
25333 }
4f89f6a3
RD
25334 {
25335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25336 }
d14a1e28
RD
25337 return resultobj;
25338 fail:
25339 return NULL;
25340}
25341
25342
25343static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25344 PyObject *resultobj;
25345 wxWindow *arg1 = (wxWindow *) 0 ;
25346 wxPoint *arg2 = 0 ;
25347 wxPoint result;
25348 wxPoint temp2 ;
25349 PyObject * obj0 = 0 ;
25350 PyObject * obj1 = 0 ;
25351 char *kwnames[] = {
25352 (char *) "self",(char *) "pt", NULL
25353 };
25354
25355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25358 {
25359 arg2 = &temp2;
25360 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25361 }
25362 {
25363 PyThreadState* __tstate = wxPyBeginAllowThreads();
25364 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25365
25366 wxPyEndAllowThreads(__tstate);
25367 if (PyErr_Occurred()) SWIG_fail;
25368 }
25369 {
25370 wxPoint * resultptr;
25371 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25372 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25373 }
25374 return resultobj;
25375 fail:
25376 return NULL;
25377}
25378
25379
25380static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25381 PyObject *resultobj;
25382 wxWindow *arg1 = (wxWindow *) 0 ;
25383 wxSize *arg2 = 0 ;
25384 wxSize result;
25385 wxSize temp2 ;
25386 PyObject * obj0 = 0 ;
25387 PyObject * obj1 = 0 ;
25388 char *kwnames[] = {
25389 (char *) "self",(char *) "sz", NULL
25390 };
25391
25392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25395 {
25396 arg2 = &temp2;
25397 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25398 }
25399 {
25400 PyThreadState* __tstate = wxPyBeginAllowThreads();
25401 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25402
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 {
25407 wxSize * resultptr;
25408 resultptr = new wxSize((wxSize &) result);
15afbcd0 25409 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25410 }
25411 return resultobj;
25412 fail:
25413 return NULL;
25414}
25415
25416
25417static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
25418 PyObject *resultobj;
25419 wxWindow *arg1 = (wxWindow *) 0 ;
25420 wxPoint *arg2 = 0 ;
25421 wxPoint result;
25422 wxPoint temp2 ;
25423 PyObject * obj0 = 0 ;
25424 PyObject * obj1 = 0 ;
25425 char *kwnames[] = {
25426 (char *) "self",(char *) "pt", NULL
25427 };
25428
25429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25432 {
25433 arg2 = &temp2;
25434 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25435 }
25436 {
25437 PyThreadState* __tstate = wxPyBeginAllowThreads();
25438 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25439
25440 wxPyEndAllowThreads(__tstate);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 {
25444 wxPoint * resultptr;
25445 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25446 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25447 }
25448 return resultobj;
25449 fail:
25450 return NULL;
25451}
25452
25453
25454static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
25455 PyObject *resultobj;
25456 wxWindow *arg1 = (wxWindow *) 0 ;
25457 wxSize *arg2 = 0 ;
25458 wxSize result;
25459 wxSize temp2 ;
25460 PyObject * obj0 = 0 ;
25461 PyObject * obj1 = 0 ;
25462 char *kwnames[] = {
25463 (char *) "self",(char *) "sz", NULL
25464 };
25465
25466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25469 {
25470 arg2 = &temp2;
25471 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25472 }
25473 {
25474 PyThreadState* __tstate = wxPyBeginAllowThreads();
25475 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25476
25477 wxPyEndAllowThreads(__tstate);
25478 if (PyErr_Occurred()) SWIG_fail;
25479 }
25480 {
25481 wxSize * resultptr;
25482 resultptr = new wxSize((wxSize &) result);
15afbcd0 25483 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25484 }
25485 return resultobj;
25486 fail:
25487 return NULL;
25488}
25489
25490
25491static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25492 PyObject *resultobj;
25493 wxWindow *arg1 = (wxWindow *) 0 ;
25494 wxPoint *arg2 = 0 ;
25495 wxPoint result;
25496 wxPoint temp2 ;
25497 PyObject * obj0 = 0 ;
25498 PyObject * obj1 = 0 ;
25499 char *kwnames[] = {
25500 (char *) "self",(char *) "pt", NULL
25501 };
25502
25503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25506 {
25507 arg2 = &temp2;
25508 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25509 }
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
25513
25514 wxPyEndAllowThreads(__tstate);
25515 if (PyErr_Occurred()) SWIG_fail;
25516 }
25517 {
25518 wxPoint * resultptr;
25519 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25520 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25521 }
25522 return resultobj;
25523 fail:
25524 return NULL;
25525}
25526
25527
25528static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25529 PyObject *resultobj;
25530 wxWindow *arg1 = (wxWindow *) 0 ;
25531 wxSize *arg2 = 0 ;
25532 wxSize result;
25533 wxSize temp2 ;
25534 PyObject * obj0 = 0 ;
25535 PyObject * obj1 = 0 ;
25536 char *kwnames[] = {
25537 (char *) "self",(char *) "sz", NULL
25538 };
25539
25540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25543 {
25544 arg2 = &temp2;
25545 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25546 }
25547 {
25548 PyThreadState* __tstate = wxPyBeginAllowThreads();
25549 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
25550
25551 wxPyEndAllowThreads(__tstate);
25552 if (PyErr_Occurred()) SWIG_fail;
25553 }
25554 {
25555 wxSize * resultptr;
25556 resultptr = new wxSize((wxSize &) result);
15afbcd0 25557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25558 }
25559 return resultobj;
25560 fail:
25561 return NULL;
25562}
25563
25564
25565static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
25566 PyObject *resultobj;
25567 wxWindow *arg1 = (wxWindow *) 0 ;
25568 int arg2 ;
25569 int arg3 ;
25570 PyObject * obj0 = 0 ;
994141e6
RD
25571 PyObject * obj1 = 0 ;
25572 PyObject * obj2 = 0 ;
d14a1e28
RD
25573 char *kwnames[] = {
25574 (char *) "self",(char *) "x",(char *) "y", NULL
25575 };
25576
994141e6 25577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25580 arg2 = (int) SWIG_AsInt(obj1);
25581 if (PyErr_Occurred()) SWIG_fail;
25582 arg3 = (int) SWIG_AsInt(obj2);
25583 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25584 {
25585 PyThreadState* __tstate = wxPyBeginAllowThreads();
25586 (arg1)->WarpPointer(arg2,arg3);
25587
25588 wxPyEndAllowThreads(__tstate);
25589 if (PyErr_Occurred()) SWIG_fail;
25590 }
25591 Py_INCREF(Py_None); resultobj = Py_None;
25592 return resultobj;
25593 fail:
25594 return NULL;
25595}
25596
25597
25598static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25599 PyObject *resultobj;
25600 wxWindow *arg1 = (wxWindow *) 0 ;
25601 PyObject * obj0 = 0 ;
25602 char *kwnames[] = {
25603 (char *) "self", NULL
25604 };
25605
25606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
25607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25609 {
25610 PyThreadState* __tstate = wxPyBeginAllowThreads();
25611 (arg1)->CaptureMouse();
25612
25613 wxPyEndAllowThreads(__tstate);
25614 if (PyErr_Occurred()) SWIG_fail;
25615 }
25616 Py_INCREF(Py_None); resultobj = Py_None;
25617 return resultobj;
25618 fail:
25619 return NULL;
25620}
25621
25622
25623static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25624 PyObject *resultobj;
25625 wxWindow *arg1 = (wxWindow *) 0 ;
25626 PyObject * obj0 = 0 ;
25627 char *kwnames[] = {
25628 (char *) "self", NULL
25629 };
25630
25631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
25632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25634 {
25635 PyThreadState* __tstate = wxPyBeginAllowThreads();
25636 (arg1)->ReleaseMouse();
25637
25638 wxPyEndAllowThreads(__tstate);
25639 if (PyErr_Occurred()) SWIG_fail;
25640 }
25641 Py_INCREF(Py_None); resultobj = Py_None;
25642 return resultobj;
25643 fail:
25644 return NULL;
25645}
25646
25647
25648static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25649 PyObject *resultobj;
25650 wxWindow *result;
25651 char *kwnames[] = {
25652 NULL
25653 };
25654
25655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
25656 {
e3b71cb8 25657 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25658 PyThreadState* __tstate = wxPyBeginAllowThreads();
25659 result = (wxWindow *)wxWindow::GetCapture();
25660
25661 wxPyEndAllowThreads(__tstate);
110da5b0 25662 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25663 }
25664 {
412d302d 25665 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25666 }
25667 return resultobj;
25668 fail:
25669 return NULL;
25670}
25671
25672
25673static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25674 PyObject *resultobj;
25675 wxWindow *arg1 = (wxWindow *) 0 ;
25676 bool result;
25677 PyObject * obj0 = 0 ;
25678 char *kwnames[] = {
25679 (char *) "self", NULL
25680 };
25681
25682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
15afbcd0
RD
25683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25685 {
25686 PyThreadState* __tstate = wxPyBeginAllowThreads();
25687 result = (bool)((wxWindow const *)arg1)->HasCapture();
25688
25689 wxPyEndAllowThreads(__tstate);
25690 if (PyErr_Occurred()) SWIG_fail;
25691 }
4f89f6a3
RD
25692 {
25693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25694 }
d14a1e28
RD
25695 return resultobj;
25696 fail:
25697 return NULL;
25698}
25699
25700
25701static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
25702 PyObject *resultobj;
25703 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 25704 bool arg2 = (bool) True ;
d14a1e28
RD
25705 wxRect *arg3 = (wxRect *) NULL ;
25706 PyObject * obj0 = 0 ;
25707 PyObject * obj1 = 0 ;
25708 PyObject * obj2 = 0 ;
25709 char *kwnames[] = {
25710 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25711 };
25712
25713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 25716 if (obj1) {
15afbcd0
RD
25717 arg2 = (bool) SWIG_AsBool(obj1);
25718 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25719 }
25720 if (obj2) {
15afbcd0
RD
25721 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
25722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25723 }
25724 {
25725 PyThreadState* __tstate = wxPyBeginAllowThreads();
25726 (arg1)->Refresh(arg2,(wxRect const *)arg3);
25727
25728 wxPyEndAllowThreads(__tstate);
25729 if (PyErr_Occurred()) SWIG_fail;
25730 }
25731 Py_INCREF(Py_None); resultobj = Py_None;
25732 return resultobj;
25733 fail:
25734 return NULL;
25735}
25736
25737
25738static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25739 PyObject *resultobj;
25740 wxWindow *arg1 = (wxWindow *) 0 ;
25741 wxRect *arg2 = 0 ;
25742 wxRect temp2 ;
25743 PyObject * obj0 = 0 ;
25744 PyObject * obj1 = 0 ;
25745 char *kwnames[] = {
25746 (char *) "self",(char *) "rect", NULL
25747 };
25748
25749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25752 {
25753 arg2 = &temp2;
25754 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25755 }
25756 {
25757 PyThreadState* __tstate = wxPyBeginAllowThreads();
25758 (arg1)->RefreshRect((wxRect const &)*arg2);
25759
25760 wxPyEndAllowThreads(__tstate);
25761 if (PyErr_Occurred()) SWIG_fail;
25762 }
25763 Py_INCREF(Py_None); resultobj = Py_None;
25764 return resultobj;
25765 fail:
25766 return NULL;
25767}
25768
25769
25770static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
25771 PyObject *resultobj;
25772 wxWindow *arg1 = (wxWindow *) 0 ;
25773 PyObject * obj0 = 0 ;
25774 char *kwnames[] = {
25775 (char *) "self", NULL
25776 };
25777
25778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
15afbcd0
RD
25779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25781 {
25782 PyThreadState* __tstate = wxPyBeginAllowThreads();
25783 (arg1)->Update();
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_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
25796 PyObject *resultobj;
25797 wxWindow *arg1 = (wxWindow *) 0 ;
25798 PyObject * obj0 = 0 ;
25799 char *kwnames[] = {
25800 (char *) "self", NULL
25801 };
25802
25803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
25804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25806 {
25807 PyThreadState* __tstate = wxPyBeginAllowThreads();
25808 (arg1)->ClearBackground();
25809
25810 wxPyEndAllowThreads(__tstate);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 }
25813 Py_INCREF(Py_None); resultobj = Py_None;
25814 return resultobj;
25815 fail:
25816 return NULL;
25817}
25818
25819
25820static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
25821 PyObject *resultobj;
25822 wxWindow *arg1 = (wxWindow *) 0 ;
25823 PyObject * obj0 = 0 ;
25824 char *kwnames[] = {
25825 (char *) "self", NULL
25826 };
25827
25828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
15afbcd0
RD
25829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25831 {
25832 PyThreadState* __tstate = wxPyBeginAllowThreads();
25833 (arg1)->Freeze();
25834
25835 wxPyEndAllowThreads(__tstate);
25836 if (PyErr_Occurred()) SWIG_fail;
25837 }
25838 Py_INCREF(Py_None); resultobj = Py_None;
25839 return resultobj;
25840 fail:
25841 return NULL;
25842}
25843
25844
25845static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
25846 PyObject *resultobj;
25847 wxWindow *arg1 = (wxWindow *) 0 ;
25848 PyObject * obj0 = 0 ;
25849 char *kwnames[] = {
25850 (char *) "self", NULL
25851 };
25852
25853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
15afbcd0
RD
25854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25856 {
25857 PyThreadState* __tstate = wxPyBeginAllowThreads();
25858 (arg1)->Thaw();
25859
25860 wxPyEndAllowThreads(__tstate);
25861 if (PyErr_Occurred()) SWIG_fail;
25862 }
25863 Py_INCREF(Py_None); resultobj = Py_None;
25864 return resultobj;
25865 fail:
25866 return NULL;
25867}
25868
25869
25870static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
25871 PyObject *resultobj;
25872 wxWindow *arg1 = (wxWindow *) 0 ;
25873 wxDC *arg2 = 0 ;
25874 PyObject * obj0 = 0 ;
25875 PyObject * obj1 = 0 ;
25876 char *kwnames[] = {
25877 (char *) "self",(char *) "dc", NULL
25878 };
25879
25880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25883 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25884 SWIG_POINTER_EXCEPTION | 0)) == -1)
25885 SWIG_fail;
d14a1e28 25886 if (arg2 == NULL) {
15afbcd0
RD
25887 PyErr_SetString(PyExc_TypeError,"null reference");
25888 SWIG_fail;
d14a1e28
RD
25889 }
25890 {
25891 PyThreadState* __tstate = wxPyBeginAllowThreads();
25892 (arg1)->PrepareDC(*arg2);
25893
25894 wxPyEndAllowThreads(__tstate);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
25897 Py_INCREF(Py_None); resultobj = Py_None;
25898 return resultobj;
25899 fail:
25900 return NULL;
25901}
25902
25903
25904static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25905 PyObject *resultobj;
25906 wxWindow *arg1 = (wxWindow *) 0 ;
25907 wxRegion *result;
25908 PyObject * obj0 = 0 ;
25909 char *kwnames[] = {
25910 (char *) "self", NULL
25911 };
25912
25913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
15afbcd0
RD
25914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25916 {
25917 PyThreadState* __tstate = wxPyBeginAllowThreads();
25918 {
25919 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
25920 result = (wxRegion *) &_result_ref;
25921 }
25922
25923 wxPyEndAllowThreads(__tstate);
25924 if (PyErr_Occurred()) SWIG_fail;
25925 }
15afbcd0 25926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
d14a1e28
RD
25927 return resultobj;
25928 fail:
25929 return NULL;
25930}
25931
25932
25933static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25934 PyObject *resultobj;
25935 wxWindow *arg1 = (wxWindow *) 0 ;
25936 wxRect result;
25937 PyObject * obj0 = 0 ;
25938 char *kwnames[] = {
25939 (char *) "self", NULL
25940 };
25941
25942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
25943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25945 {
25946 PyThreadState* __tstate = wxPyBeginAllowThreads();
25947 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
25948
25949 wxPyEndAllowThreads(__tstate);
25950 if (PyErr_Occurred()) SWIG_fail;
25951 }
25952 {
25953 wxRect * resultptr;
25954 resultptr = new wxRect((wxRect &) result);
15afbcd0 25955 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
25956 }
25957 return resultobj;
25958 fail:
25959 return NULL;
25960}
25961
25962
25963static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
25964 PyObject *resultobj;
25965 wxWindow *arg1 = (wxWindow *) 0 ;
25966 int arg2 ;
25967 int arg3 ;
25968 int arg4 = (int) 1 ;
25969 int arg5 = (int) 1 ;
25970 bool result;
25971 PyObject * obj0 = 0 ;
994141e6
RD
25972 PyObject * obj1 = 0 ;
25973 PyObject * obj2 = 0 ;
25974 PyObject * obj3 = 0 ;
25975 PyObject * obj4 = 0 ;
d14a1e28
RD
25976 char *kwnames[] = {
25977 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25978 };
25979
994141e6 25980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
25981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25983 arg2 = (int) SWIG_AsInt(obj1);
25984 if (PyErr_Occurred()) SWIG_fail;
25985 arg3 = (int) SWIG_AsInt(obj2);
25986 if (PyErr_Occurred()) SWIG_fail;
994141e6 25987 if (obj3) {
15afbcd0
RD
25988 arg4 = (int) SWIG_AsInt(obj3);
25989 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
25990 }
25991 if (obj4) {
15afbcd0
RD
25992 arg5 = (int) SWIG_AsInt(obj4);
25993 if (PyErr_Occurred()) SWIG_fail;
994141e6 25994 }
d14a1e28
RD
25995 {
25996 PyThreadState* __tstate = wxPyBeginAllowThreads();
25997 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
25998
25999 wxPyEndAllowThreads(__tstate);
26000 if (PyErr_Occurred()) SWIG_fail;
26001 }
4f89f6a3
RD
26002 {
26003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26004 }
d14a1e28
RD
26005 return resultobj;
26006 fail:
26007 return NULL;
26008}
26009
26010
26011static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
26012 PyObject *resultobj;
26013 wxWindow *arg1 = (wxWindow *) 0 ;
26014 wxPoint *arg2 = 0 ;
26015 bool result;
26016 wxPoint temp2 ;
26017 PyObject * obj0 = 0 ;
26018 PyObject * obj1 = 0 ;
26019 char *kwnames[] = {
26020 (char *) "self",(char *) "pt", NULL
26021 };
26022
26023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26026 {
26027 arg2 = &temp2;
26028 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26029 }
26030 {
26031 PyThreadState* __tstate = wxPyBeginAllowThreads();
26032 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
26033
26034 wxPyEndAllowThreads(__tstate);
26035 if (PyErr_Occurred()) SWIG_fail;
26036 }
4f89f6a3
RD
26037 {
26038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26039 }
d14a1e28
RD
26040 return resultobj;
26041 fail:
26042 return NULL;
26043}
26044
26045
4276dc52 26046static PyObject *_wrap_Window_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26047 PyObject *resultobj;
26048 wxWindow *arg1 = (wxWindow *) 0 ;
26049 wxRect *arg2 = 0 ;
26050 bool result;
26051 wxRect temp2 ;
26052 PyObject * obj0 = 0 ;
26053 PyObject * obj1 = 0 ;
26054 char *kwnames[] = {
26055 (char *) "self",(char *) "rect", NULL
26056 };
26057
4276dc52 26058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26061 {
26062 arg2 = &temp2;
26063 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
26064 }
26065 {
26066 PyThreadState* __tstate = wxPyBeginAllowThreads();
26067 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
26068
26069 wxPyEndAllowThreads(__tstate);
26070 if (PyErr_Occurred()) SWIG_fail;
26071 }
4f89f6a3
RD
26072 {
26073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26074 }
d14a1e28
RD
26075 return resultobj;
26076 fail:
26077 return NULL;
26078}
26079
26080
74a57fcd
RD
26081static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
26082 PyObject *resultobj;
26083 wxWindow *arg1 = (wxWindow *) 0 ;
26084 wxVisualAttributes result;
26085 PyObject * obj0 = 0 ;
26086 char *kwnames[] = {
26087 (char *) "self", NULL
26088 };
26089
26090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
26091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26093 {
26094 PyThreadState* __tstate = wxPyBeginAllowThreads();
26095 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
26096
26097 wxPyEndAllowThreads(__tstate);
26098 if (PyErr_Occurred()) SWIG_fail;
26099 }
26100 {
26101 wxVisualAttributes * resultptr;
26102 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26103 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26104 }
26105 return resultobj;
26106 fail:
26107 return NULL;
26108}
26109
26110
26111static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
26112 PyObject *resultobj;
26113 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
26114 wxVisualAttributes result;
26115 PyObject * obj0 = 0 ;
26116 char *kwnames[] = {
26117 (char *) "variant", NULL
26118 };
26119
26120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26121 if (obj0) {
26122 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
26123 if (PyErr_Occurred()) SWIG_fail;
26124 }
26125 {
e3b71cb8 26126 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
26127 PyThreadState* __tstate = wxPyBeginAllowThreads();
26128 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
26129
26130 wxPyEndAllowThreads(__tstate);
110da5b0 26131 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
26132 }
26133 {
26134 wxVisualAttributes * resultptr;
26135 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26136 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26137 }
26138 return resultobj;
26139 fail:
26140 return NULL;
26141}
26142
26143
d14a1e28
RD
26144static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26145 PyObject *resultobj;
26146 wxWindow *arg1 = (wxWindow *) 0 ;
26147 wxColour *arg2 = 0 ;
26148 bool result;
26149 wxColour temp2 ;
26150 PyObject * obj0 = 0 ;
26151 PyObject * obj1 = 0 ;
26152 char *kwnames[] = {
26153 (char *) "self",(char *) "colour", NULL
26154 };
26155
26156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26159 {
26160 arg2 = &temp2;
26161 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26162 }
26163 {
26164 PyThreadState* __tstate = wxPyBeginAllowThreads();
26165 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
26166
26167 wxPyEndAllowThreads(__tstate);
26168 if (PyErr_Occurred()) SWIG_fail;
26169 }
4f89f6a3
RD
26170 {
26171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26172 }
d14a1e28
RD
26173 return resultobj;
26174 fail:
26175 return NULL;
26176}
26177
26178
412d302d 26179static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
b2df227b
RD
26180 PyObject *resultobj;
26181 wxWindow *arg1 = (wxWindow *) 0 ;
26182 wxColour *arg2 = 0 ;
26183 wxColour temp2 ;
26184 PyObject * obj0 = 0 ;
26185 PyObject * obj1 = 0 ;
26186 char *kwnames[] = {
26187 (char *) "self",(char *) "colour", NULL
26188 };
26189
412d302d 26190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
26191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26193 {
26194 arg2 = &temp2;
26195 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26196 }
26197 {
26198 PyThreadState* __tstate = wxPyBeginAllowThreads();
412d302d 26199 (arg1)->SetOwnBackgroundColour((wxColour const &)*arg2);
b2df227b
RD
26200
26201 wxPyEndAllowThreads(__tstate);
26202 if (PyErr_Occurred()) SWIG_fail;
26203 }
26204 Py_INCREF(Py_None); resultobj = Py_None;
26205 return resultobj;
26206 fail:
26207 return NULL;
26208}
26209
26210
d14a1e28
RD
26211static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26212 PyObject *resultobj;
26213 wxWindow *arg1 = (wxWindow *) 0 ;
26214 wxColour *arg2 = 0 ;
26215 bool result;
26216 wxColour temp2 ;
26217 PyObject * obj0 = 0 ;
26218 PyObject * obj1 = 0 ;
26219 char *kwnames[] = {
26220 (char *) "self",(char *) "colour", NULL
26221 };
26222
26223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26226 {
26227 arg2 = &temp2;
26228 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26229 }
26230 {
26231 PyThreadState* __tstate = wxPyBeginAllowThreads();
26232 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
26233
26234 wxPyEndAllowThreads(__tstate);
26235 if (PyErr_Occurred()) SWIG_fail;
26236 }
4f89f6a3
RD
26237 {
26238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26239 }
d14a1e28
RD
26240 return resultobj;
26241 fail:
26242 return NULL;
26243}
26244
26245
fa47d7a7 26246static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
b2df227b
RD
26247 PyObject *resultobj;
26248 wxWindow *arg1 = (wxWindow *) 0 ;
26249 wxColour *arg2 = 0 ;
26250 wxColour temp2 ;
26251 PyObject * obj0 = 0 ;
26252 PyObject * obj1 = 0 ;
26253 char *kwnames[] = {
26254 (char *) "self",(char *) "colour", NULL
26255 };
26256
fa47d7a7 26257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnForegroundColour",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
26258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26260 {
26261 arg2 = &temp2;
26262 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26263 }
26264 {
26265 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 26266 (arg1)->SetOwnForegroundColour((wxColour const &)*arg2);
b2df227b
RD
26267
26268 wxPyEndAllowThreads(__tstate);
26269 if (PyErr_Occurred()) SWIG_fail;
26270 }
26271 Py_INCREF(Py_None); resultobj = Py_None;
26272 return resultobj;
26273 fail:
26274 return NULL;
26275}
26276
26277
d14a1e28
RD
26278static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26279 PyObject *resultobj;
26280 wxWindow *arg1 = (wxWindow *) 0 ;
26281 wxColour result;
26282 PyObject * obj0 = 0 ;
26283 char *kwnames[] = {
26284 (char *) "self", NULL
26285 };
26286
26287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
26288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26290 {
26291 PyThreadState* __tstate = wxPyBeginAllowThreads();
26292 result = ((wxWindow const *)arg1)->GetBackgroundColour();
26293
26294 wxPyEndAllowThreads(__tstate);
26295 if (PyErr_Occurred()) SWIG_fail;
26296 }
26297 {
26298 wxColour * resultptr;
26299 resultptr = new wxColour((wxColour &) result);
15afbcd0 26300 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26301 }
26302 return resultobj;
26303 fail:
26304 return NULL;
26305}
26306
26307
26308static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26309 PyObject *resultobj;
26310 wxWindow *arg1 = (wxWindow *) 0 ;
26311 wxColour result;
26312 PyObject * obj0 = 0 ;
26313 char *kwnames[] = {
26314 (char *) "self", NULL
26315 };
26316
26317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
26318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26320 {
26321 PyThreadState* __tstate = wxPyBeginAllowThreads();
26322 result = ((wxWindow const *)arg1)->GetForegroundColour();
26323
26324 wxPyEndAllowThreads(__tstate);
26325 if (PyErr_Occurred()) SWIG_fail;
26326 }
26327 {
26328 wxColour * resultptr;
26329 resultptr = new wxColour((wxColour &) result);
15afbcd0 26330 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26331 }
26332 return resultobj;
26333 fail:
26334 return NULL;
26335}
26336
26337
26338static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26339 PyObject *resultobj;
26340 wxWindow *arg1 = (wxWindow *) 0 ;
26341 wxCursor *arg2 = 0 ;
26342 bool result;
26343 PyObject * obj0 = 0 ;
26344 PyObject * obj1 = 0 ;
26345 char *kwnames[] = {
26346 (char *) "self",(char *) "cursor", NULL
26347 };
26348
26349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
26353 SWIG_POINTER_EXCEPTION | 0)) == -1)
26354 SWIG_fail;
d14a1e28 26355 if (arg2 == NULL) {
15afbcd0
RD
26356 PyErr_SetString(PyExc_TypeError,"null reference");
26357 SWIG_fail;
d14a1e28
RD
26358 }
26359 {
26360 PyThreadState* __tstate = wxPyBeginAllowThreads();
26361 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
26362
26363 wxPyEndAllowThreads(__tstate);
26364 if (PyErr_Occurred()) SWIG_fail;
26365 }
4f89f6a3
RD
26366 {
26367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26368 }
d14a1e28
RD
26369 return resultobj;
26370 fail:
26371 return NULL;
26372}
26373
26374
26375static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26376 PyObject *resultobj;
26377 wxWindow *arg1 = (wxWindow *) 0 ;
dfbb5885 26378 wxCursor result;
d14a1e28
RD
26379 PyObject * obj0 = 0 ;
26380 char *kwnames[] = {
26381 (char *) "self", NULL
26382 };
26383
26384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
26385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26387 {
26388 PyThreadState* __tstate = wxPyBeginAllowThreads();
dfbb5885 26389 result = (arg1)->GetCursor();
d14a1e28
RD
26390
26391 wxPyEndAllowThreads(__tstate);
26392 if (PyErr_Occurred()) SWIG_fail;
26393 }
4276dc52 26394 {
dfbb5885
RD
26395 wxCursor * resultptr;
26396 resultptr = new wxCursor((wxCursor &) result);
26397 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
4276dc52 26398 }
d14a1e28
RD
26399 return resultobj;
26400 fail:
26401 return NULL;
26402}
26403
26404
26405static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26406 PyObject *resultobj;
26407 wxWindow *arg1 = (wxWindow *) 0 ;
26408 wxFont *arg2 = 0 ;
26409 bool result;
26410 PyObject * obj0 = 0 ;
26411 PyObject * obj1 = 0 ;
26412 char *kwnames[] = {
26413 (char *) "self",(char *) "font", NULL
26414 };
26415
26416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26420 SWIG_POINTER_EXCEPTION | 0)) == -1)
26421 SWIG_fail;
d14a1e28 26422 if (arg2 == NULL) {
15afbcd0
RD
26423 PyErr_SetString(PyExc_TypeError,"null reference");
26424 SWIG_fail;
d14a1e28
RD
26425 }
26426 {
26427 PyThreadState* __tstate = wxPyBeginAllowThreads();
26428 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
26429
26430 wxPyEndAllowThreads(__tstate);
26431 if (PyErr_Occurred()) SWIG_fail;
26432 }
4f89f6a3
RD
26433 {
26434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26435 }
d14a1e28
RD
26436 return resultobj;
26437 fail:
26438 return NULL;
26439}
26440
26441
fa47d7a7 26442static PyObject *_wrap_Window_SetOwnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
b2df227b
RD
26443 PyObject *resultobj;
26444 wxWindow *arg1 = (wxWindow *) 0 ;
26445 wxFont *arg2 = 0 ;
26446 PyObject * obj0 = 0 ;
26447 PyObject * obj1 = 0 ;
26448 char *kwnames[] = {
26449 (char *) "self",(char *) "font", NULL
26450 };
26451
fa47d7a7 26452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnFont",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
26453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26456 SWIG_POINTER_EXCEPTION | 0)) == -1)
26457 SWIG_fail;
26458 if (arg2 == NULL) {
26459 PyErr_SetString(PyExc_TypeError,"null reference");
26460 SWIG_fail;
26461 }
26462 {
26463 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 26464 (arg1)->SetOwnFont((wxFont const &)*arg2);
b2df227b
RD
26465
26466 wxPyEndAllowThreads(__tstate);
26467 if (PyErr_Occurred()) SWIG_fail;
26468 }
26469 Py_INCREF(Py_None); resultobj = Py_None;
26470 return resultobj;
26471 fail:
26472 return NULL;
26473}
26474
26475
d14a1e28
RD
26476static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26477 PyObject *resultobj;
26478 wxWindow *arg1 = (wxWindow *) 0 ;
dfbb5885 26479 wxFont result;
d14a1e28
RD
26480 PyObject * obj0 = 0 ;
26481 char *kwnames[] = {
26482 (char *) "self", NULL
26483 };
26484
26485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
26486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26488 {
26489 PyThreadState* __tstate = wxPyBeginAllowThreads();
dfbb5885 26490 result = (arg1)->GetFont();
d14a1e28
RD
26491
26492 wxPyEndAllowThreads(__tstate);
26493 if (PyErr_Occurred()) SWIG_fail;
26494 }
4276dc52 26495 {
dfbb5885
RD
26496 wxFont * resultptr;
26497 resultptr = new wxFont((wxFont &) result);
26498 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
4276dc52 26499 }
d14a1e28
RD
26500 return resultobj;
26501 fail:
26502 return NULL;
26503}
26504
26505
26506static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26507 PyObject *resultobj;
26508 wxWindow *arg1 = (wxWindow *) 0 ;
26509 wxCaret *arg2 = (wxCaret *) 0 ;
26510 PyObject * obj0 = 0 ;
26511 PyObject * obj1 = 0 ;
26512 char *kwnames[] = {
26513 (char *) "self",(char *) "caret", NULL
26514 };
26515
26516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26519 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
26520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26521 {
26522 PyThreadState* __tstate = wxPyBeginAllowThreads();
26523 (arg1)->SetCaret(arg2);
26524
26525 wxPyEndAllowThreads(__tstate);
26526 if (PyErr_Occurred()) SWIG_fail;
26527 }
26528 Py_INCREF(Py_None); resultobj = Py_None;
26529 return resultobj;
26530 fail:
26531 return NULL;
26532}
26533
26534
26535static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26536 PyObject *resultobj;
26537 wxWindow *arg1 = (wxWindow *) 0 ;
26538 wxCaret *result;
26539 PyObject * obj0 = 0 ;
26540 char *kwnames[] = {
26541 (char *) "self", NULL
26542 };
26543
26544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
15afbcd0
RD
26545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26547 {
26548 PyThreadState* __tstate = wxPyBeginAllowThreads();
26549 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
26550
26551 wxPyEndAllowThreads(__tstate);
26552 if (PyErr_Occurred()) SWIG_fail;
26553 }
15afbcd0 26554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
d14a1e28
RD
26555 return resultobj;
26556 fail:
26557 return NULL;
26558}
26559
26560
26561static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
26562 PyObject *resultobj;
26563 wxWindow *arg1 = (wxWindow *) 0 ;
26564 int result;
26565 PyObject * obj0 = 0 ;
26566 char *kwnames[] = {
26567 (char *) "self", NULL
26568 };
26569
26570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
26571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26573 {
26574 PyThreadState* __tstate = wxPyBeginAllowThreads();
26575 result = (int)((wxWindow const *)arg1)->GetCharHeight();
26576
26577 wxPyEndAllowThreads(__tstate);
26578 if (PyErr_Occurred()) SWIG_fail;
26579 }
15afbcd0 26580 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26581 return resultobj;
26582 fail:
26583 return NULL;
26584}
26585
26586
26587static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
26588 PyObject *resultobj;
26589 wxWindow *arg1 = (wxWindow *) 0 ;
26590 int result;
26591 PyObject * obj0 = 0 ;
26592 char *kwnames[] = {
26593 (char *) "self", NULL
26594 };
26595
26596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
26597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26599 {
26600 PyThreadState* __tstate = wxPyBeginAllowThreads();
26601 result = (int)((wxWindow const *)arg1)->GetCharWidth();
26602
26603 wxPyEndAllowThreads(__tstate);
26604 if (PyErr_Occurred()) SWIG_fail;
26605 }
15afbcd0 26606 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26607 return resultobj;
26608 fail:
26609 return NULL;
26610}
26611
26612
26613static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26614 PyObject *resultobj;
26615 wxWindow *arg1 = (wxWindow *) 0 ;
26616 wxString *arg2 = 0 ;
26617 int *arg3 = (int *) 0 ;
26618 int *arg4 = (int *) 0 ;
e811c8ce 26619 bool temp2 = False ;
d14a1e28
RD
26620 int temp3 ;
26621 int temp4 ;
26622 PyObject * obj0 = 0 ;
26623 PyObject * obj1 = 0 ;
26624 char *kwnames[] = {
26625 (char *) "self",(char *) "string", NULL
26626 };
26627
26628 arg3 = &temp3;
26629 arg4 = &temp4;
26630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26633 {
26634 arg2 = wxString_in_helper(obj1);
26635 if (arg2 == NULL) SWIG_fail;
e811c8ce 26636 temp2 = True;
d14a1e28
RD
26637 }
26638 {
26639 PyThreadState* __tstate = wxPyBeginAllowThreads();
26640 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
26641
26642 wxPyEndAllowThreads(__tstate);
26643 if (PyErr_Occurred()) SWIG_fail;
26644 }
26645 Py_INCREF(Py_None); resultobj = Py_None;
26646 {
26647 PyObject *o = PyInt_FromLong((long) (*arg3));
26648 resultobj = t_output_helper(resultobj,o);
26649 }
26650 {
26651 PyObject *o = PyInt_FromLong((long) (*arg4));
26652 resultobj = t_output_helper(resultobj,o);
26653 }
26654 {
26655 if (temp2)
26656 delete arg2;
26657 }
26658 return resultobj;
26659 fail:
26660 {
26661 if (temp2)
26662 delete arg2;
26663 }
26664 return NULL;
26665}
26666
26667
26668static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26669 PyObject *resultobj;
26670 wxWindow *arg1 = (wxWindow *) 0 ;
26671 wxString *arg2 = 0 ;
26672 int *arg3 = (int *) 0 ;
26673 int *arg4 = (int *) 0 ;
26674 int *arg5 = (int *) 0 ;
26675 int *arg6 = (int *) 0 ;
26676 wxFont *arg7 = (wxFont *) NULL ;
e811c8ce 26677 bool temp2 = False ;
d14a1e28
RD
26678 int temp3 ;
26679 int temp4 ;
26680 int temp5 ;
26681 int temp6 ;
26682 PyObject * obj0 = 0 ;
26683 PyObject * obj1 = 0 ;
26684 PyObject * obj2 = 0 ;
26685 char *kwnames[] = {
26686 (char *) "self",(char *) "string",(char *) "font", NULL
26687 };
26688
26689 arg3 = &temp3;
26690 arg4 = &temp4;
26691 arg5 = &temp5;
26692 arg6 = &temp6;
26693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26696 {
26697 arg2 = wxString_in_helper(obj1);
26698 if (arg2 == NULL) SWIG_fail;
e811c8ce 26699 temp2 = True;
d14a1e28
RD
26700 }
26701 if (obj2) {
15afbcd0
RD
26702 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
26703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26704 }
26705 {
26706 PyThreadState* __tstate = wxPyBeginAllowThreads();
26707 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
26708
26709 wxPyEndAllowThreads(__tstate);
26710 if (PyErr_Occurred()) SWIG_fail;
26711 }
26712 Py_INCREF(Py_None); resultobj = Py_None;
26713 {
26714 PyObject *o = PyInt_FromLong((long) (*arg3));
26715 resultobj = t_output_helper(resultobj,o);
26716 }
26717 {
26718 PyObject *o = PyInt_FromLong((long) (*arg4));
26719 resultobj = t_output_helper(resultobj,o);
26720 }
26721 {
26722 PyObject *o = PyInt_FromLong((long) (*arg5));
26723 resultobj = t_output_helper(resultobj,o);
26724 }
26725 {
26726 PyObject *o = PyInt_FromLong((long) (*arg6));
26727 resultobj = t_output_helper(resultobj,o);
26728 }
26729 {
26730 if (temp2)
26731 delete arg2;
26732 }
26733 return resultobj;
26734 fail:
26735 {
26736 if (temp2)
26737 delete arg2;
26738 }
26739 return NULL;
26740}
26741
26742
26743static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26744 PyObject *resultobj;
26745 wxWindow *arg1 = (wxWindow *) 0 ;
26746 int *arg2 = (int *) 0 ;
26747 int *arg3 = (int *) 0 ;
26748 int temp2 ;
26749 int temp3 ;
26750 PyObject * obj0 = 0 ;
26751 PyObject * obj1 = 0 ;
26752 PyObject * obj2 = 0 ;
26753 char *kwnames[] = {
26754 (char *) "self",(char *) "x",(char *) "y", NULL
26755 };
26756
26757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26760 {
26761 temp2 = PyInt_AsLong(obj1);
26762 if (PyErr_Occurred()) SWIG_fail;
26763 arg2 = &temp2;
26764 }
26765 {
26766 temp3 = PyInt_AsLong(obj2);
26767 if (PyErr_Occurred()) SWIG_fail;
26768 arg3 = &temp3;
26769 }
26770 {
26771 PyThreadState* __tstate = wxPyBeginAllowThreads();
26772 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
26773
26774 wxPyEndAllowThreads(__tstate);
26775 if (PyErr_Occurred()) SWIG_fail;
26776 }
26777 Py_INCREF(Py_None); resultobj = Py_None;
26778 {
26779 PyObject *o = PyInt_FromLong((long) (*arg2));
26780 resultobj = t_output_helper(resultobj,o);
26781 }
26782 {
26783 PyObject *o = PyInt_FromLong((long) (*arg3));
26784 resultobj = t_output_helper(resultobj,o);
26785 }
26786 return resultobj;
26787 fail:
26788 return NULL;
26789}
26790
26791
26792static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26793 PyObject *resultobj;
26794 wxWindow *arg1 = (wxWindow *) 0 ;
26795 int *arg2 = (int *) 0 ;
26796 int *arg3 = (int *) 0 ;
26797 int temp2 ;
26798 int temp3 ;
26799 PyObject * obj0 = 0 ;
26800 PyObject * obj1 = 0 ;
26801 PyObject * obj2 = 0 ;
26802 char *kwnames[] = {
26803 (char *) "self",(char *) "x",(char *) "y", NULL
26804 };
26805
26806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26809 {
26810 temp2 = PyInt_AsLong(obj1);
26811 if (PyErr_Occurred()) SWIG_fail;
26812 arg2 = &temp2;
26813 }
26814 {
26815 temp3 = PyInt_AsLong(obj2);
26816 if (PyErr_Occurred()) SWIG_fail;
26817 arg3 = &temp3;
26818 }
26819 {
26820 PyThreadState* __tstate = wxPyBeginAllowThreads();
26821 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
26822
26823 wxPyEndAllowThreads(__tstate);
26824 if (PyErr_Occurred()) SWIG_fail;
26825 }
26826 Py_INCREF(Py_None); resultobj = Py_None;
26827 {
26828 PyObject *o = PyInt_FromLong((long) (*arg2));
26829 resultobj = t_output_helper(resultobj,o);
26830 }
26831 {
26832 PyObject *o = PyInt_FromLong((long) (*arg3));
26833 resultobj = t_output_helper(resultobj,o);
26834 }
26835 return resultobj;
26836 fail:
26837 return NULL;
26838}
26839
26840
26841static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
26842 PyObject *resultobj;
26843 wxWindow *arg1 = (wxWindow *) 0 ;
26844 wxPoint *arg2 = 0 ;
26845 wxPoint result;
26846 wxPoint temp2 ;
26847 PyObject * obj0 = 0 ;
26848 PyObject * obj1 = 0 ;
26849 char *kwnames[] = {
26850 (char *) "self",(char *) "pt", NULL
26851 };
26852
26853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26856 {
26857 arg2 = &temp2;
26858 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26859 }
26860 {
26861 PyThreadState* __tstate = wxPyBeginAllowThreads();
26862 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
26863
26864 wxPyEndAllowThreads(__tstate);
26865 if (PyErr_Occurred()) SWIG_fail;
26866 }
26867 {
26868 wxPoint * resultptr;
26869 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 26870 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26871 }
26872 return resultobj;
26873 fail:
26874 return NULL;
26875}
26876
26877
26878static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
26879 PyObject *resultobj;
26880 wxWindow *arg1 = (wxWindow *) 0 ;
26881 wxPoint *arg2 = 0 ;
26882 wxPoint result;
26883 wxPoint temp2 ;
26884 PyObject * obj0 = 0 ;
26885 PyObject * obj1 = 0 ;
26886 char *kwnames[] = {
26887 (char *) "self",(char *) "pt", NULL
26888 };
26889
26890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26893 {
26894 arg2 = &temp2;
26895 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26896 }
26897 {
26898 PyThreadState* __tstate = wxPyBeginAllowThreads();
26899 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
26900
26901 wxPyEndAllowThreads(__tstate);
26902 if (PyErr_Occurred()) SWIG_fail;
26903 }
26904 {
26905 wxPoint * resultptr;
26906 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 26907 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26908 }
26909 return resultobj;
26910 fail:
26911 return NULL;
26912}
26913
26914
26915static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26916 PyObject *resultobj;
26917 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce
RD
26918 int arg2 ;
26919 int arg3 ;
d14a1e28
RD
26920 int result;
26921 PyObject * obj0 = 0 ;
994141e6
RD
26922 PyObject * obj1 = 0 ;
26923 PyObject * obj2 = 0 ;
d14a1e28
RD
26924 char *kwnames[] = {
26925 (char *) "self",(char *) "x",(char *) "y", NULL
26926 };
26927
994141e6 26928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26931 arg2 = (int) SWIG_AsInt(obj1);
26932 if (PyErr_Occurred()) SWIG_fail;
26933 arg3 = (int) SWIG_AsInt(obj2);
26934 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26935 {
26936 PyThreadState* __tstate = wxPyBeginAllowThreads();
26937 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
26938
26939 wxPyEndAllowThreads(__tstate);
26940 if (PyErr_Occurred()) SWIG_fail;
26941 }
15afbcd0 26942 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26943 return resultobj;
26944 fail:
26945 return NULL;
26946}
26947
26948
26949static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26950 PyObject *resultobj;
26951 wxWindow *arg1 = (wxWindow *) 0 ;
26952 wxPoint *arg2 = 0 ;
26953 int result;
26954 wxPoint temp2 ;
26955 PyObject * obj0 = 0 ;
26956 PyObject * obj1 = 0 ;
26957 char *kwnames[] = {
26958 (char *) "self",(char *) "pt", NULL
26959 };
26960
26961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26964 {
26965 arg2 = &temp2;
26966 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26967 }
26968 {
26969 PyThreadState* __tstate = wxPyBeginAllowThreads();
26970 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
26971
26972 wxPyEndAllowThreads(__tstate);
26973 if (PyErr_Occurred()) SWIG_fail;
26974 }
15afbcd0 26975 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26976 return resultobj;
26977 fail:
26978 return NULL;
26979}
26980
26981
15afbcd0 26982static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
26983 PyObject *resultobj;
26984 wxWindow *arg1 = (wxWindow *) 0 ;
26985 long arg2 ;
26986 int result;
26987 PyObject * obj0 = 0 ;
994141e6 26988 PyObject * obj1 = 0 ;
d14a1e28 26989
15afbcd0
RD
26990 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
26991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26993 arg2 = (long) SWIG_AsLong(obj1);
26994 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26995 {
26996 PyThreadState* __tstate = wxPyBeginAllowThreads();
26997 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
26998
26999 wxPyEndAllowThreads(__tstate);
27000 if (PyErr_Occurred()) SWIG_fail;
27001 }
15afbcd0 27002 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27003 return resultobj;
27004 fail:
27005 return NULL;
27006}
27007
27008
15afbcd0 27009static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
27010 PyObject *resultobj;
27011 wxWindow *arg1 = (wxWindow *) 0 ;
27012 int result;
27013 PyObject * obj0 = 0 ;
d14a1e28 27014
15afbcd0
RD
27015 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
27016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27018 {
27019 PyThreadState* __tstate = wxPyBeginAllowThreads();
27020 result = (int)((wxWindow const *)arg1)->GetBorder();
27021
27022 wxPyEndAllowThreads(__tstate);
27023 if (PyErr_Occurred()) SWIG_fail;
27024 }
15afbcd0 27025 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27026 return resultobj;
27027 fail:
27028 return NULL;
27029}
27030
27031
15afbcd0
RD
27032static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
27033 int argc;
27034 PyObject *argv[3];
27035 int ii;
27036
27037 argc = PyObject_Length(args);
27038 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
27039 argv[ii] = PyTuple_GetItem(args,ii);
27040 }
27041 if (argc == 1) {
27042 int _v;
27043 {
27044 void *ptr;
27045 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
27046 _v = 0;
27047 PyErr_Clear();
27048 } else {
27049 _v = 1;
27050 }
27051 }
27052 if (_v) {
27053 return _wrap_Window_GetBorder__SWIG_1(self,args);
27054 }
27055 }
27056 if (argc == 2) {
27057 int _v;
27058 {
27059 void *ptr;
27060 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
27061 _v = 0;
27062 PyErr_Clear();
27063 } else {
27064 _v = 1;
27065 }
27066 }
27067 if (_v) {
27068 _v = SWIG_CheckLong(argv[1]);
27069 if (_v) {
27070 return _wrap_Window_GetBorder__SWIG_0(self,args);
27071 }
27072 }
27073 }
27074
27075 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
27076 return NULL;
27077}
27078
27079
d14a1e28
RD
27080static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
27081 PyObject *resultobj;
27082 wxWindow *arg1 = (wxWindow *) 0 ;
27083 long arg2 = (long) wxUPDATE_UI_NONE ;
27084 PyObject * obj0 = 0 ;
994141e6 27085 PyObject * obj1 = 0 ;
d14a1e28
RD
27086 char *kwnames[] = {
27087 (char *) "self",(char *) "flags", NULL
27088 };
27089
994141e6 27090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 27093 if (obj1) {
15afbcd0
RD
27094 arg2 = (long) SWIG_AsLong(obj1);
27095 if (PyErr_Occurred()) SWIG_fail;
994141e6 27096 }
d14a1e28
RD
27097 {
27098 PyThreadState* __tstate = wxPyBeginAllowThreads();
27099 (arg1)->UpdateWindowUI(arg2);
27100
27101 wxPyEndAllowThreads(__tstate);
27102 if (PyErr_Occurred()) SWIG_fail;
27103 }
27104 Py_INCREF(Py_None); resultobj = Py_None;
27105 return resultobj;
27106 fail:
27107 return NULL;
27108}
27109
27110
27111static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
27112 PyObject *resultobj;
27113 wxWindow *arg1 = (wxWindow *) 0 ;
27114 wxMenu *arg2 = (wxMenu *) 0 ;
b0503257
RD
27115 int arg3 = (int) -1 ;
27116 int arg4 = (int) -1 ;
d14a1e28
RD
27117 bool result;
27118 PyObject * obj0 = 0 ;
27119 PyObject * obj1 = 0 ;
994141e6
RD
27120 PyObject * obj2 = 0 ;
27121 PyObject * obj3 = 0 ;
d14a1e28
RD
27122 char *kwnames[] = {
27123 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27124 };
27125
b0503257 27126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27129 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
27130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b0503257
RD
27131 if (obj2) {
27132 arg3 = (int) SWIG_AsInt(obj2);
27133 if (PyErr_Occurred()) SWIG_fail;
27134 }
27135 if (obj3) {
27136 arg4 = (int) SWIG_AsInt(obj3);
27137 if (PyErr_Occurred()) SWIG_fail;
27138 }
d14a1e28
RD
27139 {
27140 PyThreadState* __tstate = wxPyBeginAllowThreads();
27141 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
27142
27143 wxPyEndAllowThreads(__tstate);
27144 if (PyErr_Occurred()) SWIG_fail;
27145 }
4f89f6a3
RD
27146 {
27147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27148 }
d14a1e28
RD
27149 return resultobj;
27150 fail:
27151 return NULL;
27152}
27153
27154
27155static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27156 PyObject *resultobj;
27157 wxWindow *arg1 = (wxWindow *) 0 ;
27158 wxMenu *arg2 = (wxMenu *) 0 ;
b0503257
RD
27159 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27160 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
d14a1e28
RD
27161 bool result;
27162 wxPoint temp3 ;
27163 PyObject * obj0 = 0 ;
27164 PyObject * obj1 = 0 ;
27165 PyObject * obj2 = 0 ;
27166 char *kwnames[] = {
27167 (char *) "self",(char *) "menu",(char *) "pos", NULL
27168 };
27169
b0503257 27170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
27174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b0503257
RD
27175 if (obj2) {
27176 {
27177 arg3 = &temp3;
27178 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27179 }
d14a1e28
RD
27180 }
27181 {
27182 PyThreadState* __tstate = wxPyBeginAllowThreads();
27183 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
27184
27185 wxPyEndAllowThreads(__tstate);
27186 if (PyErr_Occurred()) SWIG_fail;
27187 }
4f89f6a3
RD
27188 {
27189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27190 }
d14a1e28
RD
27191 return resultobj;
27192 fail:
27193 return NULL;
27194}
27195
27196
27197static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
27198 PyObject *resultobj;
27199 wxWindow *arg1 = (wxWindow *) 0 ;
27200 long result;
27201 PyObject * obj0 = 0 ;
27202 char *kwnames[] = {
27203 (char *) "self", NULL
27204 };
27205
27206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
15afbcd0
RD
27207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27209 {
27210 PyThreadState* __tstate = wxPyBeginAllowThreads();
27211 result = (long)wxWindow_GetHandle(arg1);
27212
27213 wxPyEndAllowThreads(__tstate);
27214 if (PyErr_Occurred()) SWIG_fail;
27215 }
15afbcd0 27216 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
27217 return resultobj;
27218 fail:
27219 return NULL;
27220}
27221
27222
27223static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
27224 PyObject *resultobj;
27225 wxWindow *arg1 = (wxWindow *) 0 ;
27226 int arg2 ;
27227 bool result;
27228 PyObject * obj0 = 0 ;
994141e6 27229 PyObject * obj1 = 0 ;
d14a1e28
RD
27230 char *kwnames[] = {
27231 (char *) "self",(char *) "orient", NULL
27232 };
27233
994141e6 27234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27237 arg2 = (int) SWIG_AsInt(obj1);
27238 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27239 {
27240 PyThreadState* __tstate = wxPyBeginAllowThreads();
27241 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
27242
27243 wxPyEndAllowThreads(__tstate);
27244 if (PyErr_Occurred()) SWIG_fail;
27245 }
4f89f6a3
RD
27246 {
27247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27248 }
d14a1e28
RD
27249 return resultobj;
27250 fail:
27251 return NULL;
27252}
27253
27254
27255static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
27256 PyObject *resultobj;
27257 wxWindow *arg1 = (wxWindow *) 0 ;
27258 int arg2 ;
27259 int arg3 ;
27260 int arg4 ;
27261 int arg5 ;
e811c8ce 27262 bool arg6 = (bool) True ;
d14a1e28 27263 PyObject * obj0 = 0 ;
994141e6
RD
27264 PyObject * obj1 = 0 ;
27265 PyObject * obj2 = 0 ;
27266 PyObject * obj3 = 0 ;
27267 PyObject * obj4 = 0 ;
d14a1e28
RD
27268 PyObject * obj5 = 0 ;
27269 char *kwnames[] = {
41e2b43e 27270 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
d14a1e28
RD
27271 };
27272
994141e6 27273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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;
27278 arg3 = (int) SWIG_AsInt(obj2);
27279 if (PyErr_Occurred()) SWIG_fail;
27280 arg4 = (int) SWIG_AsInt(obj3);
27281 if (PyErr_Occurred()) SWIG_fail;
27282 arg5 = (int) SWIG_AsInt(obj4);
27283 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27284 if (obj5) {
15afbcd0
RD
27285 arg6 = (bool) SWIG_AsBool(obj5);
27286 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27287 }
27288 {
27289 PyThreadState* __tstate = wxPyBeginAllowThreads();
27290 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
27291
27292 wxPyEndAllowThreads(__tstate);
27293 if (PyErr_Occurred()) SWIG_fail;
27294 }
27295 Py_INCREF(Py_None); resultobj = Py_None;
27296 return resultobj;
27297 fail:
27298 return NULL;
27299}
27300
27301
27302static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27303 PyObject *resultobj;
27304 wxWindow *arg1 = (wxWindow *) 0 ;
27305 int arg2 ;
27306 int arg3 ;
e811c8ce 27307 bool arg4 = (bool) True ;
d14a1e28 27308 PyObject * obj0 = 0 ;
994141e6
RD
27309 PyObject * obj1 = 0 ;
27310 PyObject * obj2 = 0 ;
d14a1e28
RD
27311 PyObject * obj3 = 0 ;
27312 char *kwnames[] = {
15afbcd0 27313 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
d14a1e28
RD
27314 };
27315
994141e6 27316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27319 arg2 = (int) SWIG_AsInt(obj1);
27320 if (PyErr_Occurred()) SWIG_fail;
27321 arg3 = (int) SWIG_AsInt(obj2);
27322 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27323 if (obj3) {
15afbcd0
RD
27324 arg4 = (bool) SWIG_AsBool(obj3);
27325 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27326 }
27327 {
27328 PyThreadState* __tstate = wxPyBeginAllowThreads();
27329 (arg1)->SetScrollPos(arg2,arg3,arg4);
27330
27331 wxPyEndAllowThreads(__tstate);
27332 if (PyErr_Occurred()) SWIG_fail;
27333 }
27334 Py_INCREF(Py_None); resultobj = Py_None;
27335 return resultobj;
27336 fail:
27337 return NULL;
27338}
27339
27340
27341static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27342 PyObject *resultobj;
27343 wxWindow *arg1 = (wxWindow *) 0 ;
27344 int arg2 ;
27345 int result;
27346 PyObject * obj0 = 0 ;
994141e6 27347 PyObject * obj1 = 0 ;
d14a1e28 27348 char *kwnames[] = {
15afbcd0 27349 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27350 };
27351
994141e6 27352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27355 arg2 = (int) SWIG_AsInt(obj1);
27356 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27357 {
27358 PyThreadState* __tstate = wxPyBeginAllowThreads();
27359 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
27360
27361 wxPyEndAllowThreads(__tstate);
27362 if (PyErr_Occurred()) SWIG_fail;
27363 }
15afbcd0 27364 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27365 return resultobj;
27366 fail:
27367 return NULL;
27368}
27369
27370
27371static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
27372 PyObject *resultobj;
27373 wxWindow *arg1 = (wxWindow *) 0 ;
27374 int arg2 ;
27375 int result;
27376 PyObject * obj0 = 0 ;
994141e6 27377 PyObject * obj1 = 0 ;
d14a1e28 27378 char *kwnames[] = {
15afbcd0 27379 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27380 };
27381
994141e6 27382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27385 arg2 = (int) SWIG_AsInt(obj1);
27386 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27387 {
27388 PyThreadState* __tstate = wxPyBeginAllowThreads();
27389 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
27390
27391 wxPyEndAllowThreads(__tstate);
27392 if (PyErr_Occurred()) SWIG_fail;
27393 }
15afbcd0 27394 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27395 return resultobj;
27396 fail:
27397 return NULL;
27398}
27399
27400
27401static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
27402 PyObject *resultobj;
27403 wxWindow *arg1 = (wxWindow *) 0 ;
27404 int arg2 ;
27405 int result;
27406 PyObject * obj0 = 0 ;
994141e6 27407 PyObject * obj1 = 0 ;
d14a1e28 27408 char *kwnames[] = {
15afbcd0 27409 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27410 };
27411
994141e6 27412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27415 arg2 = (int) SWIG_AsInt(obj1);
27416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27417 {
27418 PyThreadState* __tstate = wxPyBeginAllowThreads();
27419 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
27420
27421 wxPyEndAllowThreads(__tstate);
27422 if (PyErr_Occurred()) SWIG_fail;
27423 }
15afbcd0 27424 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27425 return resultobj;
27426 fail:
27427 return NULL;
27428}
27429
27430
27431static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27432 PyObject *resultobj;
27433 wxWindow *arg1 = (wxWindow *) 0 ;
27434 int arg2 ;
27435 int arg3 ;
27436 wxRect *arg4 = (wxRect *) NULL ;
27437 PyObject * obj0 = 0 ;
994141e6
RD
27438 PyObject * obj1 = 0 ;
27439 PyObject * obj2 = 0 ;
d14a1e28
RD
27440 PyObject * obj3 = 0 ;
27441 char *kwnames[] = {
27442 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27443 };
27444
994141e6 27445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27448 arg2 = (int) SWIG_AsInt(obj1);
27449 if (PyErr_Occurred()) SWIG_fail;
27450 arg3 = (int) SWIG_AsInt(obj2);
27451 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27452 if (obj3) {
15afbcd0
RD
27453 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
27454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27455 }
27456 {
27457 PyThreadState* __tstate = wxPyBeginAllowThreads();
27458 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
27459
27460 wxPyEndAllowThreads(__tstate);
27461 if (PyErr_Occurred()) SWIG_fail;
27462 }
27463 Py_INCREF(Py_None); resultobj = Py_None;
27464 return resultobj;
27465 fail:
27466 return NULL;
27467}
27468
27469
27470static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
27471 PyObject *resultobj;
27472 wxWindow *arg1 = (wxWindow *) 0 ;
27473 int arg2 ;
27474 bool result;
27475 PyObject * obj0 = 0 ;
994141e6 27476 PyObject * obj1 = 0 ;
d14a1e28
RD
27477 char *kwnames[] = {
27478 (char *) "self",(char *) "lines", NULL
27479 };
27480
994141e6 27481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27484 arg2 = (int) SWIG_AsInt(obj1);
27485 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27486 {
27487 PyThreadState* __tstate = wxPyBeginAllowThreads();
27488 result = (bool)(arg1)->ScrollLines(arg2);
27489
27490 wxPyEndAllowThreads(__tstate);
27491 if (PyErr_Occurred()) SWIG_fail;
27492 }
4f89f6a3
RD
27493 {
27494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27495 }
d14a1e28
RD
27496 return resultobj;
27497 fail:
27498 return NULL;
27499}
27500
27501
27502static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
27503 PyObject *resultobj;
27504 wxWindow *arg1 = (wxWindow *) 0 ;
27505 int arg2 ;
27506 bool result;
27507 PyObject * obj0 = 0 ;
994141e6 27508 PyObject * obj1 = 0 ;
d14a1e28
RD
27509 char *kwnames[] = {
27510 (char *) "self",(char *) "pages", NULL
27511 };
27512
994141e6 27513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27516 arg2 = (int) SWIG_AsInt(obj1);
27517 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27518 {
27519 PyThreadState* __tstate = wxPyBeginAllowThreads();
27520 result = (bool)(arg1)->ScrollPages(arg2);
27521
27522 wxPyEndAllowThreads(__tstate);
27523 if (PyErr_Occurred()) SWIG_fail;
27524 }
4f89f6a3
RD
27525 {
27526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27527 }
d14a1e28
RD
27528 return resultobj;
27529 fail:
27530 return NULL;
27531}
27532
27533
27534static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27535 PyObject *resultobj;
27536 wxWindow *arg1 = (wxWindow *) 0 ;
27537 bool result;
27538 PyObject * obj0 = 0 ;
27539 char *kwnames[] = {
27540 (char *) "self", NULL
27541 };
27542
27543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
27544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27546 {
27547 PyThreadState* __tstate = wxPyBeginAllowThreads();
27548 result = (bool)(arg1)->LineUp();
27549
27550 wxPyEndAllowThreads(__tstate);
27551 if (PyErr_Occurred()) SWIG_fail;
27552 }
4f89f6a3
RD
27553 {
27554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27555 }
d14a1e28
RD
27556 return resultobj;
27557 fail:
27558 return NULL;
27559}
27560
27561
27562static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27563 PyObject *resultobj;
27564 wxWindow *arg1 = (wxWindow *) 0 ;
27565 bool result;
27566 PyObject * obj0 = 0 ;
27567 char *kwnames[] = {
27568 (char *) "self", NULL
27569 };
27570
27571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
27572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27574 {
27575 PyThreadState* __tstate = wxPyBeginAllowThreads();
27576 result = (bool)(arg1)->LineDown();
27577
27578 wxPyEndAllowThreads(__tstate);
27579 if (PyErr_Occurred()) SWIG_fail;
27580 }
4f89f6a3
RD
27581 {
27582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27583 }
d14a1e28
RD
27584 return resultobj;
27585 fail:
27586 return NULL;
27587}
27588
27589
27590static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27591 PyObject *resultobj;
27592 wxWindow *arg1 = (wxWindow *) 0 ;
27593 bool result;
27594 PyObject * obj0 = 0 ;
27595 char *kwnames[] = {
27596 (char *) "self", NULL
27597 };
27598
27599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
27600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27602 {
27603 PyThreadState* __tstate = wxPyBeginAllowThreads();
27604 result = (bool)(arg1)->PageUp();
27605
27606 wxPyEndAllowThreads(__tstate);
27607 if (PyErr_Occurred()) SWIG_fail;
27608 }
4f89f6a3
RD
27609 {
27610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27611 }
d14a1e28
RD
27612 return resultobj;
27613 fail:
27614 return NULL;
27615}
27616
27617
27618static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27619 PyObject *resultobj;
27620 wxWindow *arg1 = (wxWindow *) 0 ;
27621 bool result;
27622 PyObject * obj0 = 0 ;
27623 char *kwnames[] = {
27624 (char *) "self", NULL
27625 };
27626
27627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
27628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27630 {
27631 PyThreadState* __tstate = wxPyBeginAllowThreads();
27632 result = (bool)(arg1)->PageDown();
27633
27634 wxPyEndAllowThreads(__tstate);
27635 if (PyErr_Occurred()) SWIG_fail;
27636 }
4f89f6a3
RD
27637 {
27638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27639 }
d14a1e28
RD
27640 return resultobj;
27641 fail:
27642 return NULL;
27643}
27644
27645
27646static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27647 PyObject *resultobj;
27648 wxWindow *arg1 = (wxWindow *) 0 ;
27649 wxString *arg2 = 0 ;
e811c8ce 27650 bool temp2 = False ;
d14a1e28
RD
27651 PyObject * obj0 = 0 ;
27652 PyObject * obj1 = 0 ;
27653 char *kwnames[] = {
27654 (char *) "self",(char *) "text", NULL
27655 };
27656
27657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27660 {
27661 arg2 = wxString_in_helper(obj1);
27662 if (arg2 == NULL) SWIG_fail;
e811c8ce 27663 temp2 = True;
d14a1e28
RD
27664 }
27665 {
27666 PyThreadState* __tstate = wxPyBeginAllowThreads();
27667 (arg1)->SetHelpText((wxString const &)*arg2);
27668
27669 wxPyEndAllowThreads(__tstate);
27670 if (PyErr_Occurred()) SWIG_fail;
27671 }
27672 Py_INCREF(Py_None); resultobj = Py_None;
27673 {
27674 if (temp2)
27675 delete arg2;
27676 }
27677 return resultobj;
27678 fail:
27679 {
27680 if (temp2)
27681 delete arg2;
27682 }
27683 return NULL;
27684}
27685
27686
27687static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
27688 PyObject *resultobj;
27689 wxWindow *arg1 = (wxWindow *) 0 ;
27690 wxString *arg2 = 0 ;
e811c8ce 27691 bool temp2 = False ;
d14a1e28
RD
27692 PyObject * obj0 = 0 ;
27693 PyObject * obj1 = 0 ;
27694 char *kwnames[] = {
27695 (char *) "self",(char *) "text", NULL
27696 };
27697
27698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27701 {
27702 arg2 = wxString_in_helper(obj1);
27703 if (arg2 == NULL) SWIG_fail;
e811c8ce 27704 temp2 = True;
d14a1e28
RD
27705 }
27706 {
27707 PyThreadState* __tstate = wxPyBeginAllowThreads();
27708 (arg1)->SetHelpTextForId((wxString const &)*arg2);
27709
27710 wxPyEndAllowThreads(__tstate);
27711 if (PyErr_Occurred()) SWIG_fail;
27712 }
27713 Py_INCREF(Py_None); resultobj = Py_None;
27714 {
27715 if (temp2)
27716 delete arg2;
27717 }
27718 return resultobj;
27719 fail:
27720 {
27721 if (temp2)
27722 delete arg2;
27723 }
27724 return NULL;
27725}
27726
27727
27728static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27729 PyObject *resultobj;
27730 wxWindow *arg1 = (wxWindow *) 0 ;
27731 wxString result;
27732 PyObject * obj0 = 0 ;
27733 char *kwnames[] = {
27734 (char *) "self", NULL
27735 };
27736
27737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
15afbcd0
RD
27738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27740 {
27741 PyThreadState* __tstate = wxPyBeginAllowThreads();
27742 result = ((wxWindow const *)arg1)->GetHelpText();
27743
27744 wxPyEndAllowThreads(__tstate);
27745 if (PyErr_Occurred()) SWIG_fail;
27746 }
27747 {
27748#if wxUSE_UNICODE
27749 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27750#else
27751 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27752#endif
27753 }
27754 return resultobj;
27755 fail:
27756 return NULL;
27757}
27758
27759
27760static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
27761 PyObject *resultobj;
27762 wxWindow *arg1 = (wxWindow *) 0 ;
27763 wxString *arg2 = 0 ;
e811c8ce 27764 bool temp2 = False ;
d14a1e28
RD
27765 PyObject * obj0 = 0 ;
27766 PyObject * obj1 = 0 ;
27767 char *kwnames[] = {
27768 (char *) "self",(char *) "tip", NULL
27769 };
27770
27771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27774 {
27775 arg2 = wxString_in_helper(obj1);
27776 if (arg2 == NULL) SWIG_fail;
e811c8ce 27777 temp2 = True;
d14a1e28
RD
27778 }
27779 {
27780 PyThreadState* __tstate = wxPyBeginAllowThreads();
27781 (arg1)->SetToolTip((wxString const &)*arg2);
27782
27783 wxPyEndAllowThreads(__tstate);
27784 if (PyErr_Occurred()) SWIG_fail;
27785 }
27786 Py_INCREF(Py_None); resultobj = Py_None;
27787 {
27788 if (temp2)
27789 delete arg2;
27790 }
27791 return resultobj;
27792 fail:
27793 {
27794 if (temp2)
27795 delete arg2;
27796 }
27797 return NULL;
27798}
27799
27800
27801static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27802 PyObject *resultobj;
27803 wxWindow *arg1 = (wxWindow *) 0 ;
27804 wxToolTip *arg2 = (wxToolTip *) 0 ;
27805 PyObject * obj0 = 0 ;
27806 PyObject * obj1 = 0 ;
27807 char *kwnames[] = {
27808 (char *) "self",(char *) "tip", NULL
27809 };
27810
27811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
27815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27816 {
27817 PyThreadState* __tstate = wxPyBeginAllowThreads();
27818 (arg1)->SetToolTip(arg2);
27819
27820 wxPyEndAllowThreads(__tstate);
27821 if (PyErr_Occurred()) SWIG_fail;
27822 }
27823 Py_INCREF(Py_None); resultobj = Py_None;
27824 return resultobj;
27825 fail:
27826 return NULL;
27827}
27828
27829
27830static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27831 PyObject *resultobj;
27832 wxWindow *arg1 = (wxWindow *) 0 ;
27833 wxToolTip *result;
27834 PyObject * obj0 = 0 ;
27835 char *kwnames[] = {
27836 (char *) "self", NULL
27837 };
27838
27839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
15afbcd0
RD
27840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27842 {
27843 PyThreadState* __tstate = wxPyBeginAllowThreads();
27844 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
27845
27846 wxPyEndAllowThreads(__tstate);
27847 if (PyErr_Occurred()) SWIG_fail;
27848 }
27849 {
412d302d 27850 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
27851 }
27852 return resultobj;
27853 fail:
27854 return NULL;
27855}
27856
27857
27858static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27859 PyObject *resultobj;
27860 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 27861 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
27862 PyObject * obj0 = 0 ;
27863 PyObject * obj1 = 0 ;
27864 char *kwnames[] = {
27865 (char *) "self",(char *) "dropTarget", NULL
27866 };
27867
27868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27871 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
27872 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
27873 {
27874 PyThreadState* __tstate = wxPyBeginAllowThreads();
27875 (arg1)->SetDropTarget(arg2);
27876
27877 wxPyEndAllowThreads(__tstate);
27878 if (PyErr_Occurred()) SWIG_fail;
27879 }
27880 Py_INCREF(Py_None); resultobj = Py_None;
27881 return resultobj;
27882 fail:
27883 return NULL;
27884}
27885
27886
27887static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27888 PyObject *resultobj;
27889 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 27890 wxPyDropTarget *result;
d14a1e28
RD
27891 PyObject * obj0 = 0 ;
27892 char *kwnames[] = {
27893 (char *) "self", NULL
27894 };
27895
27896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
27897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27899 {
27900 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 27901 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
27902
27903 wxPyEndAllowThreads(__tstate);
27904 if (PyErr_Occurred()) SWIG_fail;
27905 }
15afbcd0 27906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
27907 return resultobj;
27908 fail:
27909 return NULL;
27910}
27911
27912
27913static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27914 PyObject *resultobj;
27915 wxWindow *arg1 = (wxWindow *) 0 ;
27916 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
27917 PyObject * obj0 = 0 ;
27918 PyObject * obj1 = 0 ;
27919 char *kwnames[] = {
27920 (char *) "self",(char *) "constraints", NULL
27921 };
27922
27923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27926 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
27927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27928 {
27929 PyThreadState* __tstate = wxPyBeginAllowThreads();
27930 (arg1)->SetConstraints(arg2);
27931
27932 wxPyEndAllowThreads(__tstate);
27933 if (PyErr_Occurred()) SWIG_fail;
27934 }
27935 Py_INCREF(Py_None); resultobj = Py_None;
27936 return resultobj;
27937 fail:
27938 return NULL;
27939}
27940
27941
27942static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27943 PyObject *resultobj;
27944 wxWindow *arg1 = (wxWindow *) 0 ;
27945 wxLayoutConstraints *result;
27946 PyObject * obj0 = 0 ;
27947 char *kwnames[] = {
27948 (char *) "self", NULL
27949 };
27950
27951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
15afbcd0
RD
27952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27954 {
27955 PyThreadState* __tstate = wxPyBeginAllowThreads();
27956 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
27957
27958 wxPyEndAllowThreads(__tstate);
27959 if (PyErr_Occurred()) SWIG_fail;
27960 }
15afbcd0 27961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
d14a1e28
RD
27962 return resultobj;
27963 fail:
27964 return NULL;
27965}
27966
27967
27968static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27969 PyObject *resultobj;
27970 wxWindow *arg1 = (wxWindow *) 0 ;
27971 bool arg2 ;
27972 PyObject * obj0 = 0 ;
27973 PyObject * obj1 = 0 ;
27974 char *kwnames[] = {
27975 (char *) "self",(char *) "autoLayout", NULL
27976 };
27977
27978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27981 arg2 = (bool) SWIG_AsBool(obj1);
27982 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27983 {
27984 PyThreadState* __tstate = wxPyBeginAllowThreads();
27985 (arg1)->SetAutoLayout(arg2);
27986
27987 wxPyEndAllowThreads(__tstate);
27988 if (PyErr_Occurred()) SWIG_fail;
27989 }
27990 Py_INCREF(Py_None); resultobj = Py_None;
27991 return resultobj;
27992 fail:
27993 return NULL;
27994}
27995
27996
27997static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27998 PyObject *resultobj;
27999 wxWindow *arg1 = (wxWindow *) 0 ;
28000 bool result;
28001 PyObject * obj0 = 0 ;
28002 char *kwnames[] = {
28003 (char *) "self", NULL
28004 };
28005
28006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
15afbcd0
RD
28007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28009 {
28010 PyThreadState* __tstate = wxPyBeginAllowThreads();
28011 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
28012
28013 wxPyEndAllowThreads(__tstate);
28014 if (PyErr_Occurred()) SWIG_fail;
28015 }
4f89f6a3
RD
28016 {
28017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28018 }
d14a1e28
RD
28019 return resultobj;
28020 fail:
28021 return NULL;
28022}
28023
28024
28025static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
28026 PyObject *resultobj;
28027 wxWindow *arg1 = (wxWindow *) 0 ;
28028 bool result;
28029 PyObject * obj0 = 0 ;
28030 char *kwnames[] = {
28031 (char *) "self", NULL
28032 };
28033
28034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
28035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28037 {
28038 PyThreadState* __tstate = wxPyBeginAllowThreads();
28039 result = (bool)(arg1)->Layout();
28040
28041 wxPyEndAllowThreads(__tstate);
28042 if (PyErr_Occurred()) SWIG_fail;
28043 }
4f89f6a3
RD
28044 {
28045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28046 }
d14a1e28
RD
28047 return resultobj;
28048 fail:
28049 return NULL;
28050}
28051
28052
28053static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28054 PyObject *resultobj;
28055 wxWindow *arg1 = (wxWindow *) 0 ;
28056 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 28057 bool arg3 = (bool) True ;
d14a1e28
RD
28058 PyObject * obj0 = 0 ;
28059 PyObject * obj1 = 0 ;
28060 PyObject * obj2 = 0 ;
28061 char *kwnames[] = {
28062 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28063 };
28064
28065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28068 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 28070 if (obj2) {
15afbcd0
RD
28071 arg3 = (bool) SWIG_AsBool(obj2);
28072 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28073 }
28074 {
28075 PyThreadState* __tstate = wxPyBeginAllowThreads();
28076 (arg1)->SetSizer(arg2,arg3);
28077
28078 wxPyEndAllowThreads(__tstate);
28079 if (PyErr_Occurred()) SWIG_fail;
28080 }
28081 Py_INCREF(Py_None); resultobj = Py_None;
28082 return resultobj;
28083 fail:
28084 return NULL;
28085}
28086
28087
28088static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
28089 PyObject *resultobj;
28090 wxWindow *arg1 = (wxWindow *) 0 ;
28091 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 28092 bool arg3 = (bool) True ;
d14a1e28
RD
28093 PyObject * obj0 = 0 ;
28094 PyObject * obj1 = 0 ;
28095 PyObject * obj2 = 0 ;
28096 char *kwnames[] = {
28097 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28098 };
28099
28100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 28105 if (obj2) {
15afbcd0
RD
28106 arg3 = (bool) SWIG_AsBool(obj2);
28107 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28108 }
28109 {
28110 PyThreadState* __tstate = wxPyBeginAllowThreads();
28111 (arg1)->SetSizerAndFit(arg2,arg3);
28112
28113 wxPyEndAllowThreads(__tstate);
28114 if (PyErr_Occurred()) SWIG_fail;
28115 }
28116 Py_INCREF(Py_None); resultobj = Py_None;
28117 return resultobj;
28118 fail:
28119 return NULL;
28120}
28121
28122
28123static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28124 PyObject *resultobj;
28125 wxWindow *arg1 = (wxWindow *) 0 ;
28126 wxSizer *result;
28127 PyObject * obj0 = 0 ;
28128 char *kwnames[] = {
28129 (char *) "self", NULL
28130 };
28131
28132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
28133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28135 {
28136 PyThreadState* __tstate = wxPyBeginAllowThreads();
28137 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
28138
28139 wxPyEndAllowThreads(__tstate);
28140 if (PyErr_Occurred()) SWIG_fail;
28141 }
28142 {
412d302d 28143 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
28144 }
28145 return resultobj;
28146 fail:
28147 return NULL;
28148}
28149
28150
28151static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28152 PyObject *resultobj;
28153 wxWindow *arg1 = (wxWindow *) 0 ;
28154 wxSizer *arg2 = (wxSizer *) 0 ;
28155 PyObject * obj0 = 0 ;
28156 PyObject * obj1 = 0 ;
28157 char *kwnames[] = {
28158 (char *) "self",(char *) "sizer", NULL
28159 };
28160
28161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28164 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28166 {
28167 PyThreadState* __tstate = wxPyBeginAllowThreads();
28168 (arg1)->SetContainingSizer(arg2);
28169
28170 wxPyEndAllowThreads(__tstate);
28171 if (PyErr_Occurred()) SWIG_fail;
28172 }
28173 Py_INCREF(Py_None); resultobj = Py_None;
28174 return resultobj;
28175 fail:
28176 return NULL;
28177}
28178
28179
28180static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28181 PyObject *resultobj;
28182 wxWindow *arg1 = (wxWindow *) 0 ;
28183 wxSizer *result;
28184 PyObject * obj0 = 0 ;
28185 char *kwnames[] = {
28186 (char *) "self", NULL
28187 };
28188
28189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
28190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28192 {
28193 PyThreadState* __tstate = wxPyBeginAllowThreads();
28194 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
28195
28196 wxPyEndAllowThreads(__tstate);
28197 if (PyErr_Occurred()) SWIG_fail;
28198 }
28199 {
412d302d 28200 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
28201 }
28202 return resultobj;
28203 fail:
28204 return NULL;
28205}
28206
28207
a95a7133
RD
28208static PyObject *_wrap_Window_InheritAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
28209 PyObject *resultobj;
28210 wxWindow *arg1 = (wxWindow *) 0 ;
28211 PyObject * obj0 = 0 ;
28212 char *kwnames[] = {
28213 (char *) "self", NULL
28214 };
28215
28216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail;
28217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28219 {
28220 PyThreadState* __tstate = wxPyBeginAllowThreads();
28221 (arg1)->InheritAttributes();
28222
28223 wxPyEndAllowThreads(__tstate);
28224 if (PyErr_Occurred()) SWIG_fail;
28225 }
28226 Py_INCREF(Py_None); resultobj = Py_None;
28227 return resultobj;
28228 fail:
28229 return NULL;
28230}
28231
28232
28233static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
28234 PyObject *resultobj;
28235 wxWindow *arg1 = (wxWindow *) 0 ;
28236 bool result;
28237 PyObject * obj0 = 0 ;
28238 char *kwnames[] = {
28239 (char *) "self", NULL
28240 };
28241
28242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
28243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28245 {
28246 PyThreadState* __tstate = wxPyBeginAllowThreads();
28247 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
28248
28249 wxPyEndAllowThreads(__tstate);
28250 if (PyErr_Occurred()) SWIG_fail;
28251 }
28252 {
28253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28254 }
28255 return resultobj;
28256 fail:
28257 return NULL;
28258}
28259
28260
d14a1e28
RD
28261static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
28262 PyObject *obj;
28263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28264 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
28265 Py_INCREF(obj);
28266 return Py_BuildValue((char *)"");
28267}
28268static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
28269 PyObject *resultobj;
28270 long arg1 ;
28271 wxWindow *arg2 = (wxWindow *) NULL ;
28272 wxWindow *result;
994141e6 28273 PyObject * obj0 = 0 ;
d14a1e28
RD
28274 PyObject * obj1 = 0 ;
28275 char *kwnames[] = {
28276 (char *) "id",(char *) "parent", NULL
28277 };
28278
994141e6 28279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28280 arg1 = (long) SWIG_AsLong(obj0);
28281 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28282 if (obj1) {
15afbcd0
RD
28283 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28285 }
28286 {
e3b71cb8 28287 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28288 PyThreadState* __tstate = wxPyBeginAllowThreads();
28289 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
28290
28291 wxPyEndAllowThreads(__tstate);
110da5b0 28292 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28293 }
28294 {
412d302d 28295 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28296 }
28297 return resultobj;
28298 fail:
28299 return NULL;
28300}
28301
28302
28303static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
28304 PyObject *resultobj;
28305 wxString *arg1 = 0 ;
28306 wxWindow *arg2 = (wxWindow *) NULL ;
28307 wxWindow *result;
e811c8ce 28308 bool temp1 = False ;
d14a1e28
RD
28309 PyObject * obj0 = 0 ;
28310 PyObject * obj1 = 0 ;
28311 char *kwnames[] = {
28312 (char *) "name",(char *) "parent", NULL
28313 };
28314
28315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
28316 {
28317 arg1 = wxString_in_helper(obj0);
28318 if (arg1 == NULL) SWIG_fail;
e811c8ce 28319 temp1 = True;
d14a1e28
RD
28320 }
28321 if (obj1) {
15afbcd0
RD
28322 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28324 }
28325 {
e3b71cb8 28326 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28327 PyThreadState* __tstate = wxPyBeginAllowThreads();
28328 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
28329
28330 wxPyEndAllowThreads(__tstate);
110da5b0 28331 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28332 }
28333 {
412d302d 28334 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28335 }
28336 {
28337 if (temp1)
28338 delete arg1;
28339 }
28340 return resultobj;
28341 fail:
28342 {
28343 if (temp1)
28344 delete arg1;
28345 }
28346 return NULL;
28347}
28348
28349
28350static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28351 PyObject *resultobj;
28352 wxString *arg1 = 0 ;
28353 wxWindow *arg2 = (wxWindow *) NULL ;
28354 wxWindow *result;
e811c8ce 28355 bool temp1 = False ;
d14a1e28
RD
28356 PyObject * obj0 = 0 ;
28357 PyObject * obj1 = 0 ;
28358 char *kwnames[] = {
28359 (char *) "label",(char *) "parent", NULL
28360 };
28361
28362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
28363 {
28364 arg1 = wxString_in_helper(obj0);
28365 if (arg1 == NULL) SWIG_fail;
e811c8ce 28366 temp1 = True;
d14a1e28
RD
28367 }
28368 if (obj1) {
15afbcd0
RD
28369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28371 }
28372 {
e3b71cb8 28373 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28374 PyThreadState* __tstate = wxPyBeginAllowThreads();
28375 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
28376
28377 wxPyEndAllowThreads(__tstate);
110da5b0 28378 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28379 }
28380 {
412d302d 28381 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28382 }
28383 {
28384 if (temp1)
28385 delete arg1;
28386 }
28387 return resultobj;
28388 fail:
28389 {
28390 if (temp1)
28391 delete arg1;
28392 }
28393 return NULL;
28394}
28395
28396
28397static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
28398 PyObject *resultobj;
4276dc52
RD
28399 wxWindow *arg1 = (wxWindow *) 0 ;
28400 unsigned long arg2 ;
d14a1e28
RD
28401 wxWindow *result;
28402 PyObject * obj0 = 0 ;
4276dc52 28403 PyObject * obj1 = 0 ;
d14a1e28 28404 char *kwnames[] = {
4276dc52 28405 (char *) "parent",(char *) "_hWnd", NULL
d14a1e28
RD
28406 };
28407
4276dc52
RD
28408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
28409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28411 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
15afbcd0 28412 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28413 {
28414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 28415 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
d14a1e28
RD
28416
28417 wxPyEndAllowThreads(__tstate);
28418 if (PyErr_Occurred()) SWIG_fail;
28419 }
28420 {
412d302d 28421 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28422 }
28423 return resultobj;
28424 fail:
28425 return NULL;
28426}
28427
28428
28429static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
28430 PyObject *resultobj;
28431 wxValidator *result;
28432 char *kwnames[] = {
28433 NULL
28434 };
28435
28436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
28437 {
28438 PyThreadState* __tstate = wxPyBeginAllowThreads();
28439 result = (wxValidator *)new wxValidator();
28440
28441 wxPyEndAllowThreads(__tstate);
28442 if (PyErr_Occurred()) SWIG_fail;
28443 }
28444 {
412d302d 28445 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
28446 }
28447 return resultobj;
28448 fail:
28449 return NULL;
28450}
28451
28452
28453static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
28454 PyObject *resultobj;
28455 wxValidator *arg1 = (wxValidator *) 0 ;
28456 wxValidator *result;
28457 PyObject * obj0 = 0 ;
28458 char *kwnames[] = {
28459 (char *) "self", NULL
28460 };
28461
28462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
28463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28465 {
28466 PyThreadState* __tstate = wxPyBeginAllowThreads();
28467 result = (wxValidator *)(arg1)->Clone();
28468
28469 wxPyEndAllowThreads(__tstate);
28470 if (PyErr_Occurred()) SWIG_fail;
28471 }
28472 {
412d302d 28473 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28474 }
28475 return resultobj;
28476 fail:
28477 return NULL;
28478}
28479
28480
28481static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28482 PyObject *resultobj;
28483 wxValidator *arg1 = (wxValidator *) 0 ;
28484 wxWindow *arg2 = (wxWindow *) 0 ;
28485 bool result;
28486 PyObject * obj0 = 0 ;
28487 PyObject * obj1 = 0 ;
28488 char *kwnames[] = {
28489 (char *) "self",(char *) "parent", NULL
28490 };
28491
28492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28497 {
28498 PyThreadState* __tstate = wxPyBeginAllowThreads();
28499 result = (bool)(arg1)->Validate(arg2);
28500
28501 wxPyEndAllowThreads(__tstate);
28502 if (PyErr_Occurred()) SWIG_fail;
28503 }
4f89f6a3
RD
28504 {
28505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28506 }
d14a1e28
RD
28507 return resultobj;
28508 fail:
28509 return NULL;
28510}
28511
28512
28513static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28514 PyObject *resultobj;
28515 wxValidator *arg1 = (wxValidator *) 0 ;
28516 bool result;
28517 PyObject * obj0 = 0 ;
28518 char *kwnames[] = {
28519 (char *) "self", NULL
28520 };
28521
28522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28525 {
28526 PyThreadState* __tstate = wxPyBeginAllowThreads();
28527 result = (bool)(arg1)->TransferToWindow();
28528
28529 wxPyEndAllowThreads(__tstate);
28530 if (PyErr_Occurred()) SWIG_fail;
28531 }
4f89f6a3
RD
28532 {
28533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28534 }
d14a1e28
RD
28535 return resultobj;
28536 fail:
28537 return NULL;
28538}
28539
28540
28541static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28542 PyObject *resultobj;
28543 wxValidator *arg1 = (wxValidator *) 0 ;
28544 bool result;
28545 PyObject * obj0 = 0 ;
28546 char *kwnames[] = {
28547 (char *) "self", NULL
28548 };
28549
28550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28553 {
28554 PyThreadState* __tstate = wxPyBeginAllowThreads();
28555 result = (bool)(arg1)->TransferFromWindow();
28556
28557 wxPyEndAllowThreads(__tstate);
28558 if (PyErr_Occurred()) SWIG_fail;
28559 }
4f89f6a3
RD
28560 {
28561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28562 }
d14a1e28
RD
28563 return resultobj;
28564 fail:
28565 return NULL;
28566}
28567
28568
28569static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28570 PyObject *resultobj;
28571 wxValidator *arg1 = (wxValidator *) 0 ;
28572 wxWindow *result;
28573 PyObject * obj0 = 0 ;
28574 char *kwnames[] = {
28575 (char *) "self", NULL
28576 };
28577
28578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28581 {
28582 PyThreadState* __tstate = wxPyBeginAllowThreads();
28583 result = (wxWindow *)(arg1)->GetWindow();
28584
28585 wxPyEndAllowThreads(__tstate);
28586 if (PyErr_Occurred()) SWIG_fail;
28587 }
28588 {
412d302d 28589 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28590 }
28591 return resultobj;
28592 fail:
28593 return NULL;
28594}
28595
28596
28597static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28598 PyObject *resultobj;
28599 wxValidator *arg1 = (wxValidator *) 0 ;
28600 wxWindow *arg2 = (wxWindow *) 0 ;
28601 PyObject * obj0 = 0 ;
28602 PyObject * obj1 = 0 ;
28603 char *kwnames[] = {
28604 (char *) "self",(char *) "window", NULL
28605 };
28606
28607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28610 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28612 {
28613 PyThreadState* __tstate = wxPyBeginAllowThreads();
28614 (arg1)->SetWindow(arg2);
28615
28616 wxPyEndAllowThreads(__tstate);
28617 if (PyErr_Occurred()) SWIG_fail;
28618 }
28619 Py_INCREF(Py_None); resultobj = Py_None;
28620 return resultobj;
28621 fail:
28622 return NULL;
28623}
28624
28625
28626static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
28627 PyObject *resultobj;
28628 bool result;
28629 char *kwnames[] = {
28630 NULL
28631 };
28632
28633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
28634 {
28635 PyThreadState* __tstate = wxPyBeginAllowThreads();
28636 result = (bool)wxValidator::IsSilent();
28637
28638 wxPyEndAllowThreads(__tstate);
28639 if (PyErr_Occurred()) SWIG_fail;
28640 }
4f89f6a3
RD
28641 {
28642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28643 }
d14a1e28
RD
28644 return resultobj;
28645 fail:
28646 return NULL;
28647}
28648
28649
28650static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
28651 PyObject *resultobj;
e811c8ce 28652 int arg1 = (int) True ;
994141e6 28653 PyObject * obj0 = 0 ;
d14a1e28
RD
28654 char *kwnames[] = {
28655 (char *) "doIt", NULL
28656 };
28657
994141e6
RD
28658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
28659 if (obj0) {
15afbcd0
RD
28660 arg1 = (int) SWIG_AsInt(obj0);
28661 if (PyErr_Occurred()) SWIG_fail;
994141e6 28662 }
d14a1e28
RD
28663 {
28664 PyThreadState* __tstate = wxPyBeginAllowThreads();
28665 wxValidator::SetBellOnError(arg1);
28666
28667 wxPyEndAllowThreads(__tstate);
28668 if (PyErr_Occurred()) SWIG_fail;
28669 }
28670 Py_INCREF(Py_None); resultobj = Py_None;
28671 return resultobj;
28672 fail:
28673 return NULL;
28674}
28675
28676
28677static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
28678 PyObject *obj;
28679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28680 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
28681 Py_INCREF(obj);
28682 return Py_BuildValue((char *)"");
28683}
28684static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
28685 PyObject *resultobj;
28686 wxPyValidator *result;
28687 char *kwnames[] = {
28688 NULL
28689 };
28690
28691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
28692 {
28693 PyThreadState* __tstate = wxPyBeginAllowThreads();
28694 result = (wxPyValidator *)new wxPyValidator();
28695
28696 wxPyEndAllowThreads(__tstate);
28697 if (PyErr_Occurred()) SWIG_fail;
28698 }
15afbcd0 28699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
d14a1e28
RD
28700 return resultobj;
28701 fail:
28702 return NULL;
28703}
28704
28705
28706static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28707 PyObject *resultobj;
28708 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
28709 PyObject *arg2 = (PyObject *) 0 ;
28710 PyObject *arg3 = (PyObject *) 0 ;
e811c8ce 28711 int arg4 = (int) True ;
d14a1e28
RD
28712 PyObject * obj0 = 0 ;
28713 PyObject * obj1 = 0 ;
28714 PyObject * obj2 = 0 ;
994141e6 28715 PyObject * obj3 = 0 ;
d14a1e28
RD
28716 char *kwnames[] = {
28717 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28718 };
28719
994141e6 28720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
28722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28723 arg2 = obj1;
28724 arg3 = obj2;
994141e6 28725 if (obj3) {
15afbcd0
RD
28726 arg4 = (int) SWIG_AsInt(obj3);
28727 if (PyErr_Occurred()) SWIG_fail;
994141e6 28728 }
d14a1e28
RD
28729 {
28730 PyThreadState* __tstate = wxPyBeginAllowThreads();
28731 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28732
28733 wxPyEndAllowThreads(__tstate);
28734 if (PyErr_Occurred()) SWIG_fail;
28735 }
28736 Py_INCREF(Py_None); resultobj = Py_None;
28737 return resultobj;
28738 fail:
28739 return NULL;
28740}
28741
28742
28743static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
28744 PyObject *obj;
28745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28746 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
28747 Py_INCREF(obj);
28748 return Py_BuildValue((char *)"");
28749}
28750static int _wrap_DefaultValidator_set(PyObject *_val) {
28751 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
28752 return 1;
28753}
28754
28755
28756static PyObject *_wrap_DefaultValidator_get() {
28757 PyObject *pyobj;
28758
15afbcd0 28759 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
d14a1e28
RD
28760 return pyobj;
28761}
28762
28763
28764static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
28765 PyObject *resultobj;
28766 wxString const &arg1_defvalue = wxPyEmptyString ;
28767 wxString *arg1 = (wxString *) &arg1_defvalue ;
28768 long arg2 = (long) 0 ;
28769 wxMenu *result;
e811c8ce 28770 bool temp1 = False ;
d14a1e28 28771 PyObject * obj0 = 0 ;
994141e6 28772 PyObject * obj1 = 0 ;
d14a1e28
RD
28773 char *kwnames[] = {
28774 (char *) "title",(char *) "style", NULL
28775 };
28776
994141e6 28777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
28778 if (obj0) {
28779 {
28780 arg1 = wxString_in_helper(obj0);
28781 if (arg1 == NULL) SWIG_fail;
e811c8ce 28782 temp1 = True;
d14a1e28
RD
28783 }
28784 }
994141e6 28785 if (obj1) {
15afbcd0
RD
28786 arg2 = (long) SWIG_AsLong(obj1);
28787 if (PyErr_Occurred()) SWIG_fail;
994141e6 28788 }
d14a1e28 28789 {
e3b71cb8 28790 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28791 PyThreadState* __tstate = wxPyBeginAllowThreads();
28792 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
28793
28794 wxPyEndAllowThreads(__tstate);
110da5b0 28795 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28796 }
28797 {
412d302d 28798 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
28799 }
28800 {
28801 if (temp1)
28802 delete arg1;
28803 }
28804 return resultobj;
28805 fail:
28806 {
28807 if (temp1)
28808 delete arg1;
28809 }
28810 return NULL;
28811}
28812
28813
28814static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28815 PyObject *resultobj;
28816 wxMenu *arg1 = (wxMenu *) 0 ;
28817 int arg2 ;
28818 wxString *arg3 = 0 ;
28819 wxString const &arg4_defvalue = wxPyEmptyString ;
28820 wxString *arg4 = (wxString *) &arg4_defvalue ;
28821 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 28822 wxMenuItem *result;
e811c8ce
RD
28823 bool temp3 = False ;
28824 bool temp4 = False ;
d14a1e28 28825 PyObject * obj0 = 0 ;
994141e6 28826 PyObject * obj1 = 0 ;
d14a1e28
RD
28827 PyObject * obj2 = 0 ;
28828 PyObject * obj3 = 0 ;
994141e6 28829 PyObject * obj4 = 0 ;
d14a1e28 28830 char *kwnames[] = {
242b7b46 28831 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
28832 };
28833
994141e6 28834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28837 arg2 = (int) SWIG_AsInt(obj1);
28838 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28839 {
28840 arg3 = wxString_in_helper(obj2);
28841 if (arg3 == NULL) SWIG_fail;
e811c8ce 28842 temp3 = True;
d14a1e28
RD
28843 }
28844 if (obj3) {
28845 {
28846 arg4 = wxString_in_helper(obj3);
28847 if (arg4 == NULL) SWIG_fail;
e811c8ce 28848 temp4 = True;
d14a1e28
RD
28849 }
28850 }
994141e6 28851 if (obj4) {
15afbcd0
RD
28852 arg5 = (wxItemKind) SWIG_AsInt(obj4);
28853 if (PyErr_Occurred()) SWIG_fail;
994141e6 28854 }
d14a1e28
RD
28855 {
28856 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28857 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
28858
28859 wxPyEndAllowThreads(__tstate);
28860 if (PyErr_Occurred()) SWIG_fail;
28861 }
a41e16b6 28862 {
412d302d 28863 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 28864 }
d14a1e28
RD
28865 {
28866 if (temp3)
28867 delete arg3;
28868 }
28869 {
28870 if (temp4)
28871 delete arg4;
28872 }
28873 return resultobj;
28874 fail:
28875 {
28876 if (temp3)
28877 delete arg3;
28878 }
28879 {
28880 if (temp4)
28881 delete arg4;
28882 }
28883 return NULL;
28884}
28885
28886
28887static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28888 PyObject *resultobj;
28889 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 28890 wxMenuItem *result;
d14a1e28
RD
28891 PyObject * obj0 = 0 ;
28892 char *kwnames[] = {
28893 (char *) "self", NULL
28894 };
28895
28896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
28897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28899 {
28900 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28901 result = (wxMenuItem *)(arg1)->AppendSeparator();
d14a1e28
RD
28902
28903 wxPyEndAllowThreads(__tstate);
28904 if (PyErr_Occurred()) SWIG_fail;
28905 }
a41e16b6 28906 {
412d302d 28907 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 28908 }
d14a1e28
RD
28909 return resultobj;
28910 fail:
28911 return NULL;
28912}
28913
28914
28915static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28916 PyObject *resultobj;
28917 wxMenu *arg1 = (wxMenu *) 0 ;
28918 int arg2 ;
28919 wxString *arg3 = 0 ;
28920 wxString const &arg4_defvalue = wxPyEmptyString ;
28921 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 28922 wxMenuItem *result;
e811c8ce
RD
28923 bool temp3 = False ;
28924 bool temp4 = False ;
d14a1e28 28925 PyObject * obj0 = 0 ;
994141e6 28926 PyObject * obj1 = 0 ;
d14a1e28
RD
28927 PyObject * obj2 = 0 ;
28928 PyObject * obj3 = 0 ;
28929 char *kwnames[] = {
242b7b46 28930 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28931 };
28932
994141e6 28933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28936 arg2 = (int) SWIG_AsInt(obj1);
28937 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28938 {
28939 arg3 = wxString_in_helper(obj2);
28940 if (arg3 == NULL) SWIG_fail;
e811c8ce 28941 temp3 = True;
d14a1e28
RD
28942 }
28943 if (obj3) {
28944 {
28945 arg4 = wxString_in_helper(obj3);
28946 if (arg4 == NULL) SWIG_fail;
e811c8ce 28947 temp4 = True;
d14a1e28
RD
28948 }
28949 }
28950 {
28951 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28952 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28953
28954 wxPyEndAllowThreads(__tstate);
28955 if (PyErr_Occurred()) SWIG_fail;
28956 }
a41e16b6 28957 {
412d302d 28958 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 28959 }
d14a1e28
RD
28960 {
28961 if (temp3)
28962 delete arg3;
28963 }
28964 {
28965 if (temp4)
28966 delete arg4;
28967 }
28968 return resultobj;
28969 fail:
28970 {
28971 if (temp3)
28972 delete arg3;
28973 }
28974 {
28975 if (temp4)
28976 delete arg4;
28977 }
28978 return NULL;
28979}
28980
28981
28982static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28983 PyObject *resultobj;
28984 wxMenu *arg1 = (wxMenu *) 0 ;
28985 int arg2 ;
28986 wxString *arg3 = 0 ;
28987 wxString const &arg4_defvalue = wxPyEmptyString ;
28988 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 28989 wxMenuItem *result;
e811c8ce
RD
28990 bool temp3 = False ;
28991 bool temp4 = False ;
d14a1e28 28992 PyObject * obj0 = 0 ;
994141e6 28993 PyObject * obj1 = 0 ;
d14a1e28
RD
28994 PyObject * obj2 = 0 ;
28995 PyObject * obj3 = 0 ;
28996 char *kwnames[] = {
242b7b46 28997 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28998 };
28999
994141e6 29000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29003 arg2 = (int) SWIG_AsInt(obj1);
29004 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29005 {
29006 arg3 = wxString_in_helper(obj2);
29007 if (arg3 == NULL) SWIG_fail;
e811c8ce 29008 temp3 = True;
d14a1e28
RD
29009 }
29010 if (obj3) {
29011 {
29012 arg4 = wxString_in_helper(obj3);
29013 if (arg4 == NULL) SWIG_fail;
e811c8ce 29014 temp4 = True;
d14a1e28
RD
29015 }
29016 }
29017 {
29018 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29019 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29020
29021 wxPyEndAllowThreads(__tstate);
29022 if (PyErr_Occurred()) SWIG_fail;
29023 }
a41e16b6 29024 {
412d302d 29025 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29026 }
d14a1e28
RD
29027 {
29028 if (temp3)
29029 delete arg3;
29030 }
29031 {
29032 if (temp4)
29033 delete arg4;
29034 }
29035 return resultobj;
29036 fail:
29037 {
29038 if (temp3)
29039 delete arg3;
29040 }
29041 {
29042 if (temp4)
29043 delete arg4;
29044 }
29045 return NULL;
29046}
29047
29048
29049static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29050 PyObject *resultobj;
29051 wxMenu *arg1 = (wxMenu *) 0 ;
29052 int arg2 ;
29053 wxString *arg3 = 0 ;
29054 wxMenu *arg4 = (wxMenu *) 0 ;
29055 wxString const &arg5_defvalue = wxPyEmptyString ;
29056 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29057 wxMenuItem *result;
e811c8ce
RD
29058 bool temp3 = False ;
29059 bool temp5 = False ;
d14a1e28 29060 PyObject * obj0 = 0 ;
994141e6 29061 PyObject * obj1 = 0 ;
d14a1e28
RD
29062 PyObject * obj2 = 0 ;
29063 PyObject * obj3 = 0 ;
29064 PyObject * obj4 = 0 ;
29065 char *kwnames[] = {
242b7b46 29066 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29067 };
29068
994141e6 29069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29072 arg2 = (int) SWIG_AsInt(obj1);
29073 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29074 {
29075 arg3 = wxString_in_helper(obj2);
29076 if (arg3 == NULL) SWIG_fail;
e811c8ce 29077 temp3 = True;
d14a1e28 29078 }
15afbcd0
RD
29079 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29081 if (obj4) {
29082 {
29083 arg5 = wxString_in_helper(obj4);
29084 if (arg5 == NULL) SWIG_fail;
e811c8ce 29085 temp5 = True;
d14a1e28
RD
29086 }
29087 }
29088 {
29089 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29090 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
29091
29092 wxPyEndAllowThreads(__tstate);
29093 if (PyErr_Occurred()) SWIG_fail;
29094 }
a41e16b6 29095 {
412d302d 29096 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29097 }
d14a1e28
RD
29098 {
29099 if (temp3)
29100 delete arg3;
29101 }
29102 {
29103 if (temp5)
29104 delete arg5;
29105 }
29106 return resultobj;
29107 fail:
29108 {
29109 if (temp3)
29110 delete arg3;
29111 }
29112 {
29113 if (temp5)
29114 delete arg5;
29115 }
29116 return NULL;
29117}
29118
29119
29120static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29121 PyObject *resultobj;
29122 wxMenu *arg1 = (wxMenu *) 0 ;
29123 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 29124 wxMenuItem *result;
d14a1e28
RD
29125 PyObject * obj0 = 0 ;
29126 PyObject * obj1 = 0 ;
29127 char *kwnames[] = {
29128 (char *) "self",(char *) "item", NULL
29129 };
29130
29131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29136 {
29137 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29138 result = (wxMenuItem *)(arg1)->Append(arg2);
d14a1e28
RD
29139
29140 wxPyEndAllowThreads(__tstate);
29141 if (PyErr_Occurred()) SWIG_fail;
29142 }
a41e16b6 29143 {
412d302d 29144 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29145 }
d14a1e28
RD
29146 return resultobj;
29147 fail:
29148 return NULL;
29149}
29150
29151
29152static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
29153 PyObject *resultobj;
29154 wxMenu *arg1 = (wxMenu *) 0 ;
29155 PyObject * obj0 = 0 ;
29156 char *kwnames[] = {
29157 (char *) "self", NULL
29158 };
29159
29160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
15afbcd0
RD
29161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29163 {
29164 PyThreadState* __tstate = wxPyBeginAllowThreads();
29165 (arg1)->Break();
29166
29167 wxPyEndAllowThreads(__tstate);
29168 if (PyErr_Occurred()) SWIG_fail;
29169 }
29170 Py_INCREF(Py_None); resultobj = Py_None;
29171 return resultobj;
29172 fail:
29173 return NULL;
29174}
29175
29176
29177static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29178 PyObject *resultobj;
29179 wxMenu *arg1 = (wxMenu *) 0 ;
29180 size_t arg2 ;
29181 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
a41e16b6 29182 wxMenuItem *result;
d14a1e28
RD
29183 PyObject * obj0 = 0 ;
29184 PyObject * obj1 = 0 ;
29185 PyObject * obj2 = 0 ;
29186 char *kwnames[] = {
29187 (char *) "self",(char *) "pos",(char *) "item", NULL
29188 };
29189
29190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29193 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29194 if (PyErr_Occurred()) SWIG_fail;
29195 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
29196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29197 {
29198 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29199 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
29200
29201 wxPyEndAllowThreads(__tstate);
29202 if (PyErr_Occurred()) SWIG_fail;
29203 }
a41e16b6 29204 {
412d302d 29205 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29206 }
d14a1e28
RD
29207 return resultobj;
29208 fail:
29209 return NULL;
29210}
29211
29212
29213static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29214 PyObject *resultobj;
29215 wxMenu *arg1 = (wxMenu *) 0 ;
29216 size_t arg2 ;
29217 int arg3 ;
29218 wxString *arg4 = 0 ;
29219 wxString const &arg5_defvalue = wxPyEmptyString ;
29220 wxString *arg5 = (wxString *) &arg5_defvalue ;
29221 int arg6 = (int) wxITEM_NORMAL ;
a41e16b6 29222 wxMenuItem *result;
e811c8ce
RD
29223 bool temp4 = False ;
29224 bool temp5 = False ;
d14a1e28
RD
29225 PyObject * obj0 = 0 ;
29226 PyObject * obj1 = 0 ;
994141e6 29227 PyObject * obj2 = 0 ;
d14a1e28
RD
29228 PyObject * obj3 = 0 ;
29229 PyObject * obj4 = 0 ;
994141e6 29230 PyObject * obj5 = 0 ;
d14a1e28 29231 char *kwnames[] = {
242b7b46 29232 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29233 };
29234
994141e6 29235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
29236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29238 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29239 if (PyErr_Occurred()) SWIG_fail;
29240 arg3 = (int) SWIG_AsInt(obj2);
29241 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29242 {
29243 arg4 = wxString_in_helper(obj3);
29244 if (arg4 == NULL) SWIG_fail;
e811c8ce 29245 temp4 = True;
d14a1e28
RD
29246 }
29247 if (obj4) {
29248 {
29249 arg5 = wxString_in_helper(obj4);
29250 if (arg5 == NULL) SWIG_fail;
e811c8ce 29251 temp5 = True;
d14a1e28
RD
29252 }
29253 }
994141e6 29254 if (obj5) {
15afbcd0
RD
29255 arg6 = (wxItemKind) SWIG_AsInt(obj5);
29256 if (PyErr_Occurred()) SWIG_fail;
994141e6 29257 }
d14a1e28
RD
29258 {
29259 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29260 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
d14a1e28
RD
29261
29262 wxPyEndAllowThreads(__tstate);
29263 if (PyErr_Occurred()) SWIG_fail;
29264 }
a41e16b6 29265 {
412d302d 29266 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29267 }
d14a1e28
RD
29268 {
29269 if (temp4)
29270 delete arg4;
29271 }
29272 {
29273 if (temp5)
29274 delete arg5;
29275 }
29276 return resultobj;
29277 fail:
29278 {
29279 if (temp4)
29280 delete arg4;
29281 }
29282 {
29283 if (temp5)
29284 delete arg5;
29285 }
29286 return NULL;
29287}
29288
29289
29290static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29291 PyObject *resultobj;
29292 wxMenu *arg1 = (wxMenu *) 0 ;
29293 size_t arg2 ;
a41e16b6 29294 wxMenuItem *result;
d14a1e28
RD
29295 PyObject * obj0 = 0 ;
29296 PyObject * obj1 = 0 ;
29297 char *kwnames[] = {
29298 (char *) "self",(char *) "pos", NULL
29299 };
29300
29301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29304 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29305 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29306 {
29307 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29308 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
d14a1e28
RD
29309
29310 wxPyEndAllowThreads(__tstate);
29311 if (PyErr_Occurred()) SWIG_fail;
29312 }
a41e16b6 29313 {
412d302d 29314 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29315 }
d14a1e28
RD
29316 return resultobj;
29317 fail:
29318 return NULL;
29319}
29320
29321
29322static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29323 PyObject *resultobj;
29324 wxMenu *arg1 = (wxMenu *) 0 ;
29325 size_t arg2 ;
29326 int arg3 ;
29327 wxString *arg4 = 0 ;
29328 wxString const &arg5_defvalue = wxPyEmptyString ;
29329 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29330 wxMenuItem *result;
e811c8ce
RD
29331 bool temp4 = False ;
29332 bool temp5 = False ;
d14a1e28
RD
29333 PyObject * obj0 = 0 ;
29334 PyObject * obj1 = 0 ;
994141e6 29335 PyObject * obj2 = 0 ;
d14a1e28
RD
29336 PyObject * obj3 = 0 ;
29337 PyObject * obj4 = 0 ;
29338 char *kwnames[] = {
242b7b46 29339 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29340 };
29341
994141e6 29342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29345 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29346 if (PyErr_Occurred()) SWIG_fail;
29347 arg3 = (int) SWIG_AsInt(obj2);
29348 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29349 {
29350 arg4 = wxString_in_helper(obj3);
29351 if (arg4 == NULL) SWIG_fail;
e811c8ce 29352 temp4 = True;
d14a1e28
RD
29353 }
29354 if (obj4) {
29355 {
29356 arg5 = wxString_in_helper(obj4);
29357 if (arg5 == NULL) SWIG_fail;
e811c8ce 29358 temp5 = True;
d14a1e28
RD
29359 }
29360 }
29361 {
29362 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29363 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29364
29365 wxPyEndAllowThreads(__tstate);
29366 if (PyErr_Occurred()) SWIG_fail;
29367 }
a41e16b6 29368 {
412d302d 29369 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29370 }
d14a1e28
RD
29371 {
29372 if (temp4)
29373 delete arg4;
29374 }
29375 {
29376 if (temp5)
29377 delete arg5;
29378 }
29379 return resultobj;
29380 fail:
29381 {
29382 if (temp4)
29383 delete arg4;
29384 }
29385 {
29386 if (temp5)
29387 delete arg5;
29388 }
29389 return NULL;
29390}
29391
29392
29393static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29394 PyObject *resultobj;
29395 wxMenu *arg1 = (wxMenu *) 0 ;
29396 size_t arg2 ;
29397 int arg3 ;
29398 wxString *arg4 = 0 ;
29399 wxString const &arg5_defvalue = wxPyEmptyString ;
29400 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29401 wxMenuItem *result;
e811c8ce
RD
29402 bool temp4 = False ;
29403 bool temp5 = False ;
d14a1e28
RD
29404 PyObject * obj0 = 0 ;
29405 PyObject * obj1 = 0 ;
994141e6 29406 PyObject * obj2 = 0 ;
d14a1e28
RD
29407 PyObject * obj3 = 0 ;
29408 PyObject * obj4 = 0 ;
29409 char *kwnames[] = {
242b7b46 29410 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29411 };
29412
994141e6 29413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29416 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29417 if (PyErr_Occurred()) SWIG_fail;
29418 arg3 = (int) SWIG_AsInt(obj2);
29419 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29420 {
29421 arg4 = wxString_in_helper(obj3);
29422 if (arg4 == NULL) SWIG_fail;
e811c8ce 29423 temp4 = True;
d14a1e28
RD
29424 }
29425 if (obj4) {
29426 {
29427 arg5 = wxString_in_helper(obj4);
29428 if (arg5 == NULL) SWIG_fail;
e811c8ce 29429 temp5 = True;
d14a1e28
RD
29430 }
29431 }
29432 {
29433 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29434 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29435
29436 wxPyEndAllowThreads(__tstate);
29437 if (PyErr_Occurred()) SWIG_fail;
29438 }
a41e16b6 29439 {
412d302d 29440 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29441 }
d14a1e28
RD
29442 {
29443 if (temp4)
29444 delete arg4;
29445 }
29446 {
29447 if (temp5)
29448 delete arg5;
29449 }
29450 return resultobj;
29451 fail:
29452 {
29453 if (temp4)
29454 delete arg4;
29455 }
29456 {
29457 if (temp5)
29458 delete arg5;
29459 }
29460 return NULL;
29461}
29462
29463
29464static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29465 PyObject *resultobj;
29466 wxMenu *arg1 = (wxMenu *) 0 ;
29467 size_t arg2 ;
29468 int arg3 ;
29469 wxString *arg4 = 0 ;
29470 wxMenu *arg5 = (wxMenu *) 0 ;
29471 wxString const &arg6_defvalue = wxPyEmptyString ;
29472 wxString *arg6 = (wxString *) &arg6_defvalue ;
a41e16b6 29473 wxMenuItem *result;
e811c8ce
RD
29474 bool temp4 = False ;
29475 bool temp6 = False ;
d14a1e28
RD
29476 PyObject * obj0 = 0 ;
29477 PyObject * obj1 = 0 ;
994141e6 29478 PyObject * obj2 = 0 ;
d14a1e28
RD
29479 PyObject * obj3 = 0 ;
29480 PyObject * obj4 = 0 ;
29481 PyObject * obj5 = 0 ;
29482 char *kwnames[] = {
242b7b46 29483 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29484 };
29485
994141e6 29486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
29487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29489 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29490 if (PyErr_Occurred()) SWIG_fail;
29491 arg3 = (int) SWIG_AsInt(obj2);
29492 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29493 {
29494 arg4 = wxString_in_helper(obj3);
29495 if (arg4 == NULL) SWIG_fail;
e811c8ce 29496 temp4 = True;
d14a1e28 29497 }
15afbcd0
RD
29498 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
29499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29500 if (obj5) {
29501 {
29502 arg6 = wxString_in_helper(obj5);
29503 if (arg6 == NULL) SWIG_fail;
e811c8ce 29504 temp6 = True;
d14a1e28
RD
29505 }
29506 }
29507 {
29508 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29509 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
29510
29511 wxPyEndAllowThreads(__tstate);
29512 if (PyErr_Occurred()) SWIG_fail;
29513 }
a41e16b6 29514 {
412d302d 29515 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29516 }
d14a1e28
RD
29517 {
29518 if (temp4)
29519 delete arg4;
29520 }
29521 {
29522 if (temp6)
29523 delete arg6;
29524 }
29525 return resultobj;
29526 fail:
29527 {
29528 if (temp4)
29529 delete arg4;
29530 }
29531 {
29532 if (temp6)
29533 delete arg6;
29534 }
29535 return NULL;
29536}
29537
29538
29539static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29540 PyObject *resultobj;
29541 wxMenu *arg1 = (wxMenu *) 0 ;
29542 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 29543 wxMenuItem *result;
d14a1e28
RD
29544 PyObject * obj0 = 0 ;
29545 PyObject * obj1 = 0 ;
29546 char *kwnames[] = {
29547 (char *) "self",(char *) "item", NULL
29548 };
29549
29550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29555 {
29556 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29557 result = (wxMenuItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
29558
29559 wxPyEndAllowThreads(__tstate);
29560 if (PyErr_Occurred()) SWIG_fail;
29561 }
a41e16b6 29562 {
412d302d 29563 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29564 }
d14a1e28
RD
29565 return resultobj;
29566 fail:
29567 return NULL;
29568}
29569
29570
29571static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
29572 PyObject *resultobj;
29573 wxMenu *arg1 = (wxMenu *) 0 ;
29574 int arg2 ;
29575 wxString *arg3 = 0 ;
29576 wxString const &arg4_defvalue = wxPyEmptyString ;
29577 wxString *arg4 = (wxString *) &arg4_defvalue ;
29578 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 29579 wxMenuItem *result;
e811c8ce
RD
29580 bool temp3 = False ;
29581 bool temp4 = False ;
d14a1e28 29582 PyObject * obj0 = 0 ;
994141e6 29583 PyObject * obj1 = 0 ;
d14a1e28
RD
29584 PyObject * obj2 = 0 ;
29585 PyObject * obj3 = 0 ;
994141e6 29586 PyObject * obj4 = 0 ;
d14a1e28 29587 char *kwnames[] = {
242b7b46 29588 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29589 };
29590
994141e6 29591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29594 arg2 = (int) SWIG_AsInt(obj1);
29595 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29596 {
29597 arg3 = wxString_in_helper(obj2);
29598 if (arg3 == NULL) SWIG_fail;
e811c8ce 29599 temp3 = True;
d14a1e28
RD
29600 }
29601 if (obj3) {
29602 {
29603 arg4 = wxString_in_helper(obj3);
29604 if (arg4 == NULL) SWIG_fail;
e811c8ce 29605 temp4 = True;
d14a1e28
RD
29606 }
29607 }
994141e6 29608 if (obj4) {
15afbcd0
RD
29609 arg5 = (wxItemKind) SWIG_AsInt(obj4);
29610 if (PyErr_Occurred()) SWIG_fail;
994141e6 29611 }
d14a1e28
RD
29612 {
29613 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29614 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
29615
29616 wxPyEndAllowThreads(__tstate);
29617 if (PyErr_Occurred()) SWIG_fail;
29618 }
a41e16b6 29619 {
412d302d 29620 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29621 }
d14a1e28
RD
29622 {
29623 if (temp3)
29624 delete arg3;
29625 }
29626 {
29627 if (temp4)
29628 delete arg4;
29629 }
29630 return resultobj;
29631 fail:
29632 {
29633 if (temp3)
29634 delete arg3;
29635 }
29636 {
29637 if (temp4)
29638 delete arg4;
29639 }
29640 return NULL;
29641}
29642
29643
29644static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29645 PyObject *resultobj;
29646 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 29647 wxMenuItem *result;
d14a1e28
RD
29648 PyObject * obj0 = 0 ;
29649 char *kwnames[] = {
29650 (char *) "self", NULL
29651 };
29652
29653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
29654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29656 {
29657 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29658 result = (wxMenuItem *)(arg1)->PrependSeparator();
d14a1e28
RD
29659
29660 wxPyEndAllowThreads(__tstate);
29661 if (PyErr_Occurred()) SWIG_fail;
29662 }
a41e16b6 29663 {
412d302d 29664 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29665 }
d14a1e28
RD
29666 return resultobj;
29667 fail:
29668 return NULL;
29669}
29670
29671
29672static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29673 PyObject *resultobj;
29674 wxMenu *arg1 = (wxMenu *) 0 ;
29675 int arg2 ;
29676 wxString *arg3 = 0 ;
29677 wxString const &arg4_defvalue = wxPyEmptyString ;
29678 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 29679 wxMenuItem *result;
e811c8ce
RD
29680 bool temp3 = False ;
29681 bool temp4 = False ;
d14a1e28 29682 PyObject * obj0 = 0 ;
994141e6 29683 PyObject * obj1 = 0 ;
d14a1e28
RD
29684 PyObject * obj2 = 0 ;
29685 PyObject * obj3 = 0 ;
29686 char *kwnames[] = {
242b7b46 29687 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29688 };
29689
994141e6 29690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29693 arg2 = (int) SWIG_AsInt(obj1);
29694 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29695 {
29696 arg3 = wxString_in_helper(obj2);
29697 if (arg3 == NULL) SWIG_fail;
e811c8ce 29698 temp3 = True;
d14a1e28
RD
29699 }
29700 if (obj3) {
29701 {
29702 arg4 = wxString_in_helper(obj3);
29703 if (arg4 == NULL) SWIG_fail;
e811c8ce 29704 temp4 = True;
d14a1e28
RD
29705 }
29706 }
29707 {
29708 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29709 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29710
29711 wxPyEndAllowThreads(__tstate);
29712 if (PyErr_Occurred()) SWIG_fail;
29713 }
a41e16b6 29714 {
412d302d 29715 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29716 }
d14a1e28
RD
29717 {
29718 if (temp3)
29719 delete arg3;
29720 }
29721 {
29722 if (temp4)
29723 delete arg4;
29724 }
29725 return resultobj;
29726 fail:
29727 {
29728 if (temp3)
29729 delete arg3;
29730 }
29731 {
29732 if (temp4)
29733 delete arg4;
29734 }
29735 return NULL;
29736}
29737
29738
29739static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29740 PyObject *resultobj;
29741 wxMenu *arg1 = (wxMenu *) 0 ;
29742 int arg2 ;
29743 wxString *arg3 = 0 ;
29744 wxString const &arg4_defvalue = wxPyEmptyString ;
29745 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 29746 wxMenuItem *result;
e811c8ce
RD
29747 bool temp3 = False ;
29748 bool temp4 = False ;
d14a1e28 29749 PyObject * obj0 = 0 ;
994141e6 29750 PyObject * obj1 = 0 ;
d14a1e28
RD
29751 PyObject * obj2 = 0 ;
29752 PyObject * obj3 = 0 ;
29753 char *kwnames[] = {
242b7b46 29754 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29755 };
29756
994141e6 29757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29760 arg2 = (int) SWIG_AsInt(obj1);
29761 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29762 {
29763 arg3 = wxString_in_helper(obj2);
29764 if (arg3 == NULL) SWIG_fail;
e811c8ce 29765 temp3 = True;
d14a1e28
RD
29766 }
29767 if (obj3) {
29768 {
29769 arg4 = wxString_in_helper(obj3);
29770 if (arg4 == NULL) SWIG_fail;
e811c8ce 29771 temp4 = True;
d14a1e28
RD
29772 }
29773 }
29774 {
29775 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29776 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29777
29778 wxPyEndAllowThreads(__tstate);
29779 if (PyErr_Occurred()) SWIG_fail;
29780 }
a41e16b6 29781 {
412d302d 29782 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29783 }
d14a1e28
RD
29784 {
29785 if (temp3)
29786 delete arg3;
29787 }
29788 {
29789 if (temp4)
29790 delete arg4;
29791 }
29792 return resultobj;
29793 fail:
29794 {
29795 if (temp3)
29796 delete arg3;
29797 }
29798 {
29799 if (temp4)
29800 delete arg4;
29801 }
29802 return NULL;
29803}
29804
29805
29806static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29807 PyObject *resultobj;
29808 wxMenu *arg1 = (wxMenu *) 0 ;
29809 int arg2 ;
29810 wxString *arg3 = 0 ;
29811 wxMenu *arg4 = (wxMenu *) 0 ;
29812 wxString const &arg5_defvalue = wxPyEmptyString ;
29813 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29814 wxMenuItem *result;
e811c8ce
RD
29815 bool temp3 = False ;
29816 bool temp5 = False ;
d14a1e28 29817 PyObject * obj0 = 0 ;
994141e6 29818 PyObject * obj1 = 0 ;
d14a1e28
RD
29819 PyObject * obj2 = 0 ;
29820 PyObject * obj3 = 0 ;
29821 PyObject * obj4 = 0 ;
29822 char *kwnames[] = {
242b7b46 29823 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29824 };
29825
994141e6 29826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29829 arg2 = (int) SWIG_AsInt(obj1);
29830 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29831 {
29832 arg3 = wxString_in_helper(obj2);
29833 if (arg3 == NULL) SWIG_fail;
e811c8ce 29834 temp3 = True;
d14a1e28 29835 }
15afbcd0
RD
29836 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29838 if (obj4) {
29839 {
29840 arg5 = wxString_in_helper(obj4);
29841 if (arg5 == NULL) SWIG_fail;
e811c8ce 29842 temp5 = True;
d14a1e28
RD
29843 }
29844 }
29845 {
29846 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29847 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
29848
29849 wxPyEndAllowThreads(__tstate);
29850 if (PyErr_Occurred()) SWIG_fail;
29851 }
a41e16b6 29852 {
412d302d 29853 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29854 }
d14a1e28
RD
29855 {
29856 if (temp3)
29857 delete arg3;
29858 }
29859 {
29860 if (temp5)
29861 delete arg5;
29862 }
29863 return resultobj;
29864 fail:
29865 {
29866 if (temp3)
29867 delete arg3;
29868 }
29869 {
29870 if (temp5)
29871 delete arg5;
29872 }
29873 return NULL;
29874}
29875
29876
29877static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
29878 PyObject *resultobj;
29879 wxMenu *arg1 = (wxMenu *) 0 ;
29880 int arg2 ;
29881 wxMenuItem *result;
29882 PyObject * obj0 = 0 ;
994141e6 29883 PyObject * obj1 = 0 ;
d14a1e28 29884 char *kwnames[] = {
242b7b46 29885 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29886 };
29887
994141e6 29888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29891 arg2 = (int) SWIG_AsInt(obj1);
29892 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29893 {
29894 PyThreadState* __tstate = wxPyBeginAllowThreads();
29895 result = (wxMenuItem *)(arg1)->Remove(arg2);
29896
29897 wxPyEndAllowThreads(__tstate);
29898 if (PyErr_Occurred()) SWIG_fail;
29899 }
29900 {
412d302d 29901 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29902 }
29903 return resultobj;
29904 fail:
29905 return NULL;
29906}
29907
29908
29909static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29910 PyObject *resultobj;
29911 wxMenu *arg1 = (wxMenu *) 0 ;
29912 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29913 wxMenuItem *result;
29914 PyObject * obj0 = 0 ;
29915 PyObject * obj1 = 0 ;
29916 char *kwnames[] = {
29917 (char *) "self",(char *) "item", NULL
29918 };
29919
29920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29923 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29925 {
29926 PyThreadState* __tstate = wxPyBeginAllowThreads();
29927 result = (wxMenuItem *)(arg1)->Remove(arg2);
29928
29929 wxPyEndAllowThreads(__tstate);
29930 if (PyErr_Occurred()) SWIG_fail;
29931 }
29932 {
412d302d 29933 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29934 }
29935 return resultobj;
29936 fail:
29937 return NULL;
29938}
29939
29940
29941static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
29942 PyObject *resultobj;
29943 wxMenu *arg1 = (wxMenu *) 0 ;
29944 int arg2 ;
29945 bool result;
29946 PyObject * obj0 = 0 ;
994141e6 29947 PyObject * obj1 = 0 ;
d14a1e28 29948 char *kwnames[] = {
242b7b46 29949 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29950 };
29951
994141e6 29952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29955 arg2 = (int) SWIG_AsInt(obj1);
29956 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29957 {
29958 PyThreadState* __tstate = wxPyBeginAllowThreads();
29959 result = (bool)(arg1)->Delete(arg2);
29960
29961 wxPyEndAllowThreads(__tstate);
29962 if (PyErr_Occurred()) SWIG_fail;
29963 }
4f89f6a3
RD
29964 {
29965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29966 }
d14a1e28
RD
29967 return resultobj;
29968 fail:
29969 return NULL;
29970}
29971
29972
29973static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29974 PyObject *resultobj;
29975 wxMenu *arg1 = (wxMenu *) 0 ;
29976 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29977 bool result;
29978 PyObject * obj0 = 0 ;
29979 PyObject * obj1 = 0 ;
29980 char *kwnames[] = {
29981 (char *) "self",(char *) "item", NULL
29982 };
29983
29984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29989 {
29990 PyThreadState* __tstate = wxPyBeginAllowThreads();
29991 result = (bool)(arg1)->Delete(arg2);
29992
29993 wxPyEndAllowThreads(__tstate);
29994 if (PyErr_Occurred()) SWIG_fail;
29995 }
4f89f6a3
RD
29996 {
29997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29998 }
d14a1e28
RD
29999 return resultobj;
30000 fail:
30001 return NULL;
30002}
30003
30004
30005static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
30006 PyObject *resultobj;
30007 wxMenu *arg1 = (wxMenu *) 0 ;
30008 PyObject * obj0 = 0 ;
30009 char *kwnames[] = {
30010 (char *) "self", NULL
30011 };
30012
30013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
30014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30016 {
30017 PyThreadState* __tstate = wxPyBeginAllowThreads();
30018 wxMenu_Destroy(arg1);
30019
30020 wxPyEndAllowThreads(__tstate);
30021 if (PyErr_Occurred()) SWIG_fail;
30022 }
30023 Py_INCREF(Py_None); resultobj = Py_None;
30024 return resultobj;
30025 fail:
30026 return NULL;
30027}
30028
30029
30030static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
30031 PyObject *resultobj;
30032 wxMenu *arg1 = (wxMenu *) 0 ;
30033 int arg2 ;
30034 bool result;
30035 PyObject * obj0 = 0 ;
994141e6 30036 PyObject * obj1 = 0 ;
d14a1e28 30037 char *kwnames[] = {
242b7b46 30038 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30039 };
30040
994141e6 30041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30044 arg2 = (int) SWIG_AsInt(obj1);
30045 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30046 {
30047 PyThreadState* __tstate = wxPyBeginAllowThreads();
30048 result = (bool)(arg1)->Destroy(arg2);
30049
30050 wxPyEndAllowThreads(__tstate);
30051 if (PyErr_Occurred()) SWIG_fail;
30052 }
4f89f6a3
RD
30053 {
30054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30055 }
d14a1e28
RD
30056 return resultobj;
30057 fail:
30058 return NULL;
30059}
30060
30061
30062static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30063 PyObject *resultobj;
30064 wxMenu *arg1 = (wxMenu *) 0 ;
30065 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
30066 bool result;
30067 PyObject * obj0 = 0 ;
30068 PyObject * obj1 = 0 ;
30069 char *kwnames[] = {
30070 (char *) "self",(char *) "item", NULL
30071 };
30072
30073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30076 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
30077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30078 {
30079 PyThreadState* __tstate = wxPyBeginAllowThreads();
30080 result = (bool)(arg1)->Destroy(arg2);
30081
30082 wxPyEndAllowThreads(__tstate);
30083 if (PyErr_Occurred()) SWIG_fail;
30084 }
4f89f6a3
RD
30085 {
30086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30087 }
d14a1e28
RD
30088 return resultobj;
30089 fail:
30090 return NULL;
30091}
30092
30093
30094static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
30095 PyObject *resultobj;
30096 wxMenu *arg1 = (wxMenu *) 0 ;
30097 size_t result;
30098 PyObject * obj0 = 0 ;
30099 char *kwnames[] = {
30100 (char *) "self", NULL
30101 };
30102
30103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
30104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30106 {
30107 PyThreadState* __tstate = wxPyBeginAllowThreads();
30108 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
30109
30110 wxPyEndAllowThreads(__tstate);
30111 if (PyErr_Occurred()) SWIG_fail;
30112 }
15afbcd0 30113 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
30114 return resultobj;
30115 fail:
30116 return NULL;
30117}
30118
30119
30120static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
30121 PyObject *resultobj;
30122 wxMenu *arg1 = (wxMenu *) 0 ;
30123 PyObject *result;
30124 PyObject * obj0 = 0 ;
30125 char *kwnames[] = {
30126 (char *) "self", NULL
30127 };
30128
30129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
30130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30132 {
30133 PyThreadState* __tstate = wxPyBeginAllowThreads();
30134 result = (PyObject *)wxMenu_GetMenuItems(arg1);
30135
30136 wxPyEndAllowThreads(__tstate);
30137 if (PyErr_Occurred()) SWIG_fail;
30138 }
30139 resultobj = result;
30140 return resultobj;
30141 fail:
30142 return NULL;
30143}
30144
30145
30146static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30147 PyObject *resultobj;
30148 wxMenu *arg1 = (wxMenu *) 0 ;
30149 wxString *arg2 = 0 ;
30150 int result;
e811c8ce 30151 bool temp2 = False ;
d14a1e28
RD
30152 PyObject * obj0 = 0 ;
30153 PyObject * obj1 = 0 ;
30154 char *kwnames[] = {
30155 (char *) "self",(char *) "item", NULL
30156 };
30157
30158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30161 {
30162 arg2 = wxString_in_helper(obj1);
30163 if (arg2 == NULL) SWIG_fail;
e811c8ce 30164 temp2 = True;
d14a1e28
RD
30165 }
30166 {
30167 PyThreadState* __tstate = wxPyBeginAllowThreads();
30168 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
30169
30170 wxPyEndAllowThreads(__tstate);
30171 if (PyErr_Occurred()) SWIG_fail;
30172 }
15afbcd0 30173 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
30174 {
30175 if (temp2)
30176 delete arg2;
30177 }
30178 return resultobj;
30179 fail:
30180 {
30181 if (temp2)
30182 delete arg2;
30183 }
30184 return NULL;
30185}
30186
30187
30188static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
30189 PyObject *resultobj;
30190 wxMenu *arg1 = (wxMenu *) 0 ;
30191 int arg2 ;
30192 wxMenuItem *result;
30193 PyObject * obj0 = 0 ;
994141e6 30194 PyObject * obj1 = 0 ;
d14a1e28 30195 char *kwnames[] = {
242b7b46 30196 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30197 };
30198
994141e6 30199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30202 arg2 = (int) SWIG_AsInt(obj1);
30203 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30204 {
30205 PyThreadState* __tstate = wxPyBeginAllowThreads();
30206 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
30207
30208 wxPyEndAllowThreads(__tstate);
30209 if (PyErr_Occurred()) SWIG_fail;
30210 }
30211 {
412d302d 30212 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30213 }
30214 return resultobj;
30215 fail:
30216 return NULL;
30217}
30218
30219
30220static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30221 PyObject *resultobj;
30222 wxMenu *arg1 = (wxMenu *) 0 ;
30223 size_t arg2 ;
30224 wxMenuItem *result;
30225 PyObject * obj0 = 0 ;
30226 PyObject * obj1 = 0 ;
30227 char *kwnames[] = {
30228 (char *) "self",(char *) "position", NULL
30229 };
30230
30231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30234 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30235 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30236 {
30237 PyThreadState* __tstate = wxPyBeginAllowThreads();
30238 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
30239
30240 wxPyEndAllowThreads(__tstate);
30241 if (PyErr_Occurred()) SWIG_fail;
30242 }
30243 {
412d302d 30244 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30245 }
30246 return resultobj;
30247 fail:
30248 return NULL;
30249}
30250
30251
30252static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
30253 PyObject *resultobj;
30254 wxMenu *arg1 = (wxMenu *) 0 ;
30255 int arg2 ;
30256 bool arg3 ;
30257 PyObject * obj0 = 0 ;
994141e6 30258 PyObject * obj1 = 0 ;
d14a1e28
RD
30259 PyObject * obj2 = 0 ;
30260 char *kwnames[] = {
242b7b46 30261 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
30262 };
30263
994141e6 30264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30267 arg2 = (int) SWIG_AsInt(obj1);
30268 if (PyErr_Occurred()) SWIG_fail;
30269 arg3 = (bool) SWIG_AsBool(obj2);
30270 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30271 {
30272 PyThreadState* __tstate = wxPyBeginAllowThreads();
30273 (arg1)->Enable(arg2,arg3);
30274
30275 wxPyEndAllowThreads(__tstate);
30276 if (PyErr_Occurred()) SWIG_fail;
30277 }
30278 Py_INCREF(Py_None); resultobj = Py_None;
30279 return resultobj;
30280 fail:
30281 return NULL;
30282}
30283
30284
30285static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
30286 PyObject *resultobj;
30287 wxMenu *arg1 = (wxMenu *) 0 ;
30288 int arg2 ;
30289 bool result;
30290 PyObject * obj0 = 0 ;
994141e6 30291 PyObject * obj1 = 0 ;
d14a1e28 30292 char *kwnames[] = {
242b7b46 30293 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30294 };
30295
994141e6 30296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30299 arg2 = (int) SWIG_AsInt(obj1);
30300 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30301 {
30302 PyThreadState* __tstate = wxPyBeginAllowThreads();
30303 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
30304
30305 wxPyEndAllowThreads(__tstate);
30306 if (PyErr_Occurred()) SWIG_fail;
30307 }
4f89f6a3
RD
30308 {
30309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30310 }
d14a1e28
RD
30311 return resultobj;
30312 fail:
30313 return NULL;
30314}
30315
30316
30317static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
30318 PyObject *resultobj;
30319 wxMenu *arg1 = (wxMenu *) 0 ;
30320 int arg2 ;
30321 bool arg3 ;
30322 PyObject * obj0 = 0 ;
994141e6 30323 PyObject * obj1 = 0 ;
d14a1e28
RD
30324 PyObject * obj2 = 0 ;
30325 char *kwnames[] = {
242b7b46 30326 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
30327 };
30328
994141e6 30329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30332 arg2 = (int) SWIG_AsInt(obj1);
30333 if (PyErr_Occurred()) SWIG_fail;
30334 arg3 = (bool) SWIG_AsBool(obj2);
30335 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30336 {
30337 PyThreadState* __tstate = wxPyBeginAllowThreads();
30338 (arg1)->Check(arg2,arg3);
30339
30340 wxPyEndAllowThreads(__tstate);
30341 if (PyErr_Occurred()) SWIG_fail;
30342 }
30343 Py_INCREF(Py_None); resultobj = Py_None;
30344 return resultobj;
30345 fail:
30346 return NULL;
30347}
30348
30349
30350static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
30351 PyObject *resultobj;
30352 wxMenu *arg1 = (wxMenu *) 0 ;
30353 int arg2 ;
30354 bool result;
30355 PyObject * obj0 = 0 ;
994141e6 30356 PyObject * obj1 = 0 ;
d14a1e28 30357 char *kwnames[] = {
242b7b46 30358 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30359 };
30360
994141e6 30361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30364 arg2 = (int) SWIG_AsInt(obj1);
30365 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30366 {
30367 PyThreadState* __tstate = wxPyBeginAllowThreads();
30368 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
30369
30370 wxPyEndAllowThreads(__tstate);
30371 if (PyErr_Occurred()) SWIG_fail;
30372 }
4f89f6a3
RD
30373 {
30374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30375 }
d14a1e28
RD
30376 return resultobj;
30377 fail:
30378 return NULL;
30379}
30380
30381
30382static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30383 PyObject *resultobj;
30384 wxMenu *arg1 = (wxMenu *) 0 ;
30385 int arg2 ;
30386 wxString *arg3 = 0 ;
e811c8ce 30387 bool temp3 = False ;
d14a1e28 30388 PyObject * obj0 = 0 ;
994141e6 30389 PyObject * obj1 = 0 ;
d14a1e28
RD
30390 PyObject * obj2 = 0 ;
30391 char *kwnames[] = {
242b7b46 30392 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
30393 };
30394
994141e6 30395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30398 arg2 = (int) SWIG_AsInt(obj1);
30399 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30400 {
30401 arg3 = wxString_in_helper(obj2);
30402 if (arg3 == NULL) SWIG_fail;
e811c8ce 30403 temp3 = True;
d14a1e28
RD
30404 }
30405 {
30406 PyThreadState* __tstate = wxPyBeginAllowThreads();
30407 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
30408
30409 wxPyEndAllowThreads(__tstate);
30410 if (PyErr_Occurred()) SWIG_fail;
30411 }
30412 Py_INCREF(Py_None); resultobj = Py_None;
30413 {
30414 if (temp3)
30415 delete arg3;
30416 }
30417 return resultobj;
30418 fail:
30419 {
30420 if (temp3)
30421 delete arg3;
30422 }
30423 return NULL;
30424}
30425
30426
30427static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30428 PyObject *resultobj;
30429 wxMenu *arg1 = (wxMenu *) 0 ;
30430 int arg2 ;
30431 wxString result;
30432 PyObject * obj0 = 0 ;
994141e6 30433 PyObject * obj1 = 0 ;
d14a1e28 30434 char *kwnames[] = {
242b7b46 30435 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30436 };
30437
994141e6 30438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30441 arg2 = (int) SWIG_AsInt(obj1);
30442 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30443 {
30444 PyThreadState* __tstate = wxPyBeginAllowThreads();
30445 result = ((wxMenu const *)arg1)->GetLabel(arg2);
30446
30447 wxPyEndAllowThreads(__tstate);
30448 if (PyErr_Occurred()) SWIG_fail;
30449 }
30450 {
30451#if wxUSE_UNICODE
30452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30453#else
30454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30455#endif
30456 }
30457 return resultobj;
30458 fail:
30459 return NULL;
30460}
30461
30462
30463static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30464 PyObject *resultobj;
30465 wxMenu *arg1 = (wxMenu *) 0 ;
30466 int arg2 ;
30467 wxString *arg3 = 0 ;
e811c8ce 30468 bool temp3 = False ;
d14a1e28 30469 PyObject * obj0 = 0 ;
994141e6 30470 PyObject * obj1 = 0 ;
d14a1e28
RD
30471 PyObject * obj2 = 0 ;
30472 char *kwnames[] = {
242b7b46 30473 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
30474 };
30475
994141e6 30476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30479 arg2 = (int) SWIG_AsInt(obj1);
30480 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30481 {
30482 arg3 = wxString_in_helper(obj2);
30483 if (arg3 == NULL) SWIG_fail;
e811c8ce 30484 temp3 = True;
d14a1e28
RD
30485 }
30486 {
30487 PyThreadState* __tstate = wxPyBeginAllowThreads();
30488 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
30489
30490 wxPyEndAllowThreads(__tstate);
30491 if (PyErr_Occurred()) SWIG_fail;
30492 }
30493 Py_INCREF(Py_None); resultobj = Py_None;
30494 {
30495 if (temp3)
30496 delete arg3;
30497 }
30498 return resultobj;
30499 fail:
30500 {
30501 if (temp3)
30502 delete arg3;
30503 }
30504 return NULL;
30505}
30506
30507
30508static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30509 PyObject *resultobj;
30510 wxMenu *arg1 = (wxMenu *) 0 ;
30511 int arg2 ;
30512 wxString result;
30513 PyObject * obj0 = 0 ;
994141e6 30514 PyObject * obj1 = 0 ;
d14a1e28 30515 char *kwnames[] = {
242b7b46 30516 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30517 };
30518
994141e6 30519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30522 arg2 = (int) SWIG_AsInt(obj1);
30523 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30524 {
30525 PyThreadState* __tstate = wxPyBeginAllowThreads();
30526 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
30527
30528 wxPyEndAllowThreads(__tstate);
30529 if (PyErr_Occurred()) SWIG_fail;
30530 }
30531 {
30532#if wxUSE_UNICODE
30533 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30534#else
30535 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30536#endif
30537 }
30538 return resultobj;
30539 fail:
30540 return NULL;
30541}
30542
30543
30544static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30545 PyObject *resultobj;
30546 wxMenu *arg1 = (wxMenu *) 0 ;
30547 wxString *arg2 = 0 ;
e811c8ce 30548 bool temp2 = False ;
d14a1e28
RD
30549 PyObject * obj0 = 0 ;
30550 PyObject * obj1 = 0 ;
30551 char *kwnames[] = {
30552 (char *) "self",(char *) "title", NULL
30553 };
30554
30555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30558 {
30559 arg2 = wxString_in_helper(obj1);
30560 if (arg2 == NULL) SWIG_fail;
e811c8ce 30561 temp2 = True;
d14a1e28
RD
30562 }
30563 {
30564 PyThreadState* __tstate = wxPyBeginAllowThreads();
30565 (arg1)->SetTitle((wxString const &)*arg2);
30566
30567 wxPyEndAllowThreads(__tstate);
30568 if (PyErr_Occurred()) SWIG_fail;
30569 }
30570 Py_INCREF(Py_None); resultobj = Py_None;
30571 {
30572 if (temp2)
30573 delete arg2;
30574 }
30575 return resultobj;
30576 fail:
30577 {
30578 if (temp2)
30579 delete arg2;
30580 }
30581 return NULL;
30582}
30583
30584
30585static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30586 PyObject *resultobj;
30587 wxMenu *arg1 = (wxMenu *) 0 ;
30588 wxString result;
30589 PyObject * obj0 = 0 ;
30590 char *kwnames[] = {
30591 (char *) "self", NULL
30592 };
30593
30594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
30595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30597 {
30598 PyThreadState* __tstate = wxPyBeginAllowThreads();
30599 result = ((wxMenu const *)arg1)->GetTitle();
30600
30601 wxPyEndAllowThreads(__tstate);
30602 if (PyErr_Occurred()) SWIG_fail;
30603 }
30604 {
30605#if wxUSE_UNICODE
30606 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30607#else
30608 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30609#endif
30610 }
30611 return resultobj;
30612 fail:
30613 return NULL;
30614}
30615
30616
30617static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30618 PyObject *resultobj;
30619 wxMenu *arg1 = (wxMenu *) 0 ;
30620 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
30621 PyObject * obj0 = 0 ;
30622 PyObject * obj1 = 0 ;
30623 char *kwnames[] = {
30624 (char *) "self",(char *) "handler", NULL
30625 };
30626
30627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30632 {
30633 PyThreadState* __tstate = wxPyBeginAllowThreads();
30634 (arg1)->SetEventHandler(arg2);
30635
30636 wxPyEndAllowThreads(__tstate);
30637 if (PyErr_Occurred()) SWIG_fail;
30638 }
30639 Py_INCREF(Py_None); resultobj = Py_None;
30640 return resultobj;
30641 fail:
30642 return NULL;
30643}
30644
30645
30646static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30647 PyObject *resultobj;
30648 wxMenu *arg1 = (wxMenu *) 0 ;
30649 wxEvtHandler *result;
30650 PyObject * obj0 = 0 ;
30651 char *kwnames[] = {
30652 (char *) "self", NULL
30653 };
30654
30655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
30656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30658 {
30659 PyThreadState* __tstate = wxPyBeginAllowThreads();
30660 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
30661
30662 wxPyEndAllowThreads(__tstate);
30663 if (PyErr_Occurred()) SWIG_fail;
30664 }
30665 {
412d302d 30666 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30667 }
30668 return resultobj;
30669 fail:
30670 return NULL;
30671}
30672
30673
30674static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30675 PyObject *resultobj;
30676 wxMenu *arg1 = (wxMenu *) 0 ;
30677 wxWindow *arg2 = (wxWindow *) 0 ;
30678 PyObject * obj0 = 0 ;
30679 PyObject * obj1 = 0 ;
30680 char *kwnames[] = {
30681 (char *) "self",(char *) "win", NULL
30682 };
30683
30684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30689 {
30690 PyThreadState* __tstate = wxPyBeginAllowThreads();
30691 (arg1)->SetInvokingWindow(arg2);
30692
30693 wxPyEndAllowThreads(__tstate);
30694 if (PyErr_Occurred()) SWIG_fail;
30695 }
30696 Py_INCREF(Py_None); resultobj = Py_None;
30697 return resultobj;
30698 fail:
30699 return NULL;
30700}
30701
30702
30703static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30704 PyObject *resultobj;
30705 wxMenu *arg1 = (wxMenu *) 0 ;
30706 wxWindow *result;
30707 PyObject * obj0 = 0 ;
30708 char *kwnames[] = {
30709 (char *) "self", NULL
30710 };
30711
30712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
30713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30715 {
30716 PyThreadState* __tstate = wxPyBeginAllowThreads();
30717 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
30718
30719 wxPyEndAllowThreads(__tstate);
30720 if (PyErr_Occurred()) SWIG_fail;
30721 }
30722 {
412d302d 30723 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30724 }
30725 return resultobj;
30726 fail:
30727 return NULL;
30728}
30729
30730
30731static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
30732 PyObject *resultobj;
30733 wxMenu *arg1 = (wxMenu *) 0 ;
30734 long result;
30735 PyObject * obj0 = 0 ;
30736 char *kwnames[] = {
30737 (char *) "self", NULL
30738 };
30739
30740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",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 result = (long)((wxMenu const *)arg1)->GetStyle();
30746
30747 wxPyEndAllowThreads(__tstate);
30748 if (PyErr_Occurred()) SWIG_fail;
30749 }
15afbcd0 30750 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
30751 return resultobj;
30752 fail:
30753 return NULL;
30754}
30755
30756
30757static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
30758 PyObject *resultobj;
30759 wxMenu *arg1 = (wxMenu *) 0 ;
30760 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
30761 PyObject * obj0 = 0 ;
30762 PyObject * obj1 = 0 ;
30763 char *kwnames[] = {
30764 (char *) "self",(char *) "source", NULL
30765 };
30766
30767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30770 if (obj1) {
15afbcd0
RD
30771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30773 }
30774 {
30775 PyThreadState* __tstate = wxPyBeginAllowThreads();
30776 (arg1)->UpdateUI(arg2);
30777
30778 wxPyEndAllowThreads(__tstate);
30779 if (PyErr_Occurred()) SWIG_fail;
30780 }
30781 Py_INCREF(Py_None); resultobj = Py_None;
30782 return resultobj;
30783 fail:
30784 return NULL;
30785}
30786
30787
30788static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30789 PyObject *resultobj;
30790 wxMenu *arg1 = (wxMenu *) 0 ;
30791 wxMenuBar *result;
30792 PyObject * obj0 = 0 ;
30793 char *kwnames[] = {
30794 (char *) "self", NULL
30795 };
30796
30797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
30798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30800 {
30801 PyThreadState* __tstate = wxPyBeginAllowThreads();
30802 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
30803
30804 wxPyEndAllowThreads(__tstate);
30805 if (PyErr_Occurred()) SWIG_fail;
30806 }
30807 {
412d302d 30808 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30809 }
30810 return resultobj;
30811 fail:
30812 return NULL;
30813}
30814
30815
30816static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
30817 PyObject *resultobj;
30818 wxMenu *arg1 = (wxMenu *) 0 ;
30819 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
30820 PyObject * obj0 = 0 ;
30821 PyObject * obj1 = 0 ;
30822 char *kwnames[] = {
30823 (char *) "self",(char *) "menubar", NULL
30824 };
30825
30826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30829 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
30830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30831 {
30832 PyThreadState* __tstate = wxPyBeginAllowThreads();
30833 (arg1)->Attach(arg2);
30834
30835 wxPyEndAllowThreads(__tstate);
30836 if (PyErr_Occurred()) SWIG_fail;
30837 }
30838 Py_INCREF(Py_None); resultobj = Py_None;
30839 return resultobj;
30840 fail:
30841 return NULL;
30842}
30843
30844
30845static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
30846 PyObject *resultobj;
30847 wxMenu *arg1 = (wxMenu *) 0 ;
30848 PyObject * obj0 = 0 ;
30849 char *kwnames[] = {
30850 (char *) "self", NULL
30851 };
30852
30853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
30854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30856 {
30857 PyThreadState* __tstate = wxPyBeginAllowThreads();
30858 (arg1)->Detach();
30859
30860 wxPyEndAllowThreads(__tstate);
30861 if (PyErr_Occurred()) SWIG_fail;
30862 }
30863 Py_INCREF(Py_None); resultobj = Py_None;
30864 return resultobj;
30865 fail:
30866 return NULL;
30867}
30868
30869
30870static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
30871 PyObject *resultobj;
30872 wxMenu *arg1 = (wxMenu *) 0 ;
30873 bool result;
30874 PyObject * obj0 = 0 ;
30875 char *kwnames[] = {
30876 (char *) "self", NULL
30877 };
30878
30879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
30880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30882 {
30883 PyThreadState* __tstate = wxPyBeginAllowThreads();
30884 result = (bool)((wxMenu const *)arg1)->IsAttached();
30885
30886 wxPyEndAllowThreads(__tstate);
30887 if (PyErr_Occurred()) SWIG_fail;
30888 }
4f89f6a3
RD
30889 {
30890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30891 }
d14a1e28
RD
30892 return resultobj;
30893 fail:
30894 return NULL;
30895}
30896
30897
30898static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30899 PyObject *resultobj;
30900 wxMenu *arg1 = (wxMenu *) 0 ;
30901 wxMenu *arg2 = (wxMenu *) 0 ;
30902 PyObject * obj0 = 0 ;
30903 PyObject * obj1 = 0 ;
30904 char *kwnames[] = {
30905 (char *) "self",(char *) "parent", NULL
30906 };
30907
30908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30913 {
30914 PyThreadState* __tstate = wxPyBeginAllowThreads();
30915 (arg1)->SetParent(arg2);
30916
30917 wxPyEndAllowThreads(__tstate);
30918 if (PyErr_Occurred()) SWIG_fail;
30919 }
30920 Py_INCREF(Py_None); resultobj = Py_None;
30921 return resultobj;
30922 fail:
30923 return NULL;
30924}
30925
30926
30927static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30928 PyObject *resultobj;
30929 wxMenu *arg1 = (wxMenu *) 0 ;
30930 wxMenu *result;
30931 PyObject * obj0 = 0 ;
30932 char *kwnames[] = {
30933 (char *) "self", NULL
30934 };
30935
30936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
30937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30939 {
30940 PyThreadState* __tstate = wxPyBeginAllowThreads();
30941 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
30942
30943 wxPyEndAllowThreads(__tstate);
30944 if (PyErr_Occurred()) SWIG_fail;
30945 }
30946 {
412d302d 30947 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30948 }
30949 return resultobj;
30950 fail:
30951 return NULL;
30952}
30953
30954
30955static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
30956 PyObject *obj;
30957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30958 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
30959 Py_INCREF(obj);
30960 return Py_BuildValue((char *)"");
30961}
30962static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30963 PyObject *resultobj;
30964 long arg1 = (long) 0 ;
30965 wxMenuBar *result;
994141e6 30966 PyObject * obj0 = 0 ;
d14a1e28
RD
30967 char *kwnames[] = {
30968 (char *) "style", NULL
30969 };
30970
994141e6
RD
30971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
30972 if (obj0) {
15afbcd0
RD
30973 arg1 = (long) SWIG_AsLong(obj0);
30974 if (PyErr_Occurred()) SWIG_fail;
994141e6 30975 }
d14a1e28 30976 {
e3b71cb8 30977 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
30978 PyThreadState* __tstate = wxPyBeginAllowThreads();
30979 result = (wxMenuBar *)new wxMenuBar(arg1);
30980
30981 wxPyEndAllowThreads(__tstate);
110da5b0 30982 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30983 }
30984 {
412d302d 30985 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
30986 }
30987 return resultobj;
30988 fail:
30989 return NULL;
30990}
30991
30992
30993static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
30994 PyObject *resultobj;
30995 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30996 wxMenu *arg2 = (wxMenu *) 0 ;
30997 wxString *arg3 = 0 ;
30998 bool result;
e811c8ce 30999 bool temp3 = False ;
d14a1e28
RD
31000 PyObject * obj0 = 0 ;
31001 PyObject * obj1 = 0 ;
31002 PyObject * obj2 = 0 ;
31003 char *kwnames[] = {
31004 (char *) "self",(char *) "menu",(char *) "title", NULL
31005 };
31006
31007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31012 {
31013 arg3 = wxString_in_helper(obj2);
31014 if (arg3 == NULL) SWIG_fail;
e811c8ce 31015 temp3 = True;
d14a1e28
RD
31016 }
31017 {
31018 PyThreadState* __tstate = wxPyBeginAllowThreads();
31019 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
31020
31021 wxPyEndAllowThreads(__tstate);
31022 if (PyErr_Occurred()) SWIG_fail;
31023 }
4f89f6a3
RD
31024 {
31025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31026 }
d14a1e28
RD
31027 {
31028 if (temp3)
31029 delete arg3;
31030 }
31031 return resultobj;
31032 fail:
31033 {
31034 if (temp3)
31035 delete arg3;
31036 }
31037 return NULL;
31038}
31039
31040
31041static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
31042 PyObject *resultobj;
31043 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31044 size_t arg2 ;
31045 wxMenu *arg3 = (wxMenu *) 0 ;
31046 wxString *arg4 = 0 ;
31047 bool result;
e811c8ce 31048 bool temp4 = False ;
d14a1e28
RD
31049 PyObject * obj0 = 0 ;
31050 PyObject * obj1 = 0 ;
31051 PyObject * obj2 = 0 ;
31052 PyObject * obj3 = 0 ;
31053 char *kwnames[] = {
31054 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31055 };
31056
31057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
31058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31060 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31061 if (PyErr_Occurred()) SWIG_fail;
31062 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
31063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31064 {
31065 arg4 = wxString_in_helper(obj3);
31066 if (arg4 == NULL) SWIG_fail;
e811c8ce 31067 temp4 = True;
d14a1e28
RD
31068 }
31069 {
31070 PyThreadState* __tstate = wxPyBeginAllowThreads();
31071 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
31072
31073 wxPyEndAllowThreads(__tstate);
31074 if (PyErr_Occurred()) SWIG_fail;
31075 }
4f89f6a3
RD
31076 {
31077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31078 }
d14a1e28
RD
31079 {
31080 if (temp4)
31081 delete arg4;
31082 }
31083 return resultobj;
31084 fail:
31085 {
31086 if (temp4)
31087 delete arg4;
31088 }
31089 return NULL;
31090}
31091
31092
31093static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
31094 PyObject *resultobj;
31095 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31096 size_t result;
31097 PyObject * obj0 = 0 ;
31098 char *kwnames[] = {
31099 (char *) "self", NULL
31100 };
31101
31102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
31103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31105 {
31106 PyThreadState* __tstate = wxPyBeginAllowThreads();
31107 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
31108
31109 wxPyEndAllowThreads(__tstate);
31110 if (PyErr_Occurred()) SWIG_fail;
31111 }
15afbcd0 31112 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
31113 return resultobj;
31114 fail:
31115 return NULL;
31116}
31117
31118
31119static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31120 PyObject *resultobj;
31121 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31122 size_t arg2 ;
31123 wxMenu *result;
31124 PyObject * obj0 = 0 ;
31125 PyObject * obj1 = 0 ;
31126 char *kwnames[] = {
31127 (char *) "self",(char *) "pos", NULL
31128 };
31129
31130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31133 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31134 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31135 {
31136 PyThreadState* __tstate = wxPyBeginAllowThreads();
31137 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
31138
31139 wxPyEndAllowThreads(__tstate);
31140 if (PyErr_Occurred()) SWIG_fail;
31141 }
31142 {
412d302d 31143 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31144 }
31145 return resultobj;
31146 fail:
31147 return NULL;
31148}
31149
31150
31151static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
31152 PyObject *resultobj;
31153 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31154 size_t arg2 ;
31155 wxMenu *arg3 = (wxMenu *) 0 ;
31156 wxString *arg4 = 0 ;
31157 wxMenu *result;
e811c8ce 31158 bool temp4 = False ;
d14a1e28
RD
31159 PyObject * obj0 = 0 ;
31160 PyObject * obj1 = 0 ;
31161 PyObject * obj2 = 0 ;
31162 PyObject * obj3 = 0 ;
31163 char *kwnames[] = {
31164 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31165 };
31166
31167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
31168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31170 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31171 if (PyErr_Occurred()) SWIG_fail;
31172 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
31173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31174 {
31175 arg4 = wxString_in_helper(obj3);
31176 if (arg4 == NULL) SWIG_fail;
e811c8ce 31177 temp4 = True;
d14a1e28
RD
31178 }
31179 {
31180 PyThreadState* __tstate = wxPyBeginAllowThreads();
31181 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
31182
31183 wxPyEndAllowThreads(__tstate);
31184 if (PyErr_Occurred()) SWIG_fail;
31185 }
31186 {
412d302d 31187 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31188 }
31189 {
31190 if (temp4)
31191 delete arg4;
31192 }
31193 return resultobj;
31194 fail:
31195 {
31196 if (temp4)
31197 delete arg4;
31198 }
31199 return NULL;
31200}
31201
31202
31203static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
31204 PyObject *resultobj;
31205 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31206 size_t arg2 ;
31207 wxMenu *result;
31208 PyObject * obj0 = 0 ;
31209 PyObject * obj1 = 0 ;
31210 char *kwnames[] = {
31211 (char *) "self",(char *) "pos", NULL
31212 };
31213
31214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31217 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31218 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31219 {
31220 PyThreadState* __tstate = wxPyBeginAllowThreads();
31221 result = (wxMenu *)(arg1)->Remove(arg2);
31222
31223 wxPyEndAllowThreads(__tstate);
31224 if (PyErr_Occurred()) SWIG_fail;
31225 }
31226 {
412d302d 31227 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31228 }
31229 return resultobj;
31230 fail:
31231 return NULL;
31232}
31233
31234
31235static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31236 PyObject *resultobj;
31237 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31238 size_t arg2 ;
31239 bool arg3 ;
31240 PyObject * obj0 = 0 ;
31241 PyObject * obj1 = 0 ;
31242 PyObject * obj2 = 0 ;
31243 char *kwnames[] = {
31244 (char *) "self",(char *) "pos",(char *) "enable", NULL
31245 };
31246
31247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31250 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31251 if (PyErr_Occurred()) SWIG_fail;
31252 arg3 = (bool) SWIG_AsBool(obj2);
31253 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31254 {
31255 PyThreadState* __tstate = wxPyBeginAllowThreads();
31256 (arg1)->EnableTop(arg2,arg3);
31257
31258 wxPyEndAllowThreads(__tstate);
31259 if (PyErr_Occurred()) SWIG_fail;
31260 }
31261 Py_INCREF(Py_None); resultobj = Py_None;
31262 return resultobj;
31263 fail:
31264 return NULL;
31265}
31266
31267
31268static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31269 PyObject *resultobj;
31270 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31271 size_t arg2 ;
31272 bool result;
31273 PyObject * obj0 = 0 ;
31274 PyObject * obj1 = 0 ;
31275 char *kwnames[] = {
31276 (char *) "self",(char *) "pos", NULL
31277 };
31278
31279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31282 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31283 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31284 {
31285 PyThreadState* __tstate = wxPyBeginAllowThreads();
31286 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
31287
31288 wxPyEndAllowThreads(__tstate);
31289 if (PyErr_Occurred()) SWIG_fail;
31290 }
4f89f6a3
RD
31291 {
31292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31293 }
d14a1e28
RD
31294 return resultobj;
31295 fail:
31296 return NULL;
31297}
31298
31299
31300static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31301 PyObject *resultobj;
31302 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31303 size_t arg2 ;
31304 wxString *arg3 = 0 ;
e811c8ce 31305 bool temp3 = False ;
d14a1e28
RD
31306 PyObject * obj0 = 0 ;
31307 PyObject * obj1 = 0 ;
31308 PyObject * obj2 = 0 ;
31309 char *kwnames[] = {
31310 (char *) "self",(char *) "pos",(char *) "label", NULL
31311 };
31312
31313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31316 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31317 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31318 {
31319 arg3 = wxString_in_helper(obj2);
31320 if (arg3 == NULL) SWIG_fail;
e811c8ce 31321 temp3 = True;
d14a1e28
RD
31322 }
31323 {
31324 PyThreadState* __tstate = wxPyBeginAllowThreads();
31325 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
31326
31327 wxPyEndAllowThreads(__tstate);
31328 if (PyErr_Occurred()) SWIG_fail;
31329 }
31330 Py_INCREF(Py_None); resultobj = Py_None;
31331 {
31332 if (temp3)
31333 delete arg3;
31334 }
31335 return resultobj;
31336 fail:
31337 {
31338 if (temp3)
31339 delete arg3;
31340 }
31341 return NULL;
31342}
31343
31344
31345static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31346 PyObject *resultobj;
31347 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31348 size_t arg2 ;
31349 wxString result;
31350 PyObject * obj0 = 0 ;
31351 PyObject * obj1 = 0 ;
31352 char *kwnames[] = {
31353 (char *) "self",(char *) "pos", NULL
31354 };
31355
31356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31359 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31361 {
31362 PyThreadState* __tstate = wxPyBeginAllowThreads();
31363 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
31364
31365 wxPyEndAllowThreads(__tstate);
31366 if (PyErr_Occurred()) SWIG_fail;
31367 }
31368 {
31369#if wxUSE_UNICODE
31370 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31371#else
31372 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31373#endif
31374 }
31375 return resultobj;
31376 fail:
31377 return NULL;
31378}
31379
31380
31381static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31382 PyObject *resultobj;
31383 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31384 wxString *arg2 = 0 ;
31385 wxString *arg3 = 0 ;
31386 int result;
e811c8ce
RD
31387 bool temp2 = False ;
31388 bool temp3 = False ;
d14a1e28
RD
31389 PyObject * obj0 = 0 ;
31390 PyObject * obj1 = 0 ;
31391 PyObject * obj2 = 0 ;
31392 char *kwnames[] = {
31393 (char *) "self",(char *) "menu",(char *) "item", NULL
31394 };
31395
31396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31399 {
31400 arg2 = wxString_in_helper(obj1);
31401 if (arg2 == NULL) SWIG_fail;
e811c8ce 31402 temp2 = True;
d14a1e28
RD
31403 }
31404 {
31405 arg3 = wxString_in_helper(obj2);
31406 if (arg3 == NULL) SWIG_fail;
e811c8ce 31407 temp3 = True;
d14a1e28
RD
31408 }
31409 {
31410 PyThreadState* __tstate = wxPyBeginAllowThreads();
31411 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
31412
31413 wxPyEndAllowThreads(__tstate);
31414 if (PyErr_Occurred()) SWIG_fail;
31415 }
15afbcd0 31416 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31417 {
31418 if (temp2)
31419 delete arg2;
31420 }
31421 {
31422 if (temp3)
31423 delete arg3;
31424 }
31425 return resultobj;
31426 fail:
31427 {
31428 if (temp2)
31429 delete arg2;
31430 }
31431 {
31432 if (temp3)
31433 delete arg3;
31434 }
31435 return NULL;
31436}
31437
31438
31439static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
31440 PyObject *resultobj;
31441 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31442 int arg2 ;
31443 wxMenuItem *result;
31444 PyObject * obj0 = 0 ;
994141e6 31445 PyObject * obj1 = 0 ;
d14a1e28 31446 char *kwnames[] = {
242b7b46 31447 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31448 };
31449
994141e6 31450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31453 arg2 = (int) SWIG_AsInt(obj1);
31454 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31455 {
31456 PyThreadState* __tstate = wxPyBeginAllowThreads();
31457 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
31458
31459 wxPyEndAllowThreads(__tstate);
31460 if (PyErr_Occurred()) SWIG_fail;
31461 }
31462 {
412d302d 31463 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31464 }
31465 return resultobj;
31466 fail:
31467 return NULL;
31468}
31469
31470
31471static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31472 PyObject *resultobj;
31473 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31474 wxString *arg2 = 0 ;
31475 int result;
e811c8ce 31476 bool temp2 = False ;
d14a1e28
RD
31477 PyObject * obj0 = 0 ;
31478 PyObject * obj1 = 0 ;
31479 char *kwnames[] = {
31480 (char *) "self",(char *) "title", NULL
31481 };
31482
31483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31486 {
31487 arg2 = wxString_in_helper(obj1);
31488 if (arg2 == NULL) SWIG_fail;
e811c8ce 31489 temp2 = True;
d14a1e28
RD
31490 }
31491 {
31492 PyThreadState* __tstate = wxPyBeginAllowThreads();
31493 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
31494
31495 wxPyEndAllowThreads(__tstate);
31496 if (PyErr_Occurred()) SWIG_fail;
31497 }
15afbcd0 31498 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31499 {
31500 if (temp2)
31501 delete arg2;
31502 }
31503 return resultobj;
31504 fail:
31505 {
31506 if (temp2)
31507 delete arg2;
31508 }
31509 return NULL;
31510}
31511
31512
31513static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
31514 PyObject *resultobj;
31515 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31516 int arg2 ;
31517 bool arg3 ;
31518 PyObject * obj0 = 0 ;
994141e6 31519 PyObject * obj1 = 0 ;
d14a1e28
RD
31520 PyObject * obj2 = 0 ;
31521 char *kwnames[] = {
242b7b46 31522 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
31523 };
31524
994141e6 31525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31528 arg2 = (int) SWIG_AsInt(obj1);
31529 if (PyErr_Occurred()) SWIG_fail;
31530 arg3 = (bool) SWIG_AsBool(obj2);
31531 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31532 {
31533 PyThreadState* __tstate = wxPyBeginAllowThreads();
31534 (arg1)->Enable(arg2,arg3);
31535
31536 wxPyEndAllowThreads(__tstate);
31537 if (PyErr_Occurred()) SWIG_fail;
31538 }
31539 Py_INCREF(Py_None); resultobj = Py_None;
31540 return resultobj;
31541 fail:
31542 return NULL;
31543}
31544
31545
31546static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
31547 PyObject *resultobj;
31548 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31549 int arg2 ;
31550 bool arg3 ;
31551 PyObject * obj0 = 0 ;
994141e6 31552 PyObject * obj1 = 0 ;
d14a1e28
RD
31553 PyObject * obj2 = 0 ;
31554 char *kwnames[] = {
242b7b46 31555 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
31556 };
31557
994141e6 31558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31561 arg2 = (int) SWIG_AsInt(obj1);
31562 if (PyErr_Occurred()) SWIG_fail;
31563 arg3 = (bool) SWIG_AsBool(obj2);
31564 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31565 {
31566 PyThreadState* __tstate = wxPyBeginAllowThreads();
31567 (arg1)->Check(arg2,arg3);
31568
31569 wxPyEndAllowThreads(__tstate);
31570 if (PyErr_Occurred()) SWIG_fail;
31571 }
31572 Py_INCREF(Py_None); resultobj = Py_None;
31573 return resultobj;
31574 fail:
31575 return NULL;
31576}
31577
31578
31579static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
31580 PyObject *resultobj;
31581 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31582 int arg2 ;
31583 bool result;
31584 PyObject * obj0 = 0 ;
994141e6 31585 PyObject * obj1 = 0 ;
d14a1e28 31586 char *kwnames[] = {
242b7b46 31587 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31588 };
31589
994141e6 31590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31593 arg2 = (int) SWIG_AsInt(obj1);
31594 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31595 {
31596 PyThreadState* __tstate = wxPyBeginAllowThreads();
31597 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
31598
31599 wxPyEndAllowThreads(__tstate);
31600 if (PyErr_Occurred()) SWIG_fail;
31601 }
4f89f6a3
RD
31602 {
31603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31604 }
d14a1e28
RD
31605 return resultobj;
31606 fail:
31607 return NULL;
31608}
31609
31610
31611static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
31612 PyObject *resultobj;
31613 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31614 int arg2 ;
31615 bool result;
31616 PyObject * obj0 = 0 ;
994141e6 31617 PyObject * obj1 = 0 ;
d14a1e28 31618 char *kwnames[] = {
242b7b46 31619 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31620 };
31621
994141e6 31622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
31629 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
31630
31631 wxPyEndAllowThreads(__tstate);
31632 if (PyErr_Occurred()) SWIG_fail;
31633 }
4f89f6a3
RD
31634 {
31635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31636 }
d14a1e28
RD
31637 return resultobj;
31638 fail:
31639 return NULL;
31640}
31641
31642
31643static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31644 PyObject *resultobj;
31645 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31646 int arg2 ;
31647 wxString *arg3 = 0 ;
e811c8ce 31648 bool temp3 = False ;
d14a1e28 31649 PyObject * obj0 = 0 ;
994141e6 31650 PyObject * obj1 = 0 ;
d14a1e28
RD
31651 PyObject * obj2 = 0 ;
31652 char *kwnames[] = {
242b7b46 31653 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
31654 };
31655
994141e6 31656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31659 arg2 = (int) SWIG_AsInt(obj1);
31660 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31661 {
31662 arg3 = wxString_in_helper(obj2);
31663 if (arg3 == NULL) SWIG_fail;
e811c8ce 31664 temp3 = True;
d14a1e28
RD
31665 }
31666 {
31667 PyThreadState* __tstate = wxPyBeginAllowThreads();
31668 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
31669
31670 wxPyEndAllowThreads(__tstate);
31671 if (PyErr_Occurred()) SWIG_fail;
31672 }
31673 Py_INCREF(Py_None); resultobj = Py_None;
31674 {
31675 if (temp3)
31676 delete arg3;
31677 }
31678 return resultobj;
31679 fail:
31680 {
31681 if (temp3)
31682 delete arg3;
31683 }
31684 return NULL;
31685}
31686
31687
31688static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31689 PyObject *resultobj;
31690 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31691 int arg2 ;
31692 wxString result;
31693 PyObject * obj0 = 0 ;
994141e6 31694 PyObject * obj1 = 0 ;
d14a1e28 31695 char *kwnames[] = {
242b7b46 31696 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31697 };
31698
994141e6 31699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31702 arg2 = (int) SWIG_AsInt(obj1);
31703 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31704 {
31705 PyThreadState* __tstate = wxPyBeginAllowThreads();
31706 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
31707
31708 wxPyEndAllowThreads(__tstate);
31709 if (PyErr_Occurred()) SWIG_fail;
31710 }
31711 {
31712#if wxUSE_UNICODE
31713 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31714#else
31715 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31716#endif
31717 }
31718 return resultobj;
31719 fail:
31720 return NULL;
31721}
31722
31723
31724static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31725 PyObject *resultobj;
31726 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31727 int arg2 ;
31728 wxString *arg3 = 0 ;
e811c8ce 31729 bool temp3 = False ;
d14a1e28 31730 PyObject * obj0 = 0 ;
994141e6 31731 PyObject * obj1 = 0 ;
d14a1e28
RD
31732 PyObject * obj2 = 0 ;
31733 char *kwnames[] = {
242b7b46 31734 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
31735 };
31736
994141e6 31737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31740 arg2 = (int) SWIG_AsInt(obj1);
31741 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31742 {
31743 arg3 = wxString_in_helper(obj2);
31744 if (arg3 == NULL) SWIG_fail;
e811c8ce 31745 temp3 = True;
d14a1e28
RD
31746 }
31747 {
31748 PyThreadState* __tstate = wxPyBeginAllowThreads();
31749 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
31750
31751 wxPyEndAllowThreads(__tstate);
31752 if (PyErr_Occurred()) SWIG_fail;
31753 }
31754 Py_INCREF(Py_None); resultobj = Py_None;
31755 {
31756 if (temp3)
31757 delete arg3;
31758 }
31759 return resultobj;
31760 fail:
31761 {
31762 if (temp3)
31763 delete arg3;
31764 }
31765 return NULL;
31766}
31767
31768
31769static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31770 PyObject *resultobj;
31771 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31772 int arg2 ;
31773 wxString result;
31774 PyObject * obj0 = 0 ;
994141e6 31775 PyObject * obj1 = 0 ;
d14a1e28 31776 char *kwnames[] = {
242b7b46 31777 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31778 };
31779
994141e6 31780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31783 arg2 = (int) SWIG_AsInt(obj1);
31784 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31785 {
31786 PyThreadState* __tstate = wxPyBeginAllowThreads();
31787 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
31788
31789 wxPyEndAllowThreads(__tstate);
31790 if (PyErr_Occurred()) SWIG_fail;
31791 }
31792 {
31793#if wxUSE_UNICODE
31794 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31795#else
31796 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31797#endif
31798 }
31799 return resultobj;
31800 fail:
31801 return NULL;
31802}
31803
31804
31805static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
31806 PyObject *resultobj;
31807 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31808 wxFrame *result;
31809 PyObject * obj0 = 0 ;
31810 char *kwnames[] = {
31811 (char *) "self", NULL
31812 };
31813
31814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
15afbcd0
RD
31815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31817 {
31818 PyThreadState* __tstate = wxPyBeginAllowThreads();
31819 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
31820
31821 wxPyEndAllowThreads(__tstate);
31822 if (PyErr_Occurred()) SWIG_fail;
31823 }
31824 {
412d302d 31825 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31826 }
31827 return resultobj;
31828 fail:
31829 return NULL;
31830}
31831
31832
31833static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
31834 PyObject *resultobj;
31835 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31836 bool result;
31837 PyObject * obj0 = 0 ;
31838 char *kwnames[] = {
31839 (char *) "self", NULL
31840 };
31841
31842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
31843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31845 {
31846 PyThreadState* __tstate = wxPyBeginAllowThreads();
31847 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
31848
31849 wxPyEndAllowThreads(__tstate);
31850 if (PyErr_Occurred()) SWIG_fail;
31851 }
4f89f6a3
RD
31852 {
31853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31854 }
d14a1e28
RD
31855 return resultobj;
31856 fail:
31857 return NULL;
31858}
31859
31860
31861static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
31862 PyObject *resultobj;
31863 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31864 wxFrame *arg2 = (wxFrame *) 0 ;
31865 PyObject * obj0 = 0 ;
31866 PyObject * obj1 = 0 ;
31867 char *kwnames[] = {
31868 (char *) "self",(char *) "frame", NULL
31869 };
31870
31871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31874 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
31875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31876 {
31877 PyThreadState* __tstate = wxPyBeginAllowThreads();
31878 (arg1)->Attach(arg2);
31879
31880 wxPyEndAllowThreads(__tstate);
31881 if (PyErr_Occurred()) SWIG_fail;
31882 }
31883 Py_INCREF(Py_None); resultobj = Py_None;
31884 return resultobj;
31885 fail:
31886 return NULL;
31887}
31888
31889
31890static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
31891 PyObject *resultobj;
31892 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31893 PyObject * obj0 = 0 ;
31894 char *kwnames[] = {
31895 (char *) "self", NULL
31896 };
31897
31898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
31899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31901 {
31902 PyThreadState* __tstate = wxPyBeginAllowThreads();
31903 (arg1)->Detach();
31904
31905 wxPyEndAllowThreads(__tstate);
31906 if (PyErr_Occurred()) SWIG_fail;
31907 }
31908 Py_INCREF(Py_None); resultobj = Py_None;
31909 return resultobj;
31910 fail:
31911 return NULL;
31912}
31913
31914
31915static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
31916 PyObject *obj;
31917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31918 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
31919 Py_INCREF(obj);
31920 return Py_BuildValue((char *)"");
31921}
31922static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31923 PyObject *resultobj;
31924 wxMenu *arg1 = (wxMenu *) NULL ;
a95a7133 31925 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
31926 wxString const &arg3_defvalue = wxPyEmptyString ;
31927 wxString *arg3 = (wxString *) &arg3_defvalue ;
31928 wxString const &arg4_defvalue = wxPyEmptyString ;
31929 wxString *arg4 = (wxString *) &arg4_defvalue ;
31930 int arg5 = (int) wxITEM_NORMAL ;
31931 wxMenu *arg6 = (wxMenu *) NULL ;
31932 wxMenuItem *result;
e811c8ce
RD
31933 bool temp3 = False ;
31934 bool temp4 = False ;
d14a1e28 31935 PyObject * obj0 = 0 ;
994141e6 31936 PyObject * obj1 = 0 ;
d14a1e28
RD
31937 PyObject * obj2 = 0 ;
31938 PyObject * obj3 = 0 ;
994141e6 31939 PyObject * obj4 = 0 ;
d14a1e28
RD
31940 PyObject * obj5 = 0 ;
31941 char *kwnames[] = {
31942 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31943 };
31944
994141e6 31945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 31946 if (obj0) {
15afbcd0
RD
31947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 31949 }
994141e6 31950 if (obj1) {
15afbcd0
RD
31951 arg2 = (int) SWIG_AsInt(obj1);
31952 if (PyErr_Occurred()) SWIG_fail;
994141e6 31953 }
d14a1e28
RD
31954 if (obj2) {
31955 {
31956 arg3 = wxString_in_helper(obj2);
31957 if (arg3 == NULL) SWIG_fail;
e811c8ce 31958 temp3 = True;
d14a1e28
RD
31959 }
31960 }
31961 if (obj3) {
31962 {
31963 arg4 = wxString_in_helper(obj3);
31964 if (arg4 == NULL) SWIG_fail;
e811c8ce 31965 temp4 = True;
d14a1e28
RD
31966 }
31967 }
994141e6 31968 if (obj4) {
15afbcd0
RD
31969 arg5 = (wxItemKind) SWIG_AsInt(obj4);
31970 if (PyErr_Occurred()) SWIG_fail;
994141e6 31971 }
d14a1e28 31972 if (obj5) {
15afbcd0
RD
31973 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
31974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31975 }
31976 {
31977 PyThreadState* __tstate = wxPyBeginAllowThreads();
31978 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
31979
31980 wxPyEndAllowThreads(__tstate);
31981 if (PyErr_Occurred()) SWIG_fail;
31982 }
31983 {
412d302d 31984 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
31985 }
31986 {
31987 if (temp3)
31988 delete arg3;
31989 }
31990 {
31991 if (temp4)
31992 delete arg4;
31993 }
31994 return resultobj;
31995 fail:
31996 {
31997 if (temp3)
31998 delete arg3;
31999 }
32000 {
32001 if (temp4)
32002 delete arg4;
32003 }
32004 return NULL;
32005}
32006
32007
32008static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32009 PyObject *resultobj;
32010 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32011 wxMenu *result;
32012 PyObject * obj0 = 0 ;
32013 char *kwnames[] = {
32014 (char *) "self", NULL
32015 };
32016
32017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
32018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32020 {
32021 PyThreadState* __tstate = wxPyBeginAllowThreads();
32022 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
32023
32024 wxPyEndAllowThreads(__tstate);
32025 if (PyErr_Occurred()) SWIG_fail;
32026 }
32027 {
412d302d 32028 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
32029 }
32030 return resultobj;
32031 fail:
32032 return NULL;
32033}
32034
32035
32036static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32037 PyObject *resultobj;
32038 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32039 wxMenu *arg2 = (wxMenu *) 0 ;
32040 PyObject * obj0 = 0 ;
32041 PyObject * obj1 = 0 ;
32042 char *kwnames[] = {
32043 (char *) "self",(char *) "menu", NULL
32044 };
32045
32046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32051 {
32052 PyThreadState* __tstate = wxPyBeginAllowThreads();
32053 (arg1)->SetMenu(arg2);
32054
32055 wxPyEndAllowThreads(__tstate);
32056 if (PyErr_Occurred()) SWIG_fail;
32057 }
32058 Py_INCREF(Py_None); resultobj = Py_None;
32059 return resultobj;
32060 fail:
32061 return NULL;
32062}
32063
32064
32065static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
32066 PyObject *resultobj;
32067 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32068 int arg2 ;
32069 PyObject * obj0 = 0 ;
994141e6 32070 PyObject * obj1 = 0 ;
d14a1e28 32071 char *kwnames[] = {
242b7b46 32072 (char *) "self",(char *) "id", NULL
d14a1e28
RD
32073 };
32074
994141e6 32075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32078 arg2 = (int) SWIG_AsInt(obj1);
32079 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32080 {
32081 PyThreadState* __tstate = wxPyBeginAllowThreads();
32082 (arg1)->SetId(arg2);
32083
32084 wxPyEndAllowThreads(__tstate);
32085 if (PyErr_Occurred()) SWIG_fail;
32086 }
32087 Py_INCREF(Py_None); resultobj = Py_None;
32088 return resultobj;
32089 fail:
32090 return NULL;
32091}
32092
32093
32094static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
32095 PyObject *resultobj;
32096 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32097 int result;
32098 PyObject * obj0 = 0 ;
32099 char *kwnames[] = {
32100 (char *) "self", NULL
32101 };
32102
32103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
32104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32106 {
32107 PyThreadState* __tstate = wxPyBeginAllowThreads();
32108 result = (int)((wxMenuItem const *)arg1)->GetId();
32109
32110 wxPyEndAllowThreads(__tstate);
32111 if (PyErr_Occurred()) SWIG_fail;
32112 }
15afbcd0 32113 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32114 return resultobj;
32115 fail:
32116 return NULL;
32117}
32118
32119
32120static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
32121 PyObject *resultobj;
32122 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32123 bool result;
32124 PyObject * obj0 = 0 ;
32125 char *kwnames[] = {
32126 (char *) "self", NULL
32127 };
32128
32129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
32130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32132 {
32133 PyThreadState* __tstate = wxPyBeginAllowThreads();
32134 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
32135
32136 wxPyEndAllowThreads(__tstate);
32137 if (PyErr_Occurred()) SWIG_fail;
32138 }
4f89f6a3
RD
32139 {
32140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32141 }
d14a1e28
RD
32142 return resultobj;
32143 fail:
32144 return NULL;
32145}
32146
32147
32148static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
32149 PyObject *resultobj;
32150 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32151 wxString *arg2 = 0 ;
e811c8ce 32152 bool temp2 = False ;
d14a1e28
RD
32153 PyObject * obj0 = 0 ;
32154 PyObject * obj1 = 0 ;
32155 char *kwnames[] = {
32156 (char *) "self",(char *) "str", NULL
32157 };
32158
32159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32162 {
32163 arg2 = wxString_in_helper(obj1);
32164 if (arg2 == NULL) SWIG_fail;
e811c8ce 32165 temp2 = True;
d14a1e28
RD
32166 }
32167 {
32168 PyThreadState* __tstate = wxPyBeginAllowThreads();
32169 (arg1)->SetText((wxString const &)*arg2);
32170
32171 wxPyEndAllowThreads(__tstate);
32172 if (PyErr_Occurred()) SWIG_fail;
32173 }
32174 Py_INCREF(Py_None); resultobj = Py_None;
32175 {
32176 if (temp2)
32177 delete arg2;
32178 }
32179 return resultobj;
32180 fail:
32181 {
32182 if (temp2)
32183 delete arg2;
32184 }
32185 return NULL;
32186}
32187
32188
32189static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
32190 PyObject *resultobj;
32191 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32192 wxString result;
32193 PyObject * obj0 = 0 ;
32194 char *kwnames[] = {
32195 (char *) "self", NULL
32196 };
32197
32198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
32199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32201 {
32202 PyThreadState* __tstate = wxPyBeginAllowThreads();
32203 result = ((wxMenuItem const *)arg1)->GetLabel();
32204
32205 wxPyEndAllowThreads(__tstate);
32206 if (PyErr_Occurred()) SWIG_fail;
32207 }
32208 {
32209#if wxUSE_UNICODE
32210 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32211#else
32212 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32213#endif
32214 }
32215 return resultobj;
32216 fail:
32217 return NULL;
32218}
32219
32220
32221static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
32222 PyObject *resultobj;
32223 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32224 wxString *result;
32225 PyObject * obj0 = 0 ;
32226 char *kwnames[] = {
32227 (char *) "self", NULL
32228 };
32229
32230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
32231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32233 {
32234 PyThreadState* __tstate = wxPyBeginAllowThreads();
32235 {
32236 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
32237 result = (wxString *) &_result_ref;
32238 }
32239
32240 wxPyEndAllowThreads(__tstate);
32241 if (PyErr_Occurred()) SWIG_fail;
32242 }
cc6dd355
RD
32243 {
32244#if wxUSE_UNICODE
32245 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32246#else
32247 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32248#endif
32249 }
d14a1e28
RD
32250 return resultobj;
32251 fail:
32252 return NULL;
32253}
32254
32255
32256static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
32257 PyObject *resultobj;
32258 wxString *arg1 = 0 ;
32259 wxString result;
e811c8ce 32260 bool temp1 = False ;
d14a1e28
RD
32261 PyObject * obj0 = 0 ;
32262 char *kwnames[] = {
32263 (char *) "text", NULL
32264 };
32265
32266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
32267 {
32268 arg1 = wxString_in_helper(obj0);
32269 if (arg1 == NULL) SWIG_fail;
e811c8ce 32270 temp1 = True;
d14a1e28
RD
32271 }
32272 {
32273 PyThreadState* __tstate = wxPyBeginAllowThreads();
32274 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
32275
32276 wxPyEndAllowThreads(__tstate);
32277 if (PyErr_Occurred()) SWIG_fail;
32278 }
32279 {
32280#if wxUSE_UNICODE
32281 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32282#else
32283 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32284#endif
32285 }
32286 {
32287 if (temp1)
32288 delete arg1;
32289 }
32290 return resultobj;
32291 fail:
32292 {
32293 if (temp1)
32294 delete arg1;
32295 }
32296 return NULL;
32297}
32298
32299
32300static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
32301 PyObject *resultobj;
32302 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32303 int result;
32304 PyObject * obj0 = 0 ;
32305 char *kwnames[] = {
32306 (char *) "self", NULL
32307 };
32308
32309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
15afbcd0
RD
32310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32312 {
32313 PyThreadState* __tstate = wxPyBeginAllowThreads();
32314 result = (int)((wxMenuItem const *)arg1)->GetKind();
32315
32316 wxPyEndAllowThreads(__tstate);
32317 if (PyErr_Occurred()) SWIG_fail;
32318 }
15afbcd0 32319 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32320 return resultobj;
32321 fail:
32322 return NULL;
32323}
32324
32325
a95a7133
RD
32326static PyObject *_wrap_MenuItem_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
32327 PyObject *resultobj;
32328 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32329 int arg2 ;
32330 PyObject * obj0 = 0 ;
32331 PyObject * obj1 = 0 ;
32332 char *kwnames[] = {
32333 (char *) "self",(char *) "kind", NULL
32334 };
32335
32336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail;
32337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32339 arg2 = (wxItemKind) SWIG_AsInt(obj1);
32340 if (PyErr_Occurred()) SWIG_fail;
32341 {
32342 PyThreadState* __tstate = wxPyBeginAllowThreads();
32343 (arg1)->SetKind((wxItemKind )arg2);
32344
32345 wxPyEndAllowThreads(__tstate);
32346 if (PyErr_Occurred()) SWIG_fail;
32347 }
32348 Py_INCREF(Py_None); resultobj = Py_None;
32349 return resultobj;
32350 fail:
32351 return NULL;
32352}
32353
32354
d14a1e28
RD
32355static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32356 PyObject *resultobj;
32357 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32358 bool arg2 ;
32359 PyObject * obj0 = 0 ;
32360 PyObject * obj1 = 0 ;
32361 char *kwnames[] = {
32362 (char *) "self",(char *) "checkable", NULL
32363 };
32364
32365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32368 arg2 = (bool) SWIG_AsBool(obj1);
32369 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32370 {
32371 PyThreadState* __tstate = wxPyBeginAllowThreads();
32372 (arg1)->SetCheckable(arg2);
32373
32374 wxPyEndAllowThreads(__tstate);
32375 if (PyErr_Occurred()) SWIG_fail;
32376 }
32377 Py_INCREF(Py_None); resultobj = Py_None;
32378 return resultobj;
32379 fail:
32380 return NULL;
32381}
32382
32383
32384static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32385 PyObject *resultobj;
32386 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32387 bool result;
32388 PyObject * obj0 = 0 ;
32389 char *kwnames[] = {
32390 (char *) "self", NULL
32391 };
32392
32393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
15afbcd0
RD
32394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32396 {
32397 PyThreadState* __tstate = wxPyBeginAllowThreads();
32398 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
32399
32400 wxPyEndAllowThreads(__tstate);
32401 if (PyErr_Occurred()) SWIG_fail;
32402 }
4f89f6a3
RD
32403 {
32404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32405 }
d14a1e28
RD
32406 return resultobj;
32407 fail:
32408 return NULL;
32409}
32410
32411
32412static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32413 PyObject *resultobj;
32414 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32415 bool result;
32416 PyObject * obj0 = 0 ;
32417 char *kwnames[] = {
32418 (char *) "self", NULL
32419 };
32420
32421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
32422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32424 {
32425 PyThreadState* __tstate = wxPyBeginAllowThreads();
32426 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
32427
32428 wxPyEndAllowThreads(__tstate);
32429 if (PyErr_Occurred()) SWIG_fail;
32430 }
4f89f6a3
RD
32431 {
32432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32433 }
d14a1e28
RD
32434 return resultobj;
32435 fail:
32436 return NULL;
32437}
32438
32439
32440static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32441 PyObject *resultobj;
32442 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32443 wxMenu *arg2 = (wxMenu *) 0 ;
32444 PyObject * obj0 = 0 ;
32445 PyObject * obj1 = 0 ;
32446 char *kwnames[] = {
32447 (char *) "self",(char *) "menu", NULL
32448 };
32449
32450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32453 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32455 {
32456 PyThreadState* __tstate = wxPyBeginAllowThreads();
32457 (arg1)->SetSubMenu(arg2);
32458
32459 wxPyEndAllowThreads(__tstate);
32460 if (PyErr_Occurred()) SWIG_fail;
32461 }
32462 Py_INCREF(Py_None); resultobj = Py_None;
32463 return resultobj;
32464 fail:
32465 return NULL;
32466}
32467
32468
32469static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32470 PyObject *resultobj;
32471 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32472 wxMenu *result;
32473 PyObject * obj0 = 0 ;
32474 char *kwnames[] = {
32475 (char *) "self", NULL
32476 };
32477
32478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
32479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32481 {
32482 PyThreadState* __tstate = wxPyBeginAllowThreads();
32483 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
32484
32485 wxPyEndAllowThreads(__tstate);
32486 if (PyErr_Occurred()) SWIG_fail;
32487 }
32488 {
412d302d 32489 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
32490 }
32491 return resultobj;
32492 fail:
32493 return NULL;
32494}
32495
32496
32497static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
32498 PyObject *resultobj;
32499 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 32500 bool arg2 = (bool) True ;
d14a1e28
RD
32501 PyObject * obj0 = 0 ;
32502 PyObject * obj1 = 0 ;
32503 char *kwnames[] = {
32504 (char *) "self",(char *) "enable", NULL
32505 };
32506
32507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32510 if (obj1) {
15afbcd0
RD
32511 arg2 = (bool) SWIG_AsBool(obj1);
32512 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32513 }
32514 {
32515 PyThreadState* __tstate = wxPyBeginAllowThreads();
32516 (arg1)->Enable(arg2);
32517
32518 wxPyEndAllowThreads(__tstate);
32519 if (PyErr_Occurred()) SWIG_fail;
32520 }
32521 Py_INCREF(Py_None); resultobj = Py_None;
32522 return resultobj;
32523 fail:
32524 return NULL;
32525}
32526
32527
32528static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
32529 PyObject *resultobj;
32530 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32531 bool result;
32532 PyObject * obj0 = 0 ;
32533 char *kwnames[] = {
32534 (char *) "self", NULL
32535 };
32536
32537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
32538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32540 {
32541 PyThreadState* __tstate = wxPyBeginAllowThreads();
32542 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
32543
32544 wxPyEndAllowThreads(__tstate);
32545 if (PyErr_Occurred()) SWIG_fail;
32546 }
4f89f6a3
RD
32547 {
32548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32549 }
d14a1e28
RD
32550 return resultobj;
32551 fail:
32552 return NULL;
32553}
32554
32555
32556static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
32557 PyObject *resultobj;
32558 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 32559 bool arg2 = (bool) True ;
d14a1e28
RD
32560 PyObject * obj0 = 0 ;
32561 PyObject * obj1 = 0 ;
32562 char *kwnames[] = {
32563 (char *) "self",(char *) "check", NULL
32564 };
32565
32566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32569 if (obj1) {
15afbcd0
RD
32570 arg2 = (bool) SWIG_AsBool(obj1);
32571 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32572 }
32573 {
32574 PyThreadState* __tstate = wxPyBeginAllowThreads();
32575 (arg1)->Check(arg2);
32576
32577 wxPyEndAllowThreads(__tstate);
32578 if (PyErr_Occurred()) SWIG_fail;
32579 }
32580 Py_INCREF(Py_None); resultobj = Py_None;
32581 return resultobj;
32582 fail:
32583 return NULL;
32584}
32585
32586
32587static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
32588 PyObject *resultobj;
32589 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32590 bool result;
32591 PyObject * obj0 = 0 ;
32592 char *kwnames[] = {
32593 (char *) "self", NULL
32594 };
32595
32596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
32597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32599 {
32600 PyThreadState* __tstate = wxPyBeginAllowThreads();
32601 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
32602
32603 wxPyEndAllowThreads(__tstate);
32604 if (PyErr_Occurred()) SWIG_fail;
32605 }
4f89f6a3
RD
32606 {
32607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32608 }
d14a1e28
RD
32609 return resultobj;
32610 fail:
32611 return NULL;
32612}
32613
32614
32615static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
32616 PyObject *resultobj;
32617 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32618 PyObject * obj0 = 0 ;
32619 char *kwnames[] = {
32620 (char *) "self", NULL
32621 };
32622
32623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
15afbcd0
RD
32624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32626 {
32627 PyThreadState* __tstate = wxPyBeginAllowThreads();
32628 (arg1)->Toggle();
32629
32630 wxPyEndAllowThreads(__tstate);
32631 if (PyErr_Occurred()) SWIG_fail;
32632 }
32633 Py_INCREF(Py_None); resultobj = Py_None;
32634 return resultobj;
32635 fail:
32636 return NULL;
32637}
32638
32639
32640static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32641 PyObject *resultobj;
32642 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32643 wxString *arg2 = 0 ;
e811c8ce 32644 bool temp2 = False ;
d14a1e28
RD
32645 PyObject * obj0 = 0 ;
32646 PyObject * obj1 = 0 ;
32647 char *kwnames[] = {
32648 (char *) "self",(char *) "str", NULL
32649 };
32650
32651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32654 {
32655 arg2 = wxString_in_helper(obj1);
32656 if (arg2 == NULL) SWIG_fail;
e811c8ce 32657 temp2 = True;
d14a1e28
RD
32658 }
32659 {
32660 PyThreadState* __tstate = wxPyBeginAllowThreads();
32661 (arg1)->SetHelp((wxString const &)*arg2);
32662
32663 wxPyEndAllowThreads(__tstate);
32664 if (PyErr_Occurred()) SWIG_fail;
32665 }
32666 Py_INCREF(Py_None); resultobj = Py_None;
32667 {
32668 if (temp2)
32669 delete arg2;
32670 }
32671 return resultobj;
32672 fail:
32673 {
32674 if (temp2)
32675 delete arg2;
32676 }
32677 return NULL;
32678}
32679
32680
32681static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32682 PyObject *resultobj;
32683 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32684 wxString *result;
32685 PyObject * obj0 = 0 ;
32686 char *kwnames[] = {
32687 (char *) "self", NULL
32688 };
32689
32690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
32691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32693 {
32694 PyThreadState* __tstate = wxPyBeginAllowThreads();
32695 {
32696 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
32697 result = (wxString *) &_result_ref;
32698 }
32699
32700 wxPyEndAllowThreads(__tstate);
32701 if (PyErr_Occurred()) SWIG_fail;
32702 }
cc6dd355
RD
32703 {
32704#if wxUSE_UNICODE
32705 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32706#else
32707 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32708#endif
32709 }
d14a1e28
RD
32710 return resultobj;
32711 fail:
32712 return NULL;
32713}
32714
32715
32716static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32717 PyObject *resultobj;
32718 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32719 wxAcceleratorEntry *result;
32720 PyObject * obj0 = 0 ;
32721 char *kwnames[] = {
32722 (char *) "self", NULL
32723 };
32724
32725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
15afbcd0
RD
32726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32728 {
32729 PyThreadState* __tstate = wxPyBeginAllowThreads();
32730 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
32731
32732 wxPyEndAllowThreads(__tstate);
32733 if (PyErr_Occurred()) SWIG_fail;
32734 }
15afbcd0 32735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
d14a1e28
RD
32736 return resultobj;
32737 fail:
32738 return NULL;
32739}
32740
32741
32742static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32743 PyObject *resultobj;
32744 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32745 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
32746 PyObject * obj0 = 0 ;
32747 PyObject * obj1 = 0 ;
32748 char *kwnames[] = {
32749 (char *) "self",(char *) "accel", NULL
32750 };
32751
32752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
32756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32757 {
32758 PyThreadState* __tstate = wxPyBeginAllowThreads();
32759 (arg1)->SetAccel(arg2);
32760
32761 wxPyEndAllowThreads(__tstate);
32762 if (PyErr_Occurred()) SWIG_fail;
32763 }
32764 Py_INCREF(Py_None); resultobj = Py_None;
32765 return resultobj;
32766 fail:
32767 return NULL;
32768}
32769
32770
32771static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
32772 PyObject *resultobj;
32773 int result;
32774 char *kwnames[] = {
32775 NULL
32776 };
32777
32778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
32779 {
32780 PyThreadState* __tstate = wxPyBeginAllowThreads();
32781 result = (int)MenuItem_GetDefaultMarginWidth();
32782
32783 wxPyEndAllowThreads(__tstate);
32784 if (PyErr_Occurred()) SWIG_fail;
32785 }
15afbcd0 32786 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32787 return resultobj;
32788 fail:
32789 return NULL;
32790}
32791
32792
32793static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32794 PyObject *resultobj;
32795 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32796 wxBitmap *arg2 = 0 ;
32797 PyObject * obj0 = 0 ;
32798 PyObject * obj1 = 0 ;
32799 char *kwnames[] = {
32800 (char *) "self",(char *) "bitmap", NULL
32801 };
32802
32803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
32807 SWIG_POINTER_EXCEPTION | 0)) == -1)
32808 SWIG_fail;
d14a1e28 32809 if (arg2 == NULL) {
15afbcd0
RD
32810 PyErr_SetString(PyExc_TypeError,"null reference");
32811 SWIG_fail;
d14a1e28
RD
32812 }
32813 {
32814 PyThreadState* __tstate = wxPyBeginAllowThreads();
32815 (arg1)->SetBitmap((wxBitmap const &)*arg2);
32816
32817 wxPyEndAllowThreads(__tstate);
32818 if (PyErr_Occurred()) SWIG_fail;
32819 }
32820 Py_INCREF(Py_None); resultobj = Py_None;
32821 return resultobj;
32822 fail:
32823 return NULL;
32824}
32825
32826
32827static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32828 PyObject *resultobj;
32829 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32830 wxBitmap *result;
32831 PyObject * obj0 = 0 ;
32832 char *kwnames[] = {
32833 (char *) "self", NULL
32834 };
32835
32836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
32837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32839 {
32840 PyThreadState* __tstate = wxPyBeginAllowThreads();
32841 {
32842 wxBitmap const &_result_ref = (arg1)->GetBitmap();
32843 result = (wxBitmap *) &_result_ref;
32844 }
32845
32846 wxPyEndAllowThreads(__tstate);
32847 if (PyErr_Occurred()) SWIG_fail;
32848 }
4276dc52
RD
32849 {
32850 wxBitmap* resultptr = new wxBitmap(*result);
32851 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
32852 }
d14a1e28
RD
32853 return resultobj;
32854 fail:
32855 return NULL;
32856}
32857
32858
32859static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
32860 PyObject *obj;
32861 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32862 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
32863 Py_INCREF(obj);
32864 return Py_BuildValue((char *)"");
32865}
b2dc1044
RD
32866static int _wrap_ControlNameStr_set(PyObject *_val) {
32867 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
32868 return 1;
32869}
32870
32871
32872static PyObject *_wrap_ControlNameStr_get() {
32873 PyObject *pyobj;
32874
32875 {
32876#if wxUSE_UNICODE
32877 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32878#else
32879 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32880#endif
32881 }
32882 return pyobj;
32883}
32884
32885
d14a1e28
RD
32886static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
32887 PyObject *resultobj;
32888 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 32889 int arg2 = (int) -1 ;
d14a1e28
RD
32890 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32891 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32892 wxSize const &arg4_defvalue = wxDefaultSize ;
32893 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32894 long arg5 = (long) 0 ;
32895 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32896 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32897 wxString const &arg7_defvalue = wxPyControlNameStr ;
32898 wxString *arg7 = (wxString *) &arg7_defvalue ;
32899 wxControl *result;
32900 wxPoint temp3 ;
32901 wxSize temp4 ;
e811c8ce 32902 bool temp7 = False ;
d14a1e28 32903 PyObject * obj0 = 0 ;
994141e6 32904 PyObject * obj1 = 0 ;
d14a1e28
RD
32905 PyObject * obj2 = 0 ;
32906 PyObject * obj3 = 0 ;
994141e6 32907 PyObject * obj4 = 0 ;
d14a1e28
RD
32908 PyObject * obj5 = 0 ;
32909 PyObject * obj6 = 0 ;
32910 char *kwnames[] = {
32911 (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 *)"O|OOOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
32915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
32916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
32917 if (obj1) {
32918 arg2 = (int) SWIG_AsInt(obj1);
32919 if (PyErr_Occurred()) SWIG_fail;
32920 }
d14a1e28
RD
32921 if (obj2) {
32922 {
32923 arg3 = &temp3;
32924 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32925 }
32926 }
32927 if (obj3) {
32928 {
32929 arg4 = &temp4;
32930 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32931 }
32932 }
994141e6 32933 if (obj4) {
15afbcd0
RD
32934 arg5 = (long) SWIG_AsLong(obj4);
32935 if (PyErr_Occurred()) SWIG_fail;
994141e6 32936 }
d14a1e28 32937 if (obj5) {
15afbcd0
RD
32938 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
32939 SWIG_POINTER_EXCEPTION | 0)) == -1)
32940 SWIG_fail;
d14a1e28 32941 if (arg6 == NULL) {
15afbcd0
RD
32942 PyErr_SetString(PyExc_TypeError,"null reference");
32943 SWIG_fail;
d14a1e28
RD
32944 }
32945 }
32946 if (obj6) {
32947 {
32948 arg7 = wxString_in_helper(obj6);
32949 if (arg7 == NULL) SWIG_fail;
e811c8ce 32950 temp7 = True;
d14a1e28
RD
32951 }
32952 }
32953 {
e3b71cb8 32954 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
32955 PyThreadState* __tstate = wxPyBeginAllowThreads();
32956 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32957
32958 wxPyEndAllowThreads(__tstate);
110da5b0 32959 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32960 }
32961 {
412d302d 32962 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
32963 }
32964 {
32965 if (temp7)
32966 delete arg7;
32967 }
32968 return resultobj;
32969 fail:
32970 {
32971 if (temp7)
32972 delete arg7;
32973 }
32974 return NULL;
32975}
32976
32977
32978static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
32979 PyObject *resultobj;
32980 wxControl *result;
32981 char *kwnames[] = {
32982 NULL
32983 };
32984
32985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
32986 {
e3b71cb8 32987 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
32988 PyThreadState* __tstate = wxPyBeginAllowThreads();
32989 result = (wxControl *)new wxControl();
32990
32991 wxPyEndAllowThreads(__tstate);
110da5b0 32992 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32993 }
32994 {
412d302d 32995 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
32996 }
32997 return resultobj;
32998 fail:
32999 return NULL;
33000}
33001
33002
33003static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
33004 PyObject *resultobj;
33005 wxControl *arg1 = (wxControl *) 0 ;
33006 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 33007 int arg3 = (int) -1 ;
d14a1e28
RD
33008 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33009 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33010 wxSize const &arg5_defvalue = wxDefaultSize ;
33011 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33012 long arg6 = (long) 0 ;
33013 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33014 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33015 wxString const &arg8_defvalue = wxPyControlNameStr ;
33016 wxString *arg8 = (wxString *) &arg8_defvalue ;
33017 bool result;
33018 wxPoint temp4 ;
33019 wxSize temp5 ;
e811c8ce 33020 bool temp8 = False ;
d14a1e28
RD
33021 PyObject * obj0 = 0 ;
33022 PyObject * obj1 = 0 ;
994141e6 33023 PyObject * obj2 = 0 ;
d14a1e28
RD
33024 PyObject * obj3 = 0 ;
33025 PyObject * obj4 = 0 ;
994141e6 33026 PyObject * obj5 = 0 ;
d14a1e28
RD
33027 PyObject * obj6 = 0 ;
33028 PyObject * obj7 = 0 ;
33029 char *kwnames[] = {
33030 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33031 };
33032
248ed943 33033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
33034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33036 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
33037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
33038 if (obj2) {
33039 arg3 = (int) SWIG_AsInt(obj2);
33040 if (PyErr_Occurred()) SWIG_fail;
33041 }
d14a1e28
RD
33042 if (obj3) {
33043 {
33044 arg4 = &temp4;
33045 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33046 }
33047 }
33048 if (obj4) {
33049 {
33050 arg5 = &temp5;
33051 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33052 }
33053 }
994141e6 33054 if (obj5) {
15afbcd0
RD
33055 arg6 = (long) SWIG_AsLong(obj5);
33056 if (PyErr_Occurred()) SWIG_fail;
994141e6 33057 }
d14a1e28 33058 if (obj6) {
15afbcd0
RD
33059 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
33060 SWIG_POINTER_EXCEPTION | 0)) == -1)
33061 SWIG_fail;
d14a1e28 33062 if (arg7 == NULL) {
15afbcd0
RD
33063 PyErr_SetString(PyExc_TypeError,"null reference");
33064 SWIG_fail;
d14a1e28
RD
33065 }
33066 }
33067 if (obj7) {
33068 {
33069 arg8 = wxString_in_helper(obj7);
33070 if (arg8 == NULL) SWIG_fail;
e811c8ce 33071 temp8 = True;
d14a1e28
RD
33072 }
33073 }
33074 {
33075 PyThreadState* __tstate = wxPyBeginAllowThreads();
33076 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
33077
33078 wxPyEndAllowThreads(__tstate);
33079 if (PyErr_Occurred()) SWIG_fail;
33080 }
4f89f6a3
RD
33081 {
33082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33083 }
d14a1e28
RD
33084 {
33085 if (temp8)
33086 delete arg8;
33087 }
33088 return resultobj;
33089 fail:
33090 {
33091 if (temp8)
33092 delete arg8;
33093 }
33094 return NULL;
33095}
33096
33097
33098static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
33099 PyObject *resultobj;
33100 wxControl *arg1 = (wxControl *) 0 ;
33101 wxCommandEvent *arg2 = 0 ;
33102 PyObject * obj0 = 0 ;
33103 PyObject * obj1 = 0 ;
33104 char *kwnames[] = {
33105 (char *) "self",(char *) "event", NULL
33106 };
33107
33108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
33112 SWIG_POINTER_EXCEPTION | 0)) == -1)
33113 SWIG_fail;
d14a1e28 33114 if (arg2 == NULL) {
15afbcd0
RD
33115 PyErr_SetString(PyExc_TypeError,"null reference");
33116 SWIG_fail;
d14a1e28
RD
33117 }
33118 {
33119 PyThreadState* __tstate = wxPyBeginAllowThreads();
33120 (arg1)->Command(*arg2);
33121
33122 wxPyEndAllowThreads(__tstate);
33123 if (PyErr_Occurred()) SWIG_fail;
33124 }
33125 Py_INCREF(Py_None); resultobj = Py_None;
33126 return resultobj;
33127 fail:
33128 return NULL;
33129}
33130
33131
33132static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
33133 PyObject *resultobj;
33134 wxControl *arg1 = (wxControl *) 0 ;
33135 wxString result;
33136 PyObject * obj0 = 0 ;
33137 char *kwnames[] = {
33138 (char *) "self", NULL
33139 };
33140
33141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
33142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33144 {
33145 PyThreadState* __tstate = wxPyBeginAllowThreads();
33146 result = (arg1)->GetLabel();
33147
33148 wxPyEndAllowThreads(__tstate);
33149 if (PyErr_Occurred()) SWIG_fail;
33150 }
33151 {
33152#if wxUSE_UNICODE
33153 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33154#else
33155 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33156#endif
33157 }
33158 return resultobj;
33159 fail:
33160 return NULL;
33161}
33162
33163
33164static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
33165 PyObject *resultobj;
33166 wxControl *arg1 = (wxControl *) 0 ;
33167 wxString *arg2 = 0 ;
e811c8ce 33168 bool temp2 = False ;
d14a1e28
RD
33169 PyObject * obj0 = 0 ;
33170 PyObject * obj1 = 0 ;
33171 char *kwnames[] = {
33172 (char *) "self",(char *) "label", NULL
33173 };
33174
33175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33178 {
33179 arg2 = wxString_in_helper(obj1);
33180 if (arg2 == NULL) SWIG_fail;
e811c8ce 33181 temp2 = True;
d14a1e28
RD
33182 }
33183 {
33184 PyThreadState* __tstate = wxPyBeginAllowThreads();
33185 (arg1)->SetLabel((wxString const &)*arg2);
33186
33187 wxPyEndAllowThreads(__tstate);
33188 if (PyErr_Occurred()) SWIG_fail;
33189 }
33190 Py_INCREF(Py_None); resultobj = Py_None;
33191 {
33192 if (temp2)
33193 delete arg2;
33194 }
33195 return resultobj;
33196 fail:
33197 {
33198 if (temp2)
33199 delete arg2;
33200 }
33201 return NULL;
33202}
33203
33204
74a57fcd
RD
33205static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
33206 PyObject *resultobj;
33207 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
33208 wxVisualAttributes result;
33209 PyObject * obj0 = 0 ;
33210 char *kwnames[] = {
33211 (char *) "variant", NULL
33212 };
33213
33214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
33215 if (obj0) {
33216 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
33217 if (PyErr_Occurred()) SWIG_fail;
33218 }
33219 {
110da5b0 33220 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
33221 PyThreadState* __tstate = wxPyBeginAllowThreads();
33222 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
33223
33224 wxPyEndAllowThreads(__tstate);
dfbb5885 33225 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
33226 }
33227 {
33228 wxVisualAttributes * resultptr;
33229 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
33230 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33231 }
33232 return resultobj;
33233 fail:
33234 return NULL;
33235}
33236
33237
d14a1e28
RD
33238static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
33239 PyObject *obj;
33240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33241 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
33242 Py_INCREF(obj);
33243 return Py_BuildValue((char *)"");
33244}
33245static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
33246 PyObject *resultobj;
33247 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33248 wxString *arg2 = 0 ;
33249 PyObject *arg3 = (PyObject *) NULL ;
33250 int result;
e811c8ce 33251 bool temp2 = False ;
d14a1e28
RD
33252 PyObject * obj0 = 0 ;
33253 PyObject * obj1 = 0 ;
33254 PyObject * obj2 = 0 ;
33255 char *kwnames[] = {
33256 (char *) "self",(char *) "item",(char *) "clientData", NULL
33257 };
33258
33259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33262 {
33263 arg2 = wxString_in_helper(obj1);
33264 if (arg2 == NULL) SWIG_fail;
e811c8ce 33265 temp2 = True;
d14a1e28
RD
33266 }
33267 if (obj2) {
33268 arg3 = obj2;
33269 }
33270 {
33271 PyThreadState* __tstate = wxPyBeginAllowThreads();
33272 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
33273
33274 wxPyEndAllowThreads(__tstate);
33275 if (PyErr_Occurred()) SWIG_fail;
33276 }
15afbcd0 33277 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33278 {
33279 if (temp2)
33280 delete arg2;
33281 }
33282 return resultobj;
33283 fail:
33284 {
33285 if (temp2)
33286 delete arg2;
33287 }
33288 return NULL;
33289}
33290
33291
33292static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
33293 PyObject *resultobj;
33294 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33295 wxArrayString *arg2 = 0 ;
3adfb63b 33296 bool temp2 = False ;
d14a1e28
RD
33297 PyObject * obj0 = 0 ;
33298 PyObject * obj1 = 0 ;
33299 char *kwnames[] = {
33300 (char *) "self",(char *) "strings", NULL
33301 };
33302
33303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33306 {
33307 if (! PySequence_Check(obj1)) {
33308 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
33309 SWIG_fail;
33310 }
33311 arg2 = new wxArrayString;
3adfb63b 33312 temp2 = True;
d14a1e28
RD
33313 int i, len=PySequence_Length(obj1);
33314 for (i=0; i<len; i++) {
33315 PyObject* item = PySequence_GetItem(obj1, i);
33316#if wxUSE_UNICODE
33317 PyObject* str = PyObject_Unicode(item);
33318#else
33319 PyObject* str = PyObject_Str(item);
33320#endif
74a57fcd 33321 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33322 arg2->Add(Py2wxString(str));
33323 Py_DECREF(item);
33324 Py_DECREF(str);
33325 }
33326 }
33327 {
33328 PyThreadState* __tstate = wxPyBeginAllowThreads();
33329 (arg1)->Append((wxArrayString const &)*arg2);
33330
33331 wxPyEndAllowThreads(__tstate);
33332 if (PyErr_Occurred()) SWIG_fail;
33333 }
33334 Py_INCREF(Py_None); resultobj = Py_None;
33335 {
3adfb63b 33336 if (temp2) delete arg2;
d14a1e28
RD
33337 }
33338 return resultobj;
33339 fail:
33340 {
3adfb63b 33341 if (temp2) delete arg2;
d14a1e28
RD
33342 }
33343 return NULL;
33344}
33345
33346
33347static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
33348 PyObject *resultobj;
33349 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33350 wxString *arg2 = 0 ;
33351 int arg3 ;
33352 PyObject *arg4 = (PyObject *) NULL ;
33353 int result;
e811c8ce 33354 bool temp2 = False ;
d14a1e28
RD
33355 PyObject * obj0 = 0 ;
33356 PyObject * obj1 = 0 ;
994141e6 33357 PyObject * obj2 = 0 ;
d14a1e28
RD
33358 PyObject * obj3 = 0 ;
33359 char *kwnames[] = {
33360 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33361 };
33362
994141e6 33363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
33364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33366 {
33367 arg2 = wxString_in_helper(obj1);
33368 if (arg2 == NULL) SWIG_fail;
e811c8ce 33369 temp2 = True;
d14a1e28 33370 }
15afbcd0
RD
33371 arg3 = (int) SWIG_AsInt(obj2);
33372 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33373 if (obj3) {
33374 arg4 = obj3;
33375 }
33376 {
33377 PyThreadState* __tstate = wxPyBeginAllowThreads();
33378 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
33379
33380 wxPyEndAllowThreads(__tstate);
33381 if (PyErr_Occurred()) SWIG_fail;
33382 }
15afbcd0 33383 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33384 {
33385 if (temp2)
33386 delete arg2;
33387 }
33388 return resultobj;
33389 fail:
33390 {
33391 if (temp2)
33392 delete arg2;
33393 }
33394 return NULL;
33395}
33396
33397
33398static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
33399 PyObject *resultobj;
33400 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33401 PyObject * obj0 = 0 ;
33402 char *kwnames[] = {
33403 (char *) "self", NULL
33404 };
33405
33406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
33407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33409 {
33410 PyThreadState* __tstate = wxPyBeginAllowThreads();
33411 (arg1)->Clear();
33412
33413 wxPyEndAllowThreads(__tstate);
33414 if (PyErr_Occurred()) SWIG_fail;
33415 }
33416 Py_INCREF(Py_None); resultobj = Py_None;
33417 return resultobj;
33418 fail:
33419 return NULL;
33420}
33421
33422
33423static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
33424 PyObject *resultobj;
33425 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33426 int arg2 ;
33427 PyObject * obj0 = 0 ;
994141e6 33428 PyObject * obj1 = 0 ;
d14a1e28
RD
33429 char *kwnames[] = {
33430 (char *) "self",(char *) "n", NULL
33431 };
33432
994141e6 33433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33436 arg2 = (int) SWIG_AsInt(obj1);
33437 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33438 {
33439 PyThreadState* __tstate = wxPyBeginAllowThreads();
33440 (arg1)->Delete(arg2);
33441
33442 wxPyEndAllowThreads(__tstate);
33443 if (PyErr_Occurred()) SWIG_fail;
33444 }
33445 Py_INCREF(Py_None); resultobj = Py_None;
33446 return resultobj;
33447 fail:
33448 return NULL;
33449}
33450
33451
33452static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
33453 PyObject *resultobj;
33454 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33455 int result;
33456 PyObject * obj0 = 0 ;
33457 char *kwnames[] = {
33458 (char *) "self", NULL
33459 };
33460
33461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
33462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33464 {
33465 PyThreadState* __tstate = wxPyBeginAllowThreads();
33466 result = (int)((wxItemContainer const *)arg1)->GetCount();
33467
33468 wxPyEndAllowThreads(__tstate);
33469 if (PyErr_Occurred()) SWIG_fail;
33470 }
15afbcd0 33471 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33472 return resultobj;
33473 fail:
33474 return NULL;
33475}
33476
33477
33478static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
33479 PyObject *resultobj;
33480 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33481 bool result;
33482 PyObject * obj0 = 0 ;
33483 char *kwnames[] = {
33484 (char *) "self", NULL
33485 };
33486
33487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
15afbcd0
RD
33488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33490 {
33491 PyThreadState* __tstate = wxPyBeginAllowThreads();
33492 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
33493
33494 wxPyEndAllowThreads(__tstate);
33495 if (PyErr_Occurred()) SWIG_fail;
33496 }
4f89f6a3
RD
33497 {
33498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33499 }
d14a1e28
RD
33500 return resultobj;
33501 fail:
33502 return NULL;
33503}
33504
33505
33506static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33507 PyObject *resultobj;
33508 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33509 int arg2 ;
33510 wxString result;
33511 PyObject * obj0 = 0 ;
994141e6 33512 PyObject * obj1 = 0 ;
d14a1e28
RD
33513 char *kwnames[] = {
33514 (char *) "self",(char *) "n", NULL
33515 };
33516
994141e6 33517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33520 arg2 = (int) SWIG_AsInt(obj1);
33521 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33522 {
33523 PyThreadState* __tstate = wxPyBeginAllowThreads();
33524 result = ((wxItemContainer const *)arg1)->GetString(arg2);
33525
33526 wxPyEndAllowThreads(__tstate);
33527 if (PyErr_Occurred()) SWIG_fail;
33528 }
33529 {
33530#if wxUSE_UNICODE
33531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33532#else
33533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33534#endif
33535 }
33536 return resultobj;
33537 fail:
33538 return NULL;
33539}
33540
33541
33542static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
33543 PyObject *resultobj;
33544 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33545 wxArrayString result;
33546 PyObject * obj0 = 0 ;
33547 char *kwnames[] = {
33548 (char *) "self", NULL
33549 };
33550
33551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
15afbcd0
RD
33552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33554 {
33555 PyThreadState* __tstate = wxPyBeginAllowThreads();
33556 result = ((wxItemContainer const *)arg1)->GetStrings();
33557
33558 wxPyEndAllowThreads(__tstate);
33559 if (PyErr_Occurred()) SWIG_fail;
33560 }
33561 {
33562 resultobj = wxArrayString2PyList_helper(result);
33563 }
33564 return resultobj;
33565 fail:
33566 return NULL;
33567}
33568
33569
33570static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33571 PyObject *resultobj;
33572 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33573 int arg2 ;
33574 wxString *arg3 = 0 ;
e811c8ce 33575 bool temp3 = False ;
d14a1e28 33576 PyObject * obj0 = 0 ;
994141e6 33577 PyObject * obj1 = 0 ;
d14a1e28
RD
33578 PyObject * obj2 = 0 ;
33579 char *kwnames[] = {
33580 (char *) "self",(char *) "n",(char *) "s", NULL
33581 };
33582
994141e6 33583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33586 arg2 = (int) SWIG_AsInt(obj1);
33587 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33588 {
33589 arg3 = wxString_in_helper(obj2);
33590 if (arg3 == NULL) SWIG_fail;
e811c8ce 33591 temp3 = True;
d14a1e28
RD
33592 }
33593 {
33594 PyThreadState* __tstate = wxPyBeginAllowThreads();
33595 (arg1)->SetString(arg2,(wxString const &)*arg3);
33596
33597 wxPyEndAllowThreads(__tstate);
33598 if (PyErr_Occurred()) SWIG_fail;
33599 }
33600 Py_INCREF(Py_None); resultobj = Py_None;
33601 {
33602 if (temp3)
33603 delete arg3;
33604 }
33605 return resultobj;
33606 fail:
33607 {
33608 if (temp3)
33609 delete arg3;
33610 }
33611 return NULL;
33612}
33613
33614
33615static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
33616 PyObject *resultobj;
33617 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33618 wxString *arg2 = 0 ;
33619 int result;
e811c8ce 33620 bool temp2 = False ;
d14a1e28
RD
33621 PyObject * obj0 = 0 ;
33622 PyObject * obj1 = 0 ;
33623 char *kwnames[] = {
33624 (char *) "self",(char *) "s", NULL
33625 };
33626
33627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33630 {
33631 arg2 = wxString_in_helper(obj1);
33632 if (arg2 == NULL) SWIG_fail;
e811c8ce 33633 temp2 = True;
d14a1e28
RD
33634 }
33635 {
33636 PyThreadState* __tstate = wxPyBeginAllowThreads();
33637 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
33638
33639 wxPyEndAllowThreads(__tstate);
33640 if (PyErr_Occurred()) SWIG_fail;
33641 }
15afbcd0 33642 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33643 {
33644 if (temp2)
33645 delete arg2;
33646 }
33647 return resultobj;
33648 fail:
33649 {
33650 if (temp2)
33651 delete arg2;
33652 }
33653 return NULL;
33654}
33655
33656
33657static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
33658 PyObject *resultobj;
33659 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33660 int arg2 ;
33661 PyObject * obj0 = 0 ;
994141e6 33662 PyObject * obj1 = 0 ;
d14a1e28
RD
33663 char *kwnames[] = {
33664 (char *) "self",(char *) "n", NULL
33665 };
33666
994141e6 33667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) 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 {
33673 PyThreadState* __tstate = wxPyBeginAllowThreads();
33674 (arg1)->Select(arg2);
33675
33676 wxPyEndAllowThreads(__tstate);
33677 if (PyErr_Occurred()) SWIG_fail;
33678 }
33679 Py_INCREF(Py_None); resultobj = Py_None;
33680 return resultobj;
33681 fail:
33682 return NULL;
33683}
33684
33685
33686static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33687 PyObject *resultobj;
33688 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33689 int result;
33690 PyObject * obj0 = 0 ;
33691 char *kwnames[] = {
33692 (char *) "self", NULL
33693 };
33694
33695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
33696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33698 {
33699 PyThreadState* __tstate = wxPyBeginAllowThreads();
33700 result = (int)((wxItemContainer const *)arg1)->GetSelection();
33701
33702 wxPyEndAllowThreads(__tstate);
33703 if (PyErr_Occurred()) SWIG_fail;
33704 }
15afbcd0 33705 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33706 return resultobj;
33707 fail:
33708 return NULL;
33709}
33710
33711
33712static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33713 PyObject *resultobj;
33714 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33715 wxString result;
33716 PyObject * obj0 = 0 ;
33717 char *kwnames[] = {
33718 (char *) "self", NULL
33719 };
33720
33721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
33722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33724 {
33725 PyThreadState* __tstate = wxPyBeginAllowThreads();
33726 result = ((wxItemContainer const *)arg1)->GetStringSelection();
33727
33728 wxPyEndAllowThreads(__tstate);
33729 if (PyErr_Occurred()) SWIG_fail;
33730 }
33731 {
33732#if wxUSE_UNICODE
33733 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33734#else
33735 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33736#endif
33737 }
33738 return resultobj;
33739 fail:
33740 return NULL;
33741}
33742
33743
33744static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33745 PyObject *resultobj;
33746 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33747 int arg2 ;
33748 PyObject *result;
33749 PyObject * obj0 = 0 ;
994141e6 33750 PyObject * obj1 = 0 ;
d14a1e28
RD
33751 char *kwnames[] = {
33752 (char *) "self",(char *) "n", NULL
33753 };
33754
994141e6 33755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33758 arg2 = (int) SWIG_AsInt(obj1);
33759 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33760 {
33761 PyThreadState* __tstate = wxPyBeginAllowThreads();
33762 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
33763
33764 wxPyEndAllowThreads(__tstate);
33765 if (PyErr_Occurred()) SWIG_fail;
33766 }
33767 resultobj = result;
33768 return resultobj;
33769 fail:
33770 return NULL;
33771}
33772
33773
33774static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
33775 PyObject *resultobj;
33776 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33777 int arg2 ;
33778 PyObject *arg3 = (PyObject *) 0 ;
33779 PyObject * obj0 = 0 ;
994141e6 33780 PyObject * obj1 = 0 ;
d14a1e28
RD
33781 PyObject * obj2 = 0 ;
33782 char *kwnames[] = {
33783 (char *) "self",(char *) "n",(char *) "clientData", NULL
33784 };
33785
994141e6 33786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33789 arg2 = (int) SWIG_AsInt(obj1);
33790 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33791 arg3 = obj2;
33792 {
33793 PyThreadState* __tstate = wxPyBeginAllowThreads();
33794 wxItemContainer_SetClientData(arg1,arg2,arg3);
33795
33796 wxPyEndAllowThreads(__tstate);
33797 if (PyErr_Occurred()) SWIG_fail;
33798 }
33799 Py_INCREF(Py_None); resultobj = Py_None;
33800 return resultobj;
33801 fail:
33802 return NULL;
33803}
33804
33805
33806static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
33807 PyObject *obj;
33808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33809 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
33810 Py_INCREF(obj);
33811 return Py_BuildValue((char *)"");
33812}
33813static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
33814 PyObject *obj;
33815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33816 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
33817 Py_INCREF(obj);
33818 return Py_BuildValue((char *)"");
33819}
33820static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33821 PyObject *resultobj;
33822 wxSizerItem *result;
33823 char *kwnames[] = {
33824 NULL
33825 };
33826
33827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
33828 {
33829 PyThreadState* __tstate = wxPyBeginAllowThreads();
33830 result = (wxSizerItem *)new wxSizerItem();
33831
33832 wxPyEndAllowThreads(__tstate);
33833 if (PyErr_Occurred()) SWIG_fail;
33834 }
15afbcd0 33835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33836 return resultobj;
33837 fail:
33838 return NULL;
33839}
33840
33841
248ed943 33842static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 33843 PyObject *resultobj;
248ed943 33844 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
33845 int arg2 ;
33846 int arg3 ;
33847 int arg4 ;
248ed943 33848 PyObject *arg5 = (PyObject *) NULL ;
d14a1e28 33849 wxSizerItem *result;
994141e6
RD
33850 PyObject * obj0 = 0 ;
33851 PyObject * obj1 = 0 ;
33852 PyObject * obj2 = 0 ;
33853 PyObject * obj3 = 0 ;
33854 PyObject * obj4 = 0 ;
d14a1e28 33855 char *kwnames[] = {
248ed943 33856 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d14a1e28
RD
33857 };
33858
248ed943
RD
33859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
33860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
33861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15afbcd0
RD
33862 arg2 = (int) SWIG_AsInt(obj1);
33863 if (PyErr_Occurred()) SWIG_fail;
33864 arg3 = (int) SWIG_AsInt(obj2);
33865 if (PyErr_Occurred()) SWIG_fail;
33866 arg4 = (int) SWIG_AsInt(obj3);
33867 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
33868 if (obj4) {
33869 arg5 = obj4;
33870 }
d14a1e28
RD
33871 {
33872 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 33873 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d14a1e28
RD
33874
33875 wxPyEndAllowThreads(__tstate);
33876 if (PyErr_Occurred()) SWIG_fail;
33877 }
15afbcd0 33878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33879 return resultobj;
33880 fail:
33881 return NULL;
33882}
33883
33884
248ed943 33885static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28 33886 PyObject *resultobj;
248ed943 33887 int arg1 ;
d14a1e28
RD
33888 int arg2 ;
33889 int arg3 ;
33890 int arg4 ;
248ed943
RD
33891 int arg5 ;
33892 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
33893 wxSizerItem *result;
33894 PyObject * obj0 = 0 ;
994141e6
RD
33895 PyObject * obj1 = 0 ;
33896 PyObject * obj2 = 0 ;
33897 PyObject * obj3 = 0 ;
d14a1e28 33898 PyObject * obj4 = 0 ;
248ed943 33899 PyObject * obj5 = 0 ;
d14a1e28 33900 char *kwnames[] = {
248ed943 33901 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d14a1e28
RD
33902 };
33903
248ed943
RD
33904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
33905 arg1 = (int) SWIG_AsInt(obj0);
33906 if (PyErr_Occurred()) SWIG_fail;
15afbcd0
RD
33907 arg2 = (int) SWIG_AsInt(obj1);
33908 if (PyErr_Occurred()) SWIG_fail;
33909 arg3 = (int) SWIG_AsInt(obj2);
33910 if (PyErr_Occurred()) SWIG_fail;
33911 arg4 = (int) SWIG_AsInt(obj3);
33912 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
33913 arg5 = (int) SWIG_AsInt(obj4);
33914 if (PyErr_Occurred()) SWIG_fail;
33915 if (obj5) {
33916 arg6 = obj5;
33917 }
d14a1e28
RD
33918 {
33919 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 33920 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
33921
33922 wxPyEndAllowThreads(__tstate);
33923 if (PyErr_Occurred()) SWIG_fail;
33924 }
15afbcd0 33925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33926 return resultobj;
33927 fail:
33928 return NULL;
33929}
33930
33931
33932static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33933 PyObject *resultobj;
33934 wxSizer *arg1 = (wxSizer *) 0 ;
33935 int arg2 ;
33936 int arg3 ;
33937 int arg4 ;
248ed943 33938 PyObject *arg5 = (PyObject *) NULL ;
d14a1e28
RD
33939 wxSizerItem *result;
33940 PyObject * obj0 = 0 ;
994141e6
RD
33941 PyObject * obj1 = 0 ;
33942 PyObject * obj2 = 0 ;
33943 PyObject * obj3 = 0 ;
d14a1e28
RD
33944 PyObject * obj4 = 0 ;
33945 char *kwnames[] = {
33946 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33947 };
33948
248ed943 33949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
33950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33952 arg2 = (int) SWIG_AsInt(obj1);
33953 if (PyErr_Occurred()) SWIG_fail;
33954 arg3 = (int) SWIG_AsInt(obj2);
33955 if (PyErr_Occurred()) SWIG_fail;
33956 arg4 = (int) SWIG_AsInt(obj3);
33957 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
33958 if (obj4) {
33959 arg5 = obj4;
33960 }
d14a1e28
RD
33961 {
33962 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 33963 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d14a1e28
RD
33964
33965 wxPyEndAllowThreads(__tstate);
33966 if (PyErr_Occurred()) SWIG_fail;
33967 }
15afbcd0 33968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33969 return resultobj;
33970 fail:
33971 return NULL;
33972}
33973
33974
33975static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
33976 PyObject *resultobj;
33977 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33978 PyObject * obj0 = 0 ;
33979 char *kwnames[] = {
33980 (char *) "self", NULL
33981 };
33982
33983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
33984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33986 {
33987 PyThreadState* __tstate = wxPyBeginAllowThreads();
33988 (arg1)->DeleteWindows();
33989
33990 wxPyEndAllowThreads(__tstate);
33991 if (PyErr_Occurred()) SWIG_fail;
33992 }
33993 Py_INCREF(Py_None); resultobj = Py_None;
33994 return resultobj;
33995 fail:
33996 return NULL;
33997}
33998
33999
34000static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34001 PyObject *resultobj;
34002 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34003 PyObject * obj0 = 0 ;
34004 char *kwnames[] = {
34005 (char *) "self", NULL
34006 };
34007
34008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34011 {
34012 PyThreadState* __tstate = wxPyBeginAllowThreads();
34013 (arg1)->DetachSizer();
34014
34015 wxPyEndAllowThreads(__tstate);
34016 if (PyErr_Occurred()) SWIG_fail;
34017 }
34018 Py_INCREF(Py_None); resultobj = Py_None;
34019 return resultobj;
34020 fail:
34021 return NULL;
34022}
34023
34024
34025static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34026 PyObject *resultobj;
34027 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34028 wxSize result;
34029 PyObject * obj0 = 0 ;
34030 char *kwnames[] = {
34031 (char *) "self", NULL
34032 };
34033
34034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
34035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34037 {
34038 PyThreadState* __tstate = wxPyBeginAllowThreads();
34039 result = (arg1)->GetSize();
34040
34041 wxPyEndAllowThreads(__tstate);
34042 if (PyErr_Occurred()) SWIG_fail;
34043 }
34044 {
34045 wxSize * resultptr;
34046 resultptr = new wxSize((wxSize &) result);
15afbcd0 34047 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34048 }
34049 return resultobj;
34050 fail:
34051 return NULL;
34052}
34053
34054
34055static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34056 PyObject *resultobj;
34057 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34058 wxSize result;
34059 PyObject * obj0 = 0 ;
34060 char *kwnames[] = {
34061 (char *) "self", NULL
34062 };
34063
34064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
34065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34067 {
34068 PyThreadState* __tstate = wxPyBeginAllowThreads();
34069 result = (arg1)->CalcMin();
34070
34071 wxPyEndAllowThreads(__tstate);
34072 if (PyErr_Occurred()) SWIG_fail;
34073 }
34074 {
34075 wxSize * resultptr;
34076 resultptr = new wxSize((wxSize &) result);
15afbcd0 34077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34078 }
34079 return resultobj;
34080 fail:
34081 return NULL;
34082}
34083
34084
34085static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
34086 PyObject *resultobj;
34087 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34088 wxPoint arg2 ;
34089 wxSize arg3 ;
34090 wxPoint *argp2 ;
34091 wxSize *argp3 ;
34092 PyObject * obj0 = 0 ;
34093 PyObject * obj1 = 0 ;
34094 PyObject * obj2 = 0 ;
34095 char *kwnames[] = {
34096 (char *) "self",(char *) "pos",(char *) "size", NULL
34097 };
34098
34099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34102 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
34103 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34104 arg2 = *argp2;
34105 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
34106 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34107 arg3 = *argp3;
d14a1e28
RD
34108 {
34109 PyThreadState* __tstate = wxPyBeginAllowThreads();
34110 (arg1)->SetDimension(arg2,arg3);
34111
34112 wxPyEndAllowThreads(__tstate);
34113 if (PyErr_Occurred()) SWIG_fail;
34114 }
34115 Py_INCREF(Py_None); resultobj = Py_None;
34116 return resultobj;
34117 fail:
34118 return NULL;
34119}
34120
34121
34122static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34123 PyObject *resultobj;
34124 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34125 wxSize result;
34126 PyObject * obj0 = 0 ;
34127 char *kwnames[] = {
34128 (char *) "self", NULL
34129 };
34130
34131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
34132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34134 {
34135 PyThreadState* __tstate = wxPyBeginAllowThreads();
34136 result = (arg1)->GetMinSize();
34137
34138 wxPyEndAllowThreads(__tstate);
34139 if (PyErr_Occurred()) SWIG_fail;
34140 }
34141 {
34142 wxSize * resultptr;
34143 resultptr = new wxSize((wxSize &) result);
15afbcd0 34144 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34145 }
34146 return resultobj;
34147 fail:
34148 return NULL;
34149}
34150
34151
dfbb5885
RD
34152static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34153 PyObject *resultobj;
34154 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34155 wxSize result;
34156 PyObject * obj0 = 0 ;
34157 char *kwnames[] = {
34158 (char *) "self", NULL
34159 };
34160
34161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames,&obj0)) goto fail;
34162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34164 {
34165 PyThreadState* __tstate = wxPyBeginAllowThreads();
34166 result = ((wxSizerItem const *)arg1)->GetMinSizeWithBorder();
34167
34168 wxPyEndAllowThreads(__tstate);
34169 if (PyErr_Occurred()) SWIG_fail;
34170 }
34171 {
34172 wxSize * resultptr;
34173 resultptr = new wxSize((wxSize &) result);
34174 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34175 }
34176 return resultobj;
34177 fail:
34178 return NULL;
34179}
34180
34181
d14a1e28
RD
34182static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34183 PyObject *resultobj;
34184 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34185 int arg2 ;
34186 int arg3 ;
34187 PyObject * obj0 = 0 ;
994141e6
RD
34188 PyObject * obj1 = 0 ;
34189 PyObject * obj2 = 0 ;
d14a1e28
RD
34190 char *kwnames[] = {
34191 (char *) "self",(char *) "x",(char *) "y", NULL
34192 };
34193
994141e6 34194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34197 arg2 = (int) SWIG_AsInt(obj1);
34198 if (PyErr_Occurred()) SWIG_fail;
34199 arg3 = (int) SWIG_AsInt(obj2);
34200 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34201 {
34202 PyThreadState* __tstate = wxPyBeginAllowThreads();
34203 (arg1)->SetInitSize(arg2,arg3);
34204
34205 wxPyEndAllowThreads(__tstate);
34206 if (PyErr_Occurred()) SWIG_fail;
34207 }
34208 Py_INCREF(Py_None); resultobj = Py_None;
34209 return resultobj;
34210 fail:
34211 return NULL;
34212}
34213
34214
34215static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
34216 PyObject *resultobj;
34217 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34218 int arg2 ;
34219 int arg3 ;
34220 PyObject * obj0 = 0 ;
994141e6
RD
34221 PyObject * obj1 = 0 ;
34222 PyObject * obj2 = 0 ;
d14a1e28
RD
34223 char *kwnames[] = {
34224 (char *) "self",(char *) "width",(char *) "height", NULL
34225 };
34226
994141e6 34227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34230 arg2 = (int) SWIG_AsInt(obj1);
34231 if (PyErr_Occurred()) SWIG_fail;
34232 arg3 = (int) SWIG_AsInt(obj2);
34233 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34234 {
34235 PyThreadState* __tstate = wxPyBeginAllowThreads();
34236 (arg1)->SetRatio(arg2,arg3);
34237
34238 wxPyEndAllowThreads(__tstate);
34239 if (PyErr_Occurred()) SWIG_fail;
34240 }
34241 Py_INCREF(Py_None); resultobj = Py_None;
34242 return resultobj;
34243 fail:
34244 return NULL;
34245}
34246
34247
34248static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34249 PyObject *resultobj;
34250 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34251 wxSize arg2 ;
34252 wxSize *argp2 ;
34253 PyObject * obj0 = 0 ;
34254 PyObject * obj1 = 0 ;
34255 char *kwnames[] = {
34256 (char *) "self",(char *) "size", NULL
34257 };
34258
34259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34262 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
34263 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34264 arg2 = *argp2;
d14a1e28
RD
34265 {
34266 PyThreadState* __tstate = wxPyBeginAllowThreads();
34267 (arg1)->SetRatio(arg2);
34268
34269 wxPyEndAllowThreads(__tstate);
34270 if (PyErr_Occurred()) SWIG_fail;
34271 }
34272 Py_INCREF(Py_None); resultobj = Py_None;
34273 return resultobj;
34274 fail:
34275 return NULL;
34276}
34277
34278
34279static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
34280 PyObject *resultobj;
34281 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34282 float arg2 ;
34283 PyObject * obj0 = 0 ;
994141e6 34284 PyObject * obj1 = 0 ;
d14a1e28
RD
34285 char *kwnames[] = {
34286 (char *) "self",(char *) "ratio", NULL
34287 };
34288
994141e6 34289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34292 arg2 = (float) SWIG_AsFloat(obj1);
34293 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34294 {
34295 PyThreadState* __tstate = wxPyBeginAllowThreads();
34296 (arg1)->SetRatio(arg2);
34297
34298 wxPyEndAllowThreads(__tstate);
34299 if (PyErr_Occurred()) SWIG_fail;
34300 }
34301 Py_INCREF(Py_None); resultobj = Py_None;
34302 return resultobj;
34303 fail:
34304 return NULL;
34305}
34306
34307
34308static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
34309 PyObject *resultobj;
34310 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34311 float result;
34312 PyObject * obj0 = 0 ;
34313 char *kwnames[] = {
34314 (char *) "self", NULL
34315 };
34316
34317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
15afbcd0
RD
34318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34320 {
34321 PyThreadState* __tstate = wxPyBeginAllowThreads();
34322 result = (float)(arg1)->GetRatio();
34323
34324 wxPyEndAllowThreads(__tstate);
34325 if (PyErr_Occurred()) SWIG_fail;
34326 }
15afbcd0 34327 resultobj = SWIG_FromFloat((float)result);
d14a1e28
RD
34328 return resultobj;
34329 fail:
34330 return NULL;
34331}
34332
34333
34334static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34335 PyObject *resultobj;
34336 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34337 bool result;
34338 PyObject * obj0 = 0 ;
34339 char *kwnames[] = {
34340 (char *) "self", NULL
34341 };
34342
34343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
34344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34346 {
34347 PyThreadState* __tstate = wxPyBeginAllowThreads();
34348 result = (bool)(arg1)->IsWindow();
34349
34350 wxPyEndAllowThreads(__tstate);
34351 if (PyErr_Occurred()) SWIG_fail;
34352 }
4f89f6a3
RD
34353 {
34354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34355 }
d14a1e28
RD
34356 return resultobj;
34357 fail:
34358 return NULL;
34359}
34360
34361
34362static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34363 PyObject *resultobj;
34364 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34365 bool result;
34366 PyObject * obj0 = 0 ;
34367 char *kwnames[] = {
34368 (char *) "self", NULL
34369 };
34370
34371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34374 {
34375 PyThreadState* __tstate = wxPyBeginAllowThreads();
34376 result = (bool)(arg1)->IsSizer();
34377
34378 wxPyEndAllowThreads(__tstate);
34379 if (PyErr_Occurred()) SWIG_fail;
34380 }
4f89f6a3
RD
34381 {
34382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34383 }
d14a1e28
RD
34384 return resultobj;
34385 fail:
34386 return NULL;
34387}
34388
34389
34390static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34391 PyObject *resultobj;
34392 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34393 bool result;
34394 PyObject * obj0 = 0 ;
34395 char *kwnames[] = {
34396 (char *) "self", NULL
34397 };
34398
34399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34402 {
34403 PyThreadState* __tstate = wxPyBeginAllowThreads();
34404 result = (bool)(arg1)->IsSpacer();
34405
34406 wxPyEndAllowThreads(__tstate);
34407 if (PyErr_Occurred()) SWIG_fail;
34408 }
4f89f6a3
RD
34409 {
34410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34411 }
d14a1e28
RD
34412 return resultobj;
34413 fail:
34414 return NULL;
34415}
34416
34417
34418static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34419 PyObject *resultobj;
34420 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34421 int arg2 ;
34422 PyObject * obj0 = 0 ;
994141e6 34423 PyObject * obj1 = 0 ;
d14a1e28
RD
34424 char *kwnames[] = {
34425 (char *) "self",(char *) "proportion", NULL
34426 };
34427
994141e6 34428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34431 arg2 = (int) SWIG_AsInt(obj1);
34432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34433 {
34434 PyThreadState* __tstate = wxPyBeginAllowThreads();
34435 (arg1)->SetProportion(arg2);
34436
34437 wxPyEndAllowThreads(__tstate);
34438 if (PyErr_Occurred()) SWIG_fail;
34439 }
34440 Py_INCREF(Py_None); resultobj = Py_None;
34441 return resultobj;
34442 fail:
34443 return NULL;
34444}
34445
34446
34447static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34448 PyObject *resultobj;
34449 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34450 int result;
34451 PyObject * obj0 = 0 ;
34452 char *kwnames[] = {
34453 (char *) "self", NULL
34454 };
34455
34456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
15afbcd0
RD
34457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34459 {
34460 PyThreadState* __tstate = wxPyBeginAllowThreads();
34461 result = (int)(arg1)->GetProportion();
34462
34463 wxPyEndAllowThreads(__tstate);
34464 if (PyErr_Occurred()) SWIG_fail;
34465 }
15afbcd0 34466 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34467 return resultobj;
34468 fail:
34469 return NULL;
34470}
34471
34472
34473static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34474 PyObject *resultobj;
34475 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34476 int arg2 ;
34477 PyObject * obj0 = 0 ;
994141e6 34478 PyObject * obj1 = 0 ;
d14a1e28
RD
34479 char *kwnames[] = {
34480 (char *) "self",(char *) "flag", NULL
34481 };
34482
994141e6 34483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34486 arg2 = (int) SWIG_AsInt(obj1);
34487 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34488 {
34489 PyThreadState* __tstate = wxPyBeginAllowThreads();
34490 (arg1)->SetFlag(arg2);
34491
34492 wxPyEndAllowThreads(__tstate);
34493 if (PyErr_Occurred()) SWIG_fail;
34494 }
34495 Py_INCREF(Py_None); resultobj = Py_None;
34496 return resultobj;
34497 fail:
34498 return NULL;
34499}
34500
34501
34502static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34503 PyObject *resultobj;
34504 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34505 int result;
34506 PyObject * obj0 = 0 ;
34507 char *kwnames[] = {
34508 (char *) "self", NULL
34509 };
34510
34511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
34512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34514 {
34515 PyThreadState* __tstate = wxPyBeginAllowThreads();
34516 result = (int)(arg1)->GetFlag();
34517
34518 wxPyEndAllowThreads(__tstate);
34519 if (PyErr_Occurred()) SWIG_fail;
34520 }
15afbcd0 34521 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34522 return resultobj;
34523 fail:
34524 return NULL;
34525}
34526
34527
34528static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34529 PyObject *resultobj;
34530 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34531 int arg2 ;
34532 PyObject * obj0 = 0 ;
994141e6 34533 PyObject * obj1 = 0 ;
d14a1e28
RD
34534 char *kwnames[] = {
34535 (char *) "self",(char *) "border", NULL
34536 };
34537
994141e6 34538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34541 arg2 = (int) SWIG_AsInt(obj1);
34542 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34543 {
34544 PyThreadState* __tstate = wxPyBeginAllowThreads();
34545 (arg1)->SetBorder(arg2);
34546
34547 wxPyEndAllowThreads(__tstate);
34548 if (PyErr_Occurred()) SWIG_fail;
34549 }
34550 Py_INCREF(Py_None); resultobj = Py_None;
34551 return resultobj;
34552 fail:
34553 return NULL;
34554}
34555
34556
34557static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34558 PyObject *resultobj;
34559 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34560 int result;
34561 PyObject * obj0 = 0 ;
34562 char *kwnames[] = {
34563 (char *) "self", NULL
34564 };
34565
34566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
15afbcd0
RD
34567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34569 {
34570 PyThreadState* __tstate = wxPyBeginAllowThreads();
34571 result = (int)(arg1)->GetBorder();
34572
34573 wxPyEndAllowThreads(__tstate);
34574 if (PyErr_Occurred()) SWIG_fail;
34575 }
15afbcd0 34576 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34577 return resultobj;
34578 fail:
34579 return NULL;
34580}
34581
34582
34583static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34584 PyObject *resultobj;
34585 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34586 wxWindow *result;
34587 PyObject * obj0 = 0 ;
34588 char *kwnames[] = {
34589 (char *) "self", NULL
34590 };
34591
34592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
34593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34595 {
34596 PyThreadState* __tstate = wxPyBeginAllowThreads();
34597 result = (wxWindow *)(arg1)->GetWindow();
34598
34599 wxPyEndAllowThreads(__tstate);
34600 if (PyErr_Occurred()) SWIG_fail;
34601 }
34602 {
412d302d 34603 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
34604 }
34605 return resultobj;
34606 fail:
34607 return NULL;
34608}
34609
34610
34611static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34612 PyObject *resultobj;
34613 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34614 wxWindow *arg2 = (wxWindow *) 0 ;
34615 PyObject * obj0 = 0 ;
34616 PyObject * obj1 = 0 ;
34617 char *kwnames[] = {
34618 (char *) "self",(char *) "window", NULL
34619 };
34620
34621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34626 {
34627 PyThreadState* __tstate = wxPyBeginAllowThreads();
34628 (arg1)->SetWindow(arg2);
34629
34630 wxPyEndAllowThreads(__tstate);
34631 if (PyErr_Occurred()) SWIG_fail;
34632 }
34633 Py_INCREF(Py_None); resultobj = Py_None;
34634 return resultobj;
34635 fail:
34636 return NULL;
34637}
34638
34639
34640static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34641 PyObject *resultobj;
34642 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34643 wxSizer *result;
34644 PyObject * obj0 = 0 ;
34645 char *kwnames[] = {
34646 (char *) "self", NULL
34647 };
34648
34649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34652 {
34653 PyThreadState* __tstate = wxPyBeginAllowThreads();
34654 result = (wxSizer *)(arg1)->GetSizer();
34655
34656 wxPyEndAllowThreads(__tstate);
34657 if (PyErr_Occurred()) SWIG_fail;
34658 }
34659 {
412d302d 34660 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
34661 }
34662 return resultobj;
34663 fail:
34664 return NULL;
34665}
34666
34667
34668static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34669 PyObject *resultobj;
34670 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34671 wxSizer *arg2 = (wxSizer *) 0 ;
34672 PyObject * obj0 = 0 ;
34673 PyObject * obj1 = 0 ;
34674 char *kwnames[] = {
34675 (char *) "self",(char *) "sizer", NULL
34676 };
34677
34678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
34682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34683 {
34684 PyThreadState* __tstate = wxPyBeginAllowThreads();
34685 (arg1)->SetSizer(arg2);
34686
34687 wxPyEndAllowThreads(__tstate);
34688 if (PyErr_Occurred()) SWIG_fail;
34689 }
34690 Py_INCREF(Py_None); resultobj = Py_None;
34691 return resultobj;
34692 fail:
34693 return NULL;
34694}
34695
34696
34697static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34698 PyObject *resultobj;
34699 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34700 wxSize *result;
34701 PyObject * obj0 = 0 ;
34702 char *kwnames[] = {
34703 (char *) "self", NULL
34704 };
34705
34706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34709 {
34710 PyThreadState* __tstate = wxPyBeginAllowThreads();
34711 {
34712 wxSize const &_result_ref = (arg1)->GetSpacer();
34713 result = (wxSize *) &_result_ref;
34714 }
34715
34716 wxPyEndAllowThreads(__tstate);
34717 if (PyErr_Occurred()) SWIG_fail;
34718 }
15afbcd0 34719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
34720 return resultobj;
34721 fail:
34722 return NULL;
34723}
34724
34725
34726static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34727 PyObject *resultobj;
34728 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34729 wxSize *arg2 = 0 ;
34730 wxSize temp2 ;
34731 PyObject * obj0 = 0 ;
34732 PyObject * obj1 = 0 ;
34733 char *kwnames[] = {
34734 (char *) "self",(char *) "size", NULL
34735 };
34736
34737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34740 {
34741 arg2 = &temp2;
34742 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34743 }
34744 {
34745 PyThreadState* __tstate = wxPyBeginAllowThreads();
34746 (arg1)->SetSpacer((wxSize const &)*arg2);
34747
34748 wxPyEndAllowThreads(__tstate);
34749 if (PyErr_Occurred()) SWIG_fail;
34750 }
34751 Py_INCREF(Py_None); resultobj = Py_None;
34752 return resultobj;
34753 fail:
34754 return NULL;
34755}
34756
34757
34758static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
34759 PyObject *resultobj;
34760 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34761 bool arg2 ;
34762 PyObject * obj0 = 0 ;
34763 PyObject * obj1 = 0 ;
34764 char *kwnames[] = {
34765 (char *) "self",(char *) "show", NULL
34766 };
34767
34768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34771 arg2 = (bool) SWIG_AsBool(obj1);
34772 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34773 {
34774 PyThreadState* __tstate = wxPyBeginAllowThreads();
34775 (arg1)->Show(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_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
34788 PyObject *resultobj;
34789 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34790 bool result;
34791 PyObject * obj0 = 0 ;
34792 char *kwnames[] = {
34793 (char *) "self", NULL
34794 };
34795
34796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
34797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34799 {
34800 PyThreadState* __tstate = wxPyBeginAllowThreads();
34801 result = (bool)(arg1)->IsShown();
34802
34803 wxPyEndAllowThreads(__tstate);
34804 if (PyErr_Occurred()) SWIG_fail;
34805 }
4f89f6a3
RD
34806 {
34807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34808 }
d14a1e28
RD
34809 return resultobj;
34810 fail:
34811 return NULL;
34812}
34813
34814
34815static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34816 PyObject *resultobj;
34817 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34818 wxPoint result;
34819 PyObject * obj0 = 0 ;
34820 char *kwnames[] = {
34821 (char *) "self", NULL
34822 };
34823
34824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
34825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34827 {
34828 PyThreadState* __tstate = wxPyBeginAllowThreads();
34829 result = (arg1)->GetPosition();
34830
34831 wxPyEndAllowThreads(__tstate);
34832 if (PyErr_Occurred()) SWIG_fail;
34833 }
34834 {
34835 wxPoint * resultptr;
34836 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 34837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
34838 }
34839 return resultobj;
34840 fail:
34841 return NULL;
34842}
34843
34844
34845static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
34846 PyObject *resultobj;
34847 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34848 PyObject *result;
34849 PyObject * obj0 = 0 ;
34850 char *kwnames[] = {
34851 (char *) "self", NULL
34852 };
34853
34854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
15afbcd0
RD
34855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34857 {
34858 PyThreadState* __tstate = wxPyBeginAllowThreads();
34859 result = (PyObject *)wxSizerItem_GetUserData(arg1);
34860
34861 wxPyEndAllowThreads(__tstate);
34862 if (PyErr_Occurred()) SWIG_fail;
34863 }
34864 resultobj = result;
34865 return resultobj;
34866 fail:
34867 return NULL;
34868}
34869
34870
34871static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
34872 PyObject *obj;
34873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34874 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
34875 Py_INCREF(obj);
34876 return Py_BuildValue((char *)"");
34877}
34878static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
34879 PyObject *resultobj;
34880 wxSizer *arg1 = (wxSizer *) 0 ;
34881 PyObject *arg2 = (PyObject *) 0 ;
34882 PyObject * obj0 = 0 ;
34883 PyObject * obj1 = 0 ;
34884 char *kwnames[] = {
34885 (char *) "self",(char *) "_self", NULL
34886 };
34887
34888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34891 arg2 = obj1;
34892 {
34893 PyThreadState* __tstate = wxPyBeginAllowThreads();
34894 wxSizer__setOORInfo(arg1,arg2);
34895
34896 wxPyEndAllowThreads(__tstate);
34897 if (PyErr_Occurred()) SWIG_fail;
34898 }
34899 Py_INCREF(Py_None); resultobj = Py_None;
34900 return resultobj;
34901 fail:
34902 return NULL;
34903}
34904
34905
34906static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
34907 PyObject *resultobj;
34908 wxSizer *arg1 = (wxSizer *) 0 ;
34909 PyObject *arg2 = (PyObject *) 0 ;
34910 int arg3 = (int) 0 ;
34911 int arg4 = (int) 0 ;
34912 int arg5 = (int) 0 ;
34913 PyObject *arg6 = (PyObject *) NULL ;
34914 PyObject * obj0 = 0 ;
34915 PyObject * obj1 = 0 ;
994141e6
RD
34916 PyObject * obj2 = 0 ;
34917 PyObject * obj3 = 0 ;
34918 PyObject * obj4 = 0 ;
d14a1e28
RD
34919 PyObject * obj5 = 0 ;
34920 char *kwnames[] = {
34921 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34922 };
34923
994141e6 34924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
34925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34927 arg2 = obj1;
994141e6 34928 if (obj2) {
15afbcd0
RD
34929 arg3 = (int) SWIG_AsInt(obj2);
34930 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34931 }
34932 if (obj3) {
15afbcd0
RD
34933 arg4 = (int) SWIG_AsInt(obj3);
34934 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34935 }
34936 if (obj4) {
15afbcd0
RD
34937 arg5 = (int) SWIG_AsInt(obj4);
34938 if (PyErr_Occurred()) SWIG_fail;
994141e6 34939 }
d14a1e28
RD
34940 if (obj5) {
34941 arg6 = obj5;
34942 }
34943 {
34944 PyThreadState* __tstate = wxPyBeginAllowThreads();
34945 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
34946
34947 wxPyEndAllowThreads(__tstate);
34948 if (PyErr_Occurred()) SWIG_fail;
34949 }
34950 Py_INCREF(Py_None); resultobj = Py_None;
34951 return resultobj;
34952 fail:
34953 return NULL;
34954}
34955
34956
34957static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
34958 PyObject *resultobj;
34959 wxSizer *arg1 = (wxSizer *) 0 ;
34960 int arg2 ;
34961 PyObject *arg3 = (PyObject *) 0 ;
34962 int arg4 = (int) 0 ;
34963 int arg5 = (int) 0 ;
34964 int arg6 = (int) 0 ;
34965 PyObject *arg7 = (PyObject *) NULL ;
34966 PyObject * obj0 = 0 ;
994141e6 34967 PyObject * obj1 = 0 ;
d14a1e28 34968 PyObject * obj2 = 0 ;
994141e6
RD
34969 PyObject * obj3 = 0 ;
34970 PyObject * obj4 = 0 ;
34971 PyObject * obj5 = 0 ;
d14a1e28
RD
34972 PyObject * obj6 = 0 ;
34973 char *kwnames[] = {
34974 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34975 };
34976
994141e6 34977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
34978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34980 arg2 = (int) SWIG_AsInt(obj1);
34981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 34982 arg3 = obj2;
994141e6 34983 if (obj3) {
15afbcd0
RD
34984 arg4 = (int) SWIG_AsInt(obj3);
34985 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34986 }
34987 if (obj4) {
15afbcd0
RD
34988 arg5 = (int) SWIG_AsInt(obj4);
34989 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34990 }
34991 if (obj5) {
15afbcd0
RD
34992 arg6 = (int) SWIG_AsInt(obj5);
34993 if (PyErr_Occurred()) SWIG_fail;
994141e6 34994 }
d14a1e28
RD
34995 if (obj6) {
34996 arg7 = obj6;
34997 }
34998 {
34999 PyThreadState* __tstate = wxPyBeginAllowThreads();
35000 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
35001
35002 wxPyEndAllowThreads(__tstate);
35003 if (PyErr_Occurred()) SWIG_fail;
35004 }
35005 Py_INCREF(Py_None); resultobj = Py_None;
35006 return resultobj;
35007 fail:
35008 return NULL;
35009}
35010
35011
35012static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
35013 PyObject *resultobj;
35014 wxSizer *arg1 = (wxSizer *) 0 ;
35015 PyObject *arg2 = (PyObject *) 0 ;
35016 int arg3 = (int) 0 ;
35017 int arg4 = (int) 0 ;
35018 int arg5 = (int) 0 ;
35019 PyObject *arg6 = (PyObject *) NULL ;
35020 PyObject * obj0 = 0 ;
35021 PyObject * obj1 = 0 ;
994141e6
RD
35022 PyObject * obj2 = 0 ;
35023 PyObject * obj3 = 0 ;
35024 PyObject * obj4 = 0 ;
d14a1e28
RD
35025 PyObject * obj5 = 0 ;
35026 char *kwnames[] = {
35027 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35028 };
35029
994141e6 35030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
35031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35033 arg2 = obj1;
994141e6 35034 if (obj2) {
15afbcd0
RD
35035 arg3 = (int) SWIG_AsInt(obj2);
35036 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35037 }
35038 if (obj3) {
15afbcd0
RD
35039 arg4 = (int) SWIG_AsInt(obj3);
35040 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35041 }
35042 if (obj4) {
15afbcd0
RD
35043 arg5 = (int) SWIG_AsInt(obj4);
35044 if (PyErr_Occurred()) SWIG_fail;
994141e6 35045 }
d14a1e28
RD
35046 if (obj5) {
35047 arg6 = obj5;
35048 }
35049 {
35050 PyThreadState* __tstate = wxPyBeginAllowThreads();
35051 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
35052
35053 wxPyEndAllowThreads(__tstate);
35054 if (PyErr_Occurred()) SWIG_fail;
35055 }
35056 Py_INCREF(Py_None); resultobj = Py_None;
35057 return resultobj;
35058 fail:
35059 return NULL;
35060}
35061
35062
35063static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
35064 PyObject *resultobj;
35065 wxSizer *arg1 = (wxSizer *) 0 ;
35066 PyObject *arg2 = (PyObject *) 0 ;
35067 bool result;
35068 PyObject * obj0 = 0 ;
35069 PyObject * obj1 = 0 ;
35070 char *kwnames[] = {
35071 (char *) "self",(char *) "item", NULL
35072 };
35073
35074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35077 arg2 = obj1;
35078 {
35079 PyThreadState* __tstate = wxPyBeginAllowThreads();
35080 result = (bool)wxSizer_Remove(arg1,arg2);
35081
35082 wxPyEndAllowThreads(__tstate);
35083 if (PyErr_Occurred()) SWIG_fail;
35084 }
4f89f6a3
RD
35085 {
35086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35087 }
d14a1e28
RD
35088 return resultobj;
35089 fail:
35090 return NULL;
35091}
35092
35093
1c0f361b
RD
35094static PyObject *_wrap_Sizer_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
35095 PyObject *resultobj;
35096 wxSizer *arg1 = (wxSizer *) 0 ;
35097 PyObject *arg2 = (PyObject *) 0 ;
35098 bool result;
35099 PyObject * obj0 = 0 ;
35100 PyObject * obj1 = 0 ;
35101 char *kwnames[] = {
35102 (char *) "self",(char *) "item", NULL
35103 };
35104
35105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Detach",kwnames,&obj0,&obj1)) goto fail;
35106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35108 arg2 = obj1;
35109 {
35110 PyThreadState* __tstate = wxPyBeginAllowThreads();
35111 result = (bool)wxSizer_Detach(arg1,arg2);
35112
35113 wxPyEndAllowThreads(__tstate);
35114 if (PyErr_Occurred()) SWIG_fail;
35115 }
35116 {
35117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35118 }
35119 return resultobj;
35120 fail:
35121 return NULL;
35122}
35123
35124
d14a1e28
RD
35125static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35126 PyObject *resultobj;
35127 wxSizer *arg1 = (wxSizer *) 0 ;
35128 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce
RD
35129 wxSize *arg3 = 0 ;
35130 wxSize temp3 ;
d14a1e28
RD
35131 PyObject * obj0 = 0 ;
35132 PyObject * obj1 = 0 ;
35133 PyObject * obj2 = 0 ;
35134 char *kwnames[] = {
35135 (char *) "self",(char *) "item",(char *) "size", NULL
35136 };
35137
35138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35141 arg2 = obj1;
e811c8ce
RD
35142 {
35143 arg3 = &temp3;
35144 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
35145 }
d14a1e28
RD
35146 {
35147 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 35148 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
35149
35150 wxPyEndAllowThreads(__tstate);
35151 if (PyErr_Occurred()) SWIG_fail;
35152 }
35153 Py_INCREF(Py_None); resultobj = Py_None;
35154 return resultobj;
35155 fail:
35156 return NULL;
35157}
35158
35159
35160static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35161 PyObject *resultobj;
35162 wxSizer *arg1 = (wxSizer *) 0 ;
35163 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
35164 PyObject * obj0 = 0 ;
35165 PyObject * obj1 = 0 ;
35166 char *kwnames[] = {
35167 (char *) "self",(char *) "item", NULL
35168 };
35169
35170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35175 {
35176 PyThreadState* __tstate = wxPyBeginAllowThreads();
35177 (arg1)->Add(arg2);
35178
35179 wxPyEndAllowThreads(__tstate);
35180 if (PyErr_Occurred()) SWIG_fail;
35181 }
35182 Py_INCREF(Py_None); resultobj = Py_None;
35183 return resultobj;
35184 fail:
35185 return NULL;
35186}
35187
35188
35189static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35190 PyObject *resultobj;
35191 wxSizer *arg1 = (wxSizer *) 0 ;
35192 size_t arg2 ;
35193 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
35194 PyObject * obj0 = 0 ;
35195 PyObject * obj1 = 0 ;
35196 PyObject * obj2 = 0 ;
35197 char *kwnames[] = {
35198 (char *) "self",(char *) "index",(char *) "item", NULL
35199 };
35200
35201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35204 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35205 if (PyErr_Occurred()) SWIG_fail;
35206 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
35207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35208 {
35209 PyThreadState* __tstate = wxPyBeginAllowThreads();
35210 (arg1)->Insert(arg2,arg3);
35211
35212 wxPyEndAllowThreads(__tstate);
35213 if (PyErr_Occurred()) SWIG_fail;
35214 }
35215 Py_INCREF(Py_None); resultobj = Py_None;
35216 return resultobj;
35217 fail:
35218 return NULL;
35219}
35220
35221
35222static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35223 PyObject *resultobj;
35224 wxSizer *arg1 = (wxSizer *) 0 ;
35225 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
35226 PyObject * obj0 = 0 ;
35227 PyObject * obj1 = 0 ;
35228 char *kwnames[] = {
35229 (char *) "self",(char *) "item", NULL
35230 };
35231
35232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35235 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35237 {
35238 PyThreadState* __tstate = wxPyBeginAllowThreads();
35239 (arg1)->Prepend(arg2);
35240
35241 wxPyEndAllowThreads(__tstate);
35242 if (PyErr_Occurred()) SWIG_fail;
35243 }
35244 Py_INCREF(Py_None); resultobj = Py_None;
35245 return resultobj;
35246 fail:
35247 return NULL;
35248}
35249
35250
35251static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
35252 PyObject *resultobj;
35253 wxSizer *arg1 = (wxSizer *) 0 ;
35254 int arg2 ;
35255 int arg3 ;
35256 int arg4 ;
35257 int arg5 ;
35258 PyObject * obj0 = 0 ;
994141e6
RD
35259 PyObject * obj1 = 0 ;
35260 PyObject * obj2 = 0 ;
35261 PyObject * obj3 = 0 ;
35262 PyObject * obj4 = 0 ;
d14a1e28
RD
35263 char *kwnames[] = {
35264 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35265 };
35266
994141e6 35267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
35268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35270 arg2 = (int) SWIG_AsInt(obj1);
35271 if (PyErr_Occurred()) SWIG_fail;
35272 arg3 = (int) SWIG_AsInt(obj2);
35273 if (PyErr_Occurred()) SWIG_fail;
35274 arg4 = (int) SWIG_AsInt(obj3);
35275 if (PyErr_Occurred()) SWIG_fail;
35276 arg5 = (int) SWIG_AsInt(obj4);
35277 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35278 {
35279 PyThreadState* __tstate = wxPyBeginAllowThreads();
35280 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
35281
35282 wxPyEndAllowThreads(__tstate);
35283 if (PyErr_Occurred()) SWIG_fail;
35284 }
35285 Py_INCREF(Py_None); resultobj = Py_None;
35286 return resultobj;
35287 fail:
35288 return NULL;
35289}
35290
35291
35292static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35293 PyObject *resultobj;
35294 wxSizer *arg1 = (wxSizer *) 0 ;
1fc9204a
RD
35295 wxSize *arg2 = 0 ;
35296 wxSize temp2 ;
d14a1e28
RD
35297 PyObject * obj0 = 0 ;
35298 PyObject * obj1 = 0 ;
35299 char *kwnames[] = {
35300 (char *) "self",(char *) "size", NULL
35301 };
35302
35303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1fc9204a
RD
35306 {
35307 arg2 = &temp2;
35308 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
35309 }
d14a1e28
RD
35310 {
35311 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fc9204a 35312 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
35313
35314 wxPyEndAllowThreads(__tstate);
35315 if (PyErr_Occurred()) SWIG_fail;
35316 }
35317 Py_INCREF(Py_None); resultobj = Py_None;
35318 return resultobj;
35319 fail:
35320 return NULL;
35321}
35322
35323
35324static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35325 PyObject *resultobj;
35326 wxSizer *arg1 = (wxSizer *) 0 ;
35327 wxSize result;
35328 PyObject * obj0 = 0 ;
35329 char *kwnames[] = {
35330 (char *) "self", NULL
35331 };
35332
35333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
35334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35336 {
35337 PyThreadState* __tstate = wxPyBeginAllowThreads();
35338 result = (arg1)->GetSize();
35339
35340 wxPyEndAllowThreads(__tstate);
35341 if (PyErr_Occurred()) SWIG_fail;
35342 }
35343 {
35344 wxSize * resultptr;
35345 resultptr = new wxSize((wxSize &) result);
15afbcd0 35346 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35347 }
35348 return resultobj;
35349 fail:
35350 return NULL;
35351}
35352
35353
35354static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
35355 PyObject *resultobj;
35356 wxSizer *arg1 = (wxSizer *) 0 ;
35357 wxPoint result;
35358 PyObject * obj0 = 0 ;
35359 char *kwnames[] = {
35360 (char *) "self", NULL
35361 };
35362
35363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
35364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35366 {
35367 PyThreadState* __tstate = wxPyBeginAllowThreads();
35368 result = (arg1)->GetPosition();
35369
35370 wxPyEndAllowThreads(__tstate);
35371 if (PyErr_Occurred()) SWIG_fail;
35372 }
35373 {
35374 wxPoint * resultptr;
35375 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 35376 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
35377 }
35378 return resultobj;
35379 fail:
35380 return NULL;
35381}
35382
35383
35384static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35385 PyObject *resultobj;
35386 wxSizer *arg1 = (wxSizer *) 0 ;
35387 wxSize result;
35388 PyObject * obj0 = 0 ;
35389 char *kwnames[] = {
35390 (char *) "self", NULL
35391 };
35392
35393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
35394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35396 {
35397 PyThreadState* __tstate = wxPyBeginAllowThreads();
35398 result = (arg1)->GetMinSize();
35399
35400 wxPyEndAllowThreads(__tstate);
35401 if (PyErr_Occurred()) SWIG_fail;
35402 }
35403 {
35404 wxSize * resultptr;
35405 resultptr = new wxSize((wxSize &) result);
15afbcd0 35406 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35407 }
35408 return resultobj;
35409 fail:
35410 return NULL;
35411}
35412
35413
35414static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35415 PyObject *resultobj;
35416 wxSizer *arg1 = (wxSizer *) 0 ;
35417 PyObject * obj0 = 0 ;
35418 char *kwnames[] = {
35419 (char *) "self", NULL
35420 };
35421
35422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
35423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35425 {
35426 PyThreadState* __tstate = wxPyBeginAllowThreads();
35427 (arg1)->RecalcSizes();
35428
35429 wxPyEndAllowThreads(__tstate);
35430 if (PyErr_Occurred()) SWIG_fail;
35431 }
35432 Py_INCREF(Py_None); resultobj = Py_None;
35433 return resultobj;
35434 fail:
35435 return NULL;
35436}
35437
35438
35439static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35440 PyObject *resultobj;
35441 wxSizer *arg1 = (wxSizer *) 0 ;
35442 wxSize result;
35443 PyObject * obj0 = 0 ;
35444 char *kwnames[] = {
35445 (char *) "self", NULL
35446 };
35447
35448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
35449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35451 {
35452 PyThreadState* __tstate = wxPyBeginAllowThreads();
35453 result = (arg1)->CalcMin();
35454
35455 wxPyEndAllowThreads(__tstate);
35456 if (PyErr_Occurred()) SWIG_fail;
35457 }
35458 {
35459 wxSize * resultptr;
35460 resultptr = new wxSize((wxSize &) result);
15afbcd0 35461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35462 }
35463 return resultobj;
35464 fail:
35465 return NULL;
35466}
35467
35468
35469static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
35470 PyObject *resultobj;
35471 wxSizer *arg1 = (wxSizer *) 0 ;
35472 PyObject * obj0 = 0 ;
35473 char *kwnames[] = {
35474 (char *) "self", NULL
35475 };
35476
35477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
35478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35480 {
35481 PyThreadState* __tstate = wxPyBeginAllowThreads();
35482 (arg1)->Layout();
35483
35484 wxPyEndAllowThreads(__tstate);
35485 if (PyErr_Occurred()) SWIG_fail;
35486 }
35487 Py_INCREF(Py_None); resultobj = Py_None;
35488 return resultobj;
35489 fail:
35490 return NULL;
35491}
35492
35493
35494static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
35495 PyObject *resultobj;
35496 wxSizer *arg1 = (wxSizer *) 0 ;
35497 wxWindow *arg2 = (wxWindow *) 0 ;
35498 wxSize result;
35499 PyObject * obj0 = 0 ;
35500 PyObject * obj1 = 0 ;
35501 char *kwnames[] = {
35502 (char *) "self",(char *) "window", NULL
35503 };
35504
35505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35508 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35510 {
35511 PyThreadState* __tstate = wxPyBeginAllowThreads();
35512 result = (arg1)->Fit(arg2);
35513
35514 wxPyEndAllowThreads(__tstate);
35515 if (PyErr_Occurred()) SWIG_fail;
35516 }
35517 {
35518 wxSize * resultptr;
35519 resultptr = new wxSize((wxSize &) result);
15afbcd0 35520 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35521 }
35522 return resultobj;
35523 fail:
35524 return NULL;
35525}
35526
35527
35528static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
35529 PyObject *resultobj;
35530 wxSizer *arg1 = (wxSizer *) 0 ;
35531 wxWindow *arg2 = (wxWindow *) 0 ;
35532 PyObject * obj0 = 0 ;
35533 PyObject * obj1 = 0 ;
35534 char *kwnames[] = {
35535 (char *) "self",(char *) "window", NULL
35536 };
35537
35538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35541 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35543 {
35544 PyThreadState* __tstate = wxPyBeginAllowThreads();
35545 (arg1)->FitInside(arg2);
35546
35547 wxPyEndAllowThreads(__tstate);
35548 if (PyErr_Occurred()) SWIG_fail;
35549 }
35550 Py_INCREF(Py_None); resultobj = Py_None;
35551 return resultobj;
35552 fail:
35553 return NULL;
35554}
35555
35556
35557static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35558 PyObject *resultobj;
35559 wxSizer *arg1 = (wxSizer *) 0 ;
35560 wxWindow *arg2 = (wxWindow *) 0 ;
35561 PyObject * obj0 = 0 ;
35562 PyObject * obj1 = 0 ;
35563 char *kwnames[] = {
35564 (char *) "self",(char *) "window", NULL
35565 };
35566
35567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35572 {
35573 PyThreadState* __tstate = wxPyBeginAllowThreads();
35574 (arg1)->SetSizeHints(arg2);
35575
35576 wxPyEndAllowThreads(__tstate);
35577 if (PyErr_Occurred()) SWIG_fail;
35578 }
35579 Py_INCREF(Py_None); resultobj = Py_None;
35580 return resultobj;
35581 fail:
35582 return NULL;
35583}
35584
35585
35586static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35587 PyObject *resultobj;
35588 wxSizer *arg1 = (wxSizer *) 0 ;
35589 wxWindow *arg2 = (wxWindow *) 0 ;
35590 PyObject * obj0 = 0 ;
35591 PyObject * obj1 = 0 ;
35592 char *kwnames[] = {
35593 (char *) "self",(char *) "window", NULL
35594 };
35595
35596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35599 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35601 {
35602 PyThreadState* __tstate = wxPyBeginAllowThreads();
35603 (arg1)->SetVirtualSizeHints(arg2);
35604
35605 wxPyEndAllowThreads(__tstate);
35606 if (PyErr_Occurred()) SWIG_fail;
35607 }
35608 Py_INCREF(Py_None); resultobj = Py_None;
35609 return resultobj;
35610 fail:
35611 return NULL;
35612}
35613
35614
35615static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
35616 PyObject *resultobj;
35617 wxSizer *arg1 = (wxSizer *) 0 ;
e811c8ce 35618 bool arg2 = (bool) False ;
d14a1e28
RD
35619 PyObject * obj0 = 0 ;
35620 PyObject * obj1 = 0 ;
35621 char *kwnames[] = {
248ed943 35622 (char *) "self",(char *) "deleteWindows", NULL
d14a1e28
RD
35623 };
35624
35625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35628 if (obj1) {
15afbcd0
RD
35629 arg2 = (bool) SWIG_AsBool(obj1);
35630 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35631 }
35632 {
35633 PyThreadState* __tstate = wxPyBeginAllowThreads();
35634 (arg1)->Clear(arg2);
35635
35636 wxPyEndAllowThreads(__tstate);
35637 if (PyErr_Occurred()) SWIG_fail;
35638 }
35639 Py_INCREF(Py_None); resultobj = Py_None;
35640 return resultobj;
35641 fail:
35642 return NULL;
35643}
35644
35645
35646static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
35647 PyObject *resultobj;
35648 wxSizer *arg1 = (wxSizer *) 0 ;
35649 PyObject * obj0 = 0 ;
35650 char *kwnames[] = {
35651 (char *) "self", NULL
35652 };
35653
35654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
35655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35657 {
35658 PyThreadState* __tstate = wxPyBeginAllowThreads();
35659 (arg1)->DeleteWindows();
35660
35661 wxPyEndAllowThreads(__tstate);
35662 if (PyErr_Occurred()) SWIG_fail;
35663 }
35664 Py_INCREF(Py_None); resultobj = Py_None;
35665 return resultobj;
35666 fail:
35667 return NULL;
35668}
35669
35670
35671static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
35672 PyObject *resultobj;
35673 wxSizer *arg1 = (wxSizer *) 0 ;
35674 PyObject *result;
35675 PyObject * obj0 = 0 ;
35676 char *kwnames[] = {
35677 (char *) "self", NULL
35678 };
35679
35680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
35681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35683 {
35684 PyThreadState* __tstate = wxPyBeginAllowThreads();
35685 result = (PyObject *)wxSizer_GetChildren(arg1);
35686
35687 wxPyEndAllowThreads(__tstate);
35688 if (PyErr_Occurred()) SWIG_fail;
35689 }
35690 resultobj = result;
35691 return resultobj;
35692 fail:
35693 return NULL;
35694}
35695
35696
35697static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
35698 PyObject *resultobj;
35699 wxSizer *arg1 = (wxSizer *) 0 ;
35700 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 35701 bool arg3 = (bool) True ;
d14a1e28
RD
35702 PyObject * obj0 = 0 ;
35703 PyObject * obj1 = 0 ;
35704 PyObject * obj2 = 0 ;
35705 char *kwnames[] = {
35706 (char *) "self",(char *) "item",(char *) "show", NULL
35707 };
35708
35709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35712 arg2 = obj1;
35713 if (obj2) {
15afbcd0
RD
35714 arg3 = (bool) SWIG_AsBool(obj2);
35715 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35716 }
35717 {
35718 PyThreadState* __tstate = wxPyBeginAllowThreads();
35719 wxSizer_Show(arg1,arg2,arg3);
35720
35721 wxPyEndAllowThreads(__tstate);
35722 if (PyErr_Occurred()) SWIG_fail;
35723 }
35724 Py_INCREF(Py_None); resultobj = Py_None;
35725 return resultobj;
35726 fail:
35727 return NULL;
35728}
35729
35730
d14a1e28
RD
35731static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
35732 PyObject *resultobj;
35733 wxSizer *arg1 = (wxSizer *) 0 ;
35734 PyObject *arg2 = (PyObject *) 0 ;
35735 bool result;
35736 PyObject * obj0 = 0 ;
35737 PyObject * obj1 = 0 ;
35738 char *kwnames[] = {
35739 (char *) "self",(char *) "item", NULL
35740 };
35741
35742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35745 arg2 = obj1;
35746 {
35747 PyThreadState* __tstate = wxPyBeginAllowThreads();
35748 result = (bool)wxSizer_IsShown(arg1,arg2);
35749
35750 wxPyEndAllowThreads(__tstate);
35751 if (PyErr_Occurred()) SWIG_fail;
35752 }
4f89f6a3
RD
35753 {
35754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35755 }
d14a1e28
RD
35756 return resultobj;
35757 fail:
35758 return NULL;
35759}
35760
35761
35762static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
35763 PyObject *resultobj;
35764 wxSizer *arg1 = (wxSizer *) 0 ;
35765 bool arg2 ;
35766 PyObject * obj0 = 0 ;
35767 PyObject * obj1 = 0 ;
35768 char *kwnames[] = {
35769 (char *) "self",(char *) "show", NULL
35770 };
35771
35772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35775 arg2 = (bool) SWIG_AsBool(obj1);
35776 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35777 {
35778 PyThreadState* __tstate = wxPyBeginAllowThreads();
35779 (arg1)->ShowItems(arg2);
35780
35781 wxPyEndAllowThreads(__tstate);
35782 if (PyErr_Occurred()) SWIG_fail;
35783 }
35784 Py_INCREF(Py_None); resultobj = Py_None;
35785 return resultobj;
35786 fail:
35787 return NULL;
35788}
35789
35790
35791static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
35792 PyObject *obj;
35793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35794 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
35795 Py_INCREF(obj);
35796 return Py_BuildValue((char *)"");
35797}
35798static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35799 PyObject *resultobj;
35800 wxPySizer *result;
35801 char *kwnames[] = {
35802 NULL
35803 };
35804
35805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
35806 {
35807 PyThreadState* __tstate = wxPyBeginAllowThreads();
35808 result = (wxPySizer *)new wxPySizer();
35809
35810 wxPyEndAllowThreads(__tstate);
35811 if (PyErr_Occurred()) SWIG_fail;
35812 }
15afbcd0 35813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
d14a1e28
RD
35814 return resultobj;
35815 fail:
35816 return NULL;
35817}
35818
35819
35820static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
35821 PyObject *resultobj;
35822 wxPySizer *arg1 = (wxPySizer *) 0 ;
35823 PyObject *arg2 = (PyObject *) 0 ;
35824 PyObject *arg3 = (PyObject *) 0 ;
35825 PyObject * obj0 = 0 ;
35826 PyObject * obj1 = 0 ;
35827 PyObject * obj2 = 0 ;
35828 char *kwnames[] = {
35829 (char *) "self",(char *) "self",(char *) "_class", NULL
35830 };
35831
35832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
35834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35835 arg2 = obj1;
35836 arg3 = obj2;
35837 {
35838 PyThreadState* __tstate = wxPyBeginAllowThreads();
35839 (arg1)->_setCallbackInfo(arg2,arg3);
35840
35841 wxPyEndAllowThreads(__tstate);
35842 if (PyErr_Occurred()) SWIG_fail;
35843 }
35844 Py_INCREF(Py_None); resultobj = Py_None;
35845 return resultobj;
35846 fail:
35847 return NULL;
35848}
35849
35850
35851static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
35852 PyObject *obj;
35853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35854 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
35855 Py_INCREF(obj);
35856 return Py_BuildValue((char *)"");
35857}
35858static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35859 PyObject *resultobj;
35860 int arg1 = (int) wxHORIZONTAL ;
35861 wxBoxSizer *result;
994141e6 35862 PyObject * obj0 = 0 ;
d14a1e28
RD
35863 char *kwnames[] = {
35864 (char *) "orient", NULL
35865 };
35866
994141e6
RD
35867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
35868 if (obj0) {
15afbcd0
RD
35869 arg1 = (int) SWIG_AsInt(obj0);
35870 if (PyErr_Occurred()) SWIG_fail;
994141e6 35871 }
d14a1e28
RD
35872 {
35873 PyThreadState* __tstate = wxPyBeginAllowThreads();
35874 result = (wxBoxSizer *)new wxBoxSizer(arg1);
35875
35876 wxPyEndAllowThreads(__tstate);
35877 if (PyErr_Occurred()) SWIG_fail;
35878 }
15afbcd0 35879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
d14a1e28
RD
35880 return resultobj;
35881 fail:
35882 return NULL;
35883}
35884
35885
35886static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
35887 PyObject *resultobj;
35888 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35889 int result;
35890 PyObject * obj0 = 0 ;
35891 char *kwnames[] = {
35892 (char *) "self", NULL
35893 };
35894
35895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
35896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35898 {
35899 PyThreadState* __tstate = wxPyBeginAllowThreads();
35900 result = (int)(arg1)->GetOrientation();
35901
35902 wxPyEndAllowThreads(__tstate);
35903 if (PyErr_Occurred()) SWIG_fail;
35904 }
15afbcd0 35905 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35906 return resultobj;
35907 fail:
35908 return NULL;
35909}
35910
35911
35912static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
35913 PyObject *resultobj;
35914 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35915 int arg2 ;
35916 PyObject * obj0 = 0 ;
994141e6 35917 PyObject * obj1 = 0 ;
d14a1e28
RD
35918 char *kwnames[] = {
35919 (char *) "self",(char *) "orient", NULL
35920 };
35921
994141e6 35922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35925 arg2 = (int) SWIG_AsInt(obj1);
35926 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35927 {
35928 PyThreadState* __tstate = wxPyBeginAllowThreads();
35929 (arg1)->SetOrientation(arg2);
35930
35931 wxPyEndAllowThreads(__tstate);
35932 if (PyErr_Occurred()) SWIG_fail;
35933 }
35934 Py_INCREF(Py_None); resultobj = Py_None;
35935 return resultobj;
35936 fail:
35937 return NULL;
35938}
35939
35940
d14a1e28
RD
35941static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
35942 PyObject *obj;
35943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35944 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
35945 Py_INCREF(obj);
35946 return Py_BuildValue((char *)"");
35947}
35948static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35949 PyObject *resultobj;
35950 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
35951 int arg2 = (int) wxHORIZONTAL ;
35952 wxStaticBoxSizer *result;
35953 PyObject * obj0 = 0 ;
994141e6 35954 PyObject * obj1 = 0 ;
d14a1e28
RD
35955 char *kwnames[] = {
35956 (char *) "box",(char *) "orient", NULL
35957 };
35958
994141e6 35959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
35961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 35962 if (obj1) {
15afbcd0
RD
35963 arg2 = (int) SWIG_AsInt(obj1);
35964 if (PyErr_Occurred()) SWIG_fail;
994141e6 35965 }
d14a1e28
RD
35966 {
35967 PyThreadState* __tstate = wxPyBeginAllowThreads();
35968 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
35969
35970 wxPyEndAllowThreads(__tstate);
35971 if (PyErr_Occurred()) SWIG_fail;
35972 }
15afbcd0 35973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
d14a1e28
RD
35974 return resultobj;
35975 fail:
35976 return NULL;
35977}
35978
35979
35980static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
35981 PyObject *resultobj;
35982 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35983 wxStaticBox *result;
35984 PyObject * obj0 = 0 ;
35985 char *kwnames[] = {
35986 (char *) "self", NULL
35987 };
35988
35989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
35990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35992 {
35993 PyThreadState* __tstate = wxPyBeginAllowThreads();
35994 result = (wxStaticBox *)(arg1)->GetStaticBox();
35995
35996 wxPyEndAllowThreads(__tstate);
35997 if (PyErr_Occurred()) SWIG_fail;
35998 }
35999 {
412d302d 36000 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
36001 }
36002 return resultobj;
36003 fail:
36004 return NULL;
36005}
36006
36007
d14a1e28
RD
36008static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
36009 PyObject *obj;
36010 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36011 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
36012 Py_INCREF(obj);
36013 return Py_BuildValue((char *)"");
36014}
36015static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36016 PyObject *resultobj;
36017 int arg1 = (int) 1 ;
36018 int arg2 = (int) 0 ;
36019 int arg3 = (int) 0 ;
36020 int arg4 = (int) 0 ;
36021 wxGridSizer *result;
994141e6
RD
36022 PyObject * obj0 = 0 ;
36023 PyObject * obj1 = 0 ;
36024 PyObject * obj2 = 0 ;
36025 PyObject * obj3 = 0 ;
d14a1e28
RD
36026 char *kwnames[] = {
36027 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36028 };
36029
994141e6
RD
36030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36031 if (obj0) {
15afbcd0
RD
36032 arg1 = (int) SWIG_AsInt(obj0);
36033 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36034 }
36035 if (obj1) {
15afbcd0
RD
36036 arg2 = (int) SWIG_AsInt(obj1);
36037 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36038 }
36039 if (obj2) {
15afbcd0
RD
36040 arg3 = (int) SWIG_AsInt(obj2);
36041 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36042 }
36043 if (obj3) {
15afbcd0
RD
36044 arg4 = (int) SWIG_AsInt(obj3);
36045 if (PyErr_Occurred()) SWIG_fail;
994141e6 36046 }
d14a1e28
RD
36047 {
36048 PyThreadState* __tstate = wxPyBeginAllowThreads();
36049 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
36050
36051 wxPyEndAllowThreads(__tstate);
36052 if (PyErr_Occurred()) SWIG_fail;
36053 }
15afbcd0 36054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
d14a1e28
RD
36055 return resultobj;
36056 fail:
36057 return NULL;
36058}
36059
36060
d14a1e28
RD
36061static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
36062 PyObject *resultobj;
36063 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36064 int arg2 ;
36065 PyObject * obj0 = 0 ;
994141e6 36066 PyObject * obj1 = 0 ;
d14a1e28
RD
36067 char *kwnames[] = {
36068 (char *) "self",(char *) "cols", NULL
36069 };
36070
994141e6 36071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36074 arg2 = (int) SWIG_AsInt(obj1);
36075 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36076 {
36077 PyThreadState* __tstate = wxPyBeginAllowThreads();
36078 (arg1)->SetCols(arg2);
36079
36080 wxPyEndAllowThreads(__tstate);
36081 if (PyErr_Occurred()) SWIG_fail;
36082 }
36083 Py_INCREF(Py_None); resultobj = Py_None;
36084 return resultobj;
36085 fail:
36086 return NULL;
36087}
36088
36089
36090static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
36091 PyObject *resultobj;
36092 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36093 int arg2 ;
36094 PyObject * obj0 = 0 ;
994141e6 36095 PyObject * obj1 = 0 ;
d14a1e28
RD
36096 char *kwnames[] = {
36097 (char *) "self",(char *) "rows", NULL
36098 };
36099
994141e6 36100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36103 arg2 = (int) SWIG_AsInt(obj1);
36104 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36105 {
36106 PyThreadState* __tstate = wxPyBeginAllowThreads();
36107 (arg1)->SetRows(arg2);
36108
36109 wxPyEndAllowThreads(__tstate);
36110 if (PyErr_Occurred()) SWIG_fail;
36111 }
36112 Py_INCREF(Py_None); resultobj = Py_None;
36113 return resultobj;
36114 fail:
36115 return NULL;
36116}
36117
36118
36119static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36120 PyObject *resultobj;
36121 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36122 int arg2 ;
36123 PyObject * obj0 = 0 ;
994141e6 36124 PyObject * obj1 = 0 ;
d14a1e28
RD
36125 char *kwnames[] = {
36126 (char *) "self",(char *) "gap", NULL
36127 };
36128
994141e6 36129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36132 arg2 = (int) SWIG_AsInt(obj1);
36133 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36134 {
36135 PyThreadState* __tstate = wxPyBeginAllowThreads();
36136 (arg1)->SetVGap(arg2);
36137
36138 wxPyEndAllowThreads(__tstate);
36139 if (PyErr_Occurred()) SWIG_fail;
36140 }
36141 Py_INCREF(Py_None); resultobj = Py_None;
36142 return resultobj;
36143 fail:
36144 return NULL;
36145}
36146
36147
36148static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36149 PyObject *resultobj;
36150 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36151 int arg2 ;
36152 PyObject * obj0 = 0 ;
994141e6 36153 PyObject * obj1 = 0 ;
d14a1e28
RD
36154 char *kwnames[] = {
36155 (char *) "self",(char *) "gap", NULL
36156 };
36157
994141e6 36158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36161 arg2 = (int) SWIG_AsInt(obj1);
36162 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36163 {
36164 PyThreadState* __tstate = wxPyBeginAllowThreads();
36165 (arg1)->SetHGap(arg2);
36166
36167 wxPyEndAllowThreads(__tstate);
36168 if (PyErr_Occurred()) SWIG_fail;
36169 }
36170 Py_INCREF(Py_None); resultobj = Py_None;
36171 return resultobj;
36172 fail:
36173 return NULL;
36174}
36175
36176
36177static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
36178 PyObject *resultobj;
36179 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36180 int result;
36181 PyObject * obj0 = 0 ;
36182 char *kwnames[] = {
36183 (char *) "self", NULL
36184 };
36185
36186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
36187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36189 {
36190 PyThreadState* __tstate = wxPyBeginAllowThreads();
36191 result = (int)(arg1)->GetCols();
36192
36193 wxPyEndAllowThreads(__tstate);
36194 if (PyErr_Occurred()) SWIG_fail;
36195 }
15afbcd0 36196 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36197 return resultobj;
36198 fail:
36199 return NULL;
36200}
36201
36202
36203static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
36204 PyObject *resultobj;
36205 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36206 int result;
36207 PyObject * obj0 = 0 ;
36208 char *kwnames[] = {
36209 (char *) "self", NULL
36210 };
36211
36212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
36213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36215 {
36216 PyThreadState* __tstate = wxPyBeginAllowThreads();
36217 result = (int)(arg1)->GetRows();
36218
36219 wxPyEndAllowThreads(__tstate);
36220 if (PyErr_Occurred()) SWIG_fail;
36221 }
15afbcd0 36222 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36223 return resultobj;
36224 fail:
36225 return NULL;
36226}
36227
36228
36229static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36230 PyObject *resultobj;
36231 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36232 int result;
36233 PyObject * obj0 = 0 ;
36234 char *kwnames[] = {
36235 (char *) "self", NULL
36236 };
36237
36238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
36239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36241 {
36242 PyThreadState* __tstate = wxPyBeginAllowThreads();
36243 result = (int)(arg1)->GetVGap();
36244
36245 wxPyEndAllowThreads(__tstate);
36246 if (PyErr_Occurred()) SWIG_fail;
36247 }
15afbcd0 36248 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36249 return resultobj;
36250 fail:
36251 return NULL;
36252}
36253
36254
36255static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36256 PyObject *resultobj;
36257 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36258 int result;
36259 PyObject * obj0 = 0 ;
36260 char *kwnames[] = {
36261 (char *) "self", NULL
36262 };
36263
36264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
36265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36267 {
36268 PyThreadState* __tstate = wxPyBeginAllowThreads();
36269 result = (int)(arg1)->GetHGap();
36270
36271 wxPyEndAllowThreads(__tstate);
36272 if (PyErr_Occurred()) SWIG_fail;
36273 }
15afbcd0 36274 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36275 return resultobj;
36276 fail:
36277 return NULL;
36278}
36279
36280
36281static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
36282 PyObject *obj;
36283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36284 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
36285 Py_INCREF(obj);
36286 return Py_BuildValue((char *)"");
36287}
36288static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36289 PyObject *resultobj;
36290 int arg1 = (int) 1 ;
36291 int arg2 = (int) 0 ;
36292 int arg3 = (int) 0 ;
36293 int arg4 = (int) 0 ;
36294 wxFlexGridSizer *result;
994141e6
RD
36295 PyObject * obj0 = 0 ;
36296 PyObject * obj1 = 0 ;
36297 PyObject * obj2 = 0 ;
36298 PyObject * obj3 = 0 ;
d14a1e28
RD
36299 char *kwnames[] = {
36300 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36301 };
36302
994141e6
RD
36303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36304 if (obj0) {
15afbcd0
RD
36305 arg1 = (int) SWIG_AsInt(obj0);
36306 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36307 }
36308 if (obj1) {
15afbcd0
RD
36309 arg2 = (int) SWIG_AsInt(obj1);
36310 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36311 }
36312 if (obj2) {
15afbcd0
RD
36313 arg3 = (int) SWIG_AsInt(obj2);
36314 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36315 }
36316 if (obj3) {
15afbcd0
RD
36317 arg4 = (int) SWIG_AsInt(obj3);
36318 if (PyErr_Occurred()) SWIG_fail;
994141e6 36319 }
d14a1e28
RD
36320 {
36321 PyThreadState* __tstate = wxPyBeginAllowThreads();
36322 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
36323
36324 wxPyEndAllowThreads(__tstate);
36325 if (PyErr_Occurred()) SWIG_fail;
36326 }
15afbcd0 36327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
d14a1e28
RD
36328 return resultobj;
36329 fail:
36330 return NULL;
36331}
36332
36333
d14a1e28
RD
36334static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36335 PyObject *resultobj;
36336 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36337 size_t arg2 ;
36338 int arg3 = (int) 0 ;
36339 PyObject * obj0 = 0 ;
36340 PyObject * obj1 = 0 ;
994141e6 36341 PyObject * obj2 = 0 ;
d14a1e28
RD
36342 char *kwnames[] = {
36343 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36344 };
36345
994141e6 36346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36349 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36350 if (PyErr_Occurred()) SWIG_fail;
994141e6 36351 if (obj2) {
15afbcd0
RD
36352 arg3 = (int) SWIG_AsInt(obj2);
36353 if (PyErr_Occurred()) SWIG_fail;
994141e6 36354 }
d14a1e28
RD
36355 {
36356 PyThreadState* __tstate = wxPyBeginAllowThreads();
36357 (arg1)->AddGrowableRow(arg2,arg3);
36358
36359 wxPyEndAllowThreads(__tstate);
36360 if (PyErr_Occurred()) SWIG_fail;
36361 }
36362 Py_INCREF(Py_None); resultobj = Py_None;
36363 return resultobj;
36364 fail:
36365 return NULL;
36366}
36367
36368
36369static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36370 PyObject *resultobj;
36371 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36372 size_t arg2 ;
36373 PyObject * obj0 = 0 ;
36374 PyObject * obj1 = 0 ;
36375 char *kwnames[] = {
36376 (char *) "self",(char *) "idx", NULL
36377 };
36378
36379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36382 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36383 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36384 {
36385 PyThreadState* __tstate = wxPyBeginAllowThreads();
36386 (arg1)->RemoveGrowableRow(arg2);
36387
36388 wxPyEndAllowThreads(__tstate);
36389 if (PyErr_Occurred()) SWIG_fail;
36390 }
36391 Py_INCREF(Py_None); resultobj = Py_None;
36392 return resultobj;
36393 fail:
36394 return NULL;
36395}
36396
36397
36398static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36399 PyObject *resultobj;
36400 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36401 size_t arg2 ;
36402 int arg3 = (int) 0 ;
36403 PyObject * obj0 = 0 ;
36404 PyObject * obj1 = 0 ;
994141e6 36405 PyObject * obj2 = 0 ;
d14a1e28
RD
36406 char *kwnames[] = {
36407 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36408 };
36409
994141e6 36410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36413 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36414 if (PyErr_Occurred()) SWIG_fail;
994141e6 36415 if (obj2) {
15afbcd0
RD
36416 arg3 = (int) SWIG_AsInt(obj2);
36417 if (PyErr_Occurred()) SWIG_fail;
994141e6 36418 }
d14a1e28
RD
36419 {
36420 PyThreadState* __tstate = wxPyBeginAllowThreads();
36421 (arg1)->AddGrowableCol(arg2,arg3);
36422
36423 wxPyEndAllowThreads(__tstate);
36424 if (PyErr_Occurred()) SWIG_fail;
36425 }
36426 Py_INCREF(Py_None); resultobj = Py_None;
36427 return resultobj;
36428 fail:
36429 return NULL;
36430}
36431
36432
36433static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36434 PyObject *resultobj;
36435 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36436 size_t arg2 ;
36437 PyObject * obj0 = 0 ;
36438 PyObject * obj1 = 0 ;
36439 char *kwnames[] = {
36440 (char *) "self",(char *) "idx", NULL
36441 };
36442
36443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36446 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36447 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36448 {
36449 PyThreadState* __tstate = wxPyBeginAllowThreads();
36450 (arg1)->RemoveGrowableCol(arg2);
36451
36452 wxPyEndAllowThreads(__tstate);
36453 if (PyErr_Occurred()) SWIG_fail;
36454 }
36455 Py_INCREF(Py_None); resultobj = Py_None;
36456 return resultobj;
36457 fail:
36458 return NULL;
36459}
36460
36461
36462static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36463 PyObject *resultobj;
36464 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36465 int arg2 ;
36466 PyObject * obj0 = 0 ;
994141e6 36467 PyObject * obj1 = 0 ;
d14a1e28
RD
36468 char *kwnames[] = {
36469 (char *) "self",(char *) "direction", NULL
36470 };
36471
994141e6 36472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36475 arg2 = (int) SWIG_AsInt(obj1);
36476 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36477 {
36478 PyThreadState* __tstate = wxPyBeginAllowThreads();
36479 (arg1)->SetFlexibleDirection(arg2);
36480
36481 wxPyEndAllowThreads(__tstate);
36482 if (PyErr_Occurred()) SWIG_fail;
36483 }
36484 Py_INCREF(Py_None); resultobj = Py_None;
36485 return resultobj;
36486 fail:
36487 return NULL;
36488}
36489
36490
36491static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36492 PyObject *resultobj;
36493 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36494 int result;
36495 PyObject * obj0 = 0 ;
36496 char *kwnames[] = {
36497 (char *) "self", NULL
36498 };
36499
36500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
36501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36503 {
36504 PyThreadState* __tstate = wxPyBeginAllowThreads();
36505 result = (int)(arg1)->GetFlexibleDirection();
36506
36507 wxPyEndAllowThreads(__tstate);
36508 if (PyErr_Occurred()) SWIG_fail;
36509 }
15afbcd0 36510 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36511 return resultobj;
36512 fail:
36513 return NULL;
36514}
36515
36516
36517static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36518 PyObject *resultobj;
36519 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36520 int arg2 ;
36521 PyObject * obj0 = 0 ;
994141e6 36522 PyObject * obj1 = 0 ;
d14a1e28
RD
36523 char *kwnames[] = {
36524 (char *) "self",(char *) "mode", NULL
36525 };
36526
994141e6 36527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36530 arg2 = (wxFlexSizerGrowMode) SWIG_AsInt(obj1);
36531 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36532 {
36533 PyThreadState* __tstate = wxPyBeginAllowThreads();
36534 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
36535
36536 wxPyEndAllowThreads(__tstate);
36537 if (PyErr_Occurred()) SWIG_fail;
36538 }
36539 Py_INCREF(Py_None); resultobj = Py_None;
36540 return resultobj;
36541 fail:
36542 return NULL;
36543}
36544
36545
36546static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
36547 PyObject *resultobj;
36548 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36549 int result;
36550 PyObject * obj0 = 0 ;
36551 char *kwnames[] = {
36552 (char *) "self", NULL
36553 };
36554
36555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
36556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36558 {
36559 PyThreadState* __tstate = wxPyBeginAllowThreads();
36560 result = (int)(arg1)->GetNonFlexibleGrowMode();
36561
36562 wxPyEndAllowThreads(__tstate);
36563 if (PyErr_Occurred()) SWIG_fail;
36564 }
15afbcd0 36565 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36566 return resultobj;
36567 fail:
36568 return NULL;
36569}
36570
36571
e811c8ce
RD
36572static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
36573 PyObject *resultobj;
36574 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36575 wxArrayInt *result;
36576 PyObject * obj0 = 0 ;
36577 char *kwnames[] = {
36578 (char *) "self", NULL
36579 };
36580
36581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
15afbcd0
RD
36582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
36584 {
36585 PyThreadState* __tstate = wxPyBeginAllowThreads();
36586 {
36587 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
36588 result = (wxArrayInt *) &_result_ref;
36589 }
36590
36591 wxPyEndAllowThreads(__tstate);
36592 if (PyErr_Occurred()) SWIG_fail;
36593 }
36594 {
36595 resultobj = PyList_New(0);
36596 size_t idx;
36597 for (idx = 0; idx < result->GetCount(); idx += 1) {
36598 PyObject* val = PyInt_FromLong( result->Item(idx) );
36599 PyList_Append(resultobj, val);
36600 Py_DECREF(val);
36601 }
36602 }
36603 return resultobj;
36604 fail:
36605 return NULL;
36606}
36607
36608
36609static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
36610 PyObject *resultobj;
36611 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36612 wxArrayInt *result;
36613 PyObject * obj0 = 0 ;
36614 char *kwnames[] = {
36615 (char *) "self", NULL
36616 };
36617
36618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
15afbcd0
RD
36619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
36621 {
36622 PyThreadState* __tstate = wxPyBeginAllowThreads();
36623 {
36624 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
36625 result = (wxArrayInt *) &_result_ref;
36626 }
36627
36628 wxPyEndAllowThreads(__tstate);
36629 if (PyErr_Occurred()) SWIG_fail;
36630 }
36631 {
36632 resultobj = PyList_New(0);
36633 size_t idx;
36634 for (idx = 0; idx < result->GetCount(); idx += 1) {
36635 PyObject* val = PyInt_FromLong( result->Item(idx) );
36636 PyList_Append(resultobj, val);
36637 Py_DECREF(val);
36638 }
36639 }
36640 return resultobj;
36641 fail:
36642 return NULL;
36643}
36644
36645
d14a1e28
RD
36646static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
36647 PyObject *obj;
36648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36649 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
36650 Py_INCREF(obj);
36651 return Py_BuildValue((char *)"");
36652}
36653static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
36654 PyObject *resultobj;
36655 int arg1 = (int) 0 ;
36656 int arg2 = (int) 0 ;
36657 wxGBPosition *result;
994141e6
RD
36658 PyObject * obj0 = 0 ;
36659 PyObject * obj1 = 0 ;
d14a1e28
RD
36660 char *kwnames[] = {
36661 (char *) "row",(char *) "col", NULL
36662 };
36663
994141e6
RD
36664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
36665 if (obj0) {
15afbcd0
RD
36666 arg1 = (int) SWIG_AsInt(obj0);
36667 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36668 }
36669 if (obj1) {
15afbcd0
RD
36670 arg2 = (int) SWIG_AsInt(obj1);
36671 if (PyErr_Occurred()) SWIG_fail;
994141e6 36672 }
d14a1e28
RD
36673 {
36674 PyThreadState* __tstate = wxPyBeginAllowThreads();
36675 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
36676
36677 wxPyEndAllowThreads(__tstate);
36678 if (PyErr_Occurred()) SWIG_fail;
36679 }
15afbcd0 36680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
36681 return resultobj;
36682 fail:
36683 return NULL;
36684}
36685
36686
36687static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36688 PyObject *resultobj;
36689 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36690 int result;
36691 PyObject * obj0 = 0 ;
36692 char *kwnames[] = {
36693 (char *) "self", NULL
36694 };
36695
36696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
36697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36699 {
36700 PyThreadState* __tstate = wxPyBeginAllowThreads();
36701 result = (int)((wxGBPosition const *)arg1)->GetRow();
36702
36703 wxPyEndAllowThreads(__tstate);
36704 if (PyErr_Occurred()) SWIG_fail;
36705 }
15afbcd0 36706 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36707 return resultobj;
36708 fail:
36709 return NULL;
36710}
36711
36712
36713static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36714 PyObject *resultobj;
36715 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36716 int result;
36717 PyObject * obj0 = 0 ;
36718 char *kwnames[] = {
36719 (char *) "self", NULL
36720 };
36721
36722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
36723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36725 {
36726 PyThreadState* __tstate = wxPyBeginAllowThreads();
36727 result = (int)((wxGBPosition const *)arg1)->GetCol();
36728
36729 wxPyEndAllowThreads(__tstate);
36730 if (PyErr_Occurred()) SWIG_fail;
36731 }
15afbcd0 36732 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36733 return resultobj;
36734 fail:
36735 return NULL;
36736}
36737
36738
36739static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36740 PyObject *resultobj;
36741 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36742 int arg2 ;
36743 PyObject * obj0 = 0 ;
994141e6 36744 PyObject * obj1 = 0 ;
d14a1e28
RD
36745 char *kwnames[] = {
36746 (char *) "self",(char *) "row", NULL
36747 };
36748
994141e6 36749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36752 arg2 = (int) SWIG_AsInt(obj1);
36753 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36754 {
36755 PyThreadState* __tstate = wxPyBeginAllowThreads();
36756 (arg1)->SetRow(arg2);
36757
36758 wxPyEndAllowThreads(__tstate);
36759 if (PyErr_Occurred()) SWIG_fail;
36760 }
36761 Py_INCREF(Py_None); resultobj = Py_None;
36762 return resultobj;
36763 fail:
36764 return NULL;
36765}
36766
36767
36768static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36769 PyObject *resultobj;
36770 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36771 int arg2 ;
36772 PyObject * obj0 = 0 ;
994141e6 36773 PyObject * obj1 = 0 ;
d14a1e28
RD
36774 char *kwnames[] = {
36775 (char *) "self",(char *) "col", NULL
36776 };
36777
994141e6 36778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36781 arg2 = (int) SWIG_AsInt(obj1);
36782 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36783 {
36784 PyThreadState* __tstate = wxPyBeginAllowThreads();
36785 (arg1)->SetCol(arg2);
36786
36787 wxPyEndAllowThreads(__tstate);
36788 if (PyErr_Occurred()) SWIG_fail;
36789 }
36790 Py_INCREF(Py_None); resultobj = Py_None;
36791 return resultobj;
36792 fail:
36793 return NULL;
36794}
36795
36796
36797static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
36798 PyObject *resultobj;
36799 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 36800 wxGBPosition *arg2 = 0 ;
d14a1e28 36801 bool result;
4f89f6a3 36802 wxGBPosition temp2 ;
d14a1e28
RD
36803 PyObject * obj0 = 0 ;
36804 PyObject * obj1 = 0 ;
36805 char *kwnames[] = {
22faec7d 36806 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36807 };
36808
36809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36812 {
36813 arg2 = &temp2;
36814 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36815 }
d14a1e28
RD
36816 {
36817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36818 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
d14a1e28
RD
36819
36820 wxPyEndAllowThreads(__tstate);
36821 if (PyErr_Occurred()) SWIG_fail;
36822 }
4f89f6a3
RD
36823 {
36824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36825 }
d14a1e28
RD
36826 return resultobj;
36827 fail:
36828 return NULL;
36829}
36830
36831
36832static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
36833 PyObject *resultobj;
36834 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 36835 wxGBPosition *arg2 = 0 ;
d14a1e28 36836 bool result;
4f89f6a3 36837 wxGBPosition temp2 ;
d14a1e28
RD
36838 PyObject * obj0 = 0 ;
36839 PyObject * obj1 = 0 ;
36840 char *kwnames[] = {
22faec7d 36841 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36842 };
36843
36844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36847 {
36848 arg2 = &temp2;
36849 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36850 }
d14a1e28
RD
36851 {
36852 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36853 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
d14a1e28
RD
36854
36855 wxPyEndAllowThreads(__tstate);
36856 if (PyErr_Occurred()) SWIG_fail;
36857 }
4f89f6a3
RD
36858 {
36859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36860 }
d14a1e28
RD
36861 return resultobj;
36862 fail:
36863 return NULL;
36864}
36865
36866
e811c8ce
RD
36867static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
36868 PyObject *resultobj;
36869 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36870 int arg2 = (int) 0 ;
36871 int arg3 = (int) 0 ;
36872 PyObject * obj0 = 0 ;
994141e6
RD
36873 PyObject * obj1 = 0 ;
36874 PyObject * obj2 = 0 ;
e811c8ce
RD
36875 char *kwnames[] = {
36876 (char *) "self",(char *) "row",(char *) "col", NULL
36877 };
36878
994141e6 36879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 36882 if (obj1) {
15afbcd0
RD
36883 arg2 = (int) SWIG_AsInt(obj1);
36884 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36885 }
36886 if (obj2) {
15afbcd0
RD
36887 arg3 = (int) SWIG_AsInt(obj2);
36888 if (PyErr_Occurred()) SWIG_fail;
994141e6 36889 }
e811c8ce
RD
36890 {
36891 PyThreadState* __tstate = wxPyBeginAllowThreads();
36892 wxGBPosition_Set(arg1,arg2,arg3);
36893
36894 wxPyEndAllowThreads(__tstate);
36895 if (PyErr_Occurred()) SWIG_fail;
36896 }
36897 Py_INCREF(Py_None); resultobj = Py_None;
36898 return resultobj;
36899 fail:
36900 return NULL;
36901}
36902
36903
36904static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36905 PyObject *resultobj;
36906 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36907 PyObject *result;
36908 PyObject * obj0 = 0 ;
36909 char *kwnames[] = {
36910 (char *) "self", NULL
36911 };
36912
e811c8ce 36913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
36914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36916 {
36917 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 36918 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
36919
36920 wxPyEndAllowThreads(__tstate);
36921 if (PyErr_Occurred()) SWIG_fail;
36922 }
36923 resultobj = result;
36924 return resultobj;
36925 fail:
36926 return NULL;
36927}
36928
36929
36930static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
36931 PyObject *obj;
36932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36933 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
36934 Py_INCREF(obj);
36935 return Py_BuildValue((char *)"");
36936}
36937static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
36938 PyObject *resultobj;
36939 int arg1 = (int) 1 ;
36940 int arg2 = (int) 1 ;
36941 wxGBSpan *result;
994141e6
RD
36942 PyObject * obj0 = 0 ;
36943 PyObject * obj1 = 0 ;
d14a1e28
RD
36944 char *kwnames[] = {
36945 (char *) "rowspan",(char *) "colspan", NULL
36946 };
36947
994141e6
RD
36948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
36949 if (obj0) {
15afbcd0
RD
36950 arg1 = (int) SWIG_AsInt(obj0);
36951 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36952 }
36953 if (obj1) {
15afbcd0
RD
36954 arg2 = (int) SWIG_AsInt(obj1);
36955 if (PyErr_Occurred()) SWIG_fail;
994141e6 36956 }
d14a1e28
RD
36957 {
36958 PyThreadState* __tstate = wxPyBeginAllowThreads();
36959 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
36960
36961 wxPyEndAllowThreads(__tstate);
36962 if (PyErr_Occurred()) SWIG_fail;
36963 }
15afbcd0 36964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
36965 return resultobj;
36966 fail:
36967 return NULL;
36968}
36969
36970
36971static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36972 PyObject *resultobj;
36973 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36974 int result;
36975 PyObject * obj0 = 0 ;
36976 char *kwnames[] = {
36977 (char *) "self", NULL
36978 };
36979
36980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
36981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36983 {
36984 PyThreadState* __tstate = wxPyBeginAllowThreads();
36985 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
36986
36987 wxPyEndAllowThreads(__tstate);
36988 if (PyErr_Occurred()) SWIG_fail;
36989 }
15afbcd0 36990 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36991 return resultobj;
36992 fail:
36993 return NULL;
36994}
36995
36996
36997static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36998 PyObject *resultobj;
36999 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37000 int result;
37001 PyObject * obj0 = 0 ;
37002 char *kwnames[] = {
37003 (char *) "self", NULL
37004 };
37005
37006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
37007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37009 {
37010 PyThreadState* __tstate = wxPyBeginAllowThreads();
37011 result = (int)((wxGBSpan const *)arg1)->GetColspan();
37012
37013 wxPyEndAllowThreads(__tstate);
37014 if (PyErr_Occurred()) SWIG_fail;
37015 }
15afbcd0 37016 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
37017 return resultobj;
37018 fail:
37019 return NULL;
37020}
37021
37022
37023static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
37024 PyObject *resultobj;
37025 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37026 int arg2 ;
37027 PyObject * obj0 = 0 ;
994141e6 37028 PyObject * obj1 = 0 ;
d14a1e28
RD
37029 char *kwnames[] = {
37030 (char *) "self",(char *) "rowspan", NULL
37031 };
37032
994141e6 37033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37036 arg2 = (int) SWIG_AsInt(obj1);
37037 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37038 {
37039 PyThreadState* __tstate = wxPyBeginAllowThreads();
37040 (arg1)->SetRowspan(arg2);
37041
37042 wxPyEndAllowThreads(__tstate);
37043 if (PyErr_Occurred()) SWIG_fail;
37044 }
37045 Py_INCREF(Py_None); resultobj = Py_None;
37046 return resultobj;
37047 fail:
37048 return NULL;
37049}
37050
37051
37052static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
37053 PyObject *resultobj;
37054 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37055 int arg2 ;
37056 PyObject * obj0 = 0 ;
994141e6 37057 PyObject * obj1 = 0 ;
d14a1e28
RD
37058 char *kwnames[] = {
37059 (char *) "self",(char *) "colspan", NULL
37060 };
37061
994141e6 37062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37065 arg2 = (int) SWIG_AsInt(obj1);
37066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37067 {
37068 PyThreadState* __tstate = wxPyBeginAllowThreads();
37069 (arg1)->SetColspan(arg2);
37070
37071 wxPyEndAllowThreads(__tstate);
37072 if (PyErr_Occurred()) SWIG_fail;
37073 }
37074 Py_INCREF(Py_None); resultobj = Py_None;
37075 return resultobj;
37076 fail:
37077 return NULL;
37078}
37079
37080
37081static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
37082 PyObject *resultobj;
37083 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 37084 wxGBSpan *arg2 = 0 ;
d14a1e28 37085 bool result;
4f89f6a3 37086 wxGBSpan temp2 ;
d14a1e28
RD
37087 PyObject * obj0 = 0 ;
37088 PyObject * obj1 = 0 ;
37089 char *kwnames[] = {
22faec7d 37090 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37091 };
37092
37093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37096 {
37097 arg2 = &temp2;
37098 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37099 }
d14a1e28
RD
37100 {
37101 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37102 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
d14a1e28
RD
37103
37104 wxPyEndAllowThreads(__tstate);
37105 if (PyErr_Occurred()) SWIG_fail;
37106 }
4f89f6a3
RD
37107 {
37108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37109 }
d14a1e28
RD
37110 return resultobj;
37111 fail:
37112 return NULL;
37113}
37114
37115
37116static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
37117 PyObject *resultobj;
37118 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 37119 wxGBSpan *arg2 = 0 ;
d14a1e28 37120 bool result;
4f89f6a3 37121 wxGBSpan temp2 ;
d14a1e28
RD
37122 PyObject * obj0 = 0 ;
37123 PyObject * obj1 = 0 ;
37124 char *kwnames[] = {
22faec7d 37125 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37126 };
37127
37128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37131 {
37132 arg2 = &temp2;
37133 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37134 }
d14a1e28
RD
37135 {
37136 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37137 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
d14a1e28
RD
37138
37139 wxPyEndAllowThreads(__tstate);
37140 if (PyErr_Occurred()) SWIG_fail;
37141 }
4f89f6a3
RD
37142 {
37143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37144 }
d14a1e28
RD
37145 return resultobj;
37146 fail:
37147 return NULL;
37148}
37149
37150
e811c8ce
RD
37151static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
37152 PyObject *resultobj;
37153 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37154 int arg2 = (int) 1 ;
37155 int arg3 = (int) 1 ;
37156 PyObject * obj0 = 0 ;
994141e6
RD
37157 PyObject * obj1 = 0 ;
37158 PyObject * obj2 = 0 ;
e811c8ce
RD
37159 char *kwnames[] = {
37160 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37161 };
37162
994141e6 37163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 37166 if (obj1) {
15afbcd0
RD
37167 arg2 = (int) SWIG_AsInt(obj1);
37168 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37169 }
37170 if (obj2) {
15afbcd0
RD
37171 arg3 = (int) SWIG_AsInt(obj2);
37172 if (PyErr_Occurred()) SWIG_fail;
994141e6 37173 }
e811c8ce
RD
37174 {
37175 PyThreadState* __tstate = wxPyBeginAllowThreads();
37176 wxGBSpan_Set(arg1,arg2,arg3);
37177
37178 wxPyEndAllowThreads(__tstate);
37179 if (PyErr_Occurred()) SWIG_fail;
37180 }
37181 Py_INCREF(Py_None); resultobj = Py_None;
37182 return resultobj;
37183 fail:
37184 return NULL;
37185}
37186
37187
37188static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37189 PyObject *resultobj;
37190 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37191 PyObject *result;
37192 PyObject * obj0 = 0 ;
37193 char *kwnames[] = {
37194 (char *) "self", NULL
37195 };
37196
e811c8ce 37197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
37198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37200 {
37201 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 37202 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
37203
37204 wxPyEndAllowThreads(__tstate);
37205 if (PyErr_Occurred()) SWIG_fail;
37206 }
37207 resultobj = result;
37208 return resultobj;
37209 fail:
37210 return NULL;
37211}
37212
37213
37214static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
37215 PyObject *obj;
37216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37217 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
37218 Py_INCREF(obj);
37219 return Py_BuildValue((char *)"");
37220}
37221static int _wrap_DefaultSpan_set(PyObject *_val) {
37222 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
37223 return 1;
37224}
37225
37226
37227static PyObject *_wrap_DefaultSpan_get() {
37228 PyObject *pyobj;
37229
15afbcd0 37230 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
d14a1e28
RD
37231 return pyobj;
37232}
37233
37234
37235static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37236 PyObject *resultobj;
37237 wxGBSizerItem *result;
37238 char *kwnames[] = {
37239 NULL
37240 };
37241
37242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
37243 {
37244 PyThreadState* __tstate = wxPyBeginAllowThreads();
37245 result = (wxGBSizerItem *)new wxGBSizerItem();
37246
37247 wxPyEndAllowThreads(__tstate);
37248 if (PyErr_Occurred()) SWIG_fail;
37249 }
15afbcd0 37250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37251 return resultobj;
37252 fail:
37253 return NULL;
37254}
37255
37256
37257static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
37258 PyObject *resultobj;
37259 wxWindow *arg1 = (wxWindow *) 0 ;
37260 wxGBPosition *arg2 = 0 ;
37261 wxGBSpan *arg3 = 0 ;
37262 int arg4 ;
37263 int arg5 ;
248ed943 37264 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
37265 wxGBSizerItem *result;
37266 wxGBPosition temp2 ;
37267 wxGBSpan temp3 ;
37268 PyObject * obj0 = 0 ;
37269 PyObject * obj1 = 0 ;
37270 PyObject * obj2 = 0 ;
994141e6
RD
37271 PyObject * obj3 = 0 ;
37272 PyObject * obj4 = 0 ;
d14a1e28
RD
37273 PyObject * obj5 = 0 ;
37274 char *kwnames[] = {
37275 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37276 };
37277
248ed943 37278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
37279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
37280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37281 {
37282 arg2 = &temp2;
37283 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37284 }
37285 {
37286 arg3 = &temp3;
37287 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37288 }
15afbcd0
RD
37289 arg4 = (int) SWIG_AsInt(obj3);
37290 if (PyErr_Occurred()) SWIG_fail;
37291 arg5 = (int) SWIG_AsInt(obj4);
37292 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
37293 if (obj5) {
37294 arg6 = obj5;
37295 }
d14a1e28
RD
37296 {
37297 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 37298 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d14a1e28
RD
37299
37300 wxPyEndAllowThreads(__tstate);
37301 if (PyErr_Occurred()) SWIG_fail;
37302 }
15afbcd0 37303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37304 return resultobj;
37305 fail:
37306 return NULL;
37307}
37308
37309
37310static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37311 PyObject *resultobj;
37312 wxSizer *arg1 = (wxSizer *) 0 ;
37313 wxGBPosition *arg2 = 0 ;
37314 wxGBSpan *arg3 = 0 ;
37315 int arg4 ;
37316 int arg5 ;
248ed943 37317 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
37318 wxGBSizerItem *result;
37319 wxGBPosition temp2 ;
37320 wxGBSpan temp3 ;
37321 PyObject * obj0 = 0 ;
37322 PyObject * obj1 = 0 ;
37323 PyObject * obj2 = 0 ;
994141e6
RD
37324 PyObject * obj3 = 0 ;
37325 PyObject * obj4 = 0 ;
d14a1e28
RD
37326 PyObject * obj5 = 0 ;
37327 char *kwnames[] = {
37328 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37329 };
37330
248ed943 37331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
37332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
37333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37334 {
37335 arg2 = &temp2;
37336 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37337 }
37338 {
37339 arg3 = &temp3;
37340 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37341 }
15afbcd0
RD
37342 arg4 = (int) SWIG_AsInt(obj3);
37343 if (PyErr_Occurred()) SWIG_fail;
37344 arg5 = (int) SWIG_AsInt(obj4);
37345 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
37346 if (obj5) {
37347 arg6 = obj5;
37348 }
d14a1e28
RD
37349 {
37350 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 37351 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d14a1e28
RD
37352
37353 wxPyEndAllowThreads(__tstate);
37354 if (PyErr_Occurred()) SWIG_fail;
37355 }
15afbcd0 37356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37357 return resultobj;
37358 fail:
37359 return NULL;
37360}
37361
37362
37363static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
37364 PyObject *resultobj;
37365 int arg1 ;
37366 int arg2 ;
37367 wxGBPosition *arg3 = 0 ;
37368 wxGBSpan *arg4 = 0 ;
37369 int arg5 ;
37370 int arg6 ;
248ed943 37371 PyObject *arg7 = (PyObject *) NULL ;
d14a1e28
RD
37372 wxGBSizerItem *result;
37373 wxGBPosition temp3 ;
37374 wxGBSpan temp4 ;
994141e6
RD
37375 PyObject * obj0 = 0 ;
37376 PyObject * obj1 = 0 ;
d14a1e28
RD
37377 PyObject * obj2 = 0 ;
37378 PyObject * obj3 = 0 ;
994141e6
RD
37379 PyObject * obj4 = 0 ;
37380 PyObject * obj5 = 0 ;
d14a1e28
RD
37381 PyObject * obj6 = 0 ;
37382 char *kwnames[] = {
37383 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37384 };
37385
248ed943 37386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
37387 arg1 = (int) SWIG_AsInt(obj0);
37388 if (PyErr_Occurred()) SWIG_fail;
37389 arg2 = (int) SWIG_AsInt(obj1);
37390 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37391 {
37392 arg3 = &temp3;
37393 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37394 }
37395 {
37396 arg4 = &temp4;
37397 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37398 }
15afbcd0
RD
37399 arg5 = (int) SWIG_AsInt(obj4);
37400 if (PyErr_Occurred()) SWIG_fail;
37401 arg6 = (int) SWIG_AsInt(obj5);
37402 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
37403 if (obj6) {
37404 arg7 = obj6;
37405 }
d14a1e28
RD
37406 {
37407 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 37408 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
d14a1e28
RD
37409
37410 wxPyEndAllowThreads(__tstate);
37411 if (PyErr_Occurred()) SWIG_fail;
37412 }
15afbcd0 37413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37414 return resultobj;
37415 fail:
37416 return NULL;
37417}
37418
37419
37420static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37421 PyObject *resultobj;
37422 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37423 wxGBPosition result;
37424 PyObject * obj0 = 0 ;
37425 char *kwnames[] = {
37426 (char *) "self", NULL
37427 };
37428
37429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
37430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37432 {
37433 PyThreadState* __tstate = wxPyBeginAllowThreads();
37434 result = ((wxGBSizerItem const *)arg1)->GetPos();
37435
37436 wxPyEndAllowThreads(__tstate);
37437 if (PyErr_Occurred()) SWIG_fail;
37438 }
37439 {
37440 wxGBPosition * resultptr;
37441 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37442 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37443 }
37444 return resultobj;
37445 fail:
37446 return NULL;
37447}
37448
37449
37450static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37451 PyObject *resultobj;
37452 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37453 wxGBSpan result;
37454 PyObject * obj0 = 0 ;
37455 char *kwnames[] = {
37456 (char *) "self", NULL
37457 };
37458
37459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
15afbcd0
RD
37460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37462 {
37463 PyThreadState* __tstate = wxPyBeginAllowThreads();
37464 result = ((wxGBSizerItem const *)arg1)->GetSpan();
37465
37466 wxPyEndAllowThreads(__tstate);
37467 if (PyErr_Occurred()) SWIG_fail;
37468 }
37469 {
37470 wxGBSpan * resultptr;
37471 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 37472 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37473 }
37474 return resultobj;
37475 fail:
37476 return NULL;
37477}
37478
37479
37480static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37481 PyObject *resultobj;
37482 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37483 wxGBPosition *arg2 = 0 ;
37484 bool result;
37485 wxGBPosition temp2 ;
37486 PyObject * obj0 = 0 ;
37487 PyObject * obj1 = 0 ;
37488 char *kwnames[] = {
37489 (char *) "self",(char *) "pos", NULL
37490 };
37491
37492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37495 {
37496 arg2 = &temp2;
37497 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37498 }
37499 {
37500 PyThreadState* __tstate = wxPyBeginAllowThreads();
37501 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
37502
37503 wxPyEndAllowThreads(__tstate);
37504 if (PyErr_Occurred()) SWIG_fail;
37505 }
4f89f6a3
RD
37506 {
37507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37508 }
d14a1e28
RD
37509 return resultobj;
37510 fail:
37511 return NULL;
37512}
37513
37514
37515static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37516 PyObject *resultobj;
37517 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37518 wxGBSpan *arg2 = 0 ;
37519 bool result;
37520 wxGBSpan temp2 ;
37521 PyObject * obj0 = 0 ;
37522 PyObject * obj1 = 0 ;
37523 char *kwnames[] = {
37524 (char *) "self",(char *) "span", NULL
37525 };
37526
37527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37530 {
37531 arg2 = &temp2;
37532 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37533 }
37534 {
37535 PyThreadState* __tstate = wxPyBeginAllowThreads();
37536 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
37537
37538 wxPyEndAllowThreads(__tstate);
37539 if (PyErr_Occurred()) SWIG_fail;
37540 }
4f89f6a3
RD
37541 {
37542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37543 }
d14a1e28
RD
37544 return resultobj;
37545 fail:
37546 return NULL;
37547}
37548
37549
248ed943 37550static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37551 PyObject *resultobj;
37552 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37553 wxGBSizerItem *arg2 = 0 ;
37554 bool result;
37555 PyObject * obj0 = 0 ;
37556 PyObject * obj1 = 0 ;
248ed943
RD
37557 char *kwnames[] = {
37558 (char *) "self",(char *) "other", NULL
37559 };
d14a1e28 37560
248ed943 37561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_Intersects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37565 SWIG_POINTER_EXCEPTION | 0)) == -1)
37566 SWIG_fail;
d14a1e28 37567 if (arg2 == NULL) {
15afbcd0
RD
37568 PyErr_SetString(PyExc_TypeError,"null reference");
37569 SWIG_fail;
d14a1e28
RD
37570 }
37571 {
37572 PyThreadState* __tstate = wxPyBeginAllowThreads();
37573 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
37574
37575 wxPyEndAllowThreads(__tstate);
37576 if (PyErr_Occurred()) SWIG_fail;
37577 }
4f89f6a3
RD
37578 {
37579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37580 }
d14a1e28
RD
37581 return resultobj;
37582 fail:
37583 return NULL;
37584}
37585
37586
248ed943 37587static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37588 PyObject *resultobj;
37589 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37590 wxGBPosition *arg2 = 0 ;
37591 wxGBSpan *arg3 = 0 ;
37592 bool result;
37593 wxGBPosition temp2 ;
37594 wxGBSpan temp3 ;
37595 PyObject * obj0 = 0 ;
37596 PyObject * obj1 = 0 ;
37597 PyObject * obj2 = 0 ;
248ed943
RD
37598 char *kwnames[] = {
37599 (char *) "self",(char *) "pos",(char *) "span", NULL
37600 };
d14a1e28 37601
248ed943 37602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37605 {
37606 arg2 = &temp2;
37607 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37608 }
37609 {
37610 arg3 = &temp3;
37611 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37612 }
37613 {
37614 PyThreadState* __tstate = wxPyBeginAllowThreads();
37615 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
37616
37617 wxPyEndAllowThreads(__tstate);
37618 if (PyErr_Occurred()) SWIG_fail;
37619 }
4f89f6a3
RD
37620 {
37621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37622 }
d14a1e28
RD
37623 return resultobj;
37624 fail:
37625 return NULL;
37626}
37627
37628
d14a1e28
RD
37629static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37630 PyObject *resultobj;
37631 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
248ed943 37632 wxGBPosition result;
d14a1e28 37633 PyObject * obj0 = 0 ;
d14a1e28 37634 char *kwnames[] = {
248ed943 37635 (char *) "self", NULL
d14a1e28
RD
37636 };
37637
248ed943 37638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetEndPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
37639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37641 {
37642 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 37643 result = wxGBSizerItem_GetEndPos(arg1);
d14a1e28
RD
37644
37645 wxPyEndAllowThreads(__tstate);
37646 if (PyErr_Occurred()) SWIG_fail;
37647 }
248ed943
RD
37648 {
37649 wxGBPosition * resultptr;
37650 resultptr = new wxGBPosition((wxGBPosition &) result);
37651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
37652 }
d14a1e28
RD
37653 return resultobj;
37654 fail:
37655 return NULL;
37656}
37657
37658
37659static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37660 PyObject *resultobj;
37661 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37662 wxGridBagSizer *result;
37663 PyObject * obj0 = 0 ;
37664 char *kwnames[] = {
37665 (char *) "self", NULL
37666 };
37667
37668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
37669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37671 {
37672 PyThreadState* __tstate = wxPyBeginAllowThreads();
37673 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
37674
37675 wxPyEndAllowThreads(__tstate);
37676 if (PyErr_Occurred()) SWIG_fail;
37677 }
15afbcd0 37678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
d14a1e28
RD
37679 return resultobj;
37680 fail:
37681 return NULL;
37682}
37683
37684
37685static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37686 PyObject *resultobj;
37687 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37688 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
37689 PyObject * obj0 = 0 ;
37690 PyObject * obj1 = 0 ;
37691 char *kwnames[] = {
37692 (char *) "self",(char *) "sizer", NULL
37693 };
37694
37695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
37699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37700 {
37701 PyThreadState* __tstate = wxPyBeginAllowThreads();
37702 (arg1)->SetGBSizer(arg2);
37703
37704 wxPyEndAllowThreads(__tstate);
37705 if (PyErr_Occurred()) SWIG_fail;
37706 }
37707 Py_INCREF(Py_None); resultobj = Py_None;
37708 return resultobj;
37709 fail:
37710 return NULL;
37711}
37712
37713
37714static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
37715 PyObject *obj;
37716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37717 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
37718 Py_INCREF(obj);
37719 return Py_BuildValue((char *)"");
37720}
37721static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37722 PyObject *resultobj;
37723 int arg1 = (int) 0 ;
37724 int arg2 = (int) 0 ;
37725 wxGridBagSizer *result;
994141e6
RD
37726 PyObject * obj0 = 0 ;
37727 PyObject * obj1 = 0 ;
d14a1e28
RD
37728 char *kwnames[] = {
37729 (char *) "vgap",(char *) "hgap", NULL
37730 };
37731
994141e6
RD
37732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
37733 if (obj0) {
15afbcd0
RD
37734 arg1 = (int) SWIG_AsInt(obj0);
37735 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37736 }
37737 if (obj1) {
15afbcd0
RD
37738 arg2 = (int) SWIG_AsInt(obj1);
37739 if (PyErr_Occurred()) SWIG_fail;
994141e6 37740 }
d14a1e28
RD
37741 {
37742 PyThreadState* __tstate = wxPyBeginAllowThreads();
37743 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
37744
37745 wxPyEndAllowThreads(__tstate);
37746 if (PyErr_Occurred()) SWIG_fail;
37747 }
15afbcd0 37748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
d14a1e28
RD
37749 return resultobj;
37750 fail:
37751 return NULL;
37752}
37753
37754
37755static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
37756 PyObject *resultobj;
37757 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37758 PyObject *arg2 = (PyObject *) 0 ;
37759 wxGBPosition *arg3 = 0 ;
37760 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
37761 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
37762 int arg5 = (int) 0 ;
37763 int arg6 = (int) 0 ;
37764 PyObject *arg7 = (PyObject *) NULL ;
37765 bool result;
37766 wxGBPosition temp3 ;
37767 wxGBSpan temp4 ;
37768 PyObject * obj0 = 0 ;
37769 PyObject * obj1 = 0 ;
37770 PyObject * obj2 = 0 ;
37771 PyObject * obj3 = 0 ;
994141e6
RD
37772 PyObject * obj4 = 0 ;
37773 PyObject * obj5 = 0 ;
d14a1e28
RD
37774 PyObject * obj6 = 0 ;
37775 char *kwnames[] = {
37776 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37777 };
37778
994141e6 37779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
37780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37782 arg2 = obj1;
37783 {
37784 arg3 = &temp3;
37785 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37786 }
37787 if (obj3) {
37788 {
37789 arg4 = &temp4;
37790 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37791 }
37792 }
994141e6 37793 if (obj4) {
15afbcd0
RD
37794 arg5 = (int) SWIG_AsInt(obj4);
37795 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37796 }
37797 if (obj5) {
15afbcd0
RD
37798 arg6 = (int) SWIG_AsInt(obj5);
37799 if (PyErr_Occurred()) SWIG_fail;
994141e6 37800 }
d14a1e28
RD
37801 if (obj6) {
37802 arg7 = obj6;
37803 }
37804 {
37805 PyThreadState* __tstate = wxPyBeginAllowThreads();
37806 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37807
37808 wxPyEndAllowThreads(__tstate);
37809 if (PyErr_Occurred()) SWIG_fail;
37810 }
4f89f6a3
RD
37811 {
37812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37813 }
d14a1e28
RD
37814 return resultobj;
37815 fail:
37816 return NULL;
37817}
37818
37819
37820static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37821 PyObject *resultobj;
37822 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37823 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
37824 bool result;
37825 PyObject * obj0 = 0 ;
37826 PyObject * obj1 = 0 ;
37827 char *kwnames[] = {
37828 (char *) "self",(char *) "item", NULL
37829 };
37830
37831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37836 {
37837 PyThreadState* __tstate = wxPyBeginAllowThreads();
37838 result = (bool)(arg1)->Add(arg2);
37839
37840 wxPyEndAllowThreads(__tstate);
37841 if (PyErr_Occurred()) SWIG_fail;
37842 }
4f89f6a3
RD
37843 {
37844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37845 }
d14a1e28
RD
37846 return resultobj;
37847 fail:
37848 return NULL;
37849}
37850
37851
37852static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37853 PyObject *resultobj;
37854 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37855 wxSize result;
37856 PyObject * obj0 = 0 ;
37857 char *kwnames[] = {
37858 (char *) "self", NULL
37859 };
37860
37861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
37862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37864 {
37865 PyThreadState* __tstate = wxPyBeginAllowThreads();
37866 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
37867
37868 wxPyEndAllowThreads(__tstate);
37869 if (PyErr_Occurred()) SWIG_fail;
37870 }
37871 {
37872 wxSize * resultptr;
37873 resultptr = new wxSize((wxSize &) result);
15afbcd0 37874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
37875 }
37876 return resultobj;
37877 fail:
37878 return NULL;
37879}
37880
37881
37882static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
37883 PyObject *resultobj;
37884 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37885 wxSize *arg2 = 0 ;
37886 wxSize temp2 ;
37887 PyObject * obj0 = 0 ;
37888 PyObject * obj1 = 0 ;
37889 char *kwnames[] = {
37890 (char *) "self",(char *) "sz", NULL
37891 };
37892
37893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37896 {
37897 arg2 = &temp2;
37898 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
37899 }
37900 {
37901 PyThreadState* __tstate = wxPyBeginAllowThreads();
37902 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
37903
37904 wxPyEndAllowThreads(__tstate);
37905 if (PyErr_Occurred()) SWIG_fail;
37906 }
37907 Py_INCREF(Py_None); resultobj = Py_None;
37908 return resultobj;
37909 fail:
37910 return NULL;
37911}
37912
37913
37914static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
37915 PyObject *resultobj;
37916 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37917 wxWindow *arg2 = (wxWindow *) 0 ;
37918 wxGBPosition result;
37919 PyObject * obj0 = 0 ;
37920 PyObject * obj1 = 0 ;
37921
37922 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37927 {
37928 PyThreadState* __tstate = wxPyBeginAllowThreads();
37929 result = (arg1)->GetItemPosition(arg2);
37930
37931 wxPyEndAllowThreads(__tstate);
37932 if (PyErr_Occurred()) SWIG_fail;
37933 }
37934 {
37935 wxGBPosition * resultptr;
37936 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37938 }
37939 return resultobj;
37940 fail:
37941 return NULL;
37942}
37943
37944
37945static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
37946 PyObject *resultobj;
37947 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37948 wxSizer *arg2 = (wxSizer *) 0 ;
37949 wxGBPosition result;
37950 PyObject * obj0 = 0 ;
37951 PyObject * obj1 = 0 ;
37952
37953 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37958 {
37959 PyThreadState* __tstate = wxPyBeginAllowThreads();
37960 result = (arg1)->GetItemPosition(arg2);
37961
37962 wxPyEndAllowThreads(__tstate);
37963 if (PyErr_Occurred()) SWIG_fail;
37964 }
37965 {
37966 wxGBPosition * resultptr;
37967 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37969 }
37970 return resultobj;
37971 fail:
37972 return NULL;
37973}
37974
37975
37976static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
37977 PyObject *resultobj;
37978 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37979 size_t arg2 ;
37980 wxGBPosition result;
37981 PyObject * obj0 = 0 ;
37982 PyObject * obj1 = 0 ;
37983
37984 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37987 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37988 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37989 {
37990 PyThreadState* __tstate = wxPyBeginAllowThreads();
37991 result = (arg1)->GetItemPosition(arg2);
37992
37993 wxPyEndAllowThreads(__tstate);
37994 if (PyErr_Occurred()) SWIG_fail;
37995 }
37996 {
37997 wxGBPosition * resultptr;
37998 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37999 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
38000 }
38001 return resultobj;
38002 fail:
38003 return NULL;
38004}
38005
38006
38007static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
38008 int argc;
38009 PyObject *argv[3];
38010 int ii;
38011
38012 argc = PyObject_Length(args);
38013 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38014 argv[ii] = PyTuple_GetItem(args,ii);
38015 }
38016 if (argc == 2) {
38017 int _v;
38018 {
38019 void *ptr;
15afbcd0 38020 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38021 _v = 0;
38022 PyErr_Clear();
38023 } else {
38024 _v = 1;
38025 }
38026 }
38027 if (_v) {
38028 {
38029 void *ptr;
15afbcd0 38030 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38031 _v = 0;
38032 PyErr_Clear();
38033 } else {
38034 _v = 1;
38035 }
38036 }
38037 if (_v) {
38038 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
38039 }
38040 }
38041 }
38042 if (argc == 2) {
38043 int _v;
38044 {
38045 void *ptr;
15afbcd0 38046 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38047 _v = 0;
38048 PyErr_Clear();
38049 } else {
38050 _v = 1;
38051 }
38052 }
38053 if (_v) {
38054 {
38055 void *ptr;
15afbcd0 38056 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38057 _v = 0;
38058 PyErr_Clear();
38059 } else {
38060 _v = 1;
38061 }
38062 }
38063 if (_v) {
38064 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
38065 }
38066 }
38067 }
38068 if (argc == 2) {
38069 int _v;
38070 {
38071 void *ptr;
15afbcd0 38072 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38073 _v = 0;
38074 PyErr_Clear();
38075 } else {
38076 _v = 1;
38077 }
38078 }
38079 if (_v) {
15afbcd0 38080 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38081 if (_v) {
38082 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
38083 }
38084 }
38085 }
38086
38087 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38088 return NULL;
38089}
38090
38091
38092static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
38093 PyObject *resultobj;
38094 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38095 wxWindow *arg2 = (wxWindow *) 0 ;
38096 wxGBPosition *arg3 = 0 ;
38097 bool result;
38098 wxGBPosition temp3 ;
38099 PyObject * obj0 = 0 ;
38100 PyObject * obj1 = 0 ;
38101 PyObject * obj2 = 0 ;
38102
38103 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38108 {
38109 arg3 = &temp3;
38110 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38111 }
38112 {
38113 PyThreadState* __tstate = wxPyBeginAllowThreads();
38114 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38115
38116 wxPyEndAllowThreads(__tstate);
38117 if (PyErr_Occurred()) SWIG_fail;
38118 }
4f89f6a3
RD
38119 {
38120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38121 }
d14a1e28
RD
38122 return resultobj;
38123 fail:
38124 return NULL;
38125}
38126
38127
38128static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
38129 PyObject *resultobj;
38130 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38131 wxSizer *arg2 = (wxSizer *) 0 ;
38132 wxGBPosition *arg3 = 0 ;
38133 bool result;
38134 wxGBPosition temp3 ;
38135 PyObject * obj0 = 0 ;
38136 PyObject * obj1 = 0 ;
38137 PyObject * obj2 = 0 ;
38138
38139 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38144 {
38145 arg3 = &temp3;
38146 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38147 }
38148 {
38149 PyThreadState* __tstate = wxPyBeginAllowThreads();
38150 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38151
38152 wxPyEndAllowThreads(__tstate);
38153 if (PyErr_Occurred()) SWIG_fail;
38154 }
4f89f6a3
RD
38155 {
38156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38157 }
d14a1e28
RD
38158 return resultobj;
38159 fail:
38160 return NULL;
38161}
38162
38163
38164static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
38165 PyObject *resultobj;
38166 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38167 size_t arg2 ;
38168 wxGBPosition *arg3 = 0 ;
38169 bool result;
38170 wxGBPosition temp3 ;
38171 PyObject * obj0 = 0 ;
38172 PyObject * obj1 = 0 ;
38173 PyObject * obj2 = 0 ;
38174
38175 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38178 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38179 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38180 {
38181 arg3 = &temp3;
38182 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38183 }
38184 {
38185 PyThreadState* __tstate = wxPyBeginAllowThreads();
38186 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38187
38188 wxPyEndAllowThreads(__tstate);
38189 if (PyErr_Occurred()) SWIG_fail;
38190 }
4f89f6a3
RD
38191 {
38192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38193 }
d14a1e28
RD
38194 return resultobj;
38195 fail:
38196 return NULL;
38197}
38198
38199
38200static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
38201 int argc;
38202 PyObject *argv[4];
38203 int ii;
38204
38205 argc = PyObject_Length(args);
38206 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38207 argv[ii] = PyTuple_GetItem(args,ii);
38208 }
38209 if (argc == 3) {
38210 int _v;
38211 {
38212 void *ptr;
15afbcd0 38213 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38214 _v = 0;
38215 PyErr_Clear();
38216 } else {
38217 _v = 1;
38218 }
38219 }
38220 if (_v) {
38221 {
38222 void *ptr;
15afbcd0 38223 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38224 _v = 0;
38225 PyErr_Clear();
38226 } else {
38227 _v = 1;
38228 }
38229 }
38230 if (_v) {
38231 {
38232 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38233 }
38234 if (_v) {
38235 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
38236 }
38237 }
38238 }
38239 }
38240 if (argc == 3) {
38241 int _v;
38242 {
38243 void *ptr;
15afbcd0 38244 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38245 _v = 0;
38246 PyErr_Clear();
38247 } else {
38248 _v = 1;
38249 }
38250 }
38251 if (_v) {
38252 {
38253 void *ptr;
15afbcd0 38254 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38255 _v = 0;
38256 PyErr_Clear();
38257 } else {
38258 _v = 1;
38259 }
38260 }
38261 if (_v) {
38262 {
38263 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38264 }
38265 if (_v) {
38266 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
38267 }
38268 }
38269 }
38270 }
38271 if (argc == 3) {
38272 int _v;
38273 {
38274 void *ptr;
15afbcd0 38275 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38276 _v = 0;
38277 PyErr_Clear();
38278 } else {
38279 _v = 1;
38280 }
38281 }
38282 if (_v) {
15afbcd0 38283 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38284 if (_v) {
38285 {
38286 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38287 }
38288 if (_v) {
38289 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
38290 }
38291 }
38292 }
38293 }
38294
38295 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38296 return NULL;
38297}
38298
38299
38300static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38301 PyObject *resultobj;
38302 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38303 wxWindow *arg2 = (wxWindow *) 0 ;
38304 wxGBSpan result;
38305 PyObject * obj0 = 0 ;
38306 PyObject * obj1 = 0 ;
38307
38308 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38313 {
38314 PyThreadState* __tstate = wxPyBeginAllowThreads();
38315 result = (arg1)->GetItemSpan(arg2);
38316
38317 wxPyEndAllowThreads(__tstate);
38318 if (PyErr_Occurred()) SWIG_fail;
38319 }
38320 {
38321 wxGBSpan * resultptr;
38322 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38323 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38324 }
38325 return resultobj;
38326 fail:
38327 return NULL;
38328}
38329
38330
38331static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38332 PyObject *resultobj;
38333 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38334 wxSizer *arg2 = (wxSizer *) 0 ;
38335 wxGBSpan result;
38336 PyObject * obj0 = 0 ;
38337 PyObject * obj1 = 0 ;
38338
38339 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38344 {
38345 PyThreadState* __tstate = wxPyBeginAllowThreads();
38346 result = (arg1)->GetItemSpan(arg2);
38347
38348 wxPyEndAllowThreads(__tstate);
38349 if (PyErr_Occurred()) SWIG_fail;
38350 }
38351 {
38352 wxGBSpan * resultptr;
38353 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38355 }
38356 return resultobj;
38357 fail:
38358 return NULL;
38359}
38360
38361
38362static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38363 PyObject *resultobj;
38364 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38365 size_t arg2 ;
38366 wxGBSpan result;
38367 PyObject * obj0 = 0 ;
38368 PyObject * obj1 = 0 ;
38369
38370 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
38371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38373 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38374 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38375 {
38376 PyThreadState* __tstate = wxPyBeginAllowThreads();
38377 result = (arg1)->GetItemSpan(arg2);
38378
38379 wxPyEndAllowThreads(__tstate);
38380 if (PyErr_Occurred()) SWIG_fail;
38381 }
38382 {
38383 wxGBSpan * resultptr;
38384 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38385 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38386 }
38387 return resultobj;
38388 fail:
38389 return NULL;
38390}
38391
38392
38393static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
38394 int argc;
38395 PyObject *argv[3];
38396 int ii;
38397
38398 argc = PyObject_Length(args);
38399 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38400 argv[ii] = PyTuple_GetItem(args,ii);
38401 }
38402 if (argc == 2) {
38403 int _v;
38404 {
38405 void *ptr;
15afbcd0 38406 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38407 _v = 0;
38408 PyErr_Clear();
38409 } else {
38410 _v = 1;
38411 }
38412 }
38413 if (_v) {
38414 {
38415 void *ptr;
15afbcd0 38416 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38417 _v = 0;
38418 PyErr_Clear();
38419 } else {
38420 _v = 1;
38421 }
38422 }
38423 if (_v) {
38424 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
38425 }
38426 }
38427 }
38428 if (argc == 2) {
38429 int _v;
38430 {
38431 void *ptr;
15afbcd0 38432 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38433 _v = 0;
38434 PyErr_Clear();
38435 } else {
38436 _v = 1;
38437 }
38438 }
38439 if (_v) {
38440 {
38441 void *ptr;
15afbcd0 38442 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38443 _v = 0;
38444 PyErr_Clear();
38445 } else {
38446 _v = 1;
38447 }
38448 }
38449 if (_v) {
38450 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
38451 }
38452 }
38453 }
38454 if (argc == 2) {
38455 int _v;
38456 {
38457 void *ptr;
15afbcd0 38458 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38459 _v = 0;
38460 PyErr_Clear();
38461 } else {
38462 _v = 1;
38463 }
38464 }
38465 if (_v) {
15afbcd0 38466 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38467 if (_v) {
38468 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
38469 }
38470 }
38471 }
38472
38473 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38474 return NULL;
38475}
38476
38477
38478static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38479 PyObject *resultobj;
38480 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38481 wxWindow *arg2 = (wxWindow *) 0 ;
38482 wxGBSpan *arg3 = 0 ;
38483 bool result;
38484 wxGBSpan temp3 ;
38485 PyObject * obj0 = 0 ;
38486 PyObject * obj1 = 0 ;
38487 PyObject * obj2 = 0 ;
38488
38489 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38492 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38494 {
38495 arg3 = &temp3;
38496 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38497 }
38498 {
38499 PyThreadState* __tstate = wxPyBeginAllowThreads();
38500 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38501
38502 wxPyEndAllowThreads(__tstate);
38503 if (PyErr_Occurred()) SWIG_fail;
38504 }
4f89f6a3
RD
38505 {
38506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38507 }
d14a1e28
RD
38508 return resultobj;
38509 fail:
38510 return NULL;
38511}
38512
38513
38514static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38515 PyObject *resultobj;
38516 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38517 wxSizer *arg2 = (wxSizer *) 0 ;
38518 wxGBSpan *arg3 = 0 ;
38519 bool result;
38520 wxGBSpan temp3 ;
38521 PyObject * obj0 = 0 ;
38522 PyObject * obj1 = 0 ;
38523 PyObject * obj2 = 0 ;
38524
38525 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38530 {
38531 arg3 = &temp3;
38532 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38533 }
38534 {
38535 PyThreadState* __tstate = wxPyBeginAllowThreads();
38536 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38537
38538 wxPyEndAllowThreads(__tstate);
38539 if (PyErr_Occurred()) SWIG_fail;
38540 }
4f89f6a3
RD
38541 {
38542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38543 }
d14a1e28
RD
38544 return resultobj;
38545 fail:
38546 return NULL;
38547}
38548
38549
38550static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38551 PyObject *resultobj;
38552 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38553 size_t arg2 ;
38554 wxGBSpan *arg3 = 0 ;
38555 bool result;
38556 wxGBSpan temp3 ;
38557 PyObject * obj0 = 0 ;
38558 PyObject * obj1 = 0 ;
38559 PyObject * obj2 = 0 ;
38560
38561 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38564 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38565 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38566 {
38567 arg3 = &temp3;
38568 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38569 }
38570 {
38571 PyThreadState* __tstate = wxPyBeginAllowThreads();
38572 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38573
38574 wxPyEndAllowThreads(__tstate);
38575 if (PyErr_Occurred()) SWIG_fail;
38576 }
4f89f6a3
RD
38577 {
38578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38579 }
d14a1e28
RD
38580 return resultobj;
38581 fail:
38582 return NULL;
38583}
38584
38585
38586static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
38587 int argc;
38588 PyObject *argv[4];
38589 int ii;
38590
38591 argc = PyObject_Length(args);
38592 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38593 argv[ii] = PyTuple_GetItem(args,ii);
38594 }
38595 if (argc == 3) {
38596 int _v;
38597 {
38598 void *ptr;
15afbcd0 38599 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38600 _v = 0;
38601 PyErr_Clear();
38602 } else {
38603 _v = 1;
38604 }
38605 }
38606 if (_v) {
38607 {
38608 void *ptr;
15afbcd0 38609 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38610 _v = 0;
38611 PyErr_Clear();
38612 } else {
38613 _v = 1;
38614 }
38615 }
38616 if (_v) {
38617 {
38618 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38619 }
38620 if (_v) {
38621 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
38622 }
38623 }
38624 }
38625 }
38626 if (argc == 3) {
38627 int _v;
38628 {
38629 void *ptr;
15afbcd0 38630 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38631 _v = 0;
38632 PyErr_Clear();
38633 } else {
38634 _v = 1;
38635 }
38636 }
38637 if (_v) {
38638 {
38639 void *ptr;
15afbcd0 38640 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38641 _v = 0;
38642 PyErr_Clear();
38643 } else {
38644 _v = 1;
38645 }
38646 }
38647 if (_v) {
38648 {
38649 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38650 }
38651 if (_v) {
38652 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
38653 }
38654 }
38655 }
38656 }
38657 if (argc == 3) {
38658 int _v;
38659 {
38660 void *ptr;
15afbcd0 38661 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38662 _v = 0;
38663 PyErr_Clear();
38664 } else {
38665 _v = 1;
38666 }
38667 }
38668 if (_v) {
15afbcd0 38669 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38670 if (_v) {
38671 {
38672 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38673 }
38674 if (_v) {
38675 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
38676 }
38677 }
38678 }
38679 }
38680
38681 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38682 return NULL;
38683}
38684
38685
38686static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
38687 PyObject *resultobj;
38688 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38689 wxWindow *arg2 = (wxWindow *) 0 ;
38690 wxGBSizerItem *result;
38691 PyObject * obj0 = 0 ;
38692 PyObject * obj1 = 0 ;
38693
38694 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
38695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38699 {
38700 PyThreadState* __tstate = wxPyBeginAllowThreads();
38701 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38702
38703 wxPyEndAllowThreads(__tstate);
38704 if (PyErr_Occurred()) SWIG_fail;
38705 }
15afbcd0 38706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38707 return resultobj;
38708 fail:
38709 return NULL;
38710}
38711
38712
38713static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
38714 PyObject *resultobj;
38715 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38716 wxSizer *arg2 = (wxSizer *) 0 ;
38717 wxGBSizerItem *result;
38718 PyObject * obj0 = 0 ;
38719 PyObject * obj1 = 0 ;
38720
38721 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
38722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38726 {
38727 PyThreadState* __tstate = wxPyBeginAllowThreads();
38728 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38729
38730 wxPyEndAllowThreads(__tstate);
38731 if (PyErr_Occurred()) SWIG_fail;
38732 }
15afbcd0 38733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38734 return resultobj;
38735 fail:
38736 return NULL;
38737}
38738
38739
38740static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
38741 int argc;
38742 PyObject *argv[3];
38743 int ii;
38744
38745 argc = PyObject_Length(args);
38746 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38747 argv[ii] = PyTuple_GetItem(args,ii);
38748 }
38749 if (argc == 2) {
38750 int _v;
38751 {
38752 void *ptr;
15afbcd0 38753 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38754 _v = 0;
38755 PyErr_Clear();
38756 } else {
38757 _v = 1;
38758 }
38759 }
38760 if (_v) {
38761 {
38762 void *ptr;
15afbcd0 38763 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38764 _v = 0;
38765 PyErr_Clear();
38766 } else {
38767 _v = 1;
38768 }
38769 }
38770 if (_v) {
38771 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
38772 }
38773 }
38774 }
38775 if (argc == 2) {
38776 int _v;
38777 {
38778 void *ptr;
15afbcd0 38779 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38780 _v = 0;
38781 PyErr_Clear();
38782 } else {
38783 _v = 1;
38784 }
38785 }
38786 if (_v) {
38787 {
38788 void *ptr;
15afbcd0 38789 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38790 _v = 0;
38791 PyErr_Clear();
38792 } else {
38793 _v = 1;
38794 }
38795 }
38796 if (_v) {
38797 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
38798 }
38799 }
38800 }
38801
38802 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
38803 return NULL;
38804}
38805
38806
38807static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
38808 PyObject *resultobj;
38809 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38810 wxGBPosition *arg2 = 0 ;
38811 wxGBSizerItem *result;
38812 wxGBPosition temp2 ;
38813 PyObject * obj0 = 0 ;
38814 PyObject * obj1 = 0 ;
38815 char *kwnames[] = {
38816 (char *) "self",(char *) "pos", NULL
38817 };
38818
38819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38822 {
38823 arg2 = &temp2;
38824 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38825 }
38826 {
38827 PyThreadState* __tstate = wxPyBeginAllowThreads();
38828 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
38829
38830 wxPyEndAllowThreads(__tstate);
38831 if (PyErr_Occurred()) SWIG_fail;
38832 }
15afbcd0 38833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38834 return resultobj;
38835 fail:
38836 return NULL;
38837}
38838
38839
e811c8ce
RD
38840static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
38841 PyObject *resultobj;
38842 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38843 wxPoint *arg2 = 0 ;
38844 wxGBSizerItem *result;
38845 wxPoint temp2 ;
38846 PyObject * obj0 = 0 ;
38847 PyObject * obj1 = 0 ;
38848 char *kwnames[] = {
38849 (char *) "self",(char *) "pt", NULL
38850 };
38851
38852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
38855 {
38856 arg2 = &temp2;
38857 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
38858 }
38859 {
38860 PyThreadState* __tstate = wxPyBeginAllowThreads();
38861 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
38862
38863 wxPyEndAllowThreads(__tstate);
38864 if (PyErr_Occurred()) SWIG_fail;
38865 }
15afbcd0 38866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
e811c8ce
RD
38867 return resultobj;
38868 fail:
38869 return NULL;
38870}
38871
38872
248ed943 38873static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38874 PyObject *resultobj;
38875 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38876 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
38877 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
38878 bool result;
38879 PyObject * obj0 = 0 ;
38880 PyObject * obj1 = 0 ;
38881 PyObject * obj2 = 0 ;
248ed943
RD
38882 char *kwnames[] = {
38883 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
38884 };
d14a1e28 38885
248ed943 38886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38889 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 38891 if (obj2) {
15afbcd0
RD
38892 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
38893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38894 }
38895 {
38896 PyThreadState* __tstate = wxPyBeginAllowThreads();
38897 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
38898
38899 wxPyEndAllowThreads(__tstate);
38900 if (PyErr_Occurred()) SWIG_fail;
38901 }
4f89f6a3
RD
38902 {
38903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38904 }
d14a1e28
RD
38905 return resultobj;
38906 fail:
38907 return NULL;
38908}
38909
38910
248ed943 38911static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38912 PyObject *resultobj;
38913 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38914 wxGBPosition *arg2 = 0 ;
38915 wxGBSpan *arg3 = 0 ;
38916 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
38917 bool result;
38918 wxGBPosition temp2 ;
38919 wxGBSpan temp3 ;
38920 PyObject * obj0 = 0 ;
38921 PyObject * obj1 = 0 ;
38922 PyObject * obj2 = 0 ;
38923 PyObject * obj3 = 0 ;
248ed943
RD
38924 char *kwnames[] = {
38925 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
38926 };
d14a1e28 38927
248ed943 38928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
38929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38931 {
38932 arg2 = &temp2;
38933 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38934 }
38935 {
38936 arg3 = &temp3;
38937 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38938 }
38939 if (obj3) {
15afbcd0
RD
38940 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
38941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38942 }
38943 {
38944 PyThreadState* __tstate = wxPyBeginAllowThreads();
38945 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
38946
38947 wxPyEndAllowThreads(__tstate);
38948 if (PyErr_Occurred()) SWIG_fail;
38949 }
4f89f6a3
RD
38950 {
38951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38952 }
d14a1e28
RD
38953 return resultobj;
38954 fail:
38955 return NULL;
38956}
38957
38958
d14a1e28
RD
38959static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
38960 PyObject *obj;
38961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38962 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
38963 Py_INCREF(obj);
38964 return Py_BuildValue((char *)"");
38965}
38966static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
38967 PyObject *resultobj;
38968 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38969 int arg2 ;
38970 wxWindow *arg3 = (wxWindow *) 0 ;
38971 int arg4 ;
38972 int arg5 = (int) 0 ;
38973 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
38974 PyObject * obj0 = 0 ;
994141e6 38975 PyObject * obj1 = 0 ;
d14a1e28 38976 PyObject * obj2 = 0 ;
994141e6
RD
38977 PyObject * obj3 = 0 ;
38978 PyObject * obj4 = 0 ;
38979 PyObject * obj5 = 0 ;
d14a1e28
RD
38980 char *kwnames[] = {
38981 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38982 };
38983
994141e6 38984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
38985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38987 arg2 = (wxRelationship) SWIG_AsInt(obj1);
38988 if (PyErr_Occurred()) SWIG_fail;
38989 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38991 arg4 = (wxEdge) SWIG_AsInt(obj3);
38992 if (PyErr_Occurred()) SWIG_fail;
994141e6 38993 if (obj4) {
15afbcd0
RD
38994 arg5 = (int) SWIG_AsInt(obj4);
38995 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
38996 }
38997 if (obj5) {
15afbcd0
RD
38998 arg6 = (int) SWIG_AsInt(obj5);
38999 if (PyErr_Occurred()) SWIG_fail;
994141e6 39000 }
d14a1e28
RD
39001 {
39002 PyThreadState* __tstate = wxPyBeginAllowThreads();
39003 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
39004
39005 wxPyEndAllowThreads(__tstate);
39006 if (PyErr_Occurred()) SWIG_fail;
39007 }
39008 Py_INCREF(Py_None); resultobj = Py_None;
39009 return resultobj;
39010 fail:
39011 return NULL;
39012}
39013
39014
39015static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39016 PyObject *resultobj;
39017 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39018 wxWindow *arg2 = (wxWindow *) 0 ;
39019 int arg3 = (int) 0 ;
39020 PyObject * obj0 = 0 ;
39021 PyObject * obj1 = 0 ;
994141e6 39022 PyObject * obj2 = 0 ;
d14a1e28
RD
39023 char *kwnames[] = {
39024 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39025 };
39026
994141e6 39027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39030 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39032 if (obj2) {
15afbcd0
RD
39033 arg3 = (int) SWIG_AsInt(obj2);
39034 if (PyErr_Occurred()) SWIG_fail;
994141e6 39035 }
d14a1e28
RD
39036 {
39037 PyThreadState* __tstate = wxPyBeginAllowThreads();
39038 (arg1)->LeftOf(arg2,arg3);
39039
39040 wxPyEndAllowThreads(__tstate);
39041 if (PyErr_Occurred()) SWIG_fail;
39042 }
39043 Py_INCREF(Py_None); resultobj = Py_None;
39044 return resultobj;
39045 fail:
39046 return NULL;
39047}
39048
39049
39050static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39051 PyObject *resultobj;
39052 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39053 wxWindow *arg2 = (wxWindow *) 0 ;
39054 int arg3 = (int) 0 ;
39055 PyObject * obj0 = 0 ;
39056 PyObject * obj1 = 0 ;
994141e6 39057 PyObject * obj2 = 0 ;
d14a1e28
RD
39058 char *kwnames[] = {
39059 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39060 };
39061
994141e6 39062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39067 if (obj2) {
15afbcd0
RD
39068 arg3 = (int) SWIG_AsInt(obj2);
39069 if (PyErr_Occurred()) SWIG_fail;
994141e6 39070 }
d14a1e28
RD
39071 {
39072 PyThreadState* __tstate = wxPyBeginAllowThreads();
39073 (arg1)->RightOf(arg2,arg3);
39074
39075 wxPyEndAllowThreads(__tstate);
39076 if (PyErr_Occurred()) SWIG_fail;
39077 }
39078 Py_INCREF(Py_None); resultobj = Py_None;
39079 return resultobj;
39080 fail:
39081 return NULL;
39082}
39083
39084
39085static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
39086 PyObject *resultobj;
39087 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39088 wxWindow *arg2 = (wxWindow *) 0 ;
39089 int arg3 = (int) 0 ;
39090 PyObject * obj0 = 0 ;
39091 PyObject * obj1 = 0 ;
994141e6 39092 PyObject * obj2 = 0 ;
d14a1e28
RD
39093 char *kwnames[] = {
39094 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39095 };
39096
994141e6 39097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39102 if (obj2) {
15afbcd0
RD
39103 arg3 = (int) SWIG_AsInt(obj2);
39104 if (PyErr_Occurred()) SWIG_fail;
994141e6 39105 }
d14a1e28
RD
39106 {
39107 PyThreadState* __tstate = wxPyBeginAllowThreads();
39108 (arg1)->Above(arg2,arg3);
39109
39110 wxPyEndAllowThreads(__tstate);
39111 if (PyErr_Occurred()) SWIG_fail;
39112 }
39113 Py_INCREF(Py_None); resultobj = Py_None;
39114 return resultobj;
39115 fail:
39116 return NULL;
39117}
39118
39119
39120static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
39121 PyObject *resultobj;
39122 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39123 wxWindow *arg2 = (wxWindow *) 0 ;
39124 int arg3 = (int) 0 ;
39125 PyObject * obj0 = 0 ;
39126 PyObject * obj1 = 0 ;
994141e6 39127 PyObject * obj2 = 0 ;
d14a1e28
RD
39128 char *kwnames[] = {
39129 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39130 };
39131
994141e6 39132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39137 if (obj2) {
15afbcd0
RD
39138 arg3 = (int) SWIG_AsInt(obj2);
39139 if (PyErr_Occurred()) SWIG_fail;
994141e6 39140 }
d14a1e28
RD
39141 {
39142 PyThreadState* __tstate = wxPyBeginAllowThreads();
39143 (arg1)->Below(arg2,arg3);
39144
39145 wxPyEndAllowThreads(__tstate);
39146 if (PyErr_Occurred()) SWIG_fail;
39147 }
39148 Py_INCREF(Py_None); resultobj = Py_None;
39149 return resultobj;
39150 fail:
39151 return NULL;
39152}
39153
39154
39155static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
39156 PyObject *resultobj;
39157 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39158 wxWindow *arg2 = (wxWindow *) 0 ;
39159 int arg3 ;
39160 int arg4 = (int) 0 ;
39161 PyObject * obj0 = 0 ;
39162 PyObject * obj1 = 0 ;
994141e6
RD
39163 PyObject * obj2 = 0 ;
39164 PyObject * obj3 = 0 ;
d14a1e28
RD
39165 char *kwnames[] = {
39166 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39167 };
39168
994141e6 39169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39174 arg3 = (wxEdge) SWIG_AsInt(obj2);
39175 if (PyErr_Occurred()) SWIG_fail;
994141e6 39176 if (obj3) {
15afbcd0
RD
39177 arg4 = (int) SWIG_AsInt(obj3);
39178 if (PyErr_Occurred()) SWIG_fail;
994141e6 39179 }
d14a1e28
RD
39180 {
39181 PyThreadState* __tstate = wxPyBeginAllowThreads();
39182 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
39183
39184 wxPyEndAllowThreads(__tstate);
39185 if (PyErr_Occurred()) SWIG_fail;
39186 }
39187 Py_INCREF(Py_None); resultobj = Py_None;
39188 return resultobj;
39189 fail:
39190 return NULL;
39191}
39192
39193
39194static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39195 PyObject *resultobj;
39196 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39197 wxWindow *arg2 = (wxWindow *) 0 ;
39198 int arg3 ;
39199 int arg4 ;
39200 PyObject * obj0 = 0 ;
39201 PyObject * obj1 = 0 ;
994141e6
RD
39202 PyObject * obj2 = 0 ;
39203 PyObject * obj3 = 0 ;
d14a1e28
RD
39204 char *kwnames[] = {
39205 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39206 };
39207
994141e6 39208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39213 arg3 = (wxEdge) SWIG_AsInt(obj2);
39214 if (PyErr_Occurred()) SWIG_fail;
39215 arg4 = (int) SWIG_AsInt(obj3);
39216 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39217 {
39218 PyThreadState* __tstate = wxPyBeginAllowThreads();
39219 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
39220
39221 wxPyEndAllowThreads(__tstate);
39222 if (PyErr_Occurred()) SWIG_fail;
39223 }
39224 Py_INCREF(Py_None); resultobj = Py_None;
39225 return resultobj;
39226 fail:
39227 return NULL;
39228}
39229
39230
39231static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
39232 PyObject *resultobj;
39233 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39234 int arg2 ;
39235 PyObject * obj0 = 0 ;
994141e6 39236 PyObject * obj1 = 0 ;
d14a1e28
RD
39237 char *kwnames[] = {
39238 (char *) "self",(char *) "val", NULL
39239 };
39240
994141e6 39241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39244 arg2 = (int) SWIG_AsInt(obj1);
39245 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39246 {
39247 PyThreadState* __tstate = wxPyBeginAllowThreads();
39248 (arg1)->Absolute(arg2);
39249
39250 wxPyEndAllowThreads(__tstate);
39251 if (PyErr_Occurred()) SWIG_fail;
39252 }
39253 Py_INCREF(Py_None); resultobj = Py_None;
39254 return resultobj;
39255 fail:
39256 return NULL;
39257}
39258
39259
39260static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
39261 PyObject *resultobj;
39262 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39263 PyObject * obj0 = 0 ;
39264 char *kwnames[] = {
39265 (char *) "self", NULL
39266 };
39267
39268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
15afbcd0
RD
39269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39271 {
39272 PyThreadState* __tstate = wxPyBeginAllowThreads();
39273 (arg1)->Unconstrained();
39274
39275 wxPyEndAllowThreads(__tstate);
39276 if (PyErr_Occurred()) SWIG_fail;
39277 }
39278 Py_INCREF(Py_None); resultobj = Py_None;
39279 return resultobj;
39280 fail:
39281 return NULL;
39282}
39283
39284
39285static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
39286 PyObject *resultobj;
39287 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39288 PyObject * obj0 = 0 ;
39289 char *kwnames[] = {
39290 (char *) "self", NULL
39291 };
39292
39293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
15afbcd0
RD
39294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39296 {
39297 PyThreadState* __tstate = wxPyBeginAllowThreads();
39298 (arg1)->AsIs();
39299
39300 wxPyEndAllowThreads(__tstate);
39301 if (PyErr_Occurred()) SWIG_fail;
39302 }
39303 Py_INCREF(Py_None); resultobj = Py_None;
39304 return resultobj;
39305 fail:
39306 return NULL;
39307}
39308
39309
39310static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
39311 PyObject *resultobj;
39312 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39313 wxWindow *result;
39314 PyObject * obj0 = 0 ;
39315 char *kwnames[] = {
39316 (char *) "self", NULL
39317 };
39318
39319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
39320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39322 {
39323 PyThreadState* __tstate = wxPyBeginAllowThreads();
39324 result = (wxWindow *)(arg1)->GetOtherWindow();
39325
39326 wxPyEndAllowThreads(__tstate);
39327 if (PyErr_Occurred()) SWIG_fail;
39328 }
39329 {
412d302d 39330 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
39331 }
39332 return resultobj;
39333 fail:
39334 return NULL;
39335}
39336
39337
39338static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39339 PyObject *resultobj;
39340 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39341 int result;
39342 PyObject * obj0 = 0 ;
39343 char *kwnames[] = {
39344 (char *) "self", NULL
39345 };
39346
39347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
39348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39350 {
39351 PyThreadState* __tstate = wxPyBeginAllowThreads();
39352 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
39353
39354 wxPyEndAllowThreads(__tstate);
39355 if (PyErr_Occurred()) SWIG_fail;
39356 }
15afbcd0 39357 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39358 return resultobj;
39359 fail:
39360 return NULL;
39361}
39362
39363
39364static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39365 PyObject *resultobj;
39366 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39367 int arg2 ;
39368 PyObject * obj0 = 0 ;
994141e6 39369 PyObject * obj1 = 0 ;
d14a1e28
RD
39370 char *kwnames[] = {
39371 (char *) "self",(char *) "which", NULL
39372 };
39373
994141e6 39374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39377 arg2 = (wxEdge) SWIG_AsInt(obj1);
39378 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39379 {
39380 PyThreadState* __tstate = wxPyBeginAllowThreads();
39381 (arg1)->SetEdge((wxEdge )arg2);
39382
39383 wxPyEndAllowThreads(__tstate);
39384 if (PyErr_Occurred()) SWIG_fail;
39385 }
39386 Py_INCREF(Py_None); resultobj = Py_None;
39387 return resultobj;
39388 fail:
39389 return NULL;
39390}
39391
39392
39393static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
39394 PyObject *resultobj;
39395 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39396 int arg2 ;
39397 PyObject * obj0 = 0 ;
994141e6 39398 PyObject * obj1 = 0 ;
d14a1e28
RD
39399 char *kwnames[] = {
39400 (char *) "self",(char *) "v", NULL
39401 };
39402
994141e6 39403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39406 arg2 = (int) SWIG_AsInt(obj1);
39407 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39408 {
39409 PyThreadState* __tstate = wxPyBeginAllowThreads();
39410 (arg1)->SetValue(arg2);
39411
39412 wxPyEndAllowThreads(__tstate);
39413 if (PyErr_Occurred()) SWIG_fail;
39414 }
39415 Py_INCREF(Py_None); resultobj = Py_None;
39416 return resultobj;
39417 fail:
39418 return NULL;
39419}
39420
39421
39422static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
39423 PyObject *resultobj;
39424 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39425 int result;
39426 PyObject * obj0 = 0 ;
39427 char *kwnames[] = {
39428 (char *) "self", NULL
39429 };
39430
39431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
15afbcd0
RD
39432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39434 {
39435 PyThreadState* __tstate = wxPyBeginAllowThreads();
39436 result = (int)(arg1)->GetMargin();
39437
39438 wxPyEndAllowThreads(__tstate);
39439 if (PyErr_Occurred()) SWIG_fail;
39440 }
15afbcd0 39441 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39442 return resultobj;
39443 fail:
39444 return NULL;
39445}
39446
39447
39448static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
39449 PyObject *resultobj;
39450 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39451 int arg2 ;
39452 PyObject * obj0 = 0 ;
994141e6 39453 PyObject * obj1 = 0 ;
d14a1e28
RD
39454 char *kwnames[] = {
39455 (char *) "self",(char *) "m", NULL
39456 };
39457
994141e6 39458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39461 arg2 = (int) SWIG_AsInt(obj1);
39462 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39463 {
39464 PyThreadState* __tstate = wxPyBeginAllowThreads();
39465 (arg1)->SetMargin(arg2);
39466
39467 wxPyEndAllowThreads(__tstate);
39468 if (PyErr_Occurred()) SWIG_fail;
39469 }
39470 Py_INCREF(Py_None); resultobj = Py_None;
39471 return resultobj;
39472 fail:
39473 return NULL;
39474}
39475
39476
39477static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
39478 PyObject *resultobj;
39479 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39480 int result;
39481 PyObject * obj0 = 0 ;
39482 char *kwnames[] = {
39483 (char *) "self", NULL
39484 };
39485
39486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
39487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39489 {
39490 PyThreadState* __tstate = wxPyBeginAllowThreads();
39491 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
39492
39493 wxPyEndAllowThreads(__tstate);
39494 if (PyErr_Occurred()) SWIG_fail;
39495 }
15afbcd0 39496 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39497 return resultobj;
39498 fail:
39499 return NULL;
39500}
39501
39502
39503static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
39504 PyObject *resultobj;
39505 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39506 int result;
39507 PyObject * obj0 = 0 ;
39508 char *kwnames[] = {
39509 (char *) "self", NULL
39510 };
39511
39512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
15afbcd0
RD
39513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39515 {
39516 PyThreadState* __tstate = wxPyBeginAllowThreads();
39517 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
39518
39519 wxPyEndAllowThreads(__tstate);
39520 if (PyErr_Occurred()) SWIG_fail;
39521 }
15afbcd0 39522 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39523 return resultobj;
39524 fail:
39525 return NULL;
39526}
39527
39528
39529static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39530 PyObject *resultobj;
39531 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39532 int result;
39533 PyObject * obj0 = 0 ;
39534 char *kwnames[] = {
39535 (char *) "self", NULL
39536 };
39537
39538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
39539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39541 {
39542 PyThreadState* __tstate = wxPyBeginAllowThreads();
39543 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
39544
39545 wxPyEndAllowThreads(__tstate);
39546 if (PyErr_Occurred()) SWIG_fail;
39547 }
15afbcd0 39548 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39549 return resultobj;
39550 fail:
39551 return NULL;
39552}
39553
39554
39555static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
39556 PyObject *resultobj;
39557 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39558 bool result;
39559 PyObject * obj0 = 0 ;
39560 char *kwnames[] = {
39561 (char *) "self", NULL
39562 };
39563
39564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
15afbcd0
RD
39565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39567 {
39568 PyThreadState* __tstate = wxPyBeginAllowThreads();
39569 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
39570
39571 wxPyEndAllowThreads(__tstate);
39572 if (PyErr_Occurred()) SWIG_fail;
39573 }
4f89f6a3
RD
39574 {
39575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39576 }
d14a1e28
RD
39577 return resultobj;
39578 fail:
39579 return NULL;
39580}
39581
39582
39583static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
39584 PyObject *resultobj;
39585 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39586 bool arg2 ;
39587 PyObject * obj0 = 0 ;
39588 PyObject * obj1 = 0 ;
39589 char *kwnames[] = {
39590 (char *) "self",(char *) "d", NULL
39591 };
39592
39593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39596 arg2 = (bool) SWIG_AsBool(obj1);
39597 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39598 {
39599 PyThreadState* __tstate = wxPyBeginAllowThreads();
39600 (arg1)->SetDone(arg2);
39601
39602 wxPyEndAllowThreads(__tstate);
39603 if (PyErr_Occurred()) SWIG_fail;
39604 }
39605 Py_INCREF(Py_None); resultobj = Py_None;
39606 return resultobj;
39607 fail:
39608 return NULL;
39609}
39610
39611
39612static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
39613 PyObject *resultobj;
39614 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39615 int result;
39616 PyObject * obj0 = 0 ;
39617 char *kwnames[] = {
39618 (char *) "self", NULL
39619 };
39620
39621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
15afbcd0
RD
39622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39624 {
39625 PyThreadState* __tstate = wxPyBeginAllowThreads();
39626 result = (int)(arg1)->GetRelationship();
39627
39628 wxPyEndAllowThreads(__tstate);
39629 if (PyErr_Occurred()) SWIG_fail;
39630 }
15afbcd0 39631 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39632 return resultobj;
39633 fail:
39634 return NULL;
39635}
39636
39637
39638static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
39639 PyObject *resultobj;
39640 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39641 int arg2 ;
39642 PyObject * obj0 = 0 ;
994141e6 39643 PyObject * obj1 = 0 ;
d14a1e28
RD
39644 char *kwnames[] = {
39645 (char *) "self",(char *) "r", NULL
39646 };
39647
994141e6 39648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39651 arg2 = (wxRelationship) SWIG_AsInt(obj1);
39652 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39653 {
39654 PyThreadState* __tstate = wxPyBeginAllowThreads();
39655 (arg1)->SetRelationship((wxRelationship )arg2);
39656
39657 wxPyEndAllowThreads(__tstate);
39658 if (PyErr_Occurred()) SWIG_fail;
39659 }
39660 Py_INCREF(Py_None); resultobj = Py_None;
39661 return resultobj;
39662 fail:
39663 return NULL;
39664}
39665
39666
39667static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
39668 PyObject *resultobj;
39669 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39670 wxWindow *arg2 = (wxWindow *) 0 ;
39671 bool result;
39672 PyObject * obj0 = 0 ;
39673 PyObject * obj1 = 0 ;
39674 char *kwnames[] = {
39675 (char *) "self",(char *) "otherW", NULL
39676 };
39677
39678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39683 {
39684 PyThreadState* __tstate = wxPyBeginAllowThreads();
39685 result = (bool)(arg1)->ResetIfWin(arg2);
39686
39687 wxPyEndAllowThreads(__tstate);
39688 if (PyErr_Occurred()) SWIG_fail;
39689 }
4f89f6a3
RD
39690 {
39691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39692 }
d14a1e28
RD
39693 return resultobj;
39694 fail:
39695 return NULL;
39696}
39697
39698
39699static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
39700 PyObject *resultobj;
39701 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39702 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
39703 wxWindow *arg3 = (wxWindow *) 0 ;
39704 bool result;
39705 PyObject * obj0 = 0 ;
39706 PyObject * obj1 = 0 ;
39707 PyObject * obj2 = 0 ;
39708 char *kwnames[] = {
39709 (char *) "self",(char *) "constraints",(char *) "win", NULL
39710 };
39711
39712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39715 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
39716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39717 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39719 {
39720 PyThreadState* __tstate = wxPyBeginAllowThreads();
39721 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
39722
39723 wxPyEndAllowThreads(__tstate);
39724 if (PyErr_Occurred()) SWIG_fail;
39725 }
4f89f6a3
RD
39726 {
39727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39728 }
d14a1e28
RD
39729 return resultobj;
39730 fail:
39731 return NULL;
39732}
39733
39734
39735static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
39736 PyObject *resultobj;
39737 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39738 int arg2 ;
39739 wxWindow *arg3 = (wxWindow *) 0 ;
39740 wxWindow *arg4 = (wxWindow *) 0 ;
39741 int result;
39742 PyObject * obj0 = 0 ;
994141e6 39743 PyObject * obj1 = 0 ;
d14a1e28
RD
39744 PyObject * obj2 = 0 ;
39745 PyObject * obj3 = 0 ;
39746 char *kwnames[] = {
39747 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39748 };
39749
994141e6 39750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39753 arg2 = (wxEdge) SWIG_AsInt(obj1);
39754 if (PyErr_Occurred()) SWIG_fail;
39755 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39757 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
39758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39759 {
39760 PyThreadState* __tstate = wxPyBeginAllowThreads();
39761 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
39762
39763 wxPyEndAllowThreads(__tstate);
39764 if (PyErr_Occurred()) SWIG_fail;
39765 }
15afbcd0 39766 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39767 return resultobj;
39768 fail:
39769 return NULL;
39770}
39771
39772
39773static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
39774 PyObject *obj;
39775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39776 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
39777 Py_INCREF(obj);
39778 return Py_BuildValue((char *)"");
39779}
39780static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39781 PyObject *resultobj;
39782 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39783 wxIndividualLayoutConstraint *result;
39784 PyObject * obj0 = 0 ;
39785 char *kwnames[] = {
39786 (char *) "self", NULL
39787 };
39788
39789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39792 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
39793
15afbcd0 39794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39795 return resultobj;
39796 fail:
39797 return NULL;
39798}
39799
39800
39801static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39802 PyObject *resultobj;
39803 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39804 wxIndividualLayoutConstraint *result;
39805 PyObject * obj0 = 0 ;
39806 char *kwnames[] = {
39807 (char *) "self", NULL
39808 };
39809
39810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39813 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
39814
15afbcd0 39815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39816 return resultobj;
39817 fail:
39818 return NULL;
39819}
39820
39821
39822static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39823 PyObject *resultobj;
39824 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39825 wxIndividualLayoutConstraint *result;
39826 PyObject * obj0 = 0 ;
39827 char *kwnames[] = {
39828 (char *) "self", NULL
39829 };
39830
39831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39834 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
39835
15afbcd0 39836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39837 return resultobj;
39838 fail:
39839 return NULL;
39840}
39841
39842
39843static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39844 PyObject *resultobj;
39845 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39846 wxIndividualLayoutConstraint *result;
39847 PyObject * obj0 = 0 ;
39848 char *kwnames[] = {
39849 (char *) "self", NULL
39850 };
39851
39852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39855 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
39856
15afbcd0 39857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39858 return resultobj;
39859 fail:
39860 return NULL;
39861}
39862
39863
39864static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39865 PyObject *resultobj;
39866 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39867 wxIndividualLayoutConstraint *result;
39868 PyObject * obj0 = 0 ;
39869 char *kwnames[] = {
39870 (char *) "self", NULL
39871 };
39872
39873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39876 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
39877
15afbcd0 39878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39879 return resultobj;
39880 fail:
39881 return NULL;
39882}
39883
39884
39885static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39886 PyObject *resultobj;
39887 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39888 wxIndividualLayoutConstraint *result;
39889 PyObject * obj0 = 0 ;
39890 char *kwnames[] = {
39891 (char *) "self", NULL
39892 };
39893
39894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39897 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
39898
15afbcd0 39899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39900 return resultobj;
39901 fail:
39902 return NULL;
39903}
39904
39905
39906static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39907 PyObject *resultobj;
39908 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39909 wxIndividualLayoutConstraint *result;
39910 PyObject * obj0 = 0 ;
39911 char *kwnames[] = {
39912 (char *) "self", NULL
39913 };
39914
39915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39918 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
39919
15afbcd0 39920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39921 return resultobj;
39922 fail:
39923 return NULL;
39924}
39925
39926
39927static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39928 PyObject *resultobj;
39929 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39930 wxIndividualLayoutConstraint *result;
39931 PyObject * obj0 = 0 ;
39932 char *kwnames[] = {
39933 (char *) "self", NULL
39934 };
39935
39936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39939 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
39940
15afbcd0 39941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39942 return resultobj;
39943 fail:
39944 return NULL;
39945}
39946
39947
39948static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
39949 PyObject *resultobj;
39950 wxLayoutConstraints *result;
39951 char *kwnames[] = {
39952 NULL
39953 };
39954
39955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
39956 {
39957 PyThreadState* __tstate = wxPyBeginAllowThreads();
39958 result = (wxLayoutConstraints *)new wxLayoutConstraints();
39959
39960 wxPyEndAllowThreads(__tstate);
39961 if (PyErr_Occurred()) SWIG_fail;
39962 }
15afbcd0 39963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
d14a1e28
RD
39964 return resultobj;
39965 fail:
39966 return NULL;
39967}
39968
39969
39970static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
39971 PyObject *resultobj;
39972 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39973 wxWindow *arg2 = (wxWindow *) 0 ;
39974 int *arg3 = (int *) 0 ;
39975 bool result;
39976 int temp3 ;
39977 PyObject * obj0 = 0 ;
39978 PyObject * obj1 = 0 ;
39979 char *kwnames[] = {
39980 (char *) "self",(char *) "win", NULL
39981 };
39982
39983 arg3 = &temp3;
39984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39989 {
39990 PyThreadState* __tstate = wxPyBeginAllowThreads();
39991 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
39992
39993 wxPyEndAllowThreads(__tstate);
39994 if (PyErr_Occurred()) SWIG_fail;
39995 }
4f89f6a3
RD
39996 {
39997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39998 }
d14a1e28
RD
39999 {
40000 PyObject *o = PyInt_FromLong((long) (*arg3));
40001 resultobj = t_output_helper(resultobj,o);
40002 }
40003 return resultobj;
40004 fail:
40005 return NULL;
40006}
40007
40008
40009static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
40010 PyObject *resultobj;
40011 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40012 bool result;
40013 PyObject * obj0 = 0 ;
40014 char *kwnames[] = {
40015 (char *) "self", NULL
40016 };
40017
40018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
15afbcd0
RD
40019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40021 {
40022 PyThreadState* __tstate = wxPyBeginAllowThreads();
40023 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
40024
40025 wxPyEndAllowThreads(__tstate);
40026 if (PyErr_Occurred()) SWIG_fail;
40027 }
4f89f6a3
RD
40028 {
40029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40030 }
d14a1e28
RD
40031 return resultobj;
40032 fail:
40033 return NULL;
40034}
40035
40036
40037static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
40038 PyObject *obj;
40039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40040 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
40041 Py_INCREF(obj);
40042 return Py_BuildValue((char *)"");
40043}
40044static PyMethodDef SwigMethods[] = {
40045 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
3a04f143 40046 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS },
d14a1e28
RD
40047 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
40048 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
40049 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
40050 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
40051 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
40052 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
40053 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
40054 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
40055 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
40056 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
40057 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
40058 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
40059 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
40060 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
40061 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
40062 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
40063 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
40064 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
40065 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
40066 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40067 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS },
40068 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40069 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40070 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
40071 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
40072 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
40073 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
40074 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
40075 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
40076 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40077 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
40078 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
40079 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
40080 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40081 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40082 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40083 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
40084 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
40085 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
40086 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
40087 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
40088 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
40089 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
40090 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
40091 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
40092 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
40093 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
40094 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
40095 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
40096 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40097 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40098 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
40099 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
40100 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
40101 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
40102 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
40103 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
40104 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
40105 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
40106 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
40107 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
40108 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
40109 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
40110 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
40111 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
40112 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
40113 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
40114 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
c9c7117a
RD
40115 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS },
40116 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS },
40117 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS },
40118 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40119 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
40120 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
40121 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
40122 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
40123 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
40124 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
40125 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
40126 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
40127 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
40128 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
40129 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
40130 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
40131 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
40132 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
40133 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
40134 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
40135 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
40136 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
40137 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
40138 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
40139 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
40140 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
40141 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
40142 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
40143 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
40144 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
40145 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
40146 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
40147 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40148 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40149 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
40150 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
40151 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
40152 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
40153 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
40154 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
40155 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
40156 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
40157 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40158 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
40159 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40160 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
40161 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
40162 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
40163 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
40164 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
40165 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
40166 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
40167 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
40168 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
40169 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
40170 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40171 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
40172 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
40173 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
40174 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
40175 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40176 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40177 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
40178 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
40179 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
40180 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
40181 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
40182 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
40183 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
40184 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
40185 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
40186 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
40187 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
40188 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
40189 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
40190 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
40191 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
40192 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
40193 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
40194 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
40195 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
40196 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
40197 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
40198 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
40199 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
40200 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
40201 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40202 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
40203 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40204 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
40205 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
40206 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
40207 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
40208 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40209 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40210 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40211 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40212 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40213 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
40214 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
40215 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40216 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
40217 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
40218 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
40219 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
40220 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
40221 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
40222 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
40223 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
40224 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
40225 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
40226 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
40227 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
40228 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
40229 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
40230 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
40231 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
40232 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40233 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40234 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
40235 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
40236 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40237 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40238 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40239 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40240 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
40241 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
40242 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
40243 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
40244 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
40245 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
40246 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40247 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40248 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40249 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40250 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
40251 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
40252 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
40253 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
40254 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40255 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
40256 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
40257 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
40258 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
40259 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
40260 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
40261 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
40262 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
40263 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40264 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
40265 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
40266 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
40267 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
40268 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
40269 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
66c033b4 40270 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40271 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
40272 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
40273 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
40274 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
40275 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
40276 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
40277 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
40278 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
40279 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
40280 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
40281 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
40282 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
40283 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
40284 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
40285 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40286 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
40287 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
40288 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
40289 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
40290 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
40291 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
40292 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
40293 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
40294 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
40295 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
40296 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
40297 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
40298 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
b2df227b 40299 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40300 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
40301 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
40302 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
40303 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
40304 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
40305 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40306 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
40307 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
40308 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
40309 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40310 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
40311 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
40312 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
40313 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
40314 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
40315 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
40316 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
40317 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
40318 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
40319 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
40320 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
40321 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
40322 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
40323 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
40324 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
40325 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
40326 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
40327 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
40328 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
40329 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
40330 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
40331 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
40332 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
40333 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
40334 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
40335 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
d14a1e28
RD
40336 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
40337 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
40338 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
40339 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
40340 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
40341 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
40342 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
40343 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
40344 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
40345 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
40346 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
40347 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
40348 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
40349 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
40350 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
40351 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
40352 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
40353 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
40354 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
40355 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
40356 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
40357 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
40358 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
40359 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
40360 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
40361 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
40362 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
40363 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
40364 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
40365 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
40366 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
40367 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
40368 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
40369 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
40370 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
40371 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
40372 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
40373 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
40374 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
40375 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
40376 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
40377 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
40378 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
40379 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
40380 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
40381 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
40382 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
40383 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
40384 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
40385 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
40386 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
40387 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
40388 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
40389 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
40390 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
40391 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
40392 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
40393 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
40394 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
40395 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
40396 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
40397 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
40398 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
40399 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
40400 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
40401 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
40402 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
40403 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
40404 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
40405 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
40406 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
40407 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
40408 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
40409 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
40410 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
40411 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
40412 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
40413 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
40414 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40415 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40416 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40417 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40418 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
40419 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
40420 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40421 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40422 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40423 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40424 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
40425 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
40426 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
40427 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
40428 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
40429 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
40430 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
40431 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
40432 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
40433 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
40434 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
40435 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
40436 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
412d302d 40437 { (char *)"MouseEvent_CmdDown", (PyCFunction) _wrap_MouseEvent_CmdDown, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40438 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
40439 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
40440 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
40441 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
40442 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
40443 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
40444 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
40445 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
40446 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
40447 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
40448 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
40449 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
40450 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
40451 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
40452 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
40453 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
40454 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40455 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40456 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
40457 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40458 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40459 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
40460 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
40461 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
40462 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
40463 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
40464 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
40465 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
40466 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
40467 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
40468 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
40469 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
40470 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
40471 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
40472 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
40473 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
40474 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
40475 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
40476 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
40477 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
40478 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
40479 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
40480 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
40481 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
40482 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
40483 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
40484 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
40485 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
40486 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
40487 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
40488 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
40489 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40490 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40491 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
40492 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
40493 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
40494 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
40495 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
40496 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
40497 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
40498 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
40499 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
412d302d 40500 { (char *)"KeyEvent_CmdDown", (PyCFunction) _wrap_KeyEvent_CmdDown, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40501 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
40502 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
19272049 40503 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction) _wrap_KeyEvent_GetUnicodeKey, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40504 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
40505 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
40506 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40507 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40508 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
40509 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
40510 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
40511 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
40512 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
40513 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
40514 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
40515 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
40516 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
40517 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
40518 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
40519 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
40520 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
40521 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
40522 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
40523 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
40524 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
40525 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
40526 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
40527 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
40528 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
40529 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
40530 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
40531 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
40532 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
40533 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
40534 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
40535 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
40536 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
40537 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
40538 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
40539 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
40540 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
40541 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
40542 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40543 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
40544 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
40545 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40546 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
40547 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
40548 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
40549 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
40550 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
40551 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
40552 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
40553 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
40554 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
40555 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
40556 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
40557 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
40558 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
40559 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40560 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
40561 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
40562 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
40563 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40564 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
40565 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
40566 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
40567 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
40568 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
40569 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
40570 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
40571 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
40572 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
40573 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
40574 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
40575 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
40576 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
40577 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
40578 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
40579 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
40580 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
40581 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
40582 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
40583 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
40584 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
40585 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
40586 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
40587 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
40588 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
40589 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
40590 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
40591 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
40592 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40593 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
40594 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
40595 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
40596 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
40597 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
40598 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
40599 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
40600 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
40601 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
40602 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
40603 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
40604 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
40605 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
40606 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
40607 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
40608 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
40609 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
40610 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
40611 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
40612 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
40613 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
40614 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
40615 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
40616 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
40617 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
40618 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
40619 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
40620 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
40621 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
40622 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
40623 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
40624 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
40625 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
40626 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
40627 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
40628 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
40629 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
40630 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
40631 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
40632 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
908b74cd 40633 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction) _wrap_NavigationKeyEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40634 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
40635 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
40636 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
40637 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
40638 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40639 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
40640 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
40641 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
40642 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
40643 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
40644 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
40645 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
40646 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
40647 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
40648 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
40649 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
40650 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
40651 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
40652 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
40653 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
40654 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
40655 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
40656 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
40657 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
40658 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
40659 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
40660 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
40661 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
40662 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
40663 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
40664 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
40665 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
40666 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40667 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
40668 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
40669 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
40670 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
40671 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
40672 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
40673 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
40674 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
40675 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
40676 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
40677 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
40678 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
40679 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
40680 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
40681 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
40682 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
40683 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40684 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
40685 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
40686 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
40687 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
40688 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
40689 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
40690 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
40691 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
40692 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40693 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
6c3b4aae 40694 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40695 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
40696 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
40697 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
40698 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
40699 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
40700 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
40701 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
40702 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
40703 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
40704 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
40705 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
40706 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
40707 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
40708 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
40709 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
40710 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
40711 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
40712 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
40713 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
40714 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
40715 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
1e0c8722
RD
40716 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
40717 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
40718 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
1e0c8722
RD
40719 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
40720 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
40721 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
40722 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
40723 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40724 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40725 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
40726 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
40727 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40728 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
40729 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
40730 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS },
40731 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS },
40732 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS },
40733 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS },
40734 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS },
40735 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS },
40736 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS },
d14a1e28
RD
40737 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
40738 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
40739 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
40740 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
40741 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
40742 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
40743 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
40744 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
40745 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
40746 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
40747 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
40748 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
40749 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
4276dc52
RD
40750 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS },
40751 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40752 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
40753 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
40754 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
40755 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
40756 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
40757 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
40758 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
40759 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
40760 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
40761 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
40762 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
f8167d6e 40763 { (char *)"Window_SetBestFittingSize", (PyCFunction) _wrap_Window_SetBestFittingSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40764 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
40765 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
40766 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
40767 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
40768 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
40769 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
40770 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
40771 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
40772 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
40773 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
40774 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
40775 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
40776 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
40777 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
40778 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
40779 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
dfbb5885
RD
40780 { (char *)"Window_InvalidateBestSize", (PyCFunction) _wrap_Window_InvalidateBestSize, METH_VARARGS | METH_KEYWORDS },
40781 { (char *)"Window_GetBestFittingSize", (PyCFunction) _wrap_Window_GetBestFittingSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40782 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
40783 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
40784 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
40785 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
40786 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
40787 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40788 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints, METH_VARARGS },
40789 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints, METH_VARARGS },
908b74cd
RD
40790 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
40791 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS },
40792 { (char *)"Window_SetMinSize", (PyCFunction) _wrap_Window_SetMinSize, METH_VARARGS | METH_KEYWORDS },
40793 { (char *)"Window_SetMaxSize", (PyCFunction) _wrap_Window_SetMaxSize, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40794 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
40795 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
40796 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
40797 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40798 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40799 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
40800 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40801 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
40802 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
40803 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
40804 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
40805 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
40806 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
40807 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
40808 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40809 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
40810 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40811 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
40812 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
40813 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40814 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40815 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
40816 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
40817 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40818 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
40819 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
40820 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
40821 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
40822 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
40823 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40824 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40825 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
908b74cd 40826 { (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40827 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
40828 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
40829 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
40830 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
40831 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
40832 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
40833 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
40834 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40835 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40836 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40837 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40838 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
40839 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
40840 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
40841 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
40842 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40843 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS },
40844 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
40845 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
40846 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40847 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40848 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40849 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
40850 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
40851 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
40852 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
40853 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
40854 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
40855 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
40856 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
40857 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
40858 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
40859 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
40860 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
40861 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
40862 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
40863 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
40864 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
40865 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
40866 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
40867 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
40868 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
40869 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
40870 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
40871 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
40872 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
4276dc52 40873 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
74a57fcd
RD
40874 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
40875 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40876 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
412d302d 40877 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction) _wrap_Window_SetOwnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
d14a1e28 40878 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
fa47d7a7 40879 { (char *)"Window_SetOwnForegroundColour", (PyCFunction) _wrap_Window_SetOwnForegroundColour, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40880 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40881 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
40882 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
40883 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
40884 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
fa47d7a7 40885 { (char *)"Window_SetOwnFont", (PyCFunction) _wrap_Window_SetOwnFont, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40886 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
40887 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
40888 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
40889 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
40890 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
40891 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
40892 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
40893 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
40894 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
40895 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
40896 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
40897 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
40898 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
15afbcd0 40899 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS },
d14a1e28
RD
40900 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
40901 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
40902 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
40903 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
40904 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
40905 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
40906 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
40907 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
40908 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
40909 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
40910 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
40911 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
40912 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
40913 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
40914 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
40915 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
40916 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
40917 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
40918 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
40919 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
40920 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
40921 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
40922 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
40923 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
40924 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
40925 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
40926 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
40927 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
40928 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
40929 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
40930 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
40931 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
40932 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
40933 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
40934 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
a95a7133
RD
40935 { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS },
40936 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40937 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
40938 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40939 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40940 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
40941 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
40942 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
40943 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
40944 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
40945 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
40946 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
40947 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
40948 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
40949 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
40950 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
40951 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
40952 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
40953 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40954 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
40955 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
40956 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
40957 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
40958 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
40959 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
40960 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
40961 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
40962 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
40963 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
40964 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
40965 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
40966 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
40967 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
40968 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
40969 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
40970 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
40971 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
40972 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
40973 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
40974 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
40975 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
40976 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
40977 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
40978 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
40979 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
40980 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
40981 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
40982 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
40983 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
40984 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
40985 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
40986 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
40987 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
40988 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40989 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
40990 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
40991 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
40992 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
40993 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
40994 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
40995 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
40996 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
40997 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40998 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40999 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
41000 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
41001 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
41002 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
41003 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
41004 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
41005 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
41006 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
41007 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
41008 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
41009 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
41010 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
41011 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
41012 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
41013 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
41014 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
41015 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
41016 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
41017 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
41018 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
41019 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
41020 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
41021 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
41022 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
41023 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
41024 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
41025 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
41026 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
41027 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41028 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
41029 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
41030 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
41031 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
41032 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
41033 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
41034 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
41035 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
41036 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
41037 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
41038 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
41039 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
41040 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
41041 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
41042 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
41043 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
41044 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
41045 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
41046 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
41047 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
a95a7133 41048 { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41049 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
41050 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
41051 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
41052 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
41053 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
41054 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
41055 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41056 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
41057 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
41058 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
41059 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
41060 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
41061 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
41062 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
41063 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
41064 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
41065 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
41066 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
41067 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
41068 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
41069 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
41070 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
41071 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
41072 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
74a57fcd 41073 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41074 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
41075 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
41076 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
41077 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
41078 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
41079 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
41080 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
41081 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
41082 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
41083 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
41084 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
41085 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
41086 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
41087 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
41088 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
41089 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
41090 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
41091 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
41092 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
41093 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28 41094 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
248ed943 41095 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41096 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41097 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41098 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
41099 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
41100 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
41101 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
41102 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
dfbb5885 41103 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction) _wrap_SizerItem_GetMinSizeWithBorder, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41104 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
41105 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
41106 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
41107 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
41108 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
41109 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
41110 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
41111 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
41112 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
41113 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
41114 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
41115 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
41116 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
41117 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
41118 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
41119 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
41120 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
41121 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
41122 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
41123 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
41124 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
41125 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
41126 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
41127 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
41128 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
41129 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
41130 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
41131 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
41132 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
41133 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
1c0f361b 41134 { (char *)"Sizer_Detach", (PyCFunction) _wrap_Sizer_Detach, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41135 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
41136 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41137 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
41138 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
41139 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
41140 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
41141 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
41142 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
41143 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41144 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41145 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41146 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
41147 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
41148 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
41149 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
41150 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
41151 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
41152 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41153 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
41154 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41155 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
41156 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
41157 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
41158 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
41159 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41160 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
41161 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
41162 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
41163 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41164 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
41165 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
41166 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41167 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
41168 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41169 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
41170 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
41171 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
41172 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
41173 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
41174 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
41175 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
41176 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
41177 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
41178 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41179 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
41180 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
41181 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
41182 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
41183 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41184 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41185 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
41186 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41187 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
41188 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41189 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
41190 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
41191 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
41192 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
41193 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
41194 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
41195 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
41196 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41197 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
41198 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41199 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
41200 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
41201 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
41202 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
41203 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
41204 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
41205 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
41206 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
41207 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
41208 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41209 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
41210 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
41211 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41212 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41213 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41214 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
41215 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
41216 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
41217 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
248ed943
RD
41218 { (char *)"GBSizerItem_Intersects", (PyCFunction) _wrap_GBSizerItem_Intersects, METH_VARARGS | METH_KEYWORDS },
41219 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction) _wrap_GBSizerItem_IntersectsPos, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41220 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
41221 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
41222 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
41223 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
41224 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
41225 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
41226 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41227 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41228 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41229 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
41230 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
41231 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
41232 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
41233 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
41234 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
e811c8ce 41235 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
248ed943
RD
41236 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction) _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS | METH_KEYWORDS },
41237 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction) _wrap_GridBagSizer_CheckForIntersectionPos, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
41238 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
41239 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
41240 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
41241 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
41242 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
41243 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
41244 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
41245 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
41246 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
41247 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
41248 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
41249 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
41250 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
41251 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
41252 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
41253 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
41254 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
41255 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
41256 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
41257 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
41258 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
41259 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
41260 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
41261 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
41262 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
41263 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
41264 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
41265 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
41266 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
41267 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
41268 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
41269 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
41270 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
41271 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
41272 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
41273 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
41274 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
41275 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
41276 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
41277 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
41278 { NULL, NULL }
41279};
41280
41281
41282/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41283
41284static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
41285 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
41286}
41287static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
41288 return (void *)((wxSizer *) ((wxBoxSizer *) x));
41289}
41290static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
41291 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
41292}
41293static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
41294 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41295}
41296static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
41297 return (void *)((wxSizer *) ((wxGridSizer *) x));
41298}
41299static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
41300 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
41301}
41302static void *_p_wxPySizerTo_p_wxSizer(void *x) {
41303 return (void *)((wxSizer *) ((wxPySizer *) x));
41304}
41305static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
41306 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
41307}
41308static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
41309 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
41310}
41311static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
41312 return (void *)((wxEvent *) ((wxMenuEvent *) x));
41313}
41314static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
41315 return (void *)((wxEvent *) ((wxCloseEvent *) x));
41316}
41317static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
41318 return (void *)((wxEvent *) ((wxMouseEvent *) x));
41319}
41320static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
41321 return (void *)((wxEvent *) ((wxEraseEvent *) x));
41322}
41323static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
41324 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
41325}
41326static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
41327 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
41328}
41329static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
41330 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
41331}
41332static void *_p_wxPyEventTo_p_wxEvent(void *x) {
41333 return (void *)((wxEvent *) ((wxPyEvent *) x));
41334}
41335static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
41336 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
41337}
41338static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
41339 return (void *)((wxEvent *) ((wxIdleEvent *) x));
41340}
41341static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
41342 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
41343}
41344static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
41345 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
41346}
41347static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
41348 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
41349}
41350static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
41351 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
41352}
41353static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
41354 return (void *)((wxEvent *) ((wxActivateEvent *) x));
41355}
41356static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
41357 return (void *)((wxEvent *) ((wxSizeEvent *) x));
41358}
41359static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
41360 return (void *)((wxEvent *) ((wxMoveEvent *) x));
41361}
41362static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
41363 return (void *)((wxEvent *) ((wxPaintEvent *) x));
41364}
41365static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
41366 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
41367}
41368static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
41369 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
41370}
41371static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
41372 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
41373}
41374static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
41375 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
41376}
41377static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
41378 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41379}
41380static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
41381 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
41382}
41383static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
41384 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
41385}
41386static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
41387 return (void *)((wxEvent *) ((wxFocusEvent *) x));
41388}
41389static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
41390 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
41391}
41392static void *_p_wxShowEventTo_p_wxEvent(void *x) {
41393 return (void *)((wxEvent *) ((wxShowEvent *) x));
41394}
41395static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
41396 return (void *)((wxEvent *) ((wxCommandEvent *) x));
41397}
41398static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
41399 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
41400}
41401static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
41402 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41403}
41404static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
41405 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
41406}
41407static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
41408 return (void *)((wxEvent *) ((wxKeyEvent *) x));
41409}
41410static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
41411 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
41412}
41413static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
41414 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
41415}
41416static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
41417 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
41418}
41419static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
41420 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
41421}
41422static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
41423 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
41424}
41425static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
41426 return (void *)((wxControl *) ((wxControlWithItems *) x));
41427}
41428static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
41429 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
41430}
41431static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
41432 return (void *)((wxEvtHandler *) ((wxWindow *) x));
41433}
41434static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
41435 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41436}
41437static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
41438 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
41439}
41440static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
41441 return (void *)((wxEvtHandler *) ((wxValidator *) x));
41442}
41443static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
41444 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
41445}
41446static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
41447 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
41448}
41449static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
41450 return (void *)((wxEvtHandler *) ((wxMenu *) x));
41451}
41452static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
41453 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
41454}
41455static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
41456 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
41457}
41458static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
41459 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
41460}
41461static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
41462 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
41463}
41464static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
41465 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
41466}
41467static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
41468 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41469}
41470static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
41471 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
41472}
41473static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
41474 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
41475}
41476static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
41477 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41478}
41479static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
41480 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41481}
41482static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
41483 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
41484}
41485static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
41486 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
41487}
41488static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
41489 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
41490}
41491static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
41492 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
41493}
41494static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
41495 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
41496}
41497static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
41498 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
41499}
41500static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
41501 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
41502}
41503static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
41504 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
41505}
41506static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
41507 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
41508}
41509static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
41510 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
41511}
41512static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
41513 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
41514}
41515static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
41516 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
41517}
41518static void *_p_wxMenuEventTo_p_wxObject(void *x) {
41519 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
41520}
41521static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
41522 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
41523}
41524static void *_p_wxEraseEventTo_p_wxObject(void *x) {
41525 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
41526}
41527static void *_p_wxMouseEventTo_p_wxObject(void *x) {
41528 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
41529}
41530static void *_p_wxCloseEventTo_p_wxObject(void *x) {
41531 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
41532}
41533static void *_p_wxValidatorTo_p_wxObject(void *x) {
41534 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
41535}
41536static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
41537 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
41538}
41539static void *_p_wxMenuBarTo_p_wxObject(void *x) {
41540 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
41541}
41542static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
41543 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
41544}
41545static void *_p_wxSizerTo_p_wxObject(void *x) {
41546 return (void *)((wxObject *) ((wxSizer *) x));
41547}
41548static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
41549 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
41550}
41551static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
41552 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
41553}
41554static void *_p_wxMenuTo_p_wxObject(void *x) {
41555 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
41556}
41557static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
41558 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
41559}
41560static void *_p_wxImageTo_p_wxObject(void *x) {
41561 return (void *)((wxObject *) ((wxImage *) x));
41562}
41563static void *_p_wxScrollEventTo_p_wxObject(void *x) {
41564 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
41565}
41566static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
41567 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
41568}
41569static void *_p_wxPyEventTo_p_wxObject(void *x) {
41570 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
41571}
41572static void *_p_wxWindowTo_p_wxObject(void *x) {
41573 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
41574}
41575static void *_p_wxControlTo_p_wxObject(void *x) {
41576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
41577}
1e0c8722
RD
41578static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
41579 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
41580}
d14a1e28
RD
41581static void *_p_wxGridSizerTo_p_wxObject(void *x) {
41582 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
41583}
41584static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
41585 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
41586}
41587static void *_p_wxPyAppTo_p_wxObject(void *x) {
41588 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
41589}
41590static void *_p_wxEventTo_p_wxObject(void *x) {
41591 return (void *)((wxObject *) ((wxEvent *) x));
41592}
41593static void *_p_wxActivateEventTo_p_wxObject(void *x) {
41594 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
41595}
41596static void *_p_wxMoveEventTo_p_wxObject(void *x) {
41597 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
41598}
41599static void *_p_wxSizeEventTo_p_wxObject(void *x) {
41600 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
41601}
41602static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
41603 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
41604}
41605static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
41606 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
41607}
41608static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
41609 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
41610}
41611static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
41612 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
41613}
41614static void *_p_wxIdleEventTo_p_wxObject(void *x) {
41615 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
41616}
41617static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
41618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41619}
41620static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
41621 return (void *)((wxObject *) ((wxEvtHandler *) x));
41622}
41623static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
41624 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
41625}
41626static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
41627 return (void *)((wxObject *) ((wxImageHandler *) x));
41628}
41629static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
41630 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
41631}
41632static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
41633 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
41634}
41635static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
41636 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41637}
41638static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
41639 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41640}
41641static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
41642 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
41643}
41644static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
41645 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
41646}
41647static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
41648 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
41649}
41650static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
41651 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
41652}
41653static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
41654 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
41655}
41656static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
41657 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
41658}
41659static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
41660 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
41661}
41662static void *_p_wxPaintEventTo_p_wxObject(void *x) {
41663 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
41664}
41665static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
41666 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
41667}
41668static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
41669 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
41670}
41671static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
41672 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41673}
41674static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
41675 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
41676}
41677static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
41678 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
41679}
41680static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
41681 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
41682}
41683static void *_p_wxFileSystemTo_p_wxObject(void *x) {
41684 return (void *)((wxObject *) ((wxFileSystem *) x));
41685}
41686static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
41687 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
41688}
41689static void *_p_wxFocusEventTo_p_wxObject(void *x) {
41690 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
41691}
41692static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
41693 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
41694}
41695static void *_p_wxSizerItemTo_p_wxObject(void *x) {
41696 return (void *)((wxObject *) ((wxSizerItem *) x));
41697}
41698static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
41699 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
41700}
41701static void *_p_wxShowEventTo_p_wxObject(void *x) {
41702 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
41703}
41704static void *_p_wxFSFileTo_p_wxObject(void *x) {
41705 return (void *)((wxObject *) ((wxFSFile *) x));
41706}
41707static void *_p_wxCommandEventTo_p_wxObject(void *x) {
41708 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
41709}
41710static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
41711 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
41712}
41713static void *_p_wxKeyEventTo_p_wxObject(void *x) {
41714 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
41715}
41716static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
41717 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
41718}
41719static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
41720 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41721}
41722static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
41723 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41724}
41725static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
41726 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
41727}
41728static void *_p_wxMenuItemTo_p_wxObject(void *x) {
41729 return (void *)((wxObject *) ((wxMenuItem *) x));
41730}
41731static void *_p_wxPySizerTo_p_wxObject(void *x) {
41732 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
41733}
41734static void *_p_wxControlTo_p_wxWindow(void *x) {
41735 return (void *)((wxWindow *) ((wxControl *) x));
41736}
41737static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
41738 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
41739}
41740static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
41741 return (void *)((wxWindow *) ((wxMenuBar *) x));
41742}
41743static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
41744 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
41745}
41746static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
41747 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
41748}
41749static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
41750 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
41751}
41752static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
41753 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
41754}
41755static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
41756 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41757}
41758static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
41759 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
41760}
41761static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
41762 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
41763}
41764static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
41765 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
41766}
41767static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
41768 return (void *)((wxValidator *) ((wxPyValidator *) x));
41769}
15afbcd0
RD
41770static 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}};
41771static 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}};
41772static 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}};
41773static 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}};
41774static 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}};
41775static 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}};
41776static 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}};
41777static 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}};
41778static 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}};
41779static 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}};
41780static 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}};
41781static 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}};
41782static 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}};
41783static 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}};
41784static 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}};
41785static 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}};
41786static 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}};
41787static 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}};
41788static 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}};
41789static 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}};
41790static 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}};
41791static 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}};
41792static 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}};
41793static 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}};
41794static 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}};
41795static 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}};
41796static 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}};
41797static 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}};
41798static 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}};
41799static 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}};
41800static 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}};
41801static 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}};
41802static 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}};
41803static 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}};
41804static 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}};
41805static 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 41806static 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
41807static 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}};
41808static 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}};
41809static 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}};
41810static 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}};
41811static 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}};
41812static 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}};
41813static 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}};
41814static 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}};
41815static 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}};
41816static 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}};
41817static 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}};
41818static 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}};
41819static 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}};
41820static 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}};
41821static 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}};
41822static 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}};
41823static 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}};
41824static 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}};
41825static 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}};
41826static 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}};
41827static 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}};
41828static 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}};
41829static 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}};
41830static 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}};
41831static 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}};
41832static 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}};
41833static 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}};
41834static 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}};
41835static 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}};
41836static 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}};
41837static 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}};
41838static 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}};
41839static 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}};
41840static 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}};
41841static 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}};
41842static 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}};
41843static 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}};
41844static 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}};
41845static 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}};
41846static 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}};
41847static 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}};
41848static 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}};
41849static 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}};
41850static 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}};
41851static 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}};
41852static 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}};
41853static 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}};
41854static 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}};
41855static 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}};
41856static 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}};
41857static 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}};
41858static 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}};
41859static 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}};
41860static 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}};
41861static 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}};
41862static 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}};
41863static 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}};
41864static 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}};
41865static 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}};
41866static 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}};
41867static 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}};
41868static 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}};
41869static 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}};
41870static 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}};
41871static 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}};
41872static 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}};
41873static 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}};
41874static 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}};
41875static 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}};
41876static 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}};
41877static 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}};
41878static 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}};
41879static 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}};
41880static 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}};
41881static 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}};
41882static 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}};
41883static 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}};
41884static 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
41885
41886static swig_type_info *swig_types_initial[] = {
41887_swigt__p_wxLayoutConstraints,
41888_swigt__p_wxRealPoint,
41889_swigt__p_wxSizerItem,
41890_swigt__p_wxGBSizerItem,
41891_swigt__p_wxScrollEvent,
41892_swigt__p_wxIndividualLayoutConstraint,
41893_swigt__p_wxSizer,
41894_swigt__p_wxBoxSizer,
41895_swigt__p_wxStaticBoxSizer,
41896_swigt__p_wxGridBagSizer,
41897_swigt__p_wxAcceleratorEntry,
41898_swigt__p_wxUpdateUIEvent,
41899_swigt__p_wxMenu,
41900_swigt__p_wxEvent,
41901_swigt__p_wxGridSizer,
41902_swigt__p_wxFlexGridSizer,
41903_swigt__p_wxInitDialogEvent,
41904_swigt__p_wxItemContainer,
41905_swigt__p_wxNcPaintEvent,
41906_swigt__p_wxPaintEvent,
41907_swigt__p_wxSysColourChangedEvent,
41908_swigt__p_wxMouseCaptureChangedEvent,
41909_swigt__p_wxDisplayChangedEvent,
41910_swigt__p_wxPaletteChangedEvent,
41911_swigt__p_wxControl,
41912_swigt__p_wxFont,
41913_swigt__p_wxMenuBarBase,
41914_swigt__p_wxSetCursorEvent,
41915_swigt__p_wxFSFile,
41916_swigt__p_wxCaret,
41917_swigt__p_wxRegion,
41918_swigt__p_wxPoint2D,
41919_swigt__p_int,
41920_swigt__p_wxSize,
41921_swigt__p_wxDC,
41922_swigt__p_wxPySizer,
74a57fcd 41923_swigt__p_wxVisualAttributes,
d14a1e28
RD
41924_swigt__p_wxNotifyEvent,
41925_swigt__p_wxPyEvent,
41926_swigt__p_wxPropagationDisabler,
41927_swigt__p_wxAppTraits,
41928_swigt__p_wxArrayString,
41929_swigt__p_wxShowEvent,
41930_swigt__p_wxToolTip,
4d5c3d91 41931_swigt__p_wxMaximizeEvent,
d14a1e28
RD
41932_swigt__p_wxIconizeEvent,
41933_swigt__p_wxActivateEvent,
41934_swigt__p_wxMoveEvent,
41935_swigt__p_wxSizeEvent,
41936_swigt__p_wxQueryNewPaletteEvent,
41937_swigt__p_wxWindowCreateEvent,
41938_swigt__p_wxIdleEvent,
41939_swigt__p_wxMenuItem,
41940_swigt__p_wxStaticBox,
41941_swigt__p_long,
41942_swigt__p_wxTIFFHandler,
41943_swigt__p_wxXPMHandler,
41944_swigt__p_wxPNMHandler,
41945_swigt__p_wxJPEGHandler,
41946_swigt__p_wxPCXHandler,
41947_swigt__p_wxGIFHandler,
41948_swigt__p_wxPNGHandler,
41949_swigt__p_wxANIHandler,
41950_swigt__p_wxMemoryFSHandler,
41951_swigt__p_wxEvtHandler,
41952_swigt__p_wxCURHandler,
41953_swigt__p_wxICOHandler,
41954_swigt__p_wxBMPHandler,
41955_swigt__p_wxImageHandler,
41956_swigt__p_wxFileSystemHandler,
41957_swigt__p_wxPyFileSystemHandler,
41958_swigt__p_wxInternetFSHandler,
4d5c3d91 41959_swigt__p_wxZipFSHandler,
d14a1e28
RD
41960_swigt__p_wxRect,
41961_swigt__p_wxGBSpan,
41962_swigt__p_wxPropagateOnce,
41963_swigt__p_wxAcceleratorTable,
994141e6 41964_swigt__p_char,
d14a1e28
RD
41965_swigt__p_wxGBPosition,
41966_swigt__p_wxImage,
41967_swigt__p_wxFrame,
41968_swigt__p_wxScrollWinEvent,
41969_swigt__p_wxImageHistogram,
41970_swigt__p_byte,
41971_swigt__p_wxPoint,
41972_swigt__p_wxCursor,
41973_swigt__p_wxObject,
41974_swigt__p_wxPyInputStream,
41975_swigt__p_wxOutputStream,
41976_swigt__p_wxInputStream,
41977_swigt__p_wxDateTime,
41978_swigt__p_wxKeyEvent,
41979_swigt__p_wxNavigationKeyEvent,
41980_swigt__p_wxWindowDestroyEvent,
41981_swigt__p_wxWindow,
41982_swigt__p_wxMenuBar,
d14a1e28
RD
41983_swigt__p_wxFileSystem,
41984_swigt__p_wxBitmap,
41985_swigt__p_wxMenuEvent,
41986_swigt__p_wxContextMenuEvent,
41987_swigt__p_unsigned_char,
41988_swigt__p_wxCloseEvent,
41989_swigt__p_wxEraseEvent,
41990_swigt__p_wxMouseEvent,
41991_swigt__p_wxPyApp,
41992_swigt__p_wxCommandEvent,
41993_swigt__p_wxPyCommandEvent,
7722248d 41994_swigt__p_wxPyDropTarget,
d14a1e28
RD
41995_swigt__p_wxChildFocusEvent,
41996_swigt__p_wxFocusEvent,
41997_swigt__p_wxDropFilesEvent,
41998_swigt__p_wxControlWithItems,
41999_swigt__p_wxColour,
42000_swigt__p_wxValidator,
42001_swigt__p_wxPyValidator,
420020
42003};
42004
42005
42006/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42007
42008static swig_const_info swig_const_table[] = {
d14a1e28
RD
42009{0}};
42010
42011#ifdef __cplusplus
42012}
42013#endif
42014
42015#ifdef __cplusplus
42016extern "C"
42017#endif
42018SWIGEXPORT(void) SWIG_init(void) {
42019 static PyObject *SWIG_globals = 0;
42020 static int typeinit = 0;
42021 PyObject *m, *d;
42022 int i;
42023 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
42024 m = Py_InitModule((char *) SWIG_name, SwigMethods);
42025 d = PyModule_GetDict(m);
42026
42027 if (!typeinit) {
42028 for (i = 0; swig_types_initial[i]; i++) {
42029 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
42030 }
42031 typeinit = 1;
42032 }
42033 SWIG_InstallConstants(d,swig_const_table);
42034
42035
42036#ifndef wxPyUSE_EXPORT
42037 // Make our API structure a CObject so other modules can import it
42038 // from this module.
42039 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
42040 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
42041 Py_XDECREF(cobj);
42042#endif
42043
15afbcd0
RD
42044 PyDict_SetItemString(d,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND));
42045 PyDict_SetItemString(d,"VSCROLL", SWIG_FromInt((int)wxVSCROLL));
42046 PyDict_SetItemString(d,"HSCROLL", SWIG_FromInt((int)wxHSCROLL));
42047 PyDict_SetItemString(d,"CAPTION", SWIG_FromInt((int)wxCAPTION));
42048 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER));
42049 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER));
42050 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER));
42051 PyDict_SetItemString(d,"BORDER", SWIG_FromInt((int)wxBORDER));
42052 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER));
42053 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER));
42054 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW));
42055 PyDict_SetItemString(d,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER));
15afbcd0
RD
42056 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL));
42057 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS));
42058 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW));
42059 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME));
42060 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN));
42061 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN));
15afbcd0
RD
42062 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN));
42063 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM));
42064 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT));
42065 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE));
42066 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE));
42067 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN));
42068 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS));
a95a7133 42069 PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB));
15afbcd0
RD
42070 PyDict_SetItemString(d,"RETAINED", SWIG_FromInt((int)wxRETAINED));
42071 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE));
42072 PyDict_SetItemString(d,"COLOURED", SWIG_FromInt((int)wxCOLOURED));
42073 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH));
42074 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB));
42075 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB));
42076 PyDict_SetItemString(d,"LB_SORT", SWIG_FromInt((int)wxLB_SORT));
42077 PyDict_SetItemString(d,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE));
42078 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE));
42079 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED));
42080 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW));
42081 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL));
42082 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER));
42083 PyDict_SetItemString(d,"PASSWORD", SWIG_FromInt((int)wxPASSWORD));
42084 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE));
42085 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN));
42086 PyDict_SetItemString(d,"CB_SORT", SWIG_FromInt((int)wxCB_SORT));
42087 PyDict_SetItemString(d,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY));
42088 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL));
42089 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL));
42090 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS));
42091 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS));
42092 PyDict_SetItemString(d,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP));
42093 PyDict_SetItemString(d,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE));
42094 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL));
42095 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL));
42096 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS));
42097 PyDict_SetItemString(d,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS));
42098 PyDict_SetItemString(d,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT));
42099 PyDict_SetItemString(d,"SL_TOP", SWIG_FromInt((int)wxSL_TOP));
42100 PyDict_SetItemString(d,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT));
42101 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM));
42102 PyDict_SetItemString(d,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH));
42103 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE));
42104 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL));
42105 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL));
42106 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP));
42107 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE));
42108 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE));
42109 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER));
42110 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE));
42111 PyDict_SetItemString(d,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE));
42112 PyDict_SetItemString(d,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP));
42113 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM));
42114 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT));
42115 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT));
42116 PyDict_SetItemString(d,"OK", SWIG_FromInt((int)wxOK));
42117 PyDict_SetItemString(d,"YES_NO", SWIG_FromInt((int)wxYES_NO));
42118 PyDict_SetItemString(d,"CANCEL", SWIG_FromInt((int)wxCANCEL));
42119 PyDict_SetItemString(d,"YES", SWIG_FromInt((int)wxYES));
42120 PyDict_SetItemString(d,"NO", SWIG_FromInt((int)wxNO));
42121 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT));
42122 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT));
42123 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION));
42124 PyDict_SetItemString(d,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND));
42125 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION));
42126 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION));
42127 PyDict_SetItemString(d,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP));
42128 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK));
42129 PyDict_SetItemString(d,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK));
42130 PyDict_SetItemString(d,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING));
42131 PyDict_SetItemString(d,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR));
42132 PyDict_SetItemString(d,"FORWARD", SWIG_FromInt((int)wxFORWARD));
42133 PyDict_SetItemString(d,"BACKWARD", SWIG_FromInt((int)wxBACKWARD));
42134 PyDict_SetItemString(d,"RESET", SWIG_FromInt((int)wxRESET));
42135 PyDict_SetItemString(d,"HELP", SWIG_FromInt((int)wxHELP));
42136 PyDict_SetItemString(d,"MORE", SWIG_FromInt((int)wxMORE));
42137 PyDict_SetItemString(d,"SETUP", SWIG_FromInt((int)wxSETUP));
42138 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH));
42139 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT));
42140 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO));
42141 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING));
42142 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
42143 PyDict_SetItemString(d,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT));
42144 PyDict_SetItemString(d,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE));
42145 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH));
42146 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM));
42147 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW));
42148 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT));
42149 PyDict_SetItemString(d,"ID_ANY", SWIG_FromInt((int)wxID_ANY));
42150 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR));
42151 PyDict_SetItemString(d,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST));
42152 PyDict_SetItemString(d,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN));
42153 PyDict_SetItemString(d,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE));
42154 PyDict_SetItemString(d,"ID_NEW", SWIG_FromInt((int)wxID_NEW));
42155 PyDict_SetItemString(d,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE));
42156 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS));
42157 PyDict_SetItemString(d,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT));
42158 PyDict_SetItemString(d,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT));
42159 PyDict_SetItemString(d,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO));
42160 PyDict_SetItemString(d,"ID_REDO", SWIG_FromInt((int)wxID_REDO));
42161 PyDict_SetItemString(d,"ID_HELP", SWIG_FromInt((int)wxID_HELP));
42162 PyDict_SetItemString(d,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT));
42163 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP));
42164 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW));
42165 PyDict_SetItemString(d,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT));
42166 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS));
42167 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS));
42168 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES));
42169 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT));
42170 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL));
42171 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES));
42172 PyDict_SetItemString(d,"ID_CUT", SWIG_FromInt((int)wxID_CUT));
42173 PyDict_SetItemString(d,"ID_COPY", SWIG_FromInt((int)wxID_COPY));
42174 PyDict_SetItemString(d,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE));
42175 PyDict_SetItemString(d,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR));
42176 PyDict_SetItemString(d,"ID_FIND", SWIG_FromInt((int)wxID_FIND));
42177 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE));
42178 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL));
42179 PyDict_SetItemString(d,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE));
42180 PyDict_SetItemString(d,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE));
42181 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL));
42182 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES));
42183 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS));
42184 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS));
42185 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS));
42186 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST));
42187 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE));
42188 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME));
42189 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE));
42190 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE));
42191 PyDict_SetItemString(d,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1));
42192 PyDict_SetItemString(d,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2));
42193 PyDict_SetItemString(d,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3));
42194 PyDict_SetItemString(d,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4));
42195 PyDict_SetItemString(d,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5));
42196 PyDict_SetItemString(d,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6));
42197 PyDict_SetItemString(d,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7));
42198 PyDict_SetItemString(d,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8));
42199 PyDict_SetItemString(d,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9));
42200 PyDict_SetItemString(d,"ID_OK", SWIG_FromInt((int)wxID_OK));
42201 PyDict_SetItemString(d,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL));
42202 PyDict_SetItemString(d,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY));
42203 PyDict_SetItemString(d,"ID_YES", SWIG_FromInt((int)wxID_YES));
42204 PyDict_SetItemString(d,"ID_NO", SWIG_FromInt((int)wxID_NO));
42205 PyDict_SetItemString(d,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC));
42206 PyDict_SetItemString(d,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD));
42207 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD));
42208 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT));
42209 PyDict_SetItemString(d,"ID_MORE", SWIG_FromInt((int)wxID_MORE));
42210 PyDict_SetItemString(d,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP));
42211 PyDict_SetItemString(d,"ID_RESET", SWIG_FromInt((int)wxID_RESET));
42212 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP));
42213 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL));
42214 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL));
42215 PyDict_SetItemString(d,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT));
42216 PyDict_SetItemString(d,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY));
42217 PyDict_SetItemString(d,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE));
42218 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST));
42219 PyDict_SetItemString(d,"OPEN", SWIG_FromInt((int)wxOPEN));
42220 PyDict_SetItemString(d,"SAVE", SWIG_FromInt((int)wxSAVE));
42221 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY));
42222 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT));
42223 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST));
42224 PyDict_SetItemString(d,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE));
42225 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR));
42226 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT));
42227 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL));
42228 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT));
42229 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL));
42230 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE));
42231 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL));
42232 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT));
42233 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME));
42234 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME));
42235 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME));
42236 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON));
42237 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE));
42238 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF));
42239 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE));
42240 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
42241 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
42242 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL));
42243 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL));
42244 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
42245 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS));
42246 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT));
42247 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
42248 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE));
42249 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
42250 PyDict_SetItemString(d,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT));
42251 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC));
42252 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC));
42253 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH));
42254 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH));
42255 PyDict_SetItemString(d,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS));
42256 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC));
42257 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC));
42258 PyDict_SetItemString(d,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS));
42259 PyDict_SetItemString(d,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC));
42260 PyDict_SetItemString(d,"CENTRE", SWIG_FromInt((int)wxCENTRE));
42261 PyDict_SetItemString(d,"CENTER", SWIG_FromInt((int)wxCENTER));
42262 PyDict_SetItemString(d,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL));
42263 PyDict_SetItemString(d,"VERTICAL", SWIG_FromInt((int)wxVERTICAL));
42264 PyDict_SetItemString(d,"BOTH", SWIG_FromInt((int)wxBOTH));
42265 PyDict_SetItemString(d,"LEFT", SWIG_FromInt((int)wxLEFT));
42266 PyDict_SetItemString(d,"RIGHT", SWIG_FromInt((int)wxRIGHT));
42267 PyDict_SetItemString(d,"UP", SWIG_FromInt((int)wxUP));
42268 PyDict_SetItemString(d,"DOWN", SWIG_FromInt((int)wxDOWN));
42269 PyDict_SetItemString(d,"TOP", SWIG_FromInt((int)wxTOP));
42270 PyDict_SetItemString(d,"BOTTOM", SWIG_FromInt((int)wxBOTTOM));
42271 PyDict_SetItemString(d,"NORTH", SWIG_FromInt((int)wxNORTH));
42272 PyDict_SetItemString(d,"SOUTH", SWIG_FromInt((int)wxSOUTH));
42273 PyDict_SetItemString(d,"WEST", SWIG_FromInt((int)wxWEST));
42274 PyDict_SetItemString(d,"EAST", SWIG_FromInt((int)wxEAST));
42275 PyDict_SetItemString(d,"ALL", SWIG_FromInt((int)wxALL));
42276 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT));
42277 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
42278 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
42279 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT));
42280 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP));
42281 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT));
42282 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM));
42283 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL));
42284 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL));
42285 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER));
42286 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE));
42287 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK));
42288 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT));
42289 PyDict_SetItemString(d,"SHRINK", SWIG_FromInt((int)wxSHRINK));
42290 PyDict_SetItemString(d,"GROW", SWIG_FromInt((int)wxGROW));
42291 PyDict_SetItemString(d,"EXPAND", SWIG_FromInt((int)wxEXPAND));
42292 PyDict_SetItemString(d,"SHAPED", SWIG_FromInt((int)wxSHAPED));
f52e0cf4 42293 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE));
15afbcd0 42294 PyDict_SetItemString(d,"TILE", SWIG_FromInt((int)wxTILE));
74a57fcd 42295 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE));
15afbcd0
RD
42296 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT));
42297 PyDict_SetItemString(d,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE));
42298 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC));
42299 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE));
42300 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED));
42301 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN));
42302 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE));
42303 PyDict_SetItemString(d,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK));
42304 PyDict_SetItemString(d,"DEFAULT", SWIG_FromInt((int)wxDEFAULT));
42305 PyDict_SetItemString(d,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE));
42306 PyDict_SetItemString(d,"ROMAN", SWIG_FromInt((int)wxROMAN));
42307 PyDict_SetItemString(d,"SCRIPT", SWIG_FromInt((int)wxSCRIPT));
42308 PyDict_SetItemString(d,"SWISS", SWIG_FromInt((int)wxSWISS));
42309 PyDict_SetItemString(d,"MODERN", SWIG_FromInt((int)wxMODERN));
42310 PyDict_SetItemString(d,"TELETYPE", SWIG_FromInt((int)wxTELETYPE));
42311 PyDict_SetItemString(d,"VARIABLE", SWIG_FromInt((int)wxVARIABLE));
42312 PyDict_SetItemString(d,"FIXED", SWIG_FromInt((int)wxFIXED));
42313 PyDict_SetItemString(d,"NORMAL", SWIG_FromInt((int)wxNORMAL));
42314 PyDict_SetItemString(d,"LIGHT", SWIG_FromInt((int)wxLIGHT));
42315 PyDict_SetItemString(d,"BOLD", SWIG_FromInt((int)wxBOLD));
42316 PyDict_SetItemString(d,"ITALIC", SWIG_FromInt((int)wxITALIC));
42317 PyDict_SetItemString(d,"SLANT", SWIG_FromInt((int)wxSLANT));
42318 PyDict_SetItemString(d,"SOLID", SWIG_FromInt((int)wxSOLID));
42319 PyDict_SetItemString(d,"DOT", SWIG_FromInt((int)wxDOT));
42320 PyDict_SetItemString(d,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH));
42321 PyDict_SetItemString(d,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH));
42322 PyDict_SetItemString(d,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH));
42323 PyDict_SetItemString(d,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH));
42324 PyDict_SetItemString(d,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT));
42325 PyDict_SetItemString(d,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE));
42326 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH));
42327 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH));
42328 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH));
42329 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH));
42330 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH));
42331 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH));
42332 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL));
42333 PyDict_SetItemString(d,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER));
42334 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND));
42335 PyDict_SetItemString(d,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND));
42336 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING));
42337 PyDict_SetItemString(d,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT));
42338 PyDict_SetItemString(d,"CLEAR", SWIG_FromInt((int)wxCLEAR));
42339 PyDict_SetItemString(d,"XOR", SWIG_FromInt((int)wxXOR));
42340 PyDict_SetItemString(d,"INVERT", SWIG_FromInt((int)wxINVERT));
42341 PyDict_SetItemString(d,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE));
42342 PyDict_SetItemString(d,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE));
42343 PyDict_SetItemString(d,"COPY", SWIG_FromInt((int)wxCOPY));
42344 PyDict_SetItemString(d,"AND", SWIG_FromInt((int)wxAND));
42345 PyDict_SetItemString(d,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT));
42346 PyDict_SetItemString(d,"NO_OP", SWIG_FromInt((int)wxNO_OP));
42347 PyDict_SetItemString(d,"NOR", SWIG_FromInt((int)wxNOR));
42348 PyDict_SetItemString(d,"EQUIV", SWIG_FromInt((int)wxEQUIV));
42349 PyDict_SetItemString(d,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT));
42350 PyDict_SetItemString(d,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT));
42351 PyDict_SetItemString(d,"NAND", SWIG_FromInt((int)wxNAND));
42352 PyDict_SetItemString(d,"OR", SWIG_FromInt((int)wxOR));
42353 PyDict_SetItemString(d,"SET", SWIG_FromInt((int)wxSET));
42354 PyDict_SetItemString(d,"WXK_BACK", SWIG_FromInt((int)WXK_BACK));
42355 PyDict_SetItemString(d,"WXK_TAB", SWIG_FromInt((int)WXK_TAB));
42356 PyDict_SetItemString(d,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN));
42357 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE));
42358 PyDict_SetItemString(d,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE));
42359 PyDict_SetItemString(d,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE));
42360 PyDict_SetItemString(d,"WXK_START", SWIG_FromInt((int)WXK_START));
42361 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON));
42362 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON));
42363 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL));
42364 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON));
42365 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR));
42366 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT));
42367 PyDict_SetItemString(d,"WXK_ALT", SWIG_FromInt((int)WXK_ALT));
42368 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL));
42369 PyDict_SetItemString(d,"WXK_MENU", SWIG_FromInt((int)WXK_MENU));
42370 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE));
42371 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL));
42372 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR));
42373 PyDict_SetItemString(d,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT));
42374 PyDict_SetItemString(d,"WXK_END", SWIG_FromInt((int)WXK_END));
42375 PyDict_SetItemString(d,"WXK_HOME", SWIG_FromInt((int)WXK_HOME));
42376 PyDict_SetItemString(d,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT));
42377 PyDict_SetItemString(d,"WXK_UP", SWIG_FromInt((int)WXK_UP));
42378 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT));
42379 PyDict_SetItemString(d,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN));
42380 PyDict_SetItemString(d,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT));
42381 PyDict_SetItemString(d,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT));
42382 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE));
42383 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT));
42384 PyDict_SetItemString(d,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT));
42385 PyDict_SetItemString(d,"WXK_HELP", SWIG_FromInt((int)WXK_HELP));
42386 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0));
42387 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1));
42388 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2));
42389 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3));
42390 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4));
42391 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5));
42392 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6));
42393 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7));
42394 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8));
42395 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9));
42396 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY));
42397 PyDict_SetItemString(d,"WXK_ADD", SWIG_FromInt((int)WXK_ADD));
42398 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR));
42399 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT));
42400 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL));
42401 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE));
42402 PyDict_SetItemString(d,"WXK_F1", SWIG_FromInt((int)WXK_F1));
42403 PyDict_SetItemString(d,"WXK_F2", SWIG_FromInt((int)WXK_F2));
42404 PyDict_SetItemString(d,"WXK_F3", SWIG_FromInt((int)WXK_F3));
42405 PyDict_SetItemString(d,"WXK_F4", SWIG_FromInt((int)WXK_F4));
42406 PyDict_SetItemString(d,"WXK_F5", SWIG_FromInt((int)WXK_F5));
42407 PyDict_SetItemString(d,"WXK_F6", SWIG_FromInt((int)WXK_F6));
42408 PyDict_SetItemString(d,"WXK_F7", SWIG_FromInt((int)WXK_F7));
42409 PyDict_SetItemString(d,"WXK_F8", SWIG_FromInt((int)WXK_F8));
42410 PyDict_SetItemString(d,"WXK_F9", SWIG_FromInt((int)WXK_F9));
42411 PyDict_SetItemString(d,"WXK_F10", SWIG_FromInt((int)WXK_F10));
42412 PyDict_SetItemString(d,"WXK_F11", SWIG_FromInt((int)WXK_F11));
42413 PyDict_SetItemString(d,"WXK_F12", SWIG_FromInt((int)WXK_F12));
42414 PyDict_SetItemString(d,"WXK_F13", SWIG_FromInt((int)WXK_F13));
42415 PyDict_SetItemString(d,"WXK_F14", SWIG_FromInt((int)WXK_F14));
42416 PyDict_SetItemString(d,"WXK_F15", SWIG_FromInt((int)WXK_F15));
42417 PyDict_SetItemString(d,"WXK_F16", SWIG_FromInt((int)WXK_F16));
42418 PyDict_SetItemString(d,"WXK_F17", SWIG_FromInt((int)WXK_F17));
42419 PyDict_SetItemString(d,"WXK_F18", SWIG_FromInt((int)WXK_F18));
42420 PyDict_SetItemString(d,"WXK_F19", SWIG_FromInt((int)WXK_F19));
42421 PyDict_SetItemString(d,"WXK_F20", SWIG_FromInt((int)WXK_F20));
42422 PyDict_SetItemString(d,"WXK_F21", SWIG_FromInt((int)WXK_F21));
42423 PyDict_SetItemString(d,"WXK_F22", SWIG_FromInt((int)WXK_F22));
42424 PyDict_SetItemString(d,"WXK_F23", SWIG_FromInt((int)WXK_F23));
42425 PyDict_SetItemString(d,"WXK_F24", SWIG_FromInt((int)WXK_F24));
42426 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK));
42427 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL));
42428 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP));
42429 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN));
42430 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE));
42431 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB));
42432 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER));
42433 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1));
42434 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2));
42435 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3));
42436 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4));
42437 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME));
42438 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT));
42439 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP));
42440 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT));
42441 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN));
42442 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR));
42443 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP));
42444 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT));
42445 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN));
42446 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END));
42447 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN));
42448 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT));
42449 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE));
42450 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL));
42451 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY));
42452 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD));
42453 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR));
42454 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT));
42455 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL));
42456 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE));
42457 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT));
42458 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT));
42459 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU));
42460 PyDict_SetItemString(d,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE));
42461 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER));
42462 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL));
42463 PyDict_SetItemString(d,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4));
42464 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET));
42465 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET));
42466 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET));
42467 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL));
42468 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID));
42469 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER));
42470 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT));
42471 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE));
42472 PyDict_SetItemString(d,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3));
42473 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL));
42474 PyDict_SetItemString(d,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5));
42475 PyDict_SetItemString(d,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4));
42476 PyDict_SetItemString(d,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5));
42477 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO));
42478 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO));
42479 PyDict_SetItemString(d,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14));
42480 PyDict_SetItemString(d,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17));
42481 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE));
42482 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9));
42483 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10));
42484 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11));
42485 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12));
42486 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14));
42487 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL));
42488 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5));
42489 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3));
42490 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4));
42491 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6));
42492 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65));
42493 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4));
42494 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5));
42495 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6));
42496 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY));
42497 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH));
42498 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL));
42499 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US));
42500 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
42501 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
42502 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4));
42503 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
42504 PyDict_SetItemString(d,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11));
42505 PyDict_SetItemString(d,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11));
42506 PyDict_SetItemString(d,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11));
42507 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE));
42508 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA));
42509 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA));
42510 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA));
42511 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA));
42512 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
42513 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE));
42514 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
42515 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS));
42516 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS));
42517 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS));
42518 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS));
42519 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE));
42520 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE));
42521 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA));
42522 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA));
42523 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA));
42524 PyDict_SetItemString(d,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2));
42525 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE));
42526 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
42527 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX));
42528 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL));
42529 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL));
42530 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR));
42531 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL));
42532 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK));
42533 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO));
42534 PyDict_SetItemString(d,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX));
42535 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE));
42536 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST));
42537 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
42538 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
42539 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
42540 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
42541 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB));
42542 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1));
42543 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2));
42544 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST));
42545 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE));
42546 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE));
42547 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
42548 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
42549 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER));
42550 PyDict_SetItemString(d,"HT_MAX", SWIG_FromInt((int)wxHT_MAX));
42551 PyDict_SetItemString(d,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE));
42552 PyDict_SetItemString(d,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT));
42553 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL));
42554 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT));
42555 PyDict_SetItemString(d,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN));
42556 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE));
42557 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE));
42558 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE));
d14a1e28 42559 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
196addbf 42560 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
15afbcd0
RD
42561 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID));
42562 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP));
42563 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO));
42564 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR));
42565 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM));
42566 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
42567 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM));
42568 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
42569 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF));
42570 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF));
42571 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG));
42572 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG));
42573 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM));
42574 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX));
42575 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT));
42576 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON));
42577 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI));
42578 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF));
42579 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
42580 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY));
42581 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE));
42582 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW));
42583 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW));
42584 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE));
42585 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR));
42586 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS));
42587 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND));
42588 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM));
42589 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON));
42590 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER));
42591 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
42592 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY));
42593 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH));
42594 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL));
42595 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT));
42596 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT));
42597 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW));
42598 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON));
42599 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW));
42600 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS));
42601 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE));
42602 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE));
42603 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING));
42604 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN));
42605 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT));
42606 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH));
42607 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK));
42608 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT));
42609 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW));
42610 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT));
42611 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX));
d14a1e28
RD
42612 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
42613 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
15afbcd0
RD
42614 PyDict_SetItemString(d,"FromStart", SWIG_FromInt((int)wxFromStart));
42615 PyDict_SetItemString(d,"FromCurrent", SWIG_FromInt((int)wxFromCurrent));
42616 PyDict_SetItemString(d,"FromEnd", SWIG_FromInt((int)wxFromEnd));
d14a1e28
RD
42617
42618 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42619
42620
42621 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42622
42623 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
42624 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
42625 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
42626 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
42627 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
42628 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
15afbcd0
RD
42629 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
42630 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM));
42631 PyDict_SetItemString(d,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP));
42632 PyDict_SetItemString(d,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP));
42633 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY));
42634 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY));
42635 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED));
42636 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE));
42637 PyDict_SetItemString(d,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP));
42638 PyDict_SetItemString(d,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP));
42639 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW));
42640 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE));
42641 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX));
d14a1e28
RD
42642 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
42643 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
42644 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
42645 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
42646 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
42647 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
42648 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
42649 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
42650 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
42651 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
42652 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
42653 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
42654 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
42655 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
42656 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
42657 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
42658 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
42659 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
42660 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
42661 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
42662 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
42663 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
42664 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
42665 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
42666 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
42667 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
42668 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
42669 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
42670 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
42671 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
42672 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
42673 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
42674 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
42675 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
42676 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
42677 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
42678 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
42679 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
42680 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
42681 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
42682 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
42683 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
42684 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
42685 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
42686 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
42687 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
42688 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
42689 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
42690 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
42691 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
42692 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
42693 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
42694 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
42695 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
42696 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
42697 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
42698 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
42699 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
42700 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
42701 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
42702 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
42703 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
42704 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
42705 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
42706 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
42707 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
42708 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
42709 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
42710 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
42711 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
42712 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
42713 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
42714 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
42715 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
42716 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
42717 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
42718 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
42719 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
42720 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
42721 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
42722 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
42723 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
42724 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
42725 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
42726 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
42727 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
42728 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
42729 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
42730 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
42731 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
42732 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
42733 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
42734 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
42735 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
42736 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
42737 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
42738 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
42739 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
42740 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
42741 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
42742 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
42743 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
42744 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
42745 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
42746 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
42747 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
42748 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
42749 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
42750 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
42751 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
42752 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
42753 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
42754 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
42755 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
15afbcd0
RD
42756 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY));
42757 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE));
42758 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT));
42759 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE));
42760 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT));
42761 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
42762 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
908b74cd
RD
42763 PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_FromInt((int)wxNavigationKeyEvent::IsForward));
42764 PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_FromInt((int)wxNavigationKeyEvent::WinChange));
15afbcd0
RD
42765 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL));
42766 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
42767 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
42768 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
42769 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG));
42770 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG));
42771 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS));
42772 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT));
1e0c8722 42773 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
e811c8ce 42774 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
4276dc52
RD
42775 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL));
42776 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL));
42777 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI));
42778 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE));
74a57fcd 42779 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX));
d14a1e28 42780 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
b2dc1044 42781 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
15afbcd0
RD
42782 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE));
42783 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
42784 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL));
d14a1e28 42785 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
15afbcd0
RD
42786 PyDict_SetItemString(d,"Left", SWIG_FromInt((int)wxLeft));
42787 PyDict_SetItemString(d,"Top", SWIG_FromInt((int)wxTop));
42788 PyDict_SetItemString(d,"Right", SWIG_FromInt((int)wxRight));
42789 PyDict_SetItemString(d,"Bottom", SWIG_FromInt((int)wxBottom));
42790 PyDict_SetItemString(d,"Width", SWIG_FromInt((int)wxWidth));
42791 PyDict_SetItemString(d,"Height", SWIG_FromInt((int)wxHeight));
42792 PyDict_SetItemString(d,"Centre", SWIG_FromInt((int)wxCentre));
42793 PyDict_SetItemString(d,"Center", SWIG_FromInt((int)wxCenter));
42794 PyDict_SetItemString(d,"CentreX", SWIG_FromInt((int)wxCentreX));
42795 PyDict_SetItemString(d,"CentreY", SWIG_FromInt((int)wxCentreY));
42796 PyDict_SetItemString(d,"Unconstrained", SWIG_FromInt((int)wxUnconstrained));
42797 PyDict_SetItemString(d,"AsIs", SWIG_FromInt((int)wxAsIs));
42798 PyDict_SetItemString(d,"PercentOf", SWIG_FromInt((int)wxPercentOf));
42799 PyDict_SetItemString(d,"Above", SWIG_FromInt((int)wxAbove));
42800 PyDict_SetItemString(d,"Below", SWIG_FromInt((int)wxBelow));
42801 PyDict_SetItemString(d,"LeftOf", SWIG_FromInt((int)wxLeftOf));
42802 PyDict_SetItemString(d,"RightOf", SWIG_FromInt((int)wxRightOf));
42803 PyDict_SetItemString(d,"SameAs", SWIG_FromInt((int)wxSameAs));
42804 PyDict_SetItemString(d,"Absolute", SWIG_FromInt((int)wxAbsolute));
d14a1e28
RD
42805
42806 // Initialize threading, some globals and such
42807 __wxPyPreStart(d);
42808
42809
42810 // Although these are defined in __version__ they need to be here too so
42811 // that an assert can be done to ensure that the wxPython and the wxWindows
42812 // versions match.
42813 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
42814 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
42815 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
42816
42817}
42818